{".class": "MypyFile", "_fullname": "tests.dashboards.api_tests", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "ApiOwnersTestCaseMixin": {".class": "SymbolTableNode", "cross_ref": "tests.base_api_tests.ApiOwnersTestCaseMixin", "kind": "Gdef"}, "Dashboard": {".class": "SymbolTableNode", "cross_ref": "superset.models.dashboard.Dashboard", "kind": "Gdef"}, "DashboardApiTests": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["tests.base_tests.SupersetTestCase", "tests.base_api_tests.ApiOwnersTestCaseMixin"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.dashboards.api_tests.DashboardApiTests", "name": "DashboardApiTests", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.dashboards.api_tests.DashboardApiTests", "metaclass_type": null, "metadata": {}, "module_name": "tests.dashboards.api_tests", "mro": ["tests.dashboards.api_tests.DashboardApiTests", "tests.base_tests.SupersetTestCase", "tests.base_api_tests.ApiOwnersTestCaseMixin", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.__init__", "name": "__init__", "type": null}}, "dashboard_data": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "tests.dashboards.api_tests.DashboardApiTests.dashboard_data", "name": "dashboard_data", "type": {".class": "Instance", "args": ["builtins.str", "builtins.object"], "type_ref": "builtins.dict"}}}, "insert_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 1, 1, 1, 1, 1], "arg_names": ["self", "dashboard_title", "slug", "owners", "slices", "position_json", "css", "json_metadata", "published"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.insert_dashboard", "name": "insert_dashboard", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 1, 1, 1, 1, 1], "arg_names": ["self", "dashboard_title", "slug", "owners", "slices", "position_json", "css", "json_metadata", "published"], "arg_types": ["tests.dashboards.api_tests.DashboardApiTests", "builtins.str", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.list"}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["superset.models.slice.Slice"], "type_ref": "builtins.list"}, {".class": "NoneType"}]}, "builtins.str", "builtins.str", "builtins.str", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "insert_dashboard of DashboardApiTests", "ret_type": "superset.models.dashboard.Dashboard", "variables": []}}}, "resource_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "tests.dashboards.api_tests.DashboardApiTests.resource_name", "name": "resource_name", "type": "builtins.str"}}, "test_create_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_create_dashboard", "name": "test_create_dashboard", "type": null}}, "test_create_dashboard_empty": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_create_dashboard_empty", "name": "test_create_dashboard_empty", "type": null}}, "test_create_dashboard_validate_json": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_create_dashboard_validate_json", "name": "test_create_dashboard_validate_json", "type": null}}, "test_create_dashboard_validate_owners": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_create_dashboard_validate_owners", "name": "test_create_dashboard_validate_owners", "type": null}}, "test_create_dashboard_validate_slug": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_create_dashboard_validate_slug", "name": "test_create_dashboard_validate_slug", "type": null}}, "test_create_dashboard_validate_title": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_create_dashboard_validate_title", "name": "test_create_dashboard_validate_title", "type": null}}, "test_create_simple_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_create_simple_dashboard", "name": "test_create_simple_dashboard", "type": null}}, "test_delete_bulk_dashboard_admin_not_owned": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_bulk_dashboard_admin_not_owned", "name": "test_delete_bulk_dashboard_admin_not_owned", "type": null}}, "test_delete_bulk_dashboard_not_owned": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_bulk_dashboard_not_owned", "name": "test_delete_bulk_dashboard_not_owned", "type": null}}, "test_delete_bulk_dashboards": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_bulk_dashboards", "name": "test_delete_bulk_dashboards", "type": null}}, "test_delete_bulk_dashboards_bad_request": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_bulk_dashboards_bad_request", "name": "test_delete_bulk_dashboards_bad_request", "type": null}}, "test_delete_bulk_dashboards_not_found": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_bulk_dashboards_not_found", "name": "test_delete_bulk_dashboards_not_found", "type": null}}, "test_delete_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_dashboard", "name": "test_delete_dashboard", "type": null}}, "test_delete_dashboard_admin_not_owned": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_dashboard_admin_not_owned", "name": "test_delete_dashboard_admin_not_owned", "type": null}}, "test_delete_dashboard_not_owned": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_dashboard_not_owned", "name": "test_delete_dashboard_not_owned", "type": null}}, "test_delete_not_found_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_delete_not_found_dashboard", "name": "test_delete_not_found_dashboard", "type": null}}, "test_export": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_export", "name": "test_export", "type": null}}, "test_export_not_allowed": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_export_not_allowed", "name": "test_export_not_allowed", "type": null}}, "test_export_not_found": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_export_not_found", "name": "test_export_not_found", "type": null}}, "test_get_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_get_dashboard", "name": "test_get_dashboard", "type": null}}, "test_get_dashboard_no_data_access": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_get_dashboard_no_data_access", "name": "test_get_dashboard_no_data_access", "type": null}}, "test_get_dashboard_not_found": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_get_dashboard_not_found", "name": "test_get_dashboard_not_found", "type": null}}, "test_get_dashboards_custom_filter": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_get_dashboards_custom_filter", "name": "test_get_dashboards_custom_filter", "type": null}}, "test_get_dashboards_filter": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_get_dashboards_filter", "name": "test_get_dashboards_filter", "type": null}}, "test_get_dashboards_no_data_access": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_get_dashboards_no_data_access", "name": "test_get_dashboards_no_data_access", "type": null}}, "test_info_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_info_dashboard", "name": "test_info_dashboard", "type": null}}, "test_update_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_dashboard", "name": "test_update_dashboard", "type": null}}, "test_update_dashboard_chart_owners": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_dashboard_chart_owners", "name": "test_update_dashboard_chart_owners", "type": null}}, "test_update_dashboard_new_owner": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_dashboard_new_owner", "name": "test_update_dashboard_new_owner", "type": null}}, "test_update_dashboard_not_owned": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_dashboard_not_owned", "name": "test_update_dashboard_not_owned", "type": null}}, "test_update_dashboard_slug_formatting": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_dashboard_slug_formatting", "name": "test_update_dashboard_slug_formatting", "type": null}}, "test_update_dashboard_validate_slug": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_dashboard_validate_slug", "name": "test_update_dashboard_validate_slug", "type": null}}, "test_update_partial_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_partial_dashboard", "name": "test_update_partial_dashboard", "type": null}}, "test_update_published": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboards.api_tests.DashboardApiTests.test_update_published", "name": "test_update_published", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef"}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "Slice": {".class": "SymbolTableNode", "cross_ref": "superset.models.slice.Slice", "kind": "Gdef"}, "SupersetTestCase": {".class": "SymbolTableNode", "cross_ref": "tests.base_tests.SupersetTestCase", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboards.api_tests.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboards.api_tests.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboards.api_tests.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboards.api_tests.__package__", "name": "__package__", "type": "builtins.str"}}, "db": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.db", "kind": "Gdef"}, "func": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.dashboards.api_tests.func", "name": "func", "type": {".class": "AnyType", "missing_import_name": "tests.dashboards.api_tests.func", "source_any": null, "type_of_any": 3}}}, "generate_download_headers": {".class": "SymbolTableNode", "cross_ref": "superset.views.base.generate_download_headers", "kind": "Gdef"}, "json": {".class": "SymbolTableNode", "cross_ref": "json", "kind": "Gdef"}, "prison": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.dashboards.api_tests.prison", "name": "prison", "type": {".class": "AnyType", "missing_import_name": "tests.dashboards.api_tests.prison", "source_any": null, "type_of_any": 3}}}, "security_manager": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.security_manager", "kind": "Gdef"}, "tests": {".class": "SymbolTableNode", "cross_ref": "tests", "kind": "Gdef"}}, "path": "tests/dashboards/api_tests.py"}