1 line
8.9 KiB
JSON
1 line
8.9 KiB
JSON
{".class":"MypyFile","_fullname":"email.header","future_import_flags":[],"is_partial_stub_package":false,"is_stub":true,"names":{".class":"SymbolTable","Any":{".class":"SymbolTableNode","cross_ref":"typing.Any","kind":"Gdef","module_hidden":true,"module_public":false},"Charset":{".class":"SymbolTableNode","cross_ref":"email.charset.Charset","kind":"Gdef","module_hidden":true,"module_public":false},"Header":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.object"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"email.header.Header","name":"Header","type_vars":[]},"deletable_attributes":[],"flags":[],"fullname":"email.header.Header","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"email.header","mro":["email.header.Header","builtins.object"],"names":{".class":"SymbolTable","__eq__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"email.header.Header.__eq__","name":"__eq__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":["email.header.Header","builtins.object"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__eq__ of Header","ret_type":"builtins.bool","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__init__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,1,1,1,1,1,1],"arg_names":["self","s","charset","maxlinelen","header_name","continuation_ws","errors"],"dataclass_transform_spec":null,"flags":[],"fullname":"email.header.Header.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0,1,1,1,1,1,1],"arg_names":["self","s","charset","maxlinelen","header_name","continuation_ws","errors"],"arg_types":["email.header.Header",{".class":"UnionType","items":["builtins.bytes","builtins.bytearray","builtins.str",{".class":"NoneType"}]},{".class":"UnionType","items":["email.charset.Charset","builtins.str",{".class":"NoneType"}]},{".class":"UnionType","items":["builtins.int",{".class":"NoneType"}]},{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]},"builtins.str","builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of Header","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__ne__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"email.header.Header.__ne__","name":"__ne__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":["email.header.Header","builtins.object"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__ne__ of Header","ret_type":"builtins.bool","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"append":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,1,1],"arg_names":["self","s","charset","errors"],"dataclass_transform_spec":null,"flags":[],"fullname":"email.header.Header.append","name":"append","type":{".class":"CallableType","arg_kinds":[0,0,1,1],"arg_names":["self","s","charset","errors"],"arg_types":["email.header.Header",{".class":"UnionType","items":["builtins.bytes","builtins.bytearray","builtins.str"]},{".class":"UnionType","items":["email.charset.Charset","builtins.str",{".class":"NoneType"}]},"builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"append of Header","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"encode":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,1,1,1],"arg_names":["self","splitchars","maxlinelen","linesep"],"dataclass_transform_spec":null,"flags":[],"fullname":"email.header.Header.encode","name":"encode","type":{".class":"CallableType","arg_kinds":[0,1,1,1],"arg_names":["self","splitchars","maxlinelen","linesep"],"arg_types":["email.header.Header","builtins.str",{".class":"UnionType","items":["builtins.int",{".class":"NoneType"}]},"builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"encode of Header","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"Iterable":{".class":"SymbolTableNode","cross_ref":"typing.Iterable","kind":"Gdef","module_hidden":true,"module_public":false},"__all__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_inferred","has_explicit_value"],"fullname":"email.header.__all__","name":"__all__","type":{".class":"Instance","args":["builtins.str"],"type_ref":"builtins.list"}}},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"email.header.__annotations__","name":"__annotations__","type":{".class":"Instance","args":["builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"type_ref":"builtins.dict"}}},"__doc__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"email.header.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"email.header.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"email.header.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"email.header.__package__","name":"__package__","type":"builtins.str"}},"decode_header":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["header"],"dataclass_transform_spec":null,"flags":[],"fullname":"email.header.decode_header","name":"decode_header","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["header"],"arg_types":[{".class":"UnionType","items":["email.header.Header","builtins.str"]}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"decode_header","ret_type":{".class":"Instance","args":[{".class":"TupleType","implicit":false,"items":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},{".class":"UnionType","items":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},{".class":"NoneType"}]}],"partial_fallback":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"type_ref":"builtins.tuple"}}],"type_ref":"builtins.list"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"make_header":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,1,1,1],"arg_names":["decoded_seq","maxlinelen","header_name","continuation_ws"],"dataclass_transform_spec":null,"flags":[],"fullname":"email.header.make_header","name":"make_header","type":{".class":"CallableType","arg_kinds":[0,1,1,1],"arg_names":["decoded_seq","maxlinelen","header_name","continuation_ws"],"arg_types":[{".class":"Instance","args":[{".class":"TupleType","implicit":false,"items":[{".class":"UnionType","items":["builtins.bytes","builtins.bytearray","builtins.str"]},{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]}],"partial_fallback":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"type_ref":"builtins.tuple"}}],"type_ref":"typing.Iterable"},{".class":"UnionType","items":["builtins.int",{".class":"NoneType"}]},{".class":"UnionType","items":["builtins.str",{".class":"NoneType"}]},"builtins.str"],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"make_header","ret_type":"email.header.Header","type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"path":"/local_scratch/lfainsin/.conda/envs/PVD/lib/python3.9/site-packages/mypy/typeshed/stdlib/email/header.pyi"} |