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

1 line
17 KiB
JSON

{".class":"MypyFile","_fullname":"tests.integration_tests.dashboards.commands_tests","future_import_flags":[],"is_partial_stub_package":false,"is_stub":false,"names":{".class":"SymbolTable","CommandInvalidError":{".class":"SymbolTableNode","cross_ref":"superset.commands.exceptions.CommandInvalidError","kind":"Gdef"},"Dashboard":{".class":"SymbolTableNode","cross_ref":"superset.models.dashboard.Dashboard","kind":"Gdef"},"DashboardNotFoundError":{".class":"SymbolTableNode","cross_ref":"superset.dashboards.commands.exceptions.DashboardNotFoundError","kind":"Gdef"},"Database":{".class":"SymbolTableNode","cross_ref":"superset.models.core.Database","kind":"Gdef"},"ExportDashboardsCommand":{".class":"SymbolTableNode","cross_ref":"superset.dashboards.commands.export.ExportDashboardsCommand","kind":"Gdef"},"IncorrectVersionError":{".class":"SymbolTableNode","cross_ref":"superset.commands.importers.exceptions.IncorrectVersionError","kind":"Gdef"},"MagicMock":{".class":"SymbolTableNode","cross_ref":"unittest.mock.MagicMock","kind":"Gdef"},"Slice":{".class":"SymbolTableNode","cross_ref":"superset.models.slice.Slice","kind":"Gdef"},"SqlaTable":{".class":"SymbolTableNode","cross_ref":"superset.connectors.sqla.models.SqlaTable","kind":"Gdef"},"SupersetTestCase":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.base_tests.SupersetTestCase","kind":"Gdef"},"TestExportDashboardsCommand":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["tests.integration_tests.base_tests.SupersetTestCase"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand","name":"TestExportDashboardsCommand","type_vars":[]},"deletable_attributes":[],"flags":["fallback_to_any"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"tests.integration_tests.dashboards.commands_tests","mro":["tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand","tests.integration_tests.base_tests.SupersetTestCase","builtins.object"],"names":{".class":"SymbolTable","test_append_charts":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self","mock_suffix"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_append_charts","name":"test_append_charts","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_append_charts","name":"test_append_charts","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":null,"type_of_any":3},"type_of_any":7}}}},"test_export_dashboard_command":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self","mock_g1","mock_g2"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command","name":"test_export_dashboard_command","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command","name":"test_export_dashboard_command","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":null,"type_of_any":3},"type_of_any":7}}}},"test_export_dashboard_command_invalid_dataset":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self","mock_g1","mock_g2"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_invalid_dataset","name":"test_export_dashboard_command_invalid_dataset","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_invalid_dataset","name":"test_export_dashboard_command_invalid_dataset","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":null,"type_of_any":3},"type_of_any":7}}}},"test_export_dashboard_command_key_order":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self","mock_g1","mock_g2"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_key_order","name":"test_export_dashboard_command_key_order","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_key_order","name":"test_export_dashboard_command_key_order","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":null,"type_of_any":3},"type_of_any":7}}}},"test_export_dashboard_command_no_access":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self","mock_g1","mock_g2"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_no_access","name":"test_export_dashboard_command_no_access","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_no_access","name":"test_export_dashboard_command_no_access","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":null,"type_of_any":3},"type_of_any":7}}}},"test_export_dashboard_command_no_related":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self","mock_g1","mock_g2"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_no_related","name":"test_export_dashboard_command_no_related","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestExportDashboardsCommand.test_export_dashboard_command_no_related","name":"test_export_dashboard_command_no_related","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":null,"type_of_any":3},"type_of_any":7}}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"TestImportDashboardsCommand":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["tests.integration_tests.base_tests.SupersetTestCase"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand","name":"TestImportDashboardsCommand","type_vars":[]},"deletable_attributes":[],"flags":["fallback_to_any"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"tests.integration_tests.dashboards.commands_tests","mro":["tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand","tests.integration_tests.base_tests.SupersetTestCase","builtins.object"],"names":{".class":"SymbolTable","test_import_v0_dashboard_cli_export":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":[],"fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand.test_import_v0_dashboard_cli_export","name":"test_import_v0_dashboard_cli_export","type":null}},"test_import_v1_dashboard":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0],"arg_names":["self","sm_g","utils_g"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand.test_import_v1_dashboard","name":"test_import_v1_dashboard","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand.test_import_v1_dashboard","name":"test_import_v1_dashboard","type":{".class":"CallableType","arg_kinds":[2,4],"arg_names":[null,null],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":true,"name":"test_import_v1_dashboard of TestImportDashboardsCommand","ret_type":{".class":"AnyType","missing_import_name":null,"source_any":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1},"type_of_any":7},"type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"test_import_v1_dashboard_multiple":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self","mock_g"],"dataclass_transform_spec":null,"flags":["is_decorated"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand.test_import_v1_dashboard_multiple","name":"test_import_v1_dashboard_multiple","type":null},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand.test_import_v1_dashboard_multiple","name":"test_import_v1_dashboard_multiple","type":{".class":"CallableType","arg_kinds":[2,4],"arg_names":[null,null],"arg_types":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":true,"name":"test_import_v1_dashboard_multiple of TestImportDashboardsCommand","ret_type":{".class":"AnyType","missing_import_name":null,"source_any":{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":1},"type_of_any":7},"type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"test_import_v1_dashboard_validation":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":[],"fullname":"tests.integration_tests.dashboards.commands_tests.TestImportDashboardsCommand.test_import_v1_dashboard_validation","name":"test_import_v1_dashboard_validation","type":null}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"tests.integration_tests.dashboards.commands_tests.__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","node":{".class":"Var","flags":["is_ready"],"fullname":"tests.integration_tests.dashboards.commands_tests.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"tests.integration_tests.dashboards.commands_tests.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"tests.integration_tests.dashboards.commands_tests.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_ready"],"fullname":"tests.integration_tests.dashboards.commands_tests.__package__","name":"__package__","type":"builtins.str"}},"append_charts":{".class":"SymbolTableNode","cross_ref":"superset.dashboards.commands.export.append_charts","kind":"Gdef"},"chart_config":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.importexport.chart_config","kind":"Gdef"},"dashboard_config":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.importexport.dashboard_config","kind":"Gdef"},"dashboard_export":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.importexport.dashboard_export","kind":"Gdef"},"dashboard_metadata_config":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.importexport.dashboard_metadata_config","kind":"Gdef"},"database_config":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.importexport.database_config","kind":"Gdef"},"dataset_config":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.importexport.dataset_config","kind":"Gdef"},"dataset_metadata_config":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.importexport.dataset_metadata_config","kind":"Gdef"},"db":{".class":"SymbolTableNode","cross_ref":"superset.extensions.db","kind":"Gdef"},"get_default_position":{".class":"SymbolTableNode","cross_ref":"superset.dashboards.commands.export.get_default_position","kind":"Gdef"},"itertools":{".class":"SymbolTableNode","cross_ref":"itertools","kind":"Gdef"},"json":{".class":"SymbolTableNode","cross_ref":"json","kind":"Gdef"},"load_world_bank_dashboard_with_slices":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.world_bank_dashboard.load_world_bank_dashboard_with_slices","kind":"Gdef"},"load_world_bank_data":{".class":"SymbolTableNode","cross_ref":"tests.integration_tests.fixtures.world_bank_dashboard.load_world_bank_data","kind":"Gdef"},"patch":{".class":"SymbolTableNode","cross_ref":"unittest.mock.patch","kind":"Gdef"},"pytest":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_suppressed_import","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.pytest","name":"pytest","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.pytest","source_any":null,"type_of_any":3}}},"secure_filename":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"Var","flags":["is_suppressed_import","is_ready","is_inferred"],"fullname":"tests.integration_tests.dashboards.commands_tests.secure_filename","name":"secure_filename","type":{".class":"AnyType","missing_import_name":"tests.integration_tests.dashboards.commands_tests.secure_filename","source_any":null,"type_of_any":3}}},"security_manager":{".class":"SymbolTableNode","cross_ref":"superset.extensions.security_manager","kind":"Gdef"},"v0":{".class":"SymbolTableNode","cross_ref":"superset.dashboards.commands.importers.v0","kind":"Gdef"},"v1":{".class":"SymbolTableNode","cross_ref":"superset.dashboards.commands.importers.v1","kind":"Gdef"},"yaml":{".class":"SymbolTableNode","cross_ref":"yaml","kind":"Gdef"}},"path":"tests/integration_tests/dashboards/commands_tests.py"}