Files
superset2/.mypy_cache/3.6/tests/celery_tests.data.json
Maxime Beauchemin 57bccba93a simple redirect
2023-08-10 16:28:51 -07:00

1 line
16 KiB
JSON

{".class": "MypyFile", "_fullname": "tests.celery_tests", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "AppContextTests": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["tests.base_tests.SupersetTestCase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.celery_tests.AppContextTests", "name": "AppContextTests", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.celery_tests.AppContextTests", "metaclass_type": null, "metadata": {}, "module_name": "tests.celery_tests", "mro": ["tests.celery_tests.AppContextTests", "tests.base_tests.SupersetTestCase", "builtins.object"], "names": {".class": "SymbolTable", "test_in_app_context": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.AppContextTests.test_in_app_context", "name": "test_in_app_context", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "BaseEngineSpec": {".class": "SymbolTableNode", "cross_ref": "superset.db_engine_specs.base.BaseEngineSpec", "kind": "Gdef"}, "CELERY_SHORT_SLEEP_TIME": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.CELERY_SHORT_SLEEP_TIME", "name": "CELERY_SHORT_SLEEP_TIME", "type": "builtins.int"}}, "CELERY_SLEEP_TIME": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.CELERY_SLEEP_TIME", "name": "CELERY_SLEEP_TIME", "type": "builtins.int"}}, "CTAS_SCHEMA_NAME": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.CTAS_SCHEMA_NAME", "name": "CTAS_SCHEMA_NAME", "type": "builtins.str"}}, "CeleryTestCase": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["tests.base_tests.SupersetTestCase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.celery_tests.CeleryTestCase", "name": "CeleryTestCase", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.celery_tests.CeleryTestCase", "metaclass_type": null, "metadata": {}, "module_name": "tests.celery_tests", "mro": ["tests.celery_tests.CeleryTestCase", "tests.base_tests.SupersetTestCase", "builtins.object"], "names": {".class": "SymbolTable", "de_unicode_dict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["d"], "flags": ["is_static", "is_decorated"], "fullname": "tests.celery_tests.CeleryTestCase.de_unicode_dict", "name": "de_unicode_dict", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "de_unicode_dict", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["d"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "de_unicode_dict of CeleryTestCase", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "dictify_list_of_dicts": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["cls", "l", "k"], "flags": ["is_class", "is_decorated"], "fullname": "tests.celery_tests.CeleryTestCase.dictify_list_of_dicts", "name": "dictify_list_of_dicts", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_classmethod", "is_ready"], "fullname": null, "name": "dictify_list_of_dicts", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["cls", "l", "k"], "arg_types": [{".class": "TypeType", "item": "tests.celery_tests.CeleryTestCase"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "dictify_list_of_dicts of CeleryTestCase", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "drop_table_if_exists": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "table_name", "database"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.drop_table_if_exists", "name": "drop_table_if_exists", "type": null}}, "get_query_by_id": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "id"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.get_query_by_id", "name": "get_query_by_id", "type": null}}, "get_query_by_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "sql"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.get_query_by_name", "name": "get_query_by_name", "type": null}}, "run_sql": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 1, 1, 1], "arg_names": ["self", "db_id", "sql", "client_id", "cta", "tmp_table", "async_"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.run_sql", "name": "run_sql", "type": null}}, "setUpClass": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["cls"], "flags": ["is_class", "is_decorated"], "fullname": "tests.celery_tests.CeleryTestCase.setUpClass", "name": "setUpClass", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_classmethod", "is_ready"], "fullname": null, "name": "setUpClass", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["cls"], "arg_types": [{".class": "TypeType", "item": "tests.celery_tests.CeleryTestCase"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "setUpClass of CeleryTestCase", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_default_data_serialization": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_default_data_serialization", "name": "test_default_data_serialization", "type": null}}, "test_default_payload_serialization": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_default_payload_serialization", "name": "test_default_payload_serialization", "type": null}}, "test_msgpack_payload_serialization": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_msgpack_payload_serialization", "name": "test_msgpack_payload_serialization", "type": null}}, "test_new_data_serialization": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_new_data_serialization", "name": "test_new_data_serialization", "type": null}}, "test_run_async_cta_query": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_run_async_cta_query", "name": "test_run_async_cta_query", "type": null}}, "test_run_async_cta_query_with_lower_limit": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_run_async_cta_query_with_lower_limit", "name": "test_run_async_cta_query_with_lower_limit", "type": null}}, "test_run_async_query_cta_config": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.celery_tests.CeleryTestCase.test_run_async_query_cta_config", "name": "test_run_async_query_cta_config", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_run_async_query_cta_config", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "test_run_sync_query_cta": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_run_sync_query_cta", "name": "test_run_sync_query_cta", "type": null}}, "test_run_sync_query_cta_config": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.celery_tests.CeleryTestCase.test_run_sync_query_cta_config", "name": "test_run_sync_query_cta_config", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_run_sync_query_cta_config", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}}}}, "test_run_sync_query_cta_no_data": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_run_sync_query_cta_no_data", "name": "test_run_sync_query_cta_no_data", "type": null}}, "test_run_sync_query_dont_exist": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.CeleryTestCase.test_run_sync_query_dont_exist", "name": "test_run_sync_query_dont_exist", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "DROP_TABLE_SLEEP_TIME": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.DROP_TABLE_SLEEP_TIME", "name": "DROP_TABLE_SLEEP_TIME", "type": "builtins.int"}}, "NullPool": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.celery_tests.NullPool", "name": "NullPool", "type": {".class": "AnyType", "missing_import_name": "tests.celery_tests.NullPool", "source_any": null, "type_of_any": 3}}}, "ParsedQuery": {".class": "SymbolTableNode", "cross_ref": "superset.sql_parse.ParsedQuery", "kind": "Gdef"}, "Query": {".class": "SymbolTableNode", "cross_ref": "superset.models.sql_lab.Query", "kind": "Gdef"}, "QueryStatus": {".class": "SymbolTableNode", "cross_ref": "superset.utils.core.QueryStatus", "kind": "Gdef"}, "SupersetResultSet": {".class": "SymbolTableNode", "cross_ref": "superset.result_set.SupersetResultSet", "kind": "Gdef"}, "SupersetTestCase": {".class": "SymbolTableNode", "cross_ref": "tests.base_tests.SupersetTestCase", "kind": "Gdef"}, "UtilityFunctionTests": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["tests.base_tests.SupersetTestCase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.celery_tests.UtilityFunctionTests", "name": "UtilityFunctionTests", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.celery_tests.UtilityFunctionTests", "metaclass_type": null, "metadata": {}, "module_name": "tests.celery_tests", "mro": ["tests.celery_tests.UtilityFunctionTests", "tests.base_tests.SupersetTestCase", "builtins.object"], "names": {".class": "SymbolTable", "test_create_table_as": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.celery_tests.UtilityFunctionTests.test_create_table_as", "name": "test_create_table_as", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.celery_tests.__package__", "name": "__package__", "type": "builtins.str"}}, "app": {".class": "SymbolTableNode", "cross_ref": "tests.test_app.app", "kind": "Gdef"}, "celery_app": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.celery_app", "kind": "Gdef"}, "contextmanager": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.celery_tests.contextmanager", "name": "contextmanager", "type": {".class": "AnyType", "missing_import_name": "tests.celery_tests.contextmanager", "source_any": null, "type_of_any": 3}}}, "current_app": {".class": "SymbolTableNode", "cross_ref": "flask.globals.current_app", "kind": "Gdef"}, "datetime": {".class": "SymbolTableNode", "cross_ref": "datetime", "kind": "Gdef"}, "db": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.db", "kind": "Gdef"}, "flask": {".class": "SymbolTableNode", "cross_ref": "flask", "kind": "Gdef"}, "get_example_database": {".class": "SymbolTableNode", "cross_ref": "superset.utils.core.get_example_database", "kind": "Gdef"}, "io": {".class": "SymbolTableNode", "cross_ref": "io", "kind": "Gdef"}, "json": {".class": "SymbolTableNode", "cross_ref": "json", "kind": "Gdef"}, "logging": {".class": "SymbolTableNode", "cross_ref": "logging", "kind": "Gdef"}, "mock": {".class": "SymbolTableNode", "cross_ref": "unittest.mock", "kind": "Gdef"}, "sessionmaker": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.celery_tests.sessionmaker", "name": "sessionmaker", "type": {".class": "AnyType", "missing_import_name": "tests.celery_tests.sessionmaker", "source_any": null, "type_of_any": 3}}}, "sql_lab": {".class": "SymbolTableNode", "cross_ref": "superset.sql_lab", "kind": "Gdef"}, "sqlalchemy": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.celery_tests.sqlalchemy", "name": "sqlalchemy", "type": {".class": "AnyType", "missing_import_name": "tests.celery_tests.sqlalchemy", "source_any": null, "type_of_any": 3}}}, "subprocess": {".class": "SymbolTableNode", "cross_ref": "subprocess", "kind": "Gdef"}, "time": {".class": "SymbolTableNode", "cross_ref": "time", "kind": "Gdef"}, "unittest": {".class": "SymbolTableNode", "cross_ref": "unittest", "kind": "Gdef"}}, "path": "tests/celery_tests.py"}