@staticmethod
def from_file(filename: str) -> 'RedditAuthInfo':
    ' Creates a RedditAuthInfo from a YAML file '
    with open(filename, 'r') as input_file:
        auth = jsons.load(yaml.load(input_file, Loader=yaml.SafeLoader), RedditAuthInfo)
    return auth
Creates a RedditAuthInfo from a YAML file
@staticmethod
def from_file(filename: str) -> 'RedditAuthInfo':
    '  '
    with open(filename, 'r') as input_file:
        auth = jsons.load(yaml.load(input_file, Loader=yaml.SafeLoader), RedditAuthInfo)
    return auth