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

1 line
18 KiB
JSON

{".class": "MypyFile", "_fullname": "tests.import_export_tests", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Dashboard": {".class": "SymbolTableNode", "cross_ref": "superset.models.dashboard.Dashboard", "kind": "Gdef"}, "DruidCluster": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.druid.models.DruidCluster", "kind": "Gdef"}, "DruidColumn": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.druid.models.DruidColumn", "kind": "Gdef"}, "DruidDatasource": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.druid.models.DruidDatasource", "kind": "Gdef"}, "DruidMetric": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.druid.models.DruidMetric", "kind": "Gdef"}, "ImportExportTests": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["tests.base_tests.SupersetTestCase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.import_export_tests.ImportExportTests", "name": "ImportExportTests", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.import_export_tests.ImportExportTests", "metaclass_type": null, "metadata": {}, "module_name": "tests.import_export_tests", "mro": ["tests.import_export_tests.ImportExportTests", "tests.base_tests.SupersetTestCase", "builtins.object"], "names": {".class": "SymbolTable", "_create_dashboard_for_import": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "id_"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests._create_dashboard_for_import", "name": "_create_dashboard_for_import", "type": null}}, "assert_dash_equals": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1], "arg_names": ["self", "expected_dash", "actual_dash", "check_position"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.assert_dash_equals", "name": "assert_dash_equals", "type": null}}, "assert_datasource_equals": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "expected_ds", "actual_ds"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.assert_datasource_equals", "name": "assert_datasource_equals", "type": null}}, "assert_only_exported_slc_fields": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "expected_dash", "actual_dash"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.assert_only_exported_slc_fields", "name": "assert_only_exported_slc_fields", "type": null}}, "assert_slice_equals": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "expected_slc", "actual_slc"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.assert_slice_equals", "name": "assert_slice_equals", "type": null}}, "assert_table_equals": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "expected_ds", "actual_ds"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.assert_table_equals", "name": "assert_table_equals", "type": null}}, "create_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "title", "id", "slcs"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.create_dashboard", "name": "create_dashboard", "type": null}}, "create_druid_datasource": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 1], "arg_names": ["self", "name", "id", "cols_names", "metric_names"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.create_druid_datasource", "name": "create_druid_datasource", "type": null}}, "create_slice": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 1, 1], "arg_names": ["self", "name", "ds_id", "id", "db_name", "table_name"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.create_slice", "name": "create_slice", "type": null}}, "create_table": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 1, 1], "arg_names": ["self", "name", "schema", "id", "cols_names", "metric_names"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.create_table", "name": "create_table", "type": null}}, "delete_imports": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["cls"], "flags": ["is_class", "is_decorated"], "fullname": "tests.import_export_tests.ImportExportTests.delete_imports", "name": "delete_imports", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_classmethod", "is_ready"], "fullname": null, "name": "delete_imports", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["cls"], "arg_types": [{".class": "TypeType", "item": "tests.import_export_tests.ImportExportTests"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "delete_imports of ImportExportTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "get_dash": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "dash_id"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.get_dash", "name": "get_dash", "type": null}}, "get_datasource": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "datasource_id"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.get_datasource", "name": "get_datasource", "type": null}}, "get_slice": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "slc_id"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.get_slice", "name": "get_slice", "type": null}}, "get_slice_by_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.get_slice_by_name", "name": "get_slice_by_name", "type": null}}, "get_table_by_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.get_table_by_name", "name": "get_table_by_name", "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.import_export_tests.ImportExportTests.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.import_export_tests.ImportExportTests"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "setUpClass of ImportExportTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "tearDownClass": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["cls"], "flags": ["is_class", "is_decorated"], "fullname": "tests.import_export_tests.ImportExportTests.tearDownClass", "name": "tearDownClass", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_classmethod", "is_ready"], "fullname": null, "name": "tearDownClass", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["cls"], "arg_types": [{".class": "TypeType", "item": "tests.import_export_tests.ImportExportTests"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "tearDownClass of ImportExportTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_export_1_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_export_1_dashboard", "name": "test_export_1_dashboard", "type": null}}, "test_export_2_dashboards": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_export_2_dashboards", "name": "test_export_2_dashboards", "type": null}}, "test_import_1_slice": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_1_slice", "name": "test_import_1_slice", "type": null}}, "test_import_2_slices_for_same_table": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_2_slices_for_same_table", "name": "test_import_2_slices_for_same_table", "type": null}}, "test_import_dashboard_1_slice": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_dashboard_1_slice", "name": "test_import_dashboard_1_slice", "type": null}}, "test_import_dashboard_2_slices": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_dashboard_2_slices", "name": "test_import_dashboard_2_slices", "type": null}}, "test_import_druid_1_col_1_met": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_druid_1_col_1_met", "name": "test_import_druid_1_col_1_met", "type": null}}, "test_import_druid_2_col_2_met": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_druid_2_col_2_met", "name": "test_import_druid_2_col_2_met", "type": null}}, "test_import_druid_no_metadata": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_druid_no_metadata", "name": "test_import_druid_no_metadata", "type": null}}, "test_import_druid_override": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_druid_override", "name": "test_import_druid_override", "type": null}}, "test_import_druid_override_identical": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_druid_override_identical", "name": "test_import_druid_override_identical", "type": null}}, "test_import_empty_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_empty_dashboard", "name": "test_import_empty_dashboard", "type": null}}, "test_import_new_dashboard_slice_reset_ownership": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_new_dashboard_slice_reset_ownership", "name": "test_import_new_dashboard_slice_reset_ownership", "type": null}}, "test_import_override_dashboard_2_slices": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_override_dashboard_2_slices", "name": "test_import_override_dashboard_2_slices", "type": null}}, "test_import_override_dashboard_slice_reset_ownership": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_override_dashboard_slice_reset_ownership", "name": "test_import_override_dashboard_slice_reset_ownership", "type": null}}, "test_import_slices_for_non_existent_table": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_slices_for_non_existent_table", "name": "test_import_slices_for_non_existent_table", "type": null}}, "test_import_slices_override": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_slices_override", "name": "test_import_slices_override", "type": null}}, "test_import_table_1_col_1_met": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_table_1_col_1_met", "name": "test_import_table_1_col_1_met", "type": null}}, "test_import_table_2_col_2_met": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_table_2_col_2_met", "name": "test_import_table_2_col_2_met", "type": null}}, "test_import_table_no_metadata": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_table_no_metadata", "name": "test_import_table_no_metadata", "type": null}}, "test_import_table_override": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_table_override", "name": "test_import_table_override", "type": null}}, "test_import_table_override_identical": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.import_export_tests.ImportExportTests.test_import_table_override_identical", "name": "test_import_table_override_identical", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Slice": {".class": "SymbolTableNode", "cross_ref": "superset.models.slice.Slice", "kind": "Gdef"}, "SqlMetric": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.sqla.models.SqlMetric", "kind": "Gdef"}, "SqlaTable": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.sqla.models.SqlaTable", "kind": "Gdef"}, "SupersetTestCase": {".class": "SymbolTableNode", "cross_ref": "tests.base_tests.SupersetTestCase", "kind": "Gdef"}, "TableColumn": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.sqla.models.TableColumn", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.import_export_tests.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.import_export_tests.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.import_export_tests.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.import_export_tests.__package__", "name": "__package__", "type": "builtins.str"}}, "app": {".class": "SymbolTableNode", "cross_ref": "tests.test_app.app", "kind": "Gdef"}, "db": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.db", "kind": "Gdef"}, "decode_dashboards": {".class": "SymbolTableNode", "cross_ref": "superset.utils.dashboard_import_export.decode_dashboards", "kind": "Gdef"}, "g": {".class": "SymbolTableNode", "cross_ref": "flask.globals.g", "kind": "Gdef"}, "get_example_database": {".class": "SymbolTableNode", "cross_ref": "superset.utils.core.get_example_database", "kind": "Gdef"}, "json": {".class": "SymbolTableNode", "cross_ref": "json", "kind": "Gdef"}, "make_transient": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.import_export_tests.make_transient", "name": "make_transient", "type": {".class": "AnyType", "missing_import_name": "tests.import_export_tests.make_transient", "source_any": null, "type_of_any": 3}}}, "security_manager": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.security_manager", "kind": "Gdef"}, "unittest": {".class": "SymbolTableNode", "cross_ref": "unittest", "kind": "Gdef"}}, "path": "tests/import_export_tests.py"}