1 line
37 KiB
JSON
1 line
37 KiB
JSON
{".class":"MypyFile","_fullname":"contextvars","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},"Callable":{".class":"SymbolTableNode","cross_ref":"typing.Callable","kind":"Gdef","module_hidden":true,"module_public":false},"ClassVar":{".class":"SymbolTableNode","cross_ref":"typing.ClassVar","kind":"Gdef","module_hidden":true,"module_public":false},"Context":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":[{".class":"Instance","args":[{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"contextvars.ContextVar"},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"typing.Mapping"}],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"contextvars.Context","name":"Context","type_vars":[]},"deletable_attributes":[],"flags":["is_final"],"fullname":"contextvars.Context","has_param_spec_type":false,"metaclass_type":"abc.ABCMeta","metadata":{},"module_name":"contextvars","mro":["contextvars.Context","typing.Mapping","typing.Collection","typing.Iterable","typing.Container","builtins.object"],"names":{".class":"SymbolTable","__getitem__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.Context.__getitem__","name":"__getitem__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":["contextvars.Context",{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__getitem__ of Context","ret_type":{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]}}},"__init__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.Context.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["contextvars.Context"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of Context","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__iter__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":[null],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.Context.__iter__","name":"__iter__","type":{".class":"CallableType","arg_kinds":[0],"arg_names":[null],"arg_types":["contextvars.Context"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__iter__ of Context","ret_type":{".class":"Instance","args":[{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"contextvars.ContextVar"}],"type_ref":"typing.Iterator"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__len__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":[null],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.Context.__len__","name":"__len__","type":{".class":"CallableType","arg_kinds":[0],"arg_names":[null],"arg_types":["contextvars.Context"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__len__ of Context","ret_type":"builtins.int","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"copy":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.Context.copy","name":"copy","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["contextvars.Context"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"copy of Context","ret_type":"contextvars.Context","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"get":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"OverloadedFuncDef","flags":[],"fullname":"contextvars.Context.get","impl":null,"items":[{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self",null],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"contextvars.Context.get","name":"get","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self",null],"arg_types":["contextvars.Context",{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of Context","ret_type":{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"NoneType"}]},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"contextvars.Context.get","name":"get","type":null}},{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self",null,null],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"contextvars.Context.get","name":"get","type":{".class":"CallableType","arg_kinds":[0,0,0],"arg_names":["self",null,null],"arg_types":["contextvars.Context",{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},{".class":"TypeVarType","fullname":"contextvars._D","id":-2,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of Context","ret_type":{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._D","id":-2,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._D","id":-2,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"contextvars.Context.get","name":"get","type":null}}],"type":{".class":"Overloaded","items":[{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self",null],"arg_types":["contextvars.Context",{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of Context","ret_type":{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"NoneType"}]},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]},{".class":"CallableType","arg_kinds":[0,0,0],"arg_names":["self",null,null],"arg_types":["contextvars.Context",{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},{".class":"TypeVarType","fullname":"contextvars._D","id":-2,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of Context","ret_type":{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._D","id":-2,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"TypeVarType","fullname":"contextvars._T","id":-1,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._D","id":-2,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]}]}}},"run":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,2,4],"arg_names":["self","callable","args","kwargs"],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.Context.run","name":"run","type":{".class":"CallableType","arg_kinds":[0,0,2,4],"arg_names":["self","callable","args","kwargs"],"arg_types":["contextvars.Context",{".class":"CallableType","arg_kinds":[2,4],"arg_names":[null,null],"arg_types":[{".class":"ParamSpecType","flavor":1,"fullname":"contextvars._P","id":-1,"name":"_P","prefix":{".class":"Parameters","arg_kinds":[],"arg_names":[],"arg_types":[],"variables":[]},"upper_bound":{".class":"Instance","args":["builtins.object"],"type_ref":"builtins.tuple"}},{".class":"ParamSpecType","flavor":2,"fullname":"contextvars._P","id":-1,"name":"_P","prefix":{".class":"Parameters","arg_kinds":[],"arg_names":[],"arg_types":[],"variables":[]},"upper_bound":{".class":"Instance","args":["builtins.str","builtins.object"],"type_ref":"builtins.dict"}}],"bound_args":[],"def_extras":{},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":null,"ret_type":{".class":"TypeVarType","fullname":"contextvars._T","id":-2,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},"type_guard":null,"unpack_kwargs":false,"variables":[]},{".class":"ParamSpecType","flavor":1,"fullname":"contextvars._P","id":-1,"name":"_P","prefix":{".class":"Parameters","arg_kinds":[],"arg_names":[],"arg_types":[],"variables":[]},"upper_bound":{".class":"Instance","args":["builtins.object"],"type_ref":"builtins.tuple"}},{".class":"ParamSpecType","flavor":2,"fullname":"contextvars._P","id":-1,"name":"_P","prefix":{".class":"Parameters","arg_kinds":[],"arg_names":[],"arg_types":[],"variables":[]},"upper_bound":{".class":"Instance","args":["builtins.str","builtins.object"],"type_ref":"builtins.dict"}}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"run of Context","ret_type":{".class":"TypeVarType","fullname":"contextvars._T","id":-2,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"ParamSpecType","flavor":0,"fullname":"contextvars._P","id":-1,"name":"_P","prefix":{".class":"Parameters","arg_kinds":[],"arg_names":[],"arg_types":[],"variables":[]},"upper_bound":"builtins.object"},{".class":"TypeVarType","fullname":"contextvars._T","id":-2,"name":"_T","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"ContextVar":{".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":"contextvars.ContextVar","name":"ContextVar","type_vars":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}]},"deletable_attributes":[],"flags":["is_final"],"fullname":"contextvars.ContextVar","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"contextvars","mro":["contextvars.ContextVar","builtins.object"],"names":{".class":"SymbolTable","__class_getitem__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["cls","item"],"dataclass_transform_spec":null,"flags":["is_class"],"fullname":"contextvars.ContextVar.__class_getitem__","name":"__class_getitem__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["cls","item"],"arg_types":[{".class":"TypeType","item":{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":"cls"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__class_getitem__ of ContextVar","ret_type":"types.GenericAlias","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"__init__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"OverloadedFuncDef","flags":[],"fullname":"contextvars.ContextVar.__init__","impl":null,"items":[{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self","name"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"contextvars.ContextVar.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self","name"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},"builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of ContextVar","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"contextvars.ContextVar.__init__","name":"__init__","type":null}},{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,3],"arg_names":["self","name","default"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"contextvars.ContextVar.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0,0,3],"arg_names":["self","name","default"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},"builtins.str",{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of ContextVar","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"contextvars.ContextVar.__init__","name":"__init__","type":null}}],"type":{".class":"Overloaded","items":[{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self","name"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},"builtins.str"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of ContextVar","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]},{".class":"CallableType","arg_kinds":[0,0,3],"arg_names":["self","name","default"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},"builtins.str",{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of ContextVar","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}]}}},"get":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"OverloadedFuncDef","flags":[],"fullname":"contextvars.ContextVar.get","impl":null,"items":[{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"contextvars.ContextVar.get","name":"get","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of ContextVar","ret_type":{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"contextvars.ContextVar.get","name":"get","type":null}},{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self","default"],"dataclass_transform_spec":null,"flags":["is_overload","is_decorated"],"fullname":"contextvars.ContextVar.get","name":"get","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self","default"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._D","id":-1,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}]}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of ContextVar","ret_type":{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._D","id":-1,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}]},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"TypeVarType","fullname":"contextvars._D","id":-1,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]}},"is_overload":true,"var":{".class":"Var","flags":["is_inferred"],"fullname":"contextvars.ContextVar.get","name":"get","type":null}}],"type":{".class":"Overloaded","items":[{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of ContextVar","ret_type":{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0},"type_guard":null,"unpack_kwargs":false,"variables":[]},{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self","default"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._D","id":-1,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}]}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"get of ContextVar","ret_type":{".class":"UnionType","items":[{".class":"TypeVarType","fullname":"contextvars._D","id":-1,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0},{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}]},"type_guard":null,"unpack_kwargs":false,"variables":[{".class":"TypeVarType","fullname":"contextvars._D","id":-1,"name":"_D","namespace":"","upper_bound":"builtins.object","values":[],"variance":0}]}]}}},"name":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":["is_property","is_decorated"],"fullname":"contextvars.ContextVar.name","name":"name","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"name of ContextVar","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"contextvars.ContextVar.name","name":"name","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"name of ContextVar","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"reset":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self",null],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.ContextVar.reset","name":"reset","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self",null],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.Token"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"reset of ContextVar","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"set":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self",null],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.ContextVar.set","name":"set","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self",null],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"set of ContextVar","ret_type":{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.ContextVar","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.Token"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":["_T"],"typeddict_type":null}},"Generic":{".class":"SymbolTableNode","cross_ref":"typing.Generic","kind":"Gdef","module_hidden":true,"module_public":false},"GenericAlias":{".class":"SymbolTableNode","cross_ref":"types.GenericAlias","kind":"Gdef","module_hidden":true,"module_public":false},"Iterator":{".class":"SymbolTableNode","cross_ref":"typing.Iterator","kind":"Gdef","module_hidden":true,"module_public":false},"Mapping":{".class":"SymbolTableNode","cross_ref":"typing.Mapping","kind":"Gdef","module_hidden":true,"module_public":false},"ParamSpec":{".class":"SymbolTableNode","cross_ref":"typing_extensions.ParamSpec","kind":"Gdef","module_hidden":true,"module_public":false},"Token":{".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":"contextvars.Token","name":"Token","type_vars":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}]},"deletable_attributes":[],"flags":["is_final"],"fullname":"contextvars.Token","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"contextvars","mro":["contextvars.Token","builtins.object"],"names":{".class":"SymbolTable","MISSING":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Var","flags":["is_initialized_in_class","is_classvar","is_ready"],"fullname":"contextvars.Token.MISSING","name":"MISSING","type":"builtins.object"}},"__class_getitem__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["cls","item"],"dataclass_transform_spec":null,"flags":["is_class"],"fullname":"contextvars.Token.__class_getitem__","name":"__class_getitem__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["cls","item"],"arg_types":[{".class":"TypeType","item":{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.Token"}},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":"cls"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__class_getitem__ of Token","ret_type":"types.GenericAlias","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"old_value":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":["is_property","is_decorated"],"fullname":"contextvars.Token.old_value","name":"old_value","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.Token"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"old_value of Token","ret_type":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"contextvars.Token.old_value","name":"old_value","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.Token"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"old_value of Token","ret_type":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},"type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"var":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":["is_property","is_decorated"],"fullname":"contextvars.Token.var","name":"var","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.Token"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"var of Token","ret_type":{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},"type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"contextvars.Token.var","name":"var","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":[{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.Token"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"var of Token","ret_type":{".class":"Instance","args":[{".class":"TypeVarType","fullname":"contextvars._T","id":1,"name":"_T","namespace":"contextvars.Token","upper_bound":"builtins.object","values":[],"variance":0}],"type_ref":"contextvars.ContextVar"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":["_T"],"typeddict_type":null}},"TypeVar":{".class":"SymbolTableNode","cross_ref":"typing.TypeVar","kind":"Gdef","module_hidden":true,"module_public":false},"_D":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"TypeVarExpr","fullname":"contextvars._D","name":"_D","upper_bound":"builtins.object","values":[],"variance":0}},"_P":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"ParamSpecExpr","fullname":"contextvars._P","name":"_P","upper_bound":"builtins.object","variance":0}},"_T":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"TypeVarExpr","fullname":"contextvars._T","name":"_T","upper_bound":"builtins.object","values":[],"variance":0}},"__all__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_inferred","has_explicit_value"],"fullname":"contextvars.__all__","name":"__all__","type":{".class":"TupleType","implicit":false,"items":["builtins.str","builtins.str","builtins.str","builtins.str"],"partial_fallback":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"type_ref":"builtins.tuple"}}}},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"contextvars.__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":"contextvars.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"contextvars.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"contextvars.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"contextvars.__package__","name":"__package__","type":"builtins.str"}},"copy_context":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[],"arg_names":[],"dataclass_transform_spec":null,"flags":[],"fullname":"contextvars.copy_context","name":"copy_context","type":{".class":"CallableType","arg_kinds":[],"arg_names":[],"arg_types":[],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"copy_context","ret_type":"contextvars.Context","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"final":{".class":"SymbolTableNode","cross_ref":"typing_extensions.final","kind":"Gdef","module_hidden":true,"module_public":false},"overload":{".class":"SymbolTableNode","cross_ref":"typing.overload","kind":"Gdef","module_hidden":true,"module_public":false},"sys":{".class":"SymbolTableNode","cross_ref":"sys","kind":"Gdef","module_hidden":true,"module_public":false}},"path":"/local_scratch/lfainsin/.conda/envs/PVD/lib/python3.9/site-packages/mypy/typeshed/stdlib/contextvars.pyi"} |