From f741665d53bc4c9ad115dfa37da7ff1f22ac544f Mon Sep 17 00:00:00 2001 From: Doug Addy Date: Thu, 24 Oct 2024 14:50:55 +0100 Subject: [PATCH] Update Template Version to 4.1.1 (#254) --- .github/workflows/build_and_test_library.yml | 4 +- .github/workflows/generate_library.yml | 2 +- ansys-grantami-serverapi-openapi/poetry.lock | 628 ++++++++++-------- .../pyproject.toml | 5 +- .../serverapi_openapi/api/aggregation_api.py | 58 +- .../serverapi_openapi/api/data_api.py | 534 +++++++-------- .../serverapi_openapi/api/data_export_api.py | 30 +- .../serverapi_openapi/api/database_api.py | 140 ++-- .../api/help_location_api.py | 30 +- .../serverapi_openapi/api/integration_api.py | 144 ++-- .../serverapi_openapi/api/job_queue_api.py | 210 +++--- .../serverapi_openapi/api/license_api.py | 44 +- .../serverapi_openapi/api/list_item_api.py | 44 +- .../api/list_management_api.py | 184 ++--- .../api/list_permissions_api.py | 86 +-- .../serverapi_openapi/api/metrics_api.py | 16 +- .../api/records___record_histories_api.py | 128 ++-- .../api/records___record_versions_api.py | 72 +- .../api/schema___attributes_api.py | 184 ++--- .../api/schema___configurations_api.py | 86 +-- .../api/schema___constants_api.py | 72 +- .../api/schema___data_rules_api.py | 72 +- .../api/schema___databases_api.py | 128 ++-- ...___discrete_types___discrete_values_api.py | 100 +-- .../api/schema___discrete_types_api.py | 86 +-- .../api/schema___exporters_api.py | 226 +++---- .../api/schema___expressions_api.py | 72 +- .../api/schema___global_standard_names_api.py | 30 +- .../api/schema___help_files_api.py | 212 +++--- .../api/schema___home_pages_api.py | 212 +++--- .../api/schema___layout_sections_api.py | 100 +-- .../api/schema___layouts_api.py | 86 +-- .../api/schema___parameters_api.py | 142 ++-- .../api/schema___profile_tables_api.py | 72 +- .../api/schema___profiles_api.py | 86 +-- .../api/schema___record_link_groups_api.py | 72 +- .../api/schema___replacement_strings_api.py | 72 +- .../api/schema___standard_names_api.py | 72 +- .../api/schema___subsets_api.py | 100 +-- .../api/schema___tables_api.py | 114 ++-- .../api/schema___units_api.py | 198 +++--- .../serverapi_openapi/api/schema_api.py | 34 +- .../serverapi_openapi/api/search_api.py | 86 +-- .../api/selection_searches_api.py | 90 +-- .../serverapi_openapi/api/status_api.py | 62 +- ...attributes_attributeguidimportfile_body.py | 16 +- ...ttributes_attributeguidimportfile_body1.py | 16 +- ...ributes_attributeguidimportpicture_body.py | 16 +- ...ibutes_attributeguidimportpicture_body1.py | 16 +- .../columns_columnguidimportfile_body.py | 16 +- .../columns_columnguidimportfile_body1.py | 16 +- .../columns_columnguidimportpicture_body.py | 16 +- .../columns_columnguidimportpicture_body1.py | 16 +- .../models/folderguid_files_body.py | 16 +- .../models/folderguid_files_body1.py | 16 +- .../models/folderguid_files_body2.py | 16 +- .../models/gsa_add_database.py | 16 +- .../gsa_add_record_history_to_subset.py | 16 +- .../models/gsa_aggregation.py | 18 +- .../models/gsa_aggregation_criterion.py | 18 +- .../models/gsa_aggregation_datum.py | 18 +- .../models/gsa_aggregation_datum_criterion.py | 18 +- .../gsa_aggregation_datum_exists_criterion.py | 16 +- .../models/gsa_aggregations_request.py | 30 +- .../models/gsa_aggregations_response.py | 30 +- .../models/gsa_all_profiles_info.py | 30 +- .../models/gsa_all_values_specifier.py | 16 +- .../gsa_app_name_license_checkout_request.py | 30 +- .../gsa_app_name_license_checkout_response.py | 30 +- .../gsa_app_name_license_checkout_result.py | 16 +- .../models/gsa_append_discrete_values.py | 30 +- .../models/gsa_append_point_values.py | 30 +- .../models/gsa_applicable_datum.py | 18 +- .../models/gsa_applications_info.py | 30 +- .../serverapi_openapi/models/gsa_attribute.py | 32 +- .../models/gsa_attribute_aggregation.py | 18 +- .../gsa_attribute_aggregation_criterion.py | 18 +- ..._attribute_aggregation_exists_criterion.py | 16 +- ...a_attribute_aggregation_value_criterion.py | 16 +- .../models/gsa_attribute_criterion.py | 18 +- .../gsa_attribute_deletion_exception.py | 30 +- .../gsa_attribute_exists_aggregation.py | 16 +- .../models/gsa_attribute_exists_criterion.py | 16 +- .../models/gsa_attribute_export_failure.py | 30 +- .../models/gsa_attribute_info.py | 100 +-- .../models/gsa_attribute_link_pair.py | 16 +- .../models/gsa_attribute_matches_criterion.py | 16 +- .../gsa_attribute_not_applicable_criterion.py | 16 +- .../models/gsa_attribute_reference.py | 16 +- .../models/gsa_attribute_sort_criterion.py | 16 +- .../models/gsa_attribute_to_export.py | 18 +- ...te_usage_data_modification_error_detail.py | 30 +- .../models/gsa_attribute_validate_response.py | 16 +- .../models/gsa_attribute_value_aggregation.py | 16 +- .../models/gsa_attributes_info.py | 30 +- .../models/gsa_boolean_criterion.py | 58 +- .../models/gsa_boost_by_guid.py | 16 +- .../models/gsa_boost_by_identity.py | 16 +- .../models/gsa_configuration.py | 16 +- .../models/gsa_configurations_info.py | 30 +- .../serverapi_openapi/models/gsa_constant.py | 16 +- .../models/gsa_constant_deletion_exception.py | 30 +- .../models/gsa_constants_info.py | 30 +- .../models/gsa_continuous_range.py | 16 +- .../models/gsa_copy_record_history.py | 16 +- .../models/gsa_create_attribute.py | 18 +- .../models/gsa_create_attribute_link_pair.py | 16 +- .../models/gsa_create_configuration.py | 16 +- .../models/gsa_create_constant.py | 16 +- .../models/gsa_create_continuous_range.py | 16 +- ...create_cross_database_record_link_group.py | 16 +- .../models/gsa_create_data_rule.py | 16 +- .../models/gsa_create_date_time_attribute.py | 16 +- .../models/gsa_create_discrete_attribute.py | 16 +- ...sa_create_discrete_functional_attribute.py | 30 +- ...functional_attribute_discrete_parameter.py | 16 +- ..._functional_attribute_numeric_parameter.py | 16 +- ...discrete_functional_attribute_parameter.py | 18 +- .../models/gsa_create_discrete_parameter.py | 30 +- .../gsa_create_discrete_parameter_content.py | 16 +- .../gsa_create_discrete_parameter_value.py | 16 +- .../models/gsa_create_discrete_range.py | 30 +- .../models/gsa_create_discrete_type.py | 16 +- .../gsa_create_dynamic_record_link_group.py | 30 +- .../models/gsa_create_expression.py | 16 +- .../models/gsa_create_file_attribute.py | 16 +- .../gsa_create_float_functional_attribute.py | 30 +- ...functional_attribute_discrete_parameter.py | 16 +- ..._functional_attribute_numeric_parameter.py | 16 +- ...te_float_functional_attribute_parameter.py | 18 +- .../models/gsa_create_folder.py | 16 +- .../models/gsa_create_hyperlink_attribute.py | 16 +- .../models/gsa_create_integer_attribute.py | 16 +- .../models/gsa_create_job_request.py | 30 +- .../models/gsa_create_layout.py | 30 +- .../models/gsa_create_layout_section.py | 16 +- ..._create_linked_attribute_tabular_column.py | 16 +- ...gsa_create_linked_column_tabular_column.py | 16 +- ...gsa_create_linked_record_tabular_column.py | 16 +- .../models/gsa_create_list_item.py | 16 +- ...a_create_local_date_time_tabular_column.py | 16 +- ...sa_create_local_discrete_tabular_column.py | 16 +- .../gsa_create_local_file_tabular_column.py | 16 +- ...a_create_local_hyperlink_tabular_column.py | 16 +- ...gsa_create_local_integer_tabular_column.py | 16 +- ...gsa_create_local_logical_tabular_column.py | 16 +- ...a_create_local_long_text_tabular_column.py | 16 +- ...gsa_create_local_picture_tabular_column.py | 16 +- .../gsa_create_local_point_tabular_column.py | 16 +- .../gsa_create_local_range_tabular_column.py | 16 +- ..._create_local_short_text_tabular_column.py | 16 +- .../models/gsa_create_logical_attribute.py | 16 +- .../models/gsa_create_long_text_attribute.py | 16 +- .../models/gsa_create_maths_content.py | 30 +- .../gsa_create_maths_functional_attribute.py | 44 +- .../models/gsa_create_numeric_parameter.py | 30 +- .../gsa_create_numeric_parameter_content.py | 16 +- .../gsa_create_numeric_parameter_value.py | 16 +- .../models/gsa_create_parameter.py | 18 +- .../models/gsa_create_parameter_content.py | 18 +- .../models/gsa_create_parameter_value.py | 18 +- .../models/gsa_create_picture_attribute.py | 16 +- .../models/gsa_create_point_attribute.py | 30 +- .../models/gsa_create_profile.py | 16 +- .../models/gsa_create_profile_table.py | 16 +- .../models/gsa_create_range_attribute.py | 16 +- .../models/gsa_create_record_history.py | 16 +- .../models/gsa_create_record_link_group.py | 18 +- .../models/gsa_create_record_list.py | 16 +- .../gsa_create_record_list_items_info.py | 30 +- .../models/gsa_create_replacement_string.py | 16 +- .../models/gsa_create_search_request.py | 16 +- .../models/gsa_create_short_text_attribute.py | 16 +- .../models/gsa_create_standard_name.py | 72 +- .../gsa_create_static_record_link_group.py | 16 +- .../models/gsa_create_subset.py | 16 +- .../models/gsa_create_table.py | 16 +- .../models/gsa_create_tabular_attribute.py | 30 +- .../models/gsa_create_tabular_column.py | 18 +- .../models/gsa_create_unit.py | 16 +- .../models/gsa_create_unit_system.py | 16 +- .../models/gsa_created_by_user_property.py | 16 +- .../models/gsa_created_date_property.py | 16 +- .../serverapi_openapi/models/gsa_criterion.py | 18 +- .../gsa_cross_database_record_link_group.py | 24 +- .../models/gsa_current_user.py | 16 +- .../gsa_data_export_applicable_datum.py | 22 +- .../models/gsa_data_export_binary_data.py | 16 +- .../models/gsa_data_export_boolean_datum.py | 20 +- .../gsa_data_export_count_rollup_datum.py | 16 +- .../models/gsa_data_export_date_time_datum.py | 20 +- .../models/gsa_data_export_datum.py | 32 +- .../models/gsa_data_export_discrete_datum.py | 34 +- ...a_data_export_discrete_functional_datum.py | 36 +- ...a_export_discrete_functional_grid_datum.py | 38 +- ...export_discrete_functional_series_datum.py | 38 +- .../gsa_data_export_discrete_grid_point.py | 30 +- .../models/gsa_data_export_discrete_series.py | 44 +- .../gsa_data_export_discrete_series_point.py | 16 +- .../models/gsa_data_export_file_datum.py | 20 +- .../gsa_data_export_float_functional_datum.py | 36 +- .../gsa_data_export_functional_grid_datum.py | 38 +- ...gsa_data_export_functional_series_datum.py | 38 +- .../models/gsa_data_export_grid_point.py | 30 +- .../models/gsa_data_export_hyperlink.py | 16 +- .../models/gsa_data_export_hyperlink_datum.py | 20 +- .../models/gsa_data_export_link_datum.py | 22 +- .../gsa_data_export_linked_records_datum.py | 76 +-- .../models/gsa_data_export_long_text_datum.py | 20 +- .../gsa_data_export_not_applicable_datum.py | 20 +- .../models/gsa_data_export_numeric_datum.py | 20 +- .../gsa_data_export_numeric_rollup_datum.py | 16 +- .../models/gsa_data_export_parameter_value.py | 16 +- .../models/gsa_data_export_picture_datum.py | 20 +- .../models/gsa_data_export_point.py | 30 +- .../models/gsa_data_export_point_datum.py | 34 +- .../models/gsa_data_export_range.py | 16 +- .../models/gsa_data_export_range_datum.py | 20 +- .../models/gsa_data_export_request.py | 72 +- .../models/gsa_data_export_response.py | 44 +- .../models/gsa_data_export_rollup_datum.py | 18 +- .../models/gsa_data_export_series.py | 44 +- .../models/gsa_data_export_series_point.py | 16 +- .../gsa_data_export_short_text_datum.py | 20 +- .../models/gsa_data_export_tabular_datum.py | 48 +- .../models/gsa_data_export_tabular_row.py | 72 +- .../models/gsa_data_export_unknown_datum.py | 20 +- .../gsa_data_export_value_rollup_datum.py | 16 +- .../gsa_data_export_values_rollup_datum.py | 30 +- .../gsa_data_modification_error_detail.py | 18 +- .../serverapi_openapi/models/gsa_data_rule.py | 30 +- .../models/gsa_data_rules_info.py | 30 +- ...ta_usage_data_modification_error_detail.py | 16 +- .../serverapi_openapi/models/gsa_database.py | 16 +- .../models/gsa_database_key_property.py | 16 +- .../models/gsa_database_status_information.py | 16 +- .../models/gsa_databases_info.py | 30 +- .../models/gsa_date_time_aggregation.py | 16 +- ...a_date_time_aggregation_datum_criterion.py | 16 +- .../models/gsa_date_time_attribute.py | 20 +- .../models/gsa_date_time_datum.py | 16 +- .../models/gsa_date_time_datum_criterion.py | 16 +- .../gsa_date_time_datum_exists_criterion.py | 16 +- ...h_histogram_aggregation_datum_criterion.py | 16 +- ...h_histogram_aggregation_datum_criterion.py | 16 +- .../models/gsa_date_time_histogram.py | 30 +- .../gsa_date_time_histogram_aggregation.py | 16 +- ...e_histogram_aggregation_datum_criterion.py | 16 +- .../models/gsa_date_time_histogram_bucket.py | 16 +- .../serverapi_openapi/models/gsa_datum.py | 18 +- .../models/gsa_datum_criterion.py | 18 +- .../models/gsa_datum_discrete_rollup.py | 16 +- .../models/gsa_datum_exists_criterion.py | 18 +- .../models/gsa_datum_export_failure.py | 16 +- .../models/gsa_datum_integer_rollup.py | 16 +- .../models/gsa_datum_list_rollup.py | 30 +- .../models/gsa_datum_numerical_rollup.py | 16 +- .../models/gsa_datum_reference.py | 16 +- .../models/gsa_datum_rollup.py | 18 +- ...ue_usage_data_modification_error_detail.py | 30 +- .../models/gsa_delete_record_list_item.py | 16 +- .../models/gsa_delete_record_list_items.py | 30 +- .../models/gsa_discrete_attribute.py | 20 +- .../models/gsa_discrete_datum.py | 30 +- .../gsa_discrete_datum_exists_criterion.py | 16 +- .../gsa_discrete_functional_attribute.py | 34 +- ...functional_attribute_discrete_parameter.py | 16 +- ..._functional_attribute_numeric_parameter.py | 16 +- ...discrete_functional_attribute_parameter.py | 18 +- .../models/gsa_discrete_functional_datum.py | 32 +- ...crete_functional_datum_exists_criterion.py | 16 +- .../gsa_discrete_functional_grid_datum.py | 20 +- ...screte_functional_range_datum_criterion.py | 30 +- .../gsa_discrete_functional_series_datum.py | 20 +- ...crete_functional_values_datum_criterion.py | 58 +- .../models/gsa_discrete_grid_graph.py | 34 +- .../models/gsa_discrete_grid_point.py | 30 +- .../gsa_discrete_guid_datum_criterion.py | 16 +- ...sa_discrete_guid_values_datum_criterion.py | 58 +- .../gsa_discrete_identity_datum_criterion.py | 16 +- ...iscrete_identity_values_datum_criterion.py | 58 +- .../models/gsa_discrete_parameter.py | 34 +- .../models/gsa_discrete_parameter_content.py | 16 +- .../gsa_discrete_parameter_data_value.py | 16 +- .../gsa_discrete_parameter_name_constraint.py | 44 +- .../models/gsa_discrete_parameter_value.py | 16 +- ...gsa_discrete_parameter_value_constraint.py | 44 +- .../models/gsa_discrete_range.py | 30 +- .../gsa_discrete_range_datum_criterion.py | 16 +- .../models/gsa_discrete_series.py | 44 +- .../models/gsa_discrete_series_graph.py | 34 +- .../models/gsa_discrete_series_point.py | 16 +- .../models/gsa_discrete_text_aggregation.py | 30 +- ...screte_text_aggregation_datum_criterion.py | 16 +- .../gsa_discrete_text_datum_criterion.py | 16 +- ...sa_discrete_text_prefix_datum_criterion.py | 16 +- ...sa_discrete_text_values_datum_criterion.py | 58 +- .../models/gsa_discrete_type.py | 16 +- .../gsa_discrete_type_deletion_exception.py | 30 +- .../models/gsa_discrete_type_usage.py | 44 +- .../models/gsa_discrete_types_info.py | 30 +- .../models/gsa_discrete_value.py | 16 +- .../gsa_discrete_value_deletion_exception.py | 30 +- ...a_discrete_values_create_discrete_value.py | 16 +- .../gsa_discrete_values_discrete_value.py | 16 +- ...sa_discrete_values_discrete_values_info.py | 30 +- ...ete_values_replace_discrete_values_info.py | 30 +- ...a_discrete_values_update_discrete_value.py | 16 +- .../models/gsa_double_sorting_value.py | 16 +- ...up_usage_data_modification_error_detail.py | 30 +- .../models/gsa_dynamic_record_link_group.py | 38 +- .../models/gsa_enabled_licenses_info.py | 16 +- .../models/gsa_error_detail.py | 16 +- .../models/gsa_exclude_values_specifier.py | 44 +- .../models/gsa_export_failure.py | 18 +- .../models/gsa_exporter_refetch_info.py | 30 +- .../models/gsa_expression.py | 58 +- ...on_usage_data_modification_error_detail.py | 30 +- .../models/gsa_expressions_info.py | 30 +- .../models/gsa_file_attribute.py | 20 +- .../models/gsa_file_datum.py | 16 +- .../models/gsa_file_datum_criterion.py | 16 +- .../models/gsa_file_datum_exists_criterion.py | 16 +- .../models/gsa_file_header.py | 16 +- .../models/gsa_file_prefix_datum_criterion.py | 16 +- .../models/gsa_files_info.py | 30 +- .../models/gsa_find_search_request.py | 16 +- .../models/gsa_find_standard_names.py | 30 +- .../gsa_float_functional_aggregation.py | 16 +- ..._functional_aggregation_datum_criterion.py | 16 +- .../models/gsa_float_functional_attribute.py | 34 +- ...functional_attribute_discrete_parameter.py | 16 +- ..._functional_attribute_numeric_parameter.py | 16 +- ...sa_float_functional_attribute_parameter.py | 18 +- .../models/gsa_float_functional_datum.py | 32 +- .../gsa_float_functional_datum_criterion.py | 30 +- ...float_functional_datum_exists_criterion.py | 16 +- ..._float_functional_graph_datum_criterion.py | 16 +- .../models/gsa_float_functional_grid_datum.py | 20 +- ...float_functional_grid_graph_aggregation.py | 58 +- .../gsa_float_functional_series_datum.py | 20 +- ...oat_functional_series_graph_aggregation.py | 58 +- .../models/gsa_float_grid_graph.py | 34 +- .../models/gsa_float_grid_point.py | 30 +- .../models/gsa_float_series.py | 44 +- .../models/gsa_float_series_graph.py | 34 +- .../models/gsa_float_series_point.py | 16 +- .../serverapi_openapi/models/gsa_folder.py | 16 +- .../models/gsa_folders_info.py | 30 +- .../models/gsa_free_text_aggregation.py | 30 +- .../gsa_free_text_aggregation_criterion.py | 16 +- .../models/gsa_free_text_criterion.py | 72 +- .../models/gsa_free_text_prefix_criterion.py | 72 +- .../models/gsa_full_layout_section.py | 34 +- .../models/gsa_full_name_property.py | 16 +- .../gsa_functional_datum_parameter_info.py | 16 +- .../gsa_functional_parameter_setting.py | 16 +- ...integration_schema_of_object_identifier.py | 30 +- .../models/gsa_get_jobs_response.py | 30 +- .../models/gsa_get_jobs_summary_response.py | 30 +- ...fiable_record_version_control_exception.py | 30 +- .../serverapi_openapi/models/gsa_graph.py | 18 +- .../models/gsa_grid_graph.py | 32 +- .../models/gsa_guid_only_attribute.py | 30 +- .../models/gsa_guid_only_discrete_type.py | 30 +- ...sa_guid_only_integration_parameter_info.py | 16 +- ...integration_schema_of_object_identifier.py | 86 +-- .../models/gsa_guid_only_layout.py | 30 +- ..._guid_only_mapping_of_object_identifier.py | 30 +- ...a_guid_only_source_of_object_identifier.py | 30 +- .../serverapi_openapi/models/gsa_histogram.py | 30 +- .../models/gsa_histogram_bucket.py | 16 +- .../models/gsa_hyperlink_attribute.py | 20 +- .../models/gsa_hyperlink_datum.py | 16 +- .../models/gsa_hyperlink_datum_criterion.py | 16 +- .../gsa_hyperlink_datum_exists_criterion.py | 16 +- .../gsa_hyperlink_prefix_datum_criterion.py | 16 +- .../models/gsa_index_record_failure.py | 16 +- .../models/gsa_integer_aggregation.py | 16 +- ...gsa_integer_aggregation_datum_criterion.py | 16 +- .../models/gsa_integer_attribute.py | 20 +- .../models/gsa_integer_datum.py | 16 +- .../models/gsa_integer_datum_criterion.py | 16 +- .../gsa_integer_datum_exists_criterion.py | 16 +- ...h_histogram_aggregation_datum_criterion.py | 16 +- .../gsa_integer_histogram_aggregation.py | 16 +- ...r_histogram_aggregation_datum_criterion.py | 16 +- .../models/gsa_integration_attribute.py | 30 +- .../gsa_integration_data_export_request.py | 44 +- .../models/gsa_integration_discrete_type.py | 30 +- .../models/gsa_integration_layout.py | 44 +- .../models/gsa_integration_parameter_info.py | 16 +- ...egration_schema_generation_error_detail.py | 16 +- ...integration_schema_of_object_identifier.py | 86 +-- .../models/gsa_integration_schema_status.py | 100 +-- .../gsa_invalid_parent_state_error_detail.py | 16 +- .../gsa_invalid_version_state_error_detail.py | 16 +- .../serverapi_openapi/models/gsa_job.py | 72 +- .../models/gsa_job_type_and_status.py | 16 +- .../gsa_last_modified_by_user_property.py | 16 +- .../models/gsa_last_modified_date_property.py | 16 +- .../serverapi_openapi/models/gsa_layout.py | 58 +- .../models/gsa_layout_attribute_item.py | 44 +- .../models/gsa_layout_item.py | 18 +- .../models/gsa_layout_link_item.py | 16 +- .../models/gsa_layout_section.py | 32 +- .../models/gsa_layout_sections_info.py | 30 +- .../models/gsa_layout_tabular_column.py | 16 +- .../models/gsa_layouts_info.py | 30 +- .../models/gsa_link_aggregation.py | 30 +- .../gsa_link_aggregation_datum_criterion.py | 30 +- .../models/gsa_link_attribute_to_export.py | 58 +- .../models/gsa_link_datum_criterion.py | 16 +- .../models/gsa_link_exists_datum_criterion.py | 16 +- .../models/gsa_link_export_failure.py | 16 +- .../serverapi_openapi/models/gsa_link_info.py | 16 +- .../models/gsa_link_reference.py | 16 +- .../models/gsa_link_target.py | 16 +- .../gsa_linked_attribute_tabular_column.py | 20 +- .../gsa_linked_column_tabular_column.py | 20 +- .../gsa_linked_record_export_behavior.py | 16 +- .../gsa_linked_record_tabular_column.py | 20 +- ...sa_linking_value_exists_datum_criterion.py | 16 +- .../models/gsa_links_info.py | 30 +- .../models/gsa_list_boolean_criterion.py | 44 +- .../models/gsa_list_criterion.py | 18 +- .../serverapi_openapi/models/gsa_list_item.py | 16 +- .../models/gsa_lists_paging_options.py | 16 +- .../models/gsa_lists_user_or_group.py | 16 +- .../models/gsa_local_column_aggregation.py | 18 +- .../gsa_local_column_aggregation_criterion.py | 18 +- ...cal_column_aggregation_exists_criterion.py | 16 +- ...ocal_column_aggregation_value_criterion.py | 16 +- .../models/gsa_local_column_criterion.py | 18 +- .../gsa_local_column_exists_aggregation.py | 16 +- .../gsa_local_column_exists_criterion.py | 16 +- .../gsa_local_column_matches_criterion.py | 16 +- ...a_local_column_not_applicable_criterion.py | 16 +- .../gsa_local_column_value_aggregation.py | 16 +- .../gsa_local_date_time_tabular_column.py | 20 +- .../gsa_local_discrete_tabular_column.py | 20 +- .../models/gsa_local_file_tabular_column.py | 20 +- .../gsa_local_hyperlink_tabular_column.py | 20 +- .../gsa_local_integer_tabular_column.py | 20 +- .../gsa_local_logical_tabular_column.py | 20 +- .../gsa_local_long_text_tabular_column.py | 20 +- .../gsa_local_picture_tabular_column.py | 20 +- .../models/gsa_local_point_tabular_column.py | 20 +- .../models/gsa_local_range_tabular_column.py | 20 +- .../gsa_local_short_text_tabular_column.py | 20 +- .../models/gsa_logical_aggregation.py | 30 +- ...gsa_logical_aggregation_datum_criterion.py | 16 +- .../models/gsa_logical_attribute.py | 20 +- .../models/gsa_logical_datum.py | 16 +- .../models/gsa_logical_datum_criterion.py | 16 +- .../gsa_logical_datum_exists_criterion.py | 16 +- .../models/gsa_long_sorting_value.py | 16 +- .../models/gsa_long_text_attribute.py | 20 +- .../models/gsa_long_text_datum.py | 16 +- .../models/gsa_long_text_datum_criterion.py | 16 +- .../gsa_long_text_datum_exists_criterion.py | 16 +- .../gsa_long_text_prefix_datum_criterion.py | 16 +- .../gsa_mapping_of_object_identifier.py | 30 +- .../models/gsa_maths_content.py | 30 +- .../models/gsa_maths_functional_attribute.py | 48 +- .../gsa_maths_functional_datum_criterion.py | 30 +- ...maths_functional_datum_exists_criterion.py | 16 +- .../models/gsa_mi_version.py | 16 +- .../serverapi_openapi/models/gsa_move_file.py | 16 +- .../models/gsa_move_folder.py | 16 +- .../models/gsa_move_record_history.py | 16 +- .../models/gsa_named_criterion.py | 16 +- .../gsa_new_layout_association_chain_item.py | 30 +- .../gsa_new_layout_association_chain_link.py | 16 +- .../models/gsa_new_layout_attribute_item.py | 44 +- ...gsa_new_layout_cross_database_link_item.py | 16 +- .../models/gsa_new_layout_item.py | 18 +- .../models/gsa_new_layout_record_link_item.py | 16 +- .../models/gsa_new_layout_smart_link_item.py | 16 +- .../models/gsa_no_values_specifier.py | 16 +- .../models/gsa_not_applicable_datum.py | 16 +- ...gsa_not_the_latest_version_error_detail.py | 16 +- .../models/gsa_not_versioned_error_detail.py | 16 +- .../models/gsa_numeric_parameter.py | 34 +- .../gsa_numeric_parameter_constraint.py | 16 +- .../models/gsa_numeric_parameter_content.py | 16 +- .../gsa_numeric_parameter_data_value.py | 16 +- .../models/gsa_numeric_parameter_value.py | 16 +- .../models/gsa_object_identifier.py | 16 +- .../models/gsa_paging_options.py | 16 +- .../serverapi_openapi/models/gsa_parameter.py | 32 +- .../models/gsa_parameter_constraint.py | 18 +- .../models/gsa_parameter_content.py | 18 +- .../models/gsa_parameter_data_value.py | 18 +- .../gsa_parameter_deletion_exception.py | 30 +- .../models/gsa_parameter_info.py | 16 +- .../models/gsa_parameter_value.py | 18 +- .../gsa_parameter_value_deletion_exception.py | 30 +- .../models/gsa_parameter_with_data_value.py | 16 +- .../models/gsa_parameters_info.py | 30 +- .../models/gsa_picture_attribute.py | 20 +- .../models/gsa_picture_datum.py | 16 +- .../models/gsa_picture_datum_criterion.py | 16 +- .../gsa_picture_datum_exists_criterion.py | 16 +- .../models/gsa_point_aggregation.py | 16 +- .../gsa_point_aggregation_datum_criterion.py | 16 +- .../models/gsa_point_attribute.py | 34 +- .../models/gsa_point_data_value.py | 30 +- .../models/gsa_point_datum.py | 30 +- .../models/gsa_point_datum_criterion.py | 16 +- .../gsa_point_datum_exists_criterion.py | 16 +- ...h_histogram_aggregation_datum_criterion.py | 16 +- .../models/gsa_point_histogram_aggregation.py | 16 +- ...t_histogram_aggregation_datum_criterion.py | 16 +- .../models/gsa_processing_config.py | 16 +- .../serverapi_openapi/models/gsa_profile.py | 30 +- .../models/gsa_profile_table.py | 16 +- .../models/gsa_profile_tables_info.py | 30 +- .../serverapi_openapi/models/gsa_property.py | 18 +- .../models/gsa_query_attribute.py | 58 +- .../models/gsa_query_attribute_filter.py | 30 +- .../models/gsa_query_attribute_info.py | 30 +- .../gsa_query_attribute_info_properties.py | 16 +- .../models/gsa_query_attribute_properties.py | 16 +- .../models/gsa_query_attributes_info.py | 30 +- .../models/gsa_query_attributes_request.py | 16 +- .../models/gsa_query_data_rule.py | 16 +- .../models/gsa_query_data_rule_properties.py | 16 +- .../models/gsa_query_discrete_type.py | 16 +- .../gsa_query_discrete_type_properties.py | 16 +- .../models/gsa_query_slim_named_entity.py | 16 +- .../gsa_query_slim_named_entity_properties.py | 16 +- .../gsa_query_tabular_attribute_target.py | 16 +- ...ery_tabular_attribute_target_properties.py | 16 +- .../models/gsa_query_unit.py | 16 +- .../models/gsa_query_unit_properties.py | 16 +- .../models/gsa_range_aggregation.py | 16 +- .../gsa_range_aggregation_datum_criterion.py | 16 +- .../models/gsa_range_attribute.py | 20 +- .../models/gsa_range_datum.py | 16 +- .../models/gsa_range_datum_criterion.py | 16 +- .../gsa_range_datum_exists_criterion.py | 16 +- ...h_histogram_aggregation_datum_criterion.py | 16 +- .../models/gsa_range_histogram_aggregation.py | 16 +- ...e_histogram_aggregation_datum_criterion.py | 16 +- .../models/gsa_record_ancestor_criterion.py | 16 +- ...d_ancestor_history_identities_criterion.py | 30 +- .../models/gsa_record_color_property.py | 16 +- .../models/gsa_record_export_failure.py | 30 +- .../models/gsa_record_guid_property.py | 16 +- .../models/gsa_record_history.py | 44 +- .../gsa_record_history_copy_exception.py | 30 +- .../gsa_record_history_guid_property.py | 16 +- .../gsa_record_history_identity_property.py | 16 +- .../gsa_record_history_move_exception.py | 30 +- .../models/gsa_record_identity_property.py | 16 +- .../models/gsa_record_link_group.py | 46 +- .../models/gsa_record_link_groups_info.py | 30 +- .../models/gsa_record_list_header.py | 30 +- .../models/gsa_record_list_headers_info.py | 30 +- .../models/gsa_record_list_items_info.py | 30 +- .../gsa_record_list_member_criterion.py | 30 +- .../gsa_record_list_permission_flags.py | 16 +- .../gsa_record_list_search_criterion.py | 72 +- .../models/gsa_record_list_search_info.py | 16 +- .../models/gsa_record_list_search_request.py | 16 +- .../models/gsa_record_list_search_result.py | 30 +- .../gsa_record_list_search_results_info.py | 30 +- .../models/gsa_record_property_criterion.py | 16 +- .../gsa_record_property_sort_criterion.py | 16 +- .../models/gsa_record_reference.py | 16 +- .../models/gsa_record_reference_criterion.py | 16 +- .../models/gsa_record_subset_criterion.py | 16 +- .../models/gsa_record_type_property.py | 16 +- .../models/gsa_record_version.py | 16 +- .../models/gsa_record_with_data.py | 44 +- ...elease_record_version_control_exception.py | 30 +- ...release_table_version_control_exception.py | 30 +- .../models/gsa_released_date_property.py | 16 +- .../models/gsa_relevance_sort_criterion.py | 16 +- .../gsa_remove_record_history_from_subset.py | 16 +- .../models/gsa_reorder_sections_info.py | 30 +- .../models/gsa_replacement_string.py | 16 +- .../models/gsa_replacement_strings_info.py | 30 +- .../models/gsa_resolved_link.py | 44 +- .../models/gsa_resolved_link_info.py | 16 +- .../models/gsa_resolved_link_target.py | 16 +- .../models/gsa_response_options.py | 16 +- .../models/gsa_resubmit_job_request.py | 16 +- .../models/gsa_rich_text_value.py | 16 +- .../models/gsa_rollup_export_failure.py | 16 +- .../models/gsa_rollup_reference.py | 16 +- .../models/gsa_save_search_request.py | 16 +- .../models/gsa_search_cluster_status.py | 30 +- .../models/gsa_search_detail.py | 16 +- .../models/gsa_search_index_status.py | 30 +- ...sk_usage_data_modification_error_detail.py | 30 +- .../models/gsa_search_request.py | 30 +- .../models/gsa_search_response.py | 30 +- .../models/gsa_search_result.py | 16 +- .../models/gsa_search_results_request.py | 16 +- .../models/gsa_security_attribute_grouping.py | 30 +- ...te_usage_data_modification_error_detail.py | 30 +- .../models/gsa_security_groups.py | 16 +- .../models/gsa_selection_search.py | 30 +- .../models/gsa_series_graph.py | 32 +- .../models/gsa_set_date_time_datum.py | 16 +- .../serverapi_openapi/models/gsa_set_datum.py | 18 +- .../models/gsa_set_discrete_datum.py | 30 +- .../gsa_set_discrete_parameter_value.py | 16 +- .../models/gsa_set_hyperlink_datum.py | 16 +- .../models/gsa_set_integer_datum.py | 16 +- .../models/gsa_set_logical_datum.py | 16 +- .../models/gsa_set_long_text_datum.py | 16 +- .../models/gsa_set_numeric_parameter_value.py | 16 +- .../models/gsa_set_parameter_value.py | 18 +- .../models/gsa_set_parameter_with_value.py | 16 +- .../models/gsa_set_point_datum.py | 30 +- .../models/gsa_set_point_datum_value.py | 30 +- .../models/gsa_set_range_datum.py | 16 +- .../models/gsa_set_short_text_datum.py | 16 +- .../models/gsa_set_tabular_datum.py | 30 +- .../models/gsa_set_tabular_datum_row.py | 16 +- .../models/gsa_short_name_property.py | 16 +- .../models/gsa_short_text_aggregation.py | 30 +- ..._short_text_aggregation_datum_criterion.py | 16 +- .../models/gsa_short_text_attribute.py | 20 +- .../models/gsa_short_text_datum.py | 16 +- .../models/gsa_short_text_datum_criterion.py | 16 +- .../gsa_short_text_datum_exists_criterion.py | 16 +- .../gsa_short_text_prefix_datum_criterion.py | 16 +- .../models/gsa_significant_figures_info.py | 16 +- .../models/gsa_simple_attribute_to_export.py | 16 +- .../models/gsa_slim_attribute.py | 30 +- .../models/gsa_slim_configuration.py | 16 +- .../models/gsa_slim_constant.py | 16 +- .../models/gsa_slim_database.py | 16 +- .../models/gsa_slim_entity.py | 16 +- .../models/gsa_slim_expression.py | 16 +- .../serverapi_openapi/models/gsa_slim_file.py | 16 +- .../models/gsa_slim_layout.py | 30 +- .../models/gsa_slim_layout_section.py | 20 +- .../models/gsa_slim_named_entity.py | 16 +- .../models/gsa_slim_named_unit.py | 16 +- .../models/gsa_slim_objects.py | 30 +- .../models/gsa_slim_parameter.py | 30 +- .../models/gsa_slim_profile.py | 16 +- .../models/gsa_slim_profile_table.py | 16 +- .../models/gsa_slim_record_history.py | 16 +- .../models/gsa_slim_record_link_group.py | 44 +- .../models/gsa_slim_record_version.py | 16 +- .../models/gsa_slim_replacement_string.py | 16 +- .../models/gsa_slim_subset.py | 30 +- .../models/gsa_slim_table.py | 44 +- .../models/gsa_slim_typed_attribute.py | 16 +- .../serverapi_openapi/models/gsa_slim_unit.py | 16 +- .../models/gsa_slim_unit_system.py | 30 +- .../models/gsa_sort_criterion.py | 18 +- .../models/gsa_sorting_value.py | 18 +- .../models/gsa_source_of_object_identifier.py | 30 +- .../models/gsa_specific_values_specifier.py | 44 +- .../models/gsa_standard_name.py | 72 +- .../models/gsa_standard_names_info.py | 30 +- .../models/gsa_static_record_link_group.py | 24 +- .../models/gsa_string_sorting_value.py | 16 +- .../serverapi_openapi/models/gsa_subset.py | 30 +- .../models/gsa_subsets_info.py | 30 +- .../serverapi_openapi/models/gsa_table.py | 72 +- .../models/gsa_table_deletion_exception.py | 30 +- .../models/gsa_table_guid_property.py | 16 +- .../models/gsa_table_identity_property.py | 16 +- .../models/gsa_table_name_property.py | 16 +- .../models/gsa_tables_info.py | 30 +- .../models/gsa_tabular_attribute.py | 34 +- .../models/gsa_tabular_attribute_target.py | 16 +- ...te_usage_data_modification_error_detail.py | 30 +- .../gsa_tabular_attribute_with_columns.py | 30 +- .../models/gsa_tabular_column.py | 32 +- .../models/gsa_tabular_datum.py | 30 +- .../models/gsa_tabular_datum_cell.py | 16 +- .../gsa_tabular_datum_exists_criterion.py | 16 +- .../models/gsa_tabular_datum_rollup_cell.py | 16 +- .../models/gsa_tabular_datum_row.py | 30 +- .../models/gsa_tabular_datum_summary_row.py | 30 +- .../gsa_tabular_linking_value_criterion.py | 30 +- .../models/gsa_term_with_count.py | 16 +- .../models/gsa_unavailable_tabular_column.py | 20 +- .../serverapi_openapi/models/gsa_unit.py | 16 +- .../models/gsa_unit_equivalent.py | 16 +- .../models/gsa_unit_equivalents_info.py | 30 +- .../models/gsa_unit_mapping.py | 16 +- .../models/gsa_unit_system.py | 44 +- .../models/gsa_unit_systems_info.py | 30 +- .../models/gsa_unit_usage.py | 86 +-- .../models/gsa_units_info.py | 30 +- .../models/gsa_update_all_profiles_info.py | 30 +- .../models/gsa_update_attribute.py | 18 +- .../models/gsa_update_configuration.py | 16 +- .../models/gsa_update_constant.py | 16 +- .../models/gsa_update_continuous_range.py | 16 +- ...update_cross_database_record_link_group.py | 16 +- .../models/gsa_update_data_rule.py | 16 +- .../models/gsa_update_database.py | 16 +- .../models/gsa_update_date_time_attribute.py | 16 +- .../models/gsa_update_default_profile.py | 16 +- .../models/gsa_update_discrete_attribute.py | 16 +- ...sa_update_discrete_functional_attribute.py | 30 +- ...functional_attribute_discrete_parameter.py | 16 +- ..._functional_attribute_numeric_parameter.py | 16 +- ...discrete_functional_attribute_parameter.py | 18 +- .../models/gsa_update_discrete_parameter.py | 16 +- .../gsa_update_discrete_parameter_content.py | 16 +- .../gsa_update_discrete_parameter_value.py | 16 +- .../models/gsa_update_discrete_range.py | 30 +- .../models/gsa_update_discrete_type.py | 16 +- .../gsa_update_dynamic_record_link_group.py | 30 +- .../models/gsa_update_expression.py | 16 +- .../models/gsa_update_file.py | 16 +- .../models/gsa_update_file_attribute.py | 16 +- .../gsa_update_float_functional_attribute.py | 30 +- ...functional_attribute_discrete_parameter.py | 16 +- ..._functional_attribute_numeric_parameter.py | 16 +- ...te_float_functional_attribute_parameter.py | 18 +- .../models/gsa_update_folder.py | 16 +- .../models/gsa_update_hyperlink_attribute.py | 16 +- .../models/gsa_update_integer_attribute.py | 16 +- .../models/gsa_update_job_request.py | 16 +- .../models/gsa_update_layout.py | 30 +- ..._update_linked_attribute_tabular_column.py | 16 +- ...gsa_update_linked_column_tabular_column.py | 16 +- ...gsa_update_linked_record_tabular_column.py | 16 +- ...a_update_local_date_time_tabular_column.py | 16 +- ...sa_update_local_discrete_tabular_column.py | 16 +- .../gsa_update_local_file_tabular_column.py | 16 +- ...a_update_local_hyperlink_tabular_column.py | 16 +- ...gsa_update_local_integer_tabular_column.py | 16 +- ...gsa_update_local_logical_tabular_column.py | 16 +- ...a_update_local_long_text_tabular_column.py | 16 +- ...gsa_update_local_picture_tabular_column.py | 16 +- .../gsa_update_local_point_tabular_column.py | 16 +- .../gsa_update_local_range_tabular_column.py | 16 +- ..._update_local_short_text_tabular_column.py | 16 +- .../models/gsa_update_logical_attribute.py | 16 +- .../models/gsa_update_long_text_attribute.py | 16 +- .../models/gsa_update_maths_content.py | 30 +- .../gsa_update_maths_functional_attribute.py | 44 +- .../models/gsa_update_numeric_parameter.py | 16 +- .../gsa_update_numeric_parameter_content.py | 16 +- .../gsa_update_numeric_parameter_value.py | 16 +- .../models/gsa_update_parameter.py | 18 +- .../models/gsa_update_parameter_content.py | 18 +- .../models/gsa_update_parameter_value.py | 18 +- .../models/gsa_update_picture_attribute.py | 16 +- .../models/gsa_update_point_attribute.py | 30 +- .../models/gsa_update_profile.py | 30 +- .../models/gsa_update_profile_table.py | 16 +- .../models/gsa_update_range_attribute.py | 16 +- .../models/gsa_update_record_link_group.py | 18 +- ...gsa_update_record_list_permission_flags.py | 16 +- .../gsa_update_record_list_properties.py | 16 +- .../models/gsa_update_replacement_string.py | 16 +- .../models/gsa_update_short_text_attribute.py | 16 +- .../models/gsa_update_standard_name.py | 72 +- .../gsa_update_static_record_link_group.py | 16 +- .../models/gsa_update_subset.py | 16 +- .../models/gsa_update_table.py | 16 +- .../models/gsa_update_tabular_attribute.py | 30 +- .../models/gsa_update_tabular_column.py | 18 +- .../models/gsa_update_unit.py | 16 +- .../models/gsa_update_unit_system.py | 16 +- .../models/gsa_update_user_permission.py | 16 +- .../gsa_update_user_permissions_info.py | 30 +- ...sa_usage_data_modification_error_detail.py | 18 +- .../models/gsa_user_or_group.py | 16 +- .../models/gsa_user_permission.py | 16 +- .../models/gsa_user_permissions_info.py | 30 +- .../models/gsa_validate_attribute_request.py | 16 +- .../models/gsa_value_specifier.py | 18 +- .../models/gsa_value_with_count_of_boolean.py | 16 +- .../models/gsa_value_with_count_of_guid.py | 16 +- .../models/gsa_value_with_count_of_int32.py | 16 +- .../gsa_version_control_error_detail.py | 18 +- ...ta_usage_data_modification_error_detail.py | 16 +- .../models/gsa_version_number_property.py | 16 +- .../models/gsa_version_state_property.py | 16 +- ...thdraw_record_version_control_exception.py | 30 +- ...te_usage_data_modification_error_detail.py | 30 +- .../models/jobqueue_files_body.py | 16 +- .../models/json_patch_document.py | 16 +- ..._core_mvc_formatters_i_output_formatter.py | 16 +- ...icrosoft_asp_net_core_mvc_object_result.py | 44 +- pom.xml | 2 +- 792 files changed, 11202 insertions(+), 11157 deletions(-) diff --git a/.github/workflows/build_and_test_library.yml b/.github/workflows/build_and_test_library.yml index f9a62410..6d232db0 100644 --- a/.github/workflows/build_and_test_library.yml +++ b/.github/workflows/build_and_test_library.yml @@ -21,7 +21,7 @@ on: - ".github/workflows/build_and_test_library.yml" env: - MAIN_PYTHON_VERSION: '3.10' + MAIN_PYTHON_VERSION: '3.12' LIBRARY_NAME: 'ansys-grantami-serverapi-openapi' jobs: @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.10', '3.11', '3.12' ] + python-version: [ '3.10', '3.11', '3.12', '3.13' ] fail-fast: false steps: diff --git a/.github/workflows/generate_library.yml b/.github/workflows/generate_library.yml index 1753dd04..3986a1c6 100644 --- a/.github/workflows/generate_library.yml +++ b/.github/workflows/generate_library.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: "Ensure poetry.lock file is up to date" run: | diff --git a/ansys-grantami-serverapi-openapi/poetry.lock b/ansys-grantami-serverapi-openapi/poetry.lock index 05dcde40..04e949c0 100644 --- a/ansys-grantami-serverapi-openapi/poetry.lock +++ b/ansys-grantami-serverapi-openapi/poetry.lock @@ -24,74 +24,89 @@ oidc = ["keyring (>=22,<26)", "requests_auth (>=8.0.0,<9.0.0)"] [[package]] name = "certifi" -version = "2024.7.4" +version = "2024.8.30" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"}, - {file = "certifi-2024.7.4.tar.gz", hash = "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b"}, + {file = "certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"}, + {file = "certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"}, ] [[package]] name = "cffi" -version = "1.16.0" +version = "1.17.1" description = "Foreign Function Interface for Python calling C code." optional = false python-versions = ">=3.8" files = [ - {file = "cffi-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088"}, - {file = "cffi-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7"}, - {file = "cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614"}, - {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743"}, - {file = "cffi-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d"}, - {file = "cffi-1.16.0-cp310-cp310-win32.whl", hash = "sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a"}, - {file = "cffi-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1"}, - {file = "cffi-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404"}, - {file = "cffi-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56"}, - {file = "cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e"}, - {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc"}, - {file = "cffi-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb"}, - {file = "cffi-1.16.0-cp311-cp311-win32.whl", hash = "sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab"}, - {file = "cffi-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba"}, - {file = "cffi-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956"}, - {file = "cffi-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6"}, - {file = "cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969"}, - {file = "cffi-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520"}, - {file = "cffi-1.16.0-cp312-cp312-win32.whl", hash = "sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b"}, - {file = "cffi-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235"}, - {file = "cffi-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b"}, - {file = "cffi-1.16.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324"}, - {file = "cffi-1.16.0-cp38-cp38-win32.whl", hash = "sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a"}, - {file = "cffi-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36"}, - {file = "cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed"}, - {file = "cffi-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4"}, - {file = "cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098"}, - {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000"}, - {file = "cffi-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe"}, - {file = "cffi-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4"}, - {file = "cffi-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8"}, - {file = "cffi-1.16.0.tar.gz", hash = "sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"}, + {file = "cffi-1.17.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:df8b1c11f177bc2313ec4b2d46baec87a5f3e71fc8b45dab2ee7cae86d9aba14"}, + {file = "cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8f2cdc858323644ab277e9bb925ad72ae0e67f69e804f4898c070998d50b1a67"}, + {file = "cffi-1.17.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:edae79245293e15384b51f88b00613ba9f7198016a5948b5dddf4917d4d26382"}, + {file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45398b671ac6d70e67da8e4224a065cec6a93541bb7aebe1b198a61b58c7b702"}, + {file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ad9413ccdeda48c5afdae7e4fa2192157e991ff761e7ab8fdd8926f40b160cc3"}, + {file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5da5719280082ac6bd9aa7becb3938dc9f9cbd57fac7d2871717b1feb0902ab6"}, + {file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2bb1a08b8008b281856e5971307cc386a8e9c5b625ac297e853d36da6efe9c17"}, + {file = "cffi-1.17.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:045d61c734659cc045141be4bae381a41d89b741f795af1dd018bfb532fd0df8"}, + {file = "cffi-1.17.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:6883e737d7d9e4899a8a695e00ec36bd4e5e4f18fabe0aca0efe0a4b44cdb13e"}, + {file = "cffi-1.17.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:6b8b4a92e1c65048ff98cfe1f735ef8f1ceb72e3d5f0c25fdb12087a23da22be"}, + {file = "cffi-1.17.1-cp310-cp310-win32.whl", hash = "sha256:c9c3d058ebabb74db66e431095118094d06abf53284d9c81f27300d0e0d8bc7c"}, + {file = "cffi-1.17.1-cp310-cp310-win_amd64.whl", hash = "sha256:0f048dcf80db46f0098ccac01132761580d28e28bc0f78ae0d58048063317e15"}, + {file = "cffi-1.17.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a45e3c6913c5b87b3ff120dcdc03f6131fa0065027d0ed7ee6190736a74cd401"}, + {file = "cffi-1.17.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:30c5e0cb5ae493c04c8b42916e52ca38079f1b235c2f8ae5f4527b963c401caf"}, + {file = "cffi-1.17.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f75c7ab1f9e4aca5414ed4d8e5c0e303a34f4421f8a0d47a4d019ceff0ab6af4"}, + {file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a1ed2dd2972641495a3ec98445e09766f077aee98a1c896dcb4ad0d303628e41"}, + {file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:46bf43160c1a35f7ec506d254e5c890f3c03648a4dbac12d624e4490a7046cd1"}, + {file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a24ed04c8ffd54b0729c07cee15a81d964e6fee0e3d4d342a27b020d22959dc6"}, + {file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:610faea79c43e44c71e1ec53a554553fa22321b65fae24889706c0a84d4ad86d"}, + {file = "cffi-1.17.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:a9b15d491f3ad5d692e11f6b71f7857e7835eb677955c00cc0aefcd0669adaf6"}, + {file = "cffi-1.17.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:de2ea4b5833625383e464549fec1bc395c1bdeeb5f25c4a3a82b5a8c756ec22f"}, + {file = "cffi-1.17.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:fc48c783f9c87e60831201f2cce7f3b2e4846bf4d8728eabe54d60700b318a0b"}, + {file = "cffi-1.17.1-cp311-cp311-win32.whl", hash = "sha256:85a950a4ac9c359340d5963966e3e0a94a676bd6245a4b55bc43949eee26a655"}, + {file = "cffi-1.17.1-cp311-cp311-win_amd64.whl", hash = "sha256:caaf0640ef5f5517f49bc275eca1406b0ffa6aa184892812030f04c2abf589a0"}, + {file = "cffi-1.17.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:805b4371bf7197c329fcb3ead37e710d1bca9da5d583f5073b799d5c5bd1eee4"}, + {file = "cffi-1.17.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:733e99bc2df47476e3848417c5a4540522f234dfd4ef3ab7fafdf555b082ec0c"}, + {file = "cffi-1.17.1-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1257bdabf294dceb59f5e70c64a3e2f462c30c7ad68092d01bbbfb1c16b1ba36"}, + {file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:da95af8214998d77a98cc14e3a3bd00aa191526343078b530ceb0bd710fb48a5"}, + {file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d63afe322132c194cf832bfec0dc69a99fb9bb6bbd550f161a49e9e855cc78ff"}, + {file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f79fc4fc25f1c8698ff97788206bb3c2598949bfe0fef03d299eb1b5356ada99"}, + {file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b62ce867176a75d03a665bad002af8e6d54644fad99a3c70905c543130e39d93"}, + {file = "cffi-1.17.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:386c8bf53c502fff58903061338ce4f4950cbdcb23e2902d86c0f722b786bbe3"}, + {file = "cffi-1.17.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4ceb10419a9adf4460ea14cfd6bc43d08701f0835e979bf821052f1805850fe8"}, + {file = "cffi-1.17.1-cp312-cp312-win32.whl", hash = "sha256:a08d7e755f8ed21095a310a693525137cfe756ce62d066e53f502a83dc550f65"}, + {file = "cffi-1.17.1-cp312-cp312-win_amd64.whl", hash = "sha256:51392eae71afec0d0c8fb1a53b204dbb3bcabcb3c9b807eedf3e1e6ccf2de903"}, + {file = "cffi-1.17.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f3a2b4222ce6b60e2e8b337bb9596923045681d71e5a082783484d845390938e"}, + {file = "cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0984a4925a435b1da406122d4d7968dd861c1385afe3b45ba82b750f229811e2"}, + {file = "cffi-1.17.1-cp313-cp313-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d01b12eeeb4427d3110de311e1774046ad344f5b1a7403101878976ecd7a10f3"}, + {file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:706510fe141c86a69c8ddc029c7910003a17353970cff3b904ff0686a5927683"}, + {file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:de55b766c7aa2e2a3092c51e0483d700341182f08e67c63630d5b6f200bb28e5"}, + {file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c59d6e989d07460165cc5ad3c61f9fd8f1b4796eacbd81cee78957842b834af4"}, + {file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd398dbc6773384a17fe0d3e7eeb8d1a21c2200473ee6806bb5e6a8e62bb73dd"}, + {file = "cffi-1.17.1-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:3edc8d958eb099c634dace3c7e16560ae474aa3803a5df240542b305d14e14ed"}, + {file = "cffi-1.17.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:72e72408cad3d5419375fc87d289076ee319835bdfa2caad331e377589aebba9"}, + {file = "cffi-1.17.1-cp313-cp313-win32.whl", hash = "sha256:e03eab0a8677fa80d646b5ddece1cbeaf556c313dcfac435ba11f107ba117b5d"}, + {file = "cffi-1.17.1-cp313-cp313-win_amd64.whl", hash = "sha256:f6a16c31041f09ead72d69f583767292f750d24913dadacf5756b966aacb3f1a"}, + {file = "cffi-1.17.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:636062ea65bd0195bc012fea9321aca499c0504409f413dc88af450b57ffd03b"}, + {file = "cffi-1.17.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c7eac2ef9b63c79431bc4b25f1cd649d7f061a28808cbc6c47b534bd789ef964"}, + {file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e221cf152cff04059d011ee126477f0d9588303eb57e88923578ace7baad17f9"}, + {file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:31000ec67d4221a71bd3f67df918b1f88f676f1c3b535a7eb473255fdc0b83fc"}, + {file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6f17be4345073b0a7b8ea599688f692ac3ef23ce28e5df79c04de519dbc4912c"}, + {file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e2b1fac190ae3ebfe37b979cc1ce69c81f4e4fe5746bb401dca63a9062cdaf1"}, + {file = "cffi-1.17.1-cp38-cp38-win32.whl", hash = "sha256:7596d6620d3fa590f677e9ee430df2958d2d6d6de2feeae5b20e82c00b76fbf8"}, + {file = "cffi-1.17.1-cp38-cp38-win_amd64.whl", hash = "sha256:78122be759c3f8a014ce010908ae03364d00a1f81ab5c7f4a7a5120607ea56e1"}, + {file = "cffi-1.17.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b2ab587605f4ba0bf81dc0cb08a41bd1c0a5906bd59243d56bad7668a6fc6c16"}, + {file = "cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:28b16024becceed8c6dfbc75629e27788d8a3f9030691a1dbf9821a128b22c36"}, + {file = "cffi-1.17.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1d599671f396c4723d016dbddb72fe8e0397082b0a77a4fab8028923bec050e8"}, + {file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ca74b8dbe6e8e8263c0ffd60277de77dcee6c837a3d0881d8c1ead7268c9e576"}, + {file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f7f5baafcc48261359e14bcd6d9bff6d4b28d9103847c9e136694cb0501aef87"}, + {file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:98e3969bcff97cae1b2def8ba499ea3d6f31ddfdb7635374834cf89a1a08ecf0"}, + {file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdf5ce3acdfd1661132f2a9c19cac174758dc2352bfe37d98aa7512c6b7178b3"}, + {file = "cffi-1.17.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:9755e4345d1ec879e3849e62222a18c7174d65a6a92d5b346b1863912168b595"}, + {file = "cffi-1.17.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f1e22e8c4419538cb197e4dd60acc919d7696e5ef98ee4da4e01d3f8cfa4cc5a"}, + {file = "cffi-1.17.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:c03e868a0b3bc35839ba98e74211ed2b05d2119be4e8a0f224fba9384f1fe02e"}, + {file = "cffi-1.17.1-cp39-cp39-win32.whl", hash = "sha256:e31ae45bc2e29f6b2abd0de1cc3b9d5205aa847cafaecb8af1476a609a2f6eb7"}, + {file = "cffi-1.17.1-cp39-cp39-win_amd64.whl", hash = "sha256:d016c76bdd850f3c626af19b0542c9677ba156e4ee4fccfdd7848803533ef662"}, + {file = "cffi-1.17.1.tar.gz", hash = "sha256:1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824"}, ] [package.dependencies] @@ -99,101 +114,116 @@ pycparser = "*" [[package]] name = "charset-normalizer" -version = "3.3.0" +version = "3.4.0" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." optional = false python-versions = ">=3.7.0" files = [ - {file = "charset-normalizer-3.3.0.tar.gz", hash = "sha256:63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:effe5406c9bd748a871dbcaf3ac69167c38d72db8c9baf3ff954c344f31c4cbe"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4162918ef3098851fcd8a628bf9b6a98d10c380725df9e04caf5ca6dd48c847a"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0570d21da019941634a531444364f2482e8db0b3425fcd5ac0c36565a64142c8"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5707a746c6083a3a74b46b3a631d78d129edab06195a92a8ece755aac25a3f3d"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:278c296c6f96fa686d74eb449ea1697f3c03dc28b75f873b65b5201806346a69"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a4b71f4d1765639372a3b32d2638197f5cd5221b19531f9245fcc9ee62d38f56"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5969baeaea61c97efa706b9b107dcba02784b1601c74ac84f2a532ea079403e"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a3f93dab657839dfa61025056606600a11d0b696d79386f974e459a3fbc568ec"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:db756e48f9c5c607b5e33dd36b1d5872d0422e960145b08ab0ec7fd420e9d649"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:232ac332403e37e4a03d209a3f92ed9071f7d3dbda70e2a5e9cff1c4ba9f0678"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e5c1502d4ace69a179305abb3f0bb6141cbe4714bc9b31d427329a95acfc8bdd"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:2502dd2a736c879c0f0d3e2161e74d9907231e25d35794584b1ca5284e43f596"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23e8565ab7ff33218530bc817922fae827420f143479b753104ab801145b1d5b"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-win32.whl", hash = "sha256:1872d01ac8c618a8da634e232f24793883d6e456a66593135aeafe3784b0848d"}, - {file = "charset_normalizer-3.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:557b21a44ceac6c6b9773bc65aa1b4cc3e248a5ad2f5b914b91579a32e22204d"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d7eff0f27edc5afa9e405f7165f85a6d782d308f3b6b9d96016c010597958e63"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6a685067d05e46641d5d1623d7c7fdf15a357546cbb2f71b0ebde91b175ffc3e"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0d3d5b7db9ed8a2b11a774db2bbea7ba1884430a205dbd54a32d61d7c2a190fa"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2935ffc78db9645cb2086c2f8f4cfd23d9b73cc0dc80334bc30aac6f03f68f8c"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fe359b2e3a7729010060fbca442ca225280c16e923b37db0e955ac2a2b72a05"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:380c4bde80bce25c6e4f77b19386f5ec9db230df9f2f2ac1e5ad7af2caa70459"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f0d1e3732768fecb052d90d62b220af62ead5748ac51ef61e7b32c266cac9293"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1b2919306936ac6efb3aed1fbf81039f7087ddadb3160882a57ee2ff74fd2382"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f8888e31e3a85943743f8fc15e71536bda1c81d5aa36d014a3c0c44481d7db6e"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:82eb849f085624f6a607538ee7b83a6d8126df6d2f7d3b319cb837b289123078"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7b8b8bf1189b3ba9b8de5c8db4d541b406611a71a955bbbd7385bbc45fcb786c"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5adf257bd58c1b8632046bbe43ee38c04e1038e9d37de9c57a94d6bd6ce5da34"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c350354efb159b8767a6244c166f66e67506e06c8924ed74669b2c70bc8735b1"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-win32.whl", hash = "sha256:02af06682e3590ab952599fbadac535ede5d60d78848e555aa58d0c0abbde786"}, - {file = "charset_normalizer-3.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:86d1f65ac145e2c9ed71d8ffb1905e9bba3a91ae29ba55b4c46ae6fc31d7c0d4"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:3b447982ad46348c02cb90d230b75ac34e9886273df3a93eec0539308a6296d7"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:abf0d9f45ea5fb95051c8bfe43cb40cda383772f7e5023a83cc481ca2604d74e"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b09719a17a2301178fac4470d54b1680b18a5048b481cb8890e1ef820cb80455"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b3d9b48ee6e3967b7901c052b670c7dda6deb812c309439adaffdec55c6d7b78"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:edfe077ab09442d4ef3c52cb1f9dab89bff02f4524afc0acf2d46be17dc479f5"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3debd1150027933210c2fc321527c2299118aa929c2f5a0a80ab6953e3bd1908"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:86f63face3a527284f7bb8a9d4f78988e3c06823f7bea2bd6f0e0e9298ca0403"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:24817cb02cbef7cd499f7c9a2735286b4782bd47a5b3516a0e84c50eab44b98e"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c71f16da1ed8949774ef79f4a0260d28b83b3a50c6576f8f4f0288d109777989"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:9cf3126b85822c4e53aa28c7ec9869b924d6fcfb76e77a45c44b83d91afd74f9"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:b3b2316b25644b23b54a6f6401074cebcecd1244c0b8e80111c9a3f1c8e83d65"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:03680bb39035fbcffe828eae9c3f8afc0428c91d38e7d61aa992ef7a59fb120e"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4cc152c5dd831641e995764f9f0b6589519f6f5123258ccaca8c6d34572fefa8"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-win32.whl", hash = "sha256:b8f3307af845803fb0b060ab76cf6dd3a13adc15b6b451f54281d25911eb92df"}, - {file = "charset_normalizer-3.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:8eaf82f0eccd1505cf39a45a6bd0a8cf1c70dcfc30dba338207a969d91b965c0"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dc45229747b67ffc441b3de2f3ae5e62877a282ea828a5bdb67883c4ee4a8810"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2f4a0033ce9a76e391542c182f0d48d084855b5fcba5010f707c8e8c34663d77"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ada214c6fa40f8d800e575de6b91a40d0548139e5dc457d2ebb61470abf50186"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b1121de0e9d6e6ca08289583d7491e7fcb18a439305b34a30b20d8215922d43c"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1063da2c85b95f2d1a430f1c33b55c9c17ffaf5e612e10aeaad641c55a9e2b9d"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:70f1d09c0d7748b73290b29219e854b3207aea922f839437870d8cc2168e31cc"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:250c9eb0f4600361dd80d46112213dff2286231d92d3e52af1e5a6083d10cad9"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:750b446b2ffce1739e8578576092179160f6d26bd5e23eb1789c4d64d5af7dc7"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:fc52b79d83a3fe3a360902d3f5d79073a993597d48114c29485e9431092905d8"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:588245972aca710b5b68802c8cad9edaa98589b1b42ad2b53accd6910dad3545"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e39c7eb31e3f5b1f88caff88bcff1b7f8334975b46f6ac6e9fc725d829bc35d4"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-win32.whl", hash = "sha256:abecce40dfebbfa6abf8e324e1860092eeca6f7375c8c4e655a8afb61af58f2c"}, - {file = "charset_normalizer-3.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:24a91a981f185721542a0b7c92e9054b7ab4fea0508a795846bc5b0abf8118d4"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:67b8cc9574bb518ec76dc8e705d4c39ae78bb96237cb533edac149352c1f39fe"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ac71b2977fb90c35d41c9453116e283fac47bb9096ad917b8819ca8b943abecd"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3ae38d325b512f63f8da31f826e6cb6c367336f95e418137286ba362925c877e"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:542da1178c1c6af8873e143910e2269add130a299c9106eef2594e15dae5e482"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:30a85aed0b864ac88309b7d94be09f6046c834ef60762a8833b660139cfbad13"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aae32c93e0f64469f74ccc730a7cb21c7610af3a775157e50bbd38f816536b38"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15b26ddf78d57f1d143bdf32e820fd8935d36abe8a25eb9ec0b5a71c82eb3895"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f5d10bae5d78e4551b7be7a9b29643a95aded9d0f602aa2ba584f0388e7a557"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:249c6470a2b60935bafd1d1d13cd613f8cd8388d53461c67397ee6a0f5dce741"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c5a74c359b2d47d26cdbbc7845e9662d6b08a1e915eb015d044729e92e7050b7"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:b5bcf60a228acae568e9911f410f9d9e0d43197d030ae5799e20dca8df588287"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:187d18082694a29005ba2944c882344b6748d5be69e3a89bf3cc9d878e548d5a"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:81bf654678e575403736b85ba3a7867e31c2c30a69bc57fe88e3ace52fb17b89"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-win32.whl", hash = "sha256:85a32721ddde63c9df9ebb0d2045b9691d9750cb139c161c80e500d210f5e26e"}, - {file = "charset_normalizer-3.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:468d2a840567b13a590e67dd276c570f8de00ed767ecc611994c301d0f8c014f"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e0fc42822278451bc13a2e8626cf2218ba570f27856b536e00cfa53099724828"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:09c77f964f351a7369cc343911e0df63e762e42bac24cd7d18525961c81754f4"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:12ebea541c44fdc88ccb794a13fe861cc5e35d64ed689513a5c03d05b53b7c82"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:805dfea4ca10411a5296bcc75638017215a93ffb584c9e344731eef0dcfb026a"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:96c2b49eb6a72c0e4991d62406e365d87067ca14c1a729a870d22354e6f68115"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:aaf7b34c5bc56b38c931a54f7952f1ff0ae77a2e82496583b247f7c969eb1479"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:619d1c96099be5823db34fe89e2582b336b5b074a7f47f819d6b3a57ff7bdb86"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a0ac5e7015a5920cfce654c06618ec40c33e12801711da6b4258af59a8eff00a"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:93aa7eef6ee71c629b51ef873991d6911b906d7312c6e8e99790c0f33c576f89"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7966951325782121e67c81299a031f4c115615e68046f79b85856b86ebffc4cd"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:02673e456dc5ab13659f85196c534dc596d4ef260e4d86e856c3b2773ce09843"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:c2af80fb58f0f24b3f3adcb9148e6203fa67dd3f61c4af146ecad033024dde43"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:153e7b6e724761741e0974fc4dcd406d35ba70b92bfe3fedcb497226c93b9da7"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-win32.whl", hash = "sha256:d47ecf253780c90ee181d4d871cd655a789da937454045b17b5798da9393901a"}, - {file = "charset_normalizer-3.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:d97d85fa63f315a8bdaba2af9a6a686e0eceab77b3089af45133252618e70884"}, - {file = "charset_normalizer-3.3.0-py3-none-any.whl", hash = "sha256:e46cd37076971c1040fc8c41273a8b3e2c624ce4f2be3f5dfcb7a430c1d3acc2"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4f9fc98dad6c2eaa32fc3af1417d95b5e3d08aff968df0cd320066def971f9a6"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0de7b687289d3c1b3e8660d0741874abe7888100efe14bd0f9fd7141bcbda92b"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5ed2e36c3e9b4f21dd9422f6893dec0abf2cca553af509b10cd630f878d3eb99"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40d3ff7fc90b98c637bda91c89d51264a3dcf210cade3a2c6f838c7268d7a4ca"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1110e22af8ca26b90bd6364fe4c763329b0ebf1ee213ba32b68c73de5752323d"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:86f4e8cca779080f66ff4f191a685ced73d2f72d50216f7112185dc02b90b9b7"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7f683ddc7eedd742e2889d2bfb96d69573fde1d92fcb811979cdb7165bb9c7d3"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27623ba66c183eca01bf9ff833875b459cad267aeeb044477fedac35e19ba907"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f606a1881d2663630ea5b8ce2efe2111740df4b687bd78b34a8131baa007f79b"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0b309d1747110feb25d7ed6b01afdec269c647d382c857ef4663bbe6ad95a912"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:136815f06a3ae311fae551c3df1f998a1ebd01ddd424aa5603a4336997629e95"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:14215b71a762336254351b00ec720a8e85cada43b987da5a042e4ce3e82bd68e"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:79983512b108e4a164b9c8d34de3992f76d48cadc9554c9e60b43f308988aabe"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-win32.whl", hash = "sha256:c94057af19bc953643a33581844649a7fdab902624d2eb739738a30e2b3e60fc"}, + {file = "charset_normalizer-3.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:55f56e2ebd4e3bc50442fbc0888c9d8c94e4e06a933804e2af3e89e2f9c1c749"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0d99dd8ff461990f12d6e42c7347fd9ab2532fb70e9621ba520f9e8637161d7c"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c57516e58fd17d03ebe67e181a4e4e2ccab1168f8c2976c6a334d4f819fe5944"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6dba5d19c4dfab08e58d5b36304b3f92f3bd5d42c1a3fa37b5ba5cdf6dfcbcee"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf4475b82be41b07cc5e5ff94810e6a01f276e37c2d55571e3fe175e467a1a1c"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce031db0408e487fd2775d745ce30a7cd2923667cf3b69d48d219f1d8f5ddeb6"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ff4e7cdfdb1ab5698e675ca622e72d58a6fa2a8aa58195de0c0061288e6e3ea"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3710a9751938947e6327ea9f3ea6332a09bf0ba0c09cae9cb1f250bd1f1549bc"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:82357d85de703176b5587dbe6ade8ff67f9f69a41c0733cf2425378b49954de5"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47334db71978b23ebcf3c0f9f5ee98b8d65992b65c9c4f2d34c2eaf5bcaf0594"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8ce7fd6767a1cc5a92a639b391891bf1c268b03ec7e021c7d6d902285259685c"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f1a2f519ae173b5b6a2c9d5fa3116ce16e48b3462c8b96dfdded11055e3d6365"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:63bc5c4ae26e4bc6be6469943b8253c0fd4e4186c43ad46e713ea61a0ba49129"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bcb4f8ea87d03bc51ad04add8ceaf9b0f085ac045ab4d74e73bbc2dc033f0236"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-win32.whl", hash = "sha256:9ae4ef0b3f6b41bad6366fb0ea4fc1d7ed051528e113a60fa2a65a9abb5b1d99"}, + {file = "charset_normalizer-3.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:cee4373f4d3ad28f1ab6290684d8e2ebdb9e7a1b74fdc39e4c211995f77bec27"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0713f3adb9d03d49d365b70b84775d0a0d18e4ab08d12bc46baa6132ba78aaf6"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:de7376c29d95d6719048c194a9cf1a1b0393fbe8488a22008610b0361d834ecf"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4a51b48f42d9358460b78725283f04bddaf44a9358197b889657deba38f329db"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b295729485b06c1a0683af02a9e42d2caa9db04a373dc38a6a58cdd1e8abddf1"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ee803480535c44e7f5ad00788526da7d85525cfefaf8acf8ab9a310000be4b03"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3d59d125ffbd6d552765510e3f31ed75ebac2c7470c7274195b9161a32350284"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8cda06946eac330cbe6598f77bb54e690b4ca93f593dee1568ad22b04f347c15"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07afec21bbbbf8a5cc3651aa96b980afe2526e7f048fdfb7f1014d84acc8b6d8"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6b40e8d38afe634559e398cc32b1472f376a4099c75fe6299ae607e404c033b2"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b8dcd239c743aa2f9c22ce674a145e0a25cb1566c495928440a181ca1ccf6719"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:84450ba661fb96e9fd67629b93d2941c871ca86fc38d835d19d4225ff946a631"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:44aeb140295a2f0659e113b31cfe92c9061622cadbc9e2a2f7b8ef6b1e29ef4b"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1db4e7fefefd0f548d73e2e2e041f9df5c59e178b4c72fbac4cc6f535cfb1565"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-win32.whl", hash = "sha256:5726cf76c982532c1863fb64d8c6dd0e4c90b6ece9feb06c9f202417a31f7dd7"}, + {file = "charset_normalizer-3.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:b197e7094f232959f8f20541ead1d9862ac5ebea1d58e9849c1bf979255dfac9"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:dd4eda173a9fcccb5f2e2bd2a9f423d180194b1bf17cf59e3269899235b2a114"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e9e3c4c9e1ed40ea53acf11e2a386383c3304212c965773704e4603d589343ed"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:92a7e36b000bf022ef3dbb9c46bfe2d52c047d5e3f3343f43204263c5addc250"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:54b6a92d009cbe2fb11054ba694bc9e284dad30a26757b1e372a1fdddaf21920"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ffd9493de4c922f2a38c2bf62b831dcec90ac673ed1ca182fe11b4d8e9f2a64"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:35c404d74c2926d0287fbd63ed5d27eb911eb9e4a3bb2c6d294f3cfd4a9e0c23"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4796efc4faf6b53a18e3d46343535caed491776a22af773f366534056c4e1fbc"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e7fdd52961feb4c96507aa649550ec2a0d527c086d284749b2f582f2d40a2e0d"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:92db3c28b5b2a273346bebb24857fda45601aef6ae1c011c0a997106581e8a88"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ab973df98fc99ab39080bfb0eb3a925181454d7c3ac8a1e695fddfae696d9e90"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4b67fdab07fdd3c10bb21edab3cbfe8cf5696f453afce75d815d9d7223fbe88b"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:aa41e526a5d4a9dfcfbab0716c7e8a1b215abd3f3df5a45cf18a12721d31cb5d"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ffc519621dce0c767e96b9c53f09c5d215578e10b02c285809f76509a3931482"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-win32.whl", hash = "sha256:f19c1585933c82098c2a520f8ec1227f20e339e33aca8fa6f956f6691b784e67"}, + {file = "charset_normalizer-3.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:707b82d19e65c9bd28b81dde95249b07bf9f5b90ebe1ef17d9b57473f8a64b7b"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dbe03226baf438ac4fda9e2d0715022fd579cb641c4cf639fa40d53b2fe6f3e2"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd9a8bd8900e65504a305bf8ae6fa9fbc66de94178c420791d0293702fce2df7"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8831399554b92b72af5932cdbbd4ddc55c55f631bb13ff8fe4e6536a06c5c51"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a14969b8691f7998e74663b77b4c36c0337cb1df552da83d5c9004a93afdb574"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcaf7c1524c0542ee2fc82cc8ec337f7a9f7edee2532421ab200d2b920fc97cf"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:425c5f215d0eecee9a56cdb703203dda90423247421bf0d67125add85d0c4455"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_aarch64.whl", hash = "sha256:d5b054862739d276e09928de37c79ddeec42a6e1bfc55863be96a36ba22926f6"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_i686.whl", hash = "sha256:f3e73a4255342d4eb26ef6df01e3962e73aa29baa3124a8e824c5d3364a65748"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_ppc64le.whl", hash = "sha256:2f6c34da58ea9c1a9515621f4d9ac379871a8f21168ba1b5e09d74250de5ad62"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_s390x.whl", hash = "sha256:f09cb5a7bbe1ecae6e87901a2eb23e0256bb524a79ccc53eb0b7629fbe7677c4"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_x86_64.whl", hash = "sha256:0099d79bdfcf5c1f0c2c72f91516702ebf8b0b8ddd8905f97a8aecf49712c621"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-win32.whl", hash = "sha256:9c98230f5042f4945f957d006edccc2af1e03ed5e37ce7c373f00a5a4daa6149"}, + {file = "charset_normalizer-3.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:62f60aebecfc7f4b82e3f639a7d1433a20ec32824db2199a11ad4f5e146ef5ee"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:af73657b7a68211996527dbfeffbb0864e043d270580c5aef06dc4b659a4b578"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cab5d0b79d987c67f3b9e9c53f54a61360422a5a0bc075f43cab5621d530c3b6"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:9289fd5dddcf57bab41d044f1756550f9e7cf0c8e373b8cdf0ce8773dc4bd417"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6b493a043635eb376e50eedf7818f2f322eabbaa974e948bd8bdd29eb7ef2a51"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fa2566ca27d67c86569e8c85297aaf413ffab85a8960500f12ea34ff98e4c41"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8e538f46104c815be19c975572d74afb53f29650ea2025bbfaef359d2de2f7f"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fd30dc99682dc2c603c2b315bded2799019cea829f8bf57dc6b61efde6611c8"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2006769bd1640bdf4d5641c69a3d63b71b81445473cac5ded39740a226fa88ab"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:dc15e99b2d8a656f8e666854404f1ba54765871104e50c8e9813af8a7db07f12"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:ab2e5bef076f5a235c3774b4f4028a680432cded7cad37bba0fd90d64b187d19"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:4ec9dd88a5b71abfc74e9df5ebe7921c35cbb3b641181a531ca65cdb5e8e4dea"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:43193c5cda5d612f247172016c4bb71251c784d7a4d9314677186a838ad34858"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:aa693779a8b50cd97570e5a0f343538a8dbd3e496fa5dcb87e29406ad0299654"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-win32.whl", hash = "sha256:7706f5850360ac01d80c89bcef1640683cc12ed87f42579dab6c5d3ed6888613"}, + {file = "charset_normalizer-3.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:c3e446d253bd88f6377260d07c895816ebf33ffffd56c1c792b13bff9c3e1ade"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:980b4f289d1d90ca5efcf07958d3eb38ed9c0b7676bf2831a54d4f66f9c27dfa"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f28f891ccd15c514a0981f3b9db9aa23d62fe1a99997512b0491d2ed323d229a"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8aacce6e2e1edcb6ac625fb0f8c3a9570ccc7bfba1f63419b3769ccf6a00ed0"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bd7af3717683bea4c87acd8c0d3d5b44d56120b26fd3f8a692bdd2d5260c620a"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5ff2ed8194587faf56555927b3aa10e6fb69d931e33953943bc4f837dfee2242"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e91f541a85298cf35433bf66f3fab2a4a2cff05c127eeca4af174f6d497f0d4b"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:309a7de0a0ff3040acaebb35ec45d18db4b28232f21998851cfa709eeff49d62"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:285e96d9d53422efc0d7a17c60e59f37fbf3dfa942073f666db4ac71e8d726d0"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:5d447056e2ca60382d460a604b6302d8db69476fd2015c81e7c35417cfabe4cd"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:20587d20f557fe189b7947d8e7ec5afa110ccf72a3128d61a2a387c3313f46be"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:130272c698667a982a5d0e626851ceff662565379baf0ff2cc58067b81d4f11d"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:ab22fbd9765e6954bc0bcff24c25ff71dcbfdb185fcdaca49e81bac68fe724d3"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7782afc9b6b42200f7362858f9e73b1f8316afb276d316336c0ec3bd73312742"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-win32.whl", hash = "sha256:2de62e8801ddfff069cd5c504ce3bc9672b23266597d4e4f50eda28846c322f2"}, + {file = "charset_normalizer-3.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:95c3c157765b031331dd4db3c775e58deaee050a3042fcad72cbc4189d7c8dca"}, + {file = "charset_normalizer-3.4.0-py3-none-any.whl", hash = "sha256:fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079"}, + {file = "charset_normalizer-3.4.0.tar.gz", hash = "sha256:223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e"}, ] [[package]] @@ -209,38 +239,38 @@ files = [ [[package]] name = "cryptography" -version = "43.0.1" +version = "43.0.3" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." optional = false python-versions = ">=3.7" files = [ - {file = "cryptography-43.0.1-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:8385d98f6a3bf8bb2d65a73e17ed87a3ba84f6991c155691c51112075f9ffc5d"}, - {file = "cryptography-43.0.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:27e613d7077ac613e399270253259d9d53872aaf657471473ebfc9a52935c062"}, - {file = "cryptography-43.0.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:68aaecc4178e90719e95298515979814bda0cbada1256a4485414860bd7ab962"}, - {file = "cryptography-43.0.1-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:de41fd81a41e53267cb020bb3a7212861da53a7d39f863585d13ea11049cf277"}, - {file = "cryptography-43.0.1-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f98bf604c82c416bc829e490c700ca1553eafdf2912a91e23a79d97d9801372a"}, - {file = "cryptography-43.0.1-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:61ec41068b7b74268fa86e3e9e12b9f0c21fcf65434571dbb13d954bceb08042"}, - {file = "cryptography-43.0.1-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:014f58110f53237ace6a408b5beb6c427b64e084eb451ef25a28308270086494"}, - {file = "cryptography-43.0.1-cp37-abi3-win32.whl", hash = "sha256:2bd51274dcd59f09dd952afb696bf9c61a7a49dfc764c04dd33ef7a6b502a1e2"}, - {file = "cryptography-43.0.1-cp37-abi3-win_amd64.whl", hash = "sha256:666ae11966643886c2987b3b721899d250855718d6d9ce41b521252a17985f4d"}, - {file = "cryptography-43.0.1-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:ac119bb76b9faa00f48128b7f5679e1d8d437365c5d26f1c2c3f0da4ce1b553d"}, - {file = "cryptography-43.0.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1bbcce1a551e262dfbafb6e6252f1ae36a248e615ca44ba302df077a846a8806"}, - {file = "cryptography-43.0.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58d4e9129985185a06d849aa6df265bdd5a74ca6e1b736a77959b498e0505b85"}, - {file = "cryptography-43.0.1-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:d03a475165f3134f773d1388aeb19c2d25ba88b6a9733c5c590b9ff7bbfa2e0c"}, - {file = "cryptography-43.0.1-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:511f4273808ab590912a93ddb4e3914dfd8a388fed883361b02dea3791f292e1"}, - {file = "cryptography-43.0.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:80eda8b3e173f0f247f711eef62be51b599b5d425c429b5d4ca6a05e9e856baa"}, - {file = "cryptography-43.0.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:38926c50cff6f533f8a2dae3d7f19541432610d114a70808f0926d5aaa7121e4"}, - {file = "cryptography-43.0.1-cp39-abi3-win32.whl", hash = "sha256:a575913fb06e05e6b4b814d7f7468c2c660e8bb16d8d5a1faf9b33ccc569dd47"}, - {file = "cryptography-43.0.1-cp39-abi3-win_amd64.whl", hash = "sha256:d75601ad10b059ec832e78823b348bfa1a59f6b8d545db3a24fd44362a1564cb"}, - {file = "cryptography-43.0.1-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:ea25acb556320250756e53f9e20a4177515f012c9eaea17eb7587a8c4d8ae034"}, - {file = "cryptography-43.0.1-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:c1332724be35d23a854994ff0b66530119500b6053d0bd3363265f7e5e77288d"}, - {file = "cryptography-43.0.1-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:fba1007b3ef89946dbbb515aeeb41e30203b004f0b4b00e5e16078b518563289"}, - {file = "cryptography-43.0.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:5b43d1ea6b378b54a1dc99dd8a2b5be47658fe9a7ce0a58ff0b55f4b43ef2b84"}, - {file = "cryptography-43.0.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:88cce104c36870d70c49c7c8fd22885875d950d9ee6ab54df2745f83ba0dc365"}, - {file = "cryptography-43.0.1-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:9d3cdb25fa98afdd3d0892d132b8d7139e2c087da1712041f6b762e4f807cc96"}, - {file = "cryptography-43.0.1-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:e710bf40870f4db63c3d7d929aa9e09e4e7ee219e703f949ec4073b4294f6172"}, - {file = "cryptography-43.0.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7c05650fe8023c5ed0d46793d4b7d7e6cd9c04e68eabe5b0aeea836e37bdcec2"}, - {file = "cryptography-43.0.1.tar.gz", hash = "sha256:203e92a75716d8cfb491dc47c79e17d0d9207ccffcbcb35f598fbe463ae3444d"}, + {file = "cryptography-43.0.3-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:bf7a1932ac4176486eab36a19ed4c0492da5d97123f1406cf15e41b05e787d2e"}, + {file = "cryptography-43.0.3-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63efa177ff54aec6e1c0aefaa1a241232dcd37413835a9b674b6e3f0ae2bfd3e"}, + {file = "cryptography-43.0.3-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e1ce50266f4f70bf41a2c6dc4358afadae90e2a1e5342d3c08883df1675374f"}, + {file = "cryptography-43.0.3-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:443c4a81bb10daed9a8f334365fe52542771f25aedaf889fd323a853ce7377d6"}, + {file = "cryptography-43.0.3-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:74f57f24754fe349223792466a709f8e0c093205ff0dca557af51072ff47ab18"}, + {file = "cryptography-43.0.3-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:9762ea51a8fc2a88b70cf2995e5675b38d93bf36bd67d91721c309df184f49bd"}, + {file = "cryptography-43.0.3-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:81ef806b1fef6b06dcebad789f988d3b37ccaee225695cf3e07648eee0fc6b73"}, + {file = "cryptography-43.0.3-cp37-abi3-win32.whl", hash = "sha256:cbeb489927bd7af4aa98d4b261af9a5bc025bd87f0e3547e11584be9e9427be2"}, + {file = "cryptography-43.0.3-cp37-abi3-win_amd64.whl", hash = "sha256:f46304d6f0c6ab8e52770addfa2fc41e6629495548862279641972b6215451cd"}, + {file = "cryptography-43.0.3-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:8ac43ae87929a5982f5948ceda07001ee5e83227fd69cf55b109144938d96984"}, + {file = "cryptography-43.0.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:846da004a5804145a5f441b8530b4bf35afbf7da70f82409f151695b127213d5"}, + {file = "cryptography-43.0.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0f996e7268af62598f2fc1204afa98a3b5712313a55c4c9d434aef49cadc91d4"}, + {file = "cryptography-43.0.3-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:f7b178f11ed3664fd0e995a47ed2b5ff0a12d893e41dd0494f406d1cf555cab7"}, + {file = "cryptography-43.0.3-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:c2e6fc39c4ab499049df3bdf567f768a723a5e8464816e8f009f121a5a9f4405"}, + {file = "cryptography-43.0.3-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:e1be4655c7ef6e1bbe6b5d0403526601323420bcf414598955968c9ef3eb7d16"}, + {file = "cryptography-43.0.3-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:df6b6c6d742395dd77a23ea3728ab62f98379eff8fb61be2744d4679ab678f73"}, + {file = "cryptography-43.0.3-cp39-abi3-win32.whl", hash = "sha256:d56e96520b1020449bbace2b78b603442e7e378a9b3bd68de65c782db1507995"}, + {file = "cryptography-43.0.3-cp39-abi3-win_amd64.whl", hash = "sha256:0c580952eef9bf68c4747774cde7ec1d85a6e61de97281f2dba83c7d2c806362"}, + {file = "cryptography-43.0.3-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:d03b5621a135bffecad2c73e9f4deb1a0f977b9a8ffe6f8e002bf6c9d07b918c"}, + {file = "cryptography-43.0.3-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:a2a431ee15799d6db9fe80c82b055bae5a752bef645bba795e8e52687c69efe3"}, + {file = "cryptography-43.0.3-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:281c945d0e28c92ca5e5930664c1cefd85efe80e5c0d2bc58dd63383fda29f83"}, + {file = "cryptography-43.0.3-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:f18c716be16bc1fea8e95def49edf46b82fccaa88587a45f8dc0ff6ab5d8e0a7"}, + {file = "cryptography-43.0.3-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:4a02ded6cd4f0a5562a8887df8b3bd14e822a90f97ac5e544c162899bc467664"}, + {file = "cryptography-43.0.3-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:53a583b6637ab4c4e3591a15bc9db855b8d9dee9a669b550f311480acab6eb08"}, + {file = "cryptography-43.0.3-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:1ec0bcf7e17c0c5669d881b1cd38c4972fade441b27bda1051665faaa89bdcaa"}, + {file = "cryptography-43.0.3-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:2ce6fae5bdad59577b44e4dfed356944fbf1d925269114c28be377692643b4ff"}, + {file = "cryptography-43.0.3.tar.gz", hash = "sha256:315b9001266a492a6ff443b61238f956b214dbec9910a081ba5b6646a055a805"}, ] [package.dependencies] @@ -253,18 +283,18 @@ nox = ["nox"] pep8test = ["check-sdist", "click", "mypy", "ruff"] sdist = ["build"] ssh = ["bcrypt (>=3.1.5)"] -test = ["certifi", "cryptography-vectors (==43.0.1)", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-xdist"] +test = ["certifi", "cryptography-vectors (==43.0.3)", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-xdist"] test-randomorder = ["pytest-randomly"] [[package]] name = "exceptiongroup" -version = "1.1.3" +version = "1.2.2" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" files = [ - {file = "exceptiongroup-1.1.3-py3-none-any.whl", hash = "sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3"}, - {file = "exceptiongroup-1.1.3.tar.gz", hash = "sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9"}, + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, ] [package.extras] @@ -272,15 +302,18 @@ test = ["pytest (>=6)"] [[package]] name = "idna" -version = "3.7" +version = "3.10" description = "Internationalized Domain Names in Applications (IDNA)" optional = false -python-versions = ">=3.5" +python-versions = ">=3.6" files = [ - {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, - {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, + {file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"}, + {file = "idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"}, ] +[package.extras] +all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] + [[package]] name = "iniconfig" version = "2.0.0" @@ -294,43 +327,43 @@ files = [ [[package]] name = "mypy" -version = "1.12.1" +version = "1.13.0" description = "Optional static typing for Python" optional = false python-versions = ">=3.8" files = [ - {file = "mypy-1.12.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:3d7d4371829184e22fda4015278fbfdef0327a4b955a483012bd2d423a788801"}, - {file = "mypy-1.12.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f59f1dfbf497d473201356966e353ef09d4daec48caeacc0254db8ef633a28a5"}, - {file = "mypy-1.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b947097fae68004b8328c55161ac9db7d3566abfef72d9d41b47a021c2fba6b1"}, - {file = "mypy-1.12.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:96af62050971c5241afb4701c15189ea9507db89ad07794a4ee7b4e092dc0627"}, - {file = "mypy-1.12.1-cp310-cp310-win_amd64.whl", hash = "sha256:d90da248f4c2dba6c44ddcfea94bb361e491962f05f41990ff24dbd09969ce20"}, - {file = "mypy-1.12.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1230048fec1380faf240be6385e709c8570604d2d27ec6ca7e573e3bc09c3735"}, - {file = "mypy-1.12.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:02dcfe270c6ea13338210908f8cadc8d31af0f04cee8ca996438fe6a97b4ec66"}, - {file = "mypy-1.12.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a5a437c9102a6a252d9e3a63edc191a3aed5f2fcb786d614722ee3f4472e33f6"}, - {file = "mypy-1.12.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:186e0c8346efc027ee1f9acf5ca734425fc4f7dc2b60144f0fbe27cc19dc7931"}, - {file = "mypy-1.12.1-cp311-cp311-win_amd64.whl", hash = "sha256:673ba1140a478b50e6d265c03391702fa11a5c5aff3f54d69a62a48da32cb811"}, - {file = "mypy-1.12.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9fb83a7be97c498176fb7486cafbb81decccaef1ac339d837c377b0ce3743a7f"}, - {file = "mypy-1.12.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:389e307e333879c571029d5b93932cf838b811d3f5395ed1ad05086b52148fb0"}, - {file = "mypy-1.12.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:94b2048a95a21f7a9ebc9fbd075a4fcd310410d078aa0228dbbad7f71335e042"}, - {file = "mypy-1.12.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4ee5932370ccf7ebf83f79d1c157a5929d7ea36313027b0d70a488493dc1b179"}, - {file = "mypy-1.12.1-cp312-cp312-win_amd64.whl", hash = "sha256:19bf51f87a295e7ab2894f1d8167622b063492d754e69c3c2fed6563268cb42a"}, - {file = "mypy-1.12.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d34167d43613ffb1d6c6cdc0cc043bb106cac0aa5d6a4171f77ab92a3c758bcc"}, - {file = "mypy-1.12.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:427878aa54f2e2c5d8db31fa9010c599ed9f994b3b49e64ae9cd9990c40bd635"}, - {file = "mypy-1.12.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5fcde63ea2c9f69d6be859a1e6dd35955e87fa81de95bc240143cf00de1f7f81"}, - {file = "mypy-1.12.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:d54d840f6c052929f4a3d2aab2066af0f45a020b085fe0e40d4583db52aab4e4"}, - {file = "mypy-1.12.1-cp313-cp313-win_amd64.whl", hash = "sha256:20db6eb1ca3d1de8ece00033b12f793f1ea9da767334b7e8c626a4872090cf02"}, - {file = "mypy-1.12.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b16fe09f9c741d85a2e3b14a5257a27a4f4886c171d562bc5a5e90d8591906b8"}, - {file = "mypy-1.12.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:0dcc1e843d58f444fce19da4cce5bd35c282d4bde232acdeca8279523087088a"}, - {file = "mypy-1.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e10ba7de5c616e44ad21005fa13450cd0de7caaa303a626147d45307492e4f2d"}, - {file = "mypy-1.12.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:0e6fe449223fa59fbee351db32283838a8fee8059e0028e9e6494a03802b4004"}, - {file = "mypy-1.12.1-cp38-cp38-win_amd64.whl", hash = "sha256:dc6e2a2195a290a7fd5bac3e60b586d77fc88e986eba7feced8b778c373f9afe"}, - {file = "mypy-1.12.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:de5b2a8988b4e1269a98beaf0e7cc71b510d050dce80c343b53b4955fff45f19"}, - {file = "mypy-1.12.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:843826966f1d65925e8b50d2b483065c51fc16dc5d72647e0236aae51dc8d77e"}, - {file = "mypy-1.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9fe20f89da41a95e14c34b1ddb09c80262edcc295ad891f22cc4b60013e8f78d"}, - {file = "mypy-1.12.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8135ffec02121a75f75dc97c81af7c14aa4ae0dda277132cfcd6abcd21551bfd"}, - {file = "mypy-1.12.1-cp39-cp39-win_amd64.whl", hash = "sha256:a7b76fa83260824300cc4834a3ab93180db19876bce59af921467fd03e692810"}, - {file = "mypy-1.12.1-py3-none-any.whl", hash = "sha256:ce561a09e3bb9863ab77edf29ae3a50e65685ad74bba1431278185b7e5d5486e"}, - {file = "mypy-1.12.1.tar.gz", hash = "sha256:f5b3936f7a6d0e8280c9bdef94c7ce4847f5cdfc258fbb2c29a8c1711e8bb96d"}, + {file = "mypy-1.13.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6607e0f1dd1fb7f0aca14d936d13fd19eba5e17e1cd2a14f808fa5f8f6d8f60a"}, + {file = "mypy-1.13.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8a21be69bd26fa81b1f80a61ee7ab05b076c674d9b18fb56239d72e21d9f4c80"}, + {file = "mypy-1.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b2353a44d2179846a096e25691d54d59904559f4232519d420d64da6828a3a7"}, + {file = "mypy-1.13.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0730d1c6a2739d4511dc4253f8274cdd140c55c32dfb0a4cf8b7a43f40abfa6f"}, + {file = "mypy-1.13.0-cp310-cp310-win_amd64.whl", hash = "sha256:c5fc54dbb712ff5e5a0fca797e6e0aa25726c7e72c6a5850cfd2adbc1eb0a372"}, + {file = "mypy-1.13.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:581665e6f3a8a9078f28d5502f4c334c0c8d802ef55ea0e7276a6e409bc0d82d"}, + {file = "mypy-1.13.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3ddb5b9bf82e05cc9a627e84707b528e5c7caaa1c55c69e175abb15a761cec2d"}, + {file = "mypy-1.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20c7ee0bc0d5a9595c46f38beb04201f2620065a93755704e141fcac9f59db2b"}, + {file = "mypy-1.13.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3790ded76f0b34bc9c8ba4def8f919dd6a46db0f5a6610fb994fe8efdd447f73"}, + {file = "mypy-1.13.0-cp311-cp311-win_amd64.whl", hash = "sha256:51f869f4b6b538229c1d1bcc1dd7d119817206e2bc54e8e374b3dfa202defcca"}, + {file = "mypy-1.13.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5c7051a3461ae84dfb5dd15eff5094640c61c5f22257c8b766794e6dd85e72d5"}, + {file = "mypy-1.13.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:39bb21c69a5d6342f4ce526e4584bc5c197fd20a60d14a8624d8743fffb9472e"}, + {file = "mypy-1.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:164f28cb9d6367439031f4c81e84d3ccaa1e19232d9d05d37cb0bd880d3f93c2"}, + {file = "mypy-1.13.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a4c1bfcdbce96ff5d96fc9b08e3831acb30dc44ab02671eca5953eadad07d6d0"}, + {file = "mypy-1.13.0-cp312-cp312-win_amd64.whl", hash = "sha256:a0affb3a79a256b4183ba09811e3577c5163ed06685e4d4b46429a271ba174d2"}, + {file = "mypy-1.13.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a7b44178c9760ce1a43f544e595d35ed61ac2c3de306599fa59b38a6048e1aa7"}, + {file = "mypy-1.13.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5d5092efb8516d08440e36626f0153b5006d4088c1d663d88bf79625af3d1d62"}, + {file = "mypy-1.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:de2904956dac40ced10931ac967ae63c5089bd498542194b436eb097a9f77bc8"}, + {file = "mypy-1.13.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:7bfd8836970d33c2105562650656b6846149374dc8ed77d98424b40b09340ba7"}, + {file = "mypy-1.13.0-cp313-cp313-win_amd64.whl", hash = "sha256:9f73dba9ec77acb86457a8fc04b5239822df0c14a082564737833d2963677dbc"}, + {file = "mypy-1.13.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:100fac22ce82925f676a734af0db922ecfea991e1d7ec0ceb1e115ebe501301a"}, + {file = "mypy-1.13.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7bcb0bb7f42a978bb323a7c88f1081d1b5dee77ca86f4100735a6f541299d8fb"}, + {file = "mypy-1.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bde31fc887c213e223bbfc34328070996061b0833b0a4cfec53745ed61f3519b"}, + {file = "mypy-1.13.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:07de989f89786f62b937851295ed62e51774722e5444a27cecca993fc3f9cd74"}, + {file = "mypy-1.13.0-cp38-cp38-win_amd64.whl", hash = "sha256:4bde84334fbe19bad704b3f5b78c4abd35ff1026f8ba72b29de70dda0916beb6"}, + {file = "mypy-1.13.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0246bcb1b5de7f08f2826451abd947bf656945209b140d16ed317f65a17dc7dc"}, + {file = "mypy-1.13.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7f5b7deae912cf8b77e990b9280f170381fdfbddf61b4ef80927edd813163732"}, + {file = "mypy-1.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7029881ec6ffb8bc233a4fa364736789582c738217b133f1b55967115288a2bc"}, + {file = "mypy-1.13.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3e38b980e5681f28f033f3be86b099a247b13c491f14bb8b1e1e134d23bb599d"}, + {file = "mypy-1.13.0-cp39-cp39-win_amd64.whl", hash = "sha256:a6789be98a2017c912ae6ccb77ea553bbaf13d27605d2ca20a76dfbced631b24"}, + {file = "mypy-1.13.0-py3-none-any.whl", hash = "sha256:9c250883f9fd81d212e0952c92dbfcc96fc237f4b7c92f56ac81fd48460b3e5a"}, + {file = "mypy-1.13.0.tar.gz", hash = "sha256:0291a61b6fbf3e6673e3405cfcc0e7650bebc7939659fdca2702958038bd835e"}, ] [package.dependencies] @@ -340,6 +373,7 @@ typing-extensions = ">=4.6.0" [package.extras] dmypy = ["psutil (>=4.0)"] +faster-cache = ["orjson"] install-types = ["pip"] mypyc = ["setuptools (>=50)"] reports = ["lxml"] @@ -357,13 +391,13 @@ files = [ [[package]] name = "packaging" -version = "23.2" +version = "24.1" description = "Core utilities for Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"}, - {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, + {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, + {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, ] [[package]] @@ -383,24 +417,24 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "pycparser" -version = "2.21" +version = "2.22" description = "C parser in Python" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=3.8" files = [ - {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, - {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, + {file = "pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"}, + {file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"}, ] [[package]] name = "pyparsing" -version = "3.1.1" +version = "3.2.0" description = "pyparsing module - Classes and methods to define and execute parsing grammars" optional = false -python-versions = ">=3.6.8" +python-versions = ">=3.9" files = [ - {file = "pyparsing-3.1.1-py3-none-any.whl", hash = "sha256:32c7c0b711493c72ff18a981d24f28aaf9c1fb7ed5e9667c9e84e3db623bdbfb"}, - {file = "pyparsing-3.1.1.tar.gz", hash = "sha256:ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db"}, + {file = "pyparsing-3.2.0-py3-none-any.whl", hash = "sha256:93d9577b88da0bbea8cc8334ee8b918ed014968fd2ec383e868fb8afb1ccef84"}, + {file = "pyparsing-3.2.0.tar.gz", hash = "sha256:cbf74e27246d595d9a74b186b810f6fbb86726dbf3b9532efb343f6d7294fe9c"}, ] [package.extras] @@ -422,13 +456,13 @@ pywin32 = ">=223" [[package]] name = "pyspnego" -version = "0.10.2" +version = "0.11.1" description = "Windows Negotiate Authentication Client and Server" optional = false python-versions = ">=3.8" files = [ - {file = "pyspnego-0.10.2-py3-none-any.whl", hash = "sha256:3d5c5c28dbd0cd6a679acf45219630254db3c0e5ad4a16de521caa0585b088c0"}, - {file = "pyspnego-0.10.2.tar.gz", hash = "sha256:9a22c23aeae7b4424fdb2482450d3f8302ac012e2644e1cfe735cf468fcd12ed"}, + {file = "pyspnego-0.11.1-py3-none-any.whl", hash = "sha256:129a4294f2c4d681d5875240ef87accc6f1d921e8983737fb0b59642b397951e"}, + {file = "pyspnego-0.11.1.tar.gz", hash = "sha256:e92ed8b0a62765b9d6abbb86a48cf871228ddb97678598dc01c9c39a626823f6"}, ] [package.dependencies] @@ -477,25 +511,29 @@ six = ">=1.5" [[package]] name = "pywin32" -version = "306" +version = "308" description = "Python for Window Extensions" optional = false python-versions = "*" files = [ - {file = "pywin32-306-cp310-cp310-win32.whl", hash = "sha256:06d3420a5155ba65f0b72f2699b5bacf3109f36acbe8923765c22938a69dfc8d"}, - {file = "pywin32-306-cp310-cp310-win_amd64.whl", hash = "sha256:84f4471dbca1887ea3803d8848a1616429ac94a4a8d05f4bc9c5dcfd42ca99c8"}, - {file = "pywin32-306-cp311-cp311-win32.whl", hash = "sha256:e65028133d15b64d2ed8f06dd9fbc268352478d4f9289e69c190ecd6818b6407"}, - {file = "pywin32-306-cp311-cp311-win_amd64.whl", hash = "sha256:a7639f51c184c0272e93f244eb24dafca9b1855707d94c192d4a0b4c01e1100e"}, - {file = "pywin32-306-cp311-cp311-win_arm64.whl", hash = "sha256:70dba0c913d19f942a2db25217d9a1b726c278f483a919f1abfed79c9cf64d3a"}, - {file = "pywin32-306-cp312-cp312-win32.whl", hash = "sha256:383229d515657f4e3ed1343da8be101000562bf514591ff383ae940cad65458b"}, - {file = "pywin32-306-cp312-cp312-win_amd64.whl", hash = "sha256:37257794c1ad39ee9be652da0462dc2e394c8159dfd913a8a4e8eb6fd346da0e"}, - {file = "pywin32-306-cp312-cp312-win_arm64.whl", hash = "sha256:5821ec52f6d321aa59e2db7e0a35b997de60c201943557d108af9d4ae1ec7040"}, - {file = "pywin32-306-cp37-cp37m-win32.whl", hash = "sha256:1c73ea9a0d2283d889001998059f5eaaba3b6238f767c9cf2833b13e6a685f65"}, - {file = "pywin32-306-cp37-cp37m-win_amd64.whl", hash = "sha256:72c5f621542d7bdd4fdb716227be0dd3f8565c11b280be6315b06ace35487d36"}, - {file = "pywin32-306-cp38-cp38-win32.whl", hash = "sha256:e4c092e2589b5cf0d365849e73e02c391c1349958c5ac3e9d5ccb9a28e017b3a"}, - {file = "pywin32-306-cp38-cp38-win_amd64.whl", hash = "sha256:e8ac1ae3601bee6ca9f7cb4b5363bf1c0badb935ef243c4733ff9a393b1690c0"}, - {file = "pywin32-306-cp39-cp39-win32.whl", hash = "sha256:e25fd5b485b55ac9c057f67d94bc203f3f6595078d1fb3b458c9c28b7153a802"}, - {file = "pywin32-306-cp39-cp39-win_amd64.whl", hash = "sha256:39b61c15272833b5c329a2989999dcae836b1eed650252ab1b7bfbe1d59f30f4"}, + {file = "pywin32-308-cp310-cp310-win32.whl", hash = "sha256:796ff4426437896550d2981b9c2ac0ffd75238ad9ea2d3bfa67a1abd546d262e"}, + {file = "pywin32-308-cp310-cp310-win_amd64.whl", hash = "sha256:4fc888c59b3c0bef905ce7eb7e2106a07712015ea1c8234b703a088d46110e8e"}, + {file = "pywin32-308-cp310-cp310-win_arm64.whl", hash = "sha256:a5ab5381813b40f264fa3495b98af850098f814a25a63589a8e9eb12560f450c"}, + {file = "pywin32-308-cp311-cp311-win32.whl", hash = "sha256:5d8c8015b24a7d6855b1550d8e660d8daa09983c80e5daf89a273e5c6fb5095a"}, + {file = "pywin32-308-cp311-cp311-win_amd64.whl", hash = "sha256:575621b90f0dc2695fec346b2d6302faebd4f0f45c05ea29404cefe35d89442b"}, + {file = "pywin32-308-cp311-cp311-win_arm64.whl", hash = "sha256:100a5442b7332070983c4cd03f2e906a5648a5104b8a7f50175f7906efd16bb6"}, + {file = "pywin32-308-cp312-cp312-win32.whl", hash = "sha256:587f3e19696f4bf96fde9d8a57cec74a57021ad5f204c9e627e15c33ff568897"}, + {file = "pywin32-308-cp312-cp312-win_amd64.whl", hash = "sha256:00b3e11ef09ede56c6a43c71f2d31857cf7c54b0ab6e78ac659497abd2834f47"}, + {file = "pywin32-308-cp312-cp312-win_arm64.whl", hash = "sha256:9b4de86c8d909aed15b7011182c8cab38c8850de36e6afb1f0db22b8959e3091"}, + {file = "pywin32-308-cp313-cp313-win32.whl", hash = "sha256:1c44539a37a5b7b21d02ab34e6a4d314e0788f1690d65b48e9b0b89f31abbbed"}, + {file = "pywin32-308-cp313-cp313-win_amd64.whl", hash = "sha256:fd380990e792eaf6827fcb7e187b2b4b1cede0585e3d0c9e84201ec27b9905e4"}, + {file = "pywin32-308-cp313-cp313-win_arm64.whl", hash = "sha256:ef313c46d4c18dfb82a2431e3051ac8f112ccee1a34f29c263c583c568db63cd"}, + {file = "pywin32-308-cp37-cp37m-win32.whl", hash = "sha256:1f696ab352a2ddd63bd07430080dd598e6369152ea13a25ebcdd2f503a38f1ff"}, + {file = "pywin32-308-cp37-cp37m-win_amd64.whl", hash = "sha256:13dcb914ed4347019fbec6697a01a0aec61019c1046c2b905410d197856326a6"}, + {file = "pywin32-308-cp38-cp38-win32.whl", hash = "sha256:5794e764ebcabf4ff08c555b31bd348c9025929371763b2183172ff4708152f0"}, + {file = "pywin32-308-cp38-cp38-win_amd64.whl", hash = "sha256:3b92622e29d651c6b783e368ba7d6722b1634b8e70bd376fd7610fe1992e19de"}, + {file = "pywin32-308-cp39-cp39-win32.whl", hash = "sha256:7873ca4dc60ab3287919881a7d4f88baee4a6e639aa6962de25a98ba6b193341"}, + {file = "pywin32-308-cp39-cp39-win_amd64.whl", hash = "sha256:71b3322d949b4cc20776436a9c9ba0eeedcbc9c650daa536df63f0ff111bb920"}, ] [[package]] @@ -555,18 +593,18 @@ dev = ["setuptools-version-command"] [[package]] name = "requests-ntlm" -version = "1.2.0" +version = "1.3.0" description = "This package allows for HTTP NTLM authentication using the requests library." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "requests_ntlm-1.2.0-py3-none-any.whl", hash = "sha256:b7781090c647308a88b55fb530c7b3705cef45349e70a83b8d6731e7889272a6"}, - {file = "requests_ntlm-1.2.0.tar.gz", hash = "sha256:33c285f5074e317cbdd338d199afa46a7c01132e5c111d36bd415534e9b916a8"}, + {file = "requests_ntlm-1.3.0-py3-none-any.whl", hash = "sha256:4c7534a7d0e482bb0928531d621be4b2c74ace437e88c5a357ceb7452d25a510"}, + {file = "requests_ntlm-1.3.0.tar.gz", hash = "sha256:b29cc2462623dffdf9b88c43e180ccb735b4007228a542220e882c58ae56c668"}, ] [package.dependencies] cryptography = ">=1.3" -pyspnego = ">=0.1.6" +pyspnego = ">=0.4.0" requests = ">=2.0.0" [[package]] @@ -582,74 +620,80 @@ files = [ [[package]] name = "sspilib" -version = "0.1.0" +version = "0.2.0" description = "SSPI API bindings for Python" optional = false python-versions = ">=3.8" files = [ - {file = "sspilib-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5e43f3e684e9d29c80324bd54f52dac65ac4b18d81a2dcd529dce3994369a14d"}, - {file = "sspilib-0.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1eb34eda5d362b6603707a55751f1eff81775709b821e51cb64d1d2fa2bb8b6e"}, - {file = "sspilib-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8ffe123f056f78cbe18aaed6b15f06e252020061c3387a72615abd46699a0b24"}, - {file = "sspilib-0.1.0-cp310-cp310-win32.whl", hash = "sha256:a4151072e28ec3b7d785beac9548a3d6a4549c431eb5487a5b8a1de028e9fef0"}, - {file = "sspilib-0.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:2a19696c7b96b6bbef2b2ddf35df5a92f09b268476a348390a2f0da18cf29510"}, - {file = "sspilib-0.1.0-cp310-cp310-win_arm64.whl", hash = "sha256:d2778e5e2881405b4d359a604e2802f5b7a7ed433ff62d6073d04c203af10eb1"}, - {file = "sspilib-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:09d7f72ad5e4bbf9a8f1acf0d5f0c3f9fbe500f44c4a45ac24a99ece84f5654f"}, - {file = "sspilib-0.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e5705e11aaa030a61d2b0a2ce09d2b8a1962dd950e55adc7a3c87dd463c6878"}, - {file = "sspilib-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dced8213d311c56f5f38044716ebff5412cc156f19678659e8ffa9bb6a642bd7"}, - {file = "sspilib-0.1.0-cp311-cp311-win32.whl", hash = "sha256:d30d38d52dbd857732224e86ae3627d003cc510451083c69fa481fc7de88a7b6"}, - {file = "sspilib-0.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:61c9067168cce962f7fead42c28804c3a39a164b9a7b660200b8cfe31e3af071"}, - {file = "sspilib-0.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:b526b8e5a236553f5137b951b89a2f108f56138ad05f31fd0a51b10f80b6c3cc"}, - {file = "sspilib-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3ff356d40cd34c900f94f1591eaabd458284042af611ebc1dbf609002066dba5"}, - {file = "sspilib-0.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2b0fee3a52d0acef090f6c9b49953a8400fdc1c10aca7334319414a3038aa493"}, - {file = "sspilib-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ab52d190dad1d578ec40d1fb417a8571954f4e32f35442a14cb709f57d3acbc9"}, - {file = "sspilib-0.1.0-cp312-cp312-win32.whl", hash = "sha256:b3cf819094383ec883e9a63c11b81d622618c815c18a6c9d761d9a14d9f028d1"}, - {file = "sspilib-0.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:b83825a2c43ff84ddff72d09b098057efaabf3841d3c42888078e154cf8e9595"}, - {file = "sspilib-0.1.0-cp312-cp312-win_arm64.whl", hash = "sha256:9aa6ab4c3fc1057251cf1f3f199daf90b99599cdfafc9eade8fdf0c01526dec8"}, - {file = "sspilib-0.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:82bff5df178386027d0112458b6971bbd18c76eb9e7be53fd61dab33d7bf8417"}, - {file = "sspilib-0.1.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:18393a9e6e0447cb7f319d361b65e9a0eaa5484705f16787133ffc49ad364c28"}, - {file = "sspilib-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:88a423fbca206ba0ca811dc995d8c3af045402b7d330f033e938b24f3a1d93fc"}, - {file = "sspilib-0.1.0-cp38-cp38-win32.whl", hash = "sha256:86bd936b1ef0aa63c6d9623ad08473e74ceb15f342f6e92cbade15ed9574cd33"}, - {file = "sspilib-0.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:d4f688b94f0a64128444063e1d3d59152614175999222f6e2920681faea833f4"}, - {file = "sspilib-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2acef24e13e40d9dd8697eaae84ead9f417528ff741d087ec4eb4260518f4dc7"}, - {file = "sspilib-0.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4b625802d80144d856d5eb6e8f4412f186565758da4493c7ad1b88e3d6d353de"}, - {file = "sspilib-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c06ca1e34702bca1c750dcb5133b716f316b38dccb28d55a1a44d9842bc3f391"}, - {file = "sspilib-0.1.0-cp39-cp39-win32.whl", hash = "sha256:68496c9bd52b57a1b6d2e5529b43c30060249b8db901127b8343c4ad8cd93670"}, - {file = "sspilib-0.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:369727097f07a440099882580e284e137d9c27b7de354d63b65e327a454e7bee"}, - {file = "sspilib-0.1.0-cp39-cp39-win_arm64.whl", hash = "sha256:87d8268c0517149c51a53b3888961ebf66826bb3dbb82c4e5cf10108f5456104"}, - {file = "sspilib-0.1.0.tar.gz", hash = "sha256:58b5291553cf6220549c0f855e0e6973f4977375d8236ce47bb581efb3e9b1cf"}, + {file = "sspilib-0.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:34f566ba8b332c91594e21a71200de2d4ce55ca5a205541d4128ed23e3c98777"}, + {file = "sspilib-0.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5b11e4f030de5c5de0f29bcf41a6e87c9fd90cb3b0f64e446a6e1d1aef4d08f5"}, + {file = "sspilib-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3e82f87d77a9da62ce1eac22f752511a99495840177714c772a9d27b75220f78"}, + {file = "sspilib-0.2.0-cp310-cp310-win32.whl", hash = "sha256:e436fa09bcf353a364a74b3ef6910d936fa8cd1493f136e517a9a7e11b319c57"}, + {file = "sspilib-0.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:850a17c98d2b8579b183ce37a8df97d050bc5b31ab13f5a6d9e39c9692fe3754"}, + {file = "sspilib-0.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:a4d788a53b8db6d1caafba36887d5ac2087e6b6be6f01eb48f8afea6b646dbb5"}, + {file = "sspilib-0.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e0943204c8ba732966fdc5b69e33cf61d8dc6b24e6ed875f32055d9d7e2f76cd"}, + {file = "sspilib-0.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d1cdfc5ec2f151f26e21aa50ccc7f9848c969d6f78264ae4f38347609f6722df"}, + {file = "sspilib-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a6c33495a3de1552120c4a99219ebdd70e3849717867b8cae3a6a2f98fef405"}, + {file = "sspilib-0.2.0-cp311-cp311-win32.whl", hash = "sha256:400d5922c2c2261009921157c4b43d868e84640ad86e4dc84c95b07e5cc38ac6"}, + {file = "sspilib-0.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:d3e7d19c16ba9189ef8687b591503db06cfb9c5eb32ab1ca3bb9ebc1a8a5f35c"}, + {file = "sspilib-0.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:f65c52ead8ce95eb78a79306fe4269ee572ef3e4dcc108d250d5933da2455ecc"}, + {file = "sspilib-0.2.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:abac93a90335590b49ef1fc162b538576249c7f58aec0c7bcfb4b860513979b4"}, + {file = "sspilib-0.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1208720d8e431af674c5645cec365224d035f241444d5faa15dc74023ece1277"}, + {file = "sspilib-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e48dceb871ecf9cf83abdd0e6db5326e885e574f1897f6ae87d736ff558f4bfa"}, + {file = "sspilib-0.2.0-cp312-cp312-win32.whl", hash = "sha256:bdf9a4f424add02951e1f01f47441d2e69a9910471e99c2c88660bd8e184d7f8"}, + {file = "sspilib-0.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:40a97ca83e503a175d1dc9461836994e47e8b9bcf56cab81a2c22e27f1993079"}, + {file = "sspilib-0.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:8ffc09819a37005c66a580ff44f544775f9745d5ed1ceeb37df4e5ff128adf36"}, + {file = "sspilib-0.2.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:40ff410b64198cf1d704718754fc5fe7b9609e0c49bf85c970f64c6fc2786db4"}, + {file = "sspilib-0.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:02d8e0b6033de8ccf509ba44fdcda7e196cdedc0f8cf19eb22c5e4117187c82f"}, + {file = "sspilib-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ad7943fe14f8f6d72623ab6401991aa39a2b597bdb25e531741b37932402480f"}, + {file = "sspilib-0.2.0-cp313-cp313-win32.whl", hash = "sha256:b9044d6020aa88d512e7557694fe734a243801f9a6874e1c214451eebe493d92"}, + {file = "sspilib-0.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:c39a698491f43618efca8776a40fb7201d08c415c507f899f0df5ada15abefaa"}, + {file = "sspilib-0.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:863b7b214517b09367511c0ef931370f0386ed2c7c5613092bf9b106114c4a0e"}, + {file = "sspilib-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:a0ede7afba32f2b681196c0b8520617d99dc5d0691d04884d59b476e31b41286"}, + {file = "sspilib-0.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:bd95df50efb6586054963950c8fa91ef994fb73c5c022c6f85b16f702c5314da"}, + {file = "sspilib-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9460258d3dc3f71cc4dcfd6ac078e2fe26f272faea907384b7dd52cb91d9ddcc"}, + {file = "sspilib-0.2.0-cp38-cp38-win32.whl", hash = "sha256:6fa9d97671348b97567020d82fe36c4211a2cacf02abbccbd8995afbf3a40bfc"}, + {file = "sspilib-0.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:32422ad7406adece12d7c385019b34e3e35ff88a7c8f3d7c062da421772e7bfa"}, + {file = "sspilib-0.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6944a0d7fe64f88c9bde3498591acdb25b178902287919b962c398ed145f71b9"}, + {file = "sspilib-0.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0216344629b0f39c2193adb74d7e1bed67f1bbd619e426040674b7629407eba9"}, + {file = "sspilib-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c5f84b9f614447fc451620c5c44001ed48fead3084c7c9f2b9cefe1f4c5c3d0"}, + {file = "sspilib-0.2.0-cp39-cp39-win32.whl", hash = "sha256:b290eb90bf8b8136b0a61b189629442052e1a664bd78db82928ec1e81b681fb5"}, + {file = "sspilib-0.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:404c16e698476e500a7fe67be5457fadd52d8bdc9aeb6c554782c8f366cc4fc9"}, + {file = "sspilib-0.2.0-cp39-cp39-win_arm64.whl", hash = "sha256:8697e5dd9229cd3367bca49fba74e02f867759d1d416a717e26c3088041b9814"}, + {file = "sspilib-0.2.0.tar.gz", hash = "sha256:4d6cd4290ca82f40705efeb5e9107f7abcd5e647cb201a3d04371305938615b8"}, ] [[package]] name = "tomli" -version = "2.0.1" +version = "2.0.2" description = "A lil' TOML parser" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, + {file = "tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38"}, + {file = "tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"}, ] [[package]] name = "typing-extensions" -version = "4.9.0" +version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"}, - {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"}, + {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, + {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] [[package]] name = "urllib3" -version = "2.2.2" +version = "2.2.3" description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false python-versions = ">=3.8" files = [ - {file = "urllib3-2.2.2-py3-none-any.whl", hash = "sha256:a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472"}, - {file = "urllib3-2.2.2.tar.gz", hash = "sha256:dd505485549a7a552833da5e6063639d0d177c04f23bc3864e41e5dc5f612168"}, + {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, + {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, ] [package.extras] diff --git a/ansys-grantami-serverapi-openapi/pyproject.toml b/ansys-grantami-serverapi-openapi/pyproject.toml index 32859fed..fe67cb3f 100644 --- a/ansys-grantami-serverapi-openapi/pyproject.toml +++ b/ansys-grantami-serverapi-openapi/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ansys-grantami-serverapi-openapi" description = "Autogenerated client library for the Granta MI Server API." -version = "4.0.0.dev315" +version = "4.0.0.dev320" license = "MIT" authors = ["ANSYS, Inc. "] maintainers = ["ANSYS, Inc. "] @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Information Analysis", ] packages = [ @@ -43,7 +44,7 @@ mypy = "^1.8.0" [tool.tox] legacy_tox_ini = """ [tox] -envlist = py310,py311,py312 +envlist = py310,py311,py312,py313 isolated_build = True [testenv] diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py index 22ff3e1e..0df27fe7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -110,22 +110,22 @@ def _database_aggregation_with_http_info( "Missing the required parameter 'database_key' when calling 'database_aggregation'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -140,7 +140,7 @@ def _database_aggregation_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAggregationsResponse", 404: None, } @@ -232,24 +232,24 @@ def _database_aggregation_for_table_with_guid_with_http_info( "Missing the required parameter 'table_guid' when calling 'database_aggregation_for_table_with_guid'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -264,7 +264,7 @@ def _database_aggregation_for_table_with_guid_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAggregationsResponse", 404: None, } @@ -356,24 +356,24 @@ def _database_aggregation_for_table_with_identity_with_http_info( "Missing the required parameter 'table_identity' when calling 'database_aggregation_for_table_with_identity'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_identity" in params and table_identity is not None: path_params["table-identity"] = params["table_identity"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -388,7 +388,7 @@ def _database_aggregation_for_table_with_identity_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAggregationsResponse", 404: None, } @@ -455,18 +455,18 @@ def _integration_aggregation_with_http_info( "Missing the required parameter 'schema' when calling 'integration_aggregation'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -481,7 +481,7 @@ def _integration_aggregation_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAggregationsResponse", 404: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py index 943f9f3d..c78259d1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -118,9 +118,9 @@ def _append_values_for_discrete_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'append_values_for_discrete_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -128,12 +128,12 @@ def _append_values_for_discrete_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -146,7 +146,7 @@ def _append_values_for_discrete_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteDatum", 400: None, 403: None, @@ -253,9 +253,9 @@ def _append_values_for_discrete_attribute_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'append_values_for_discrete_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -265,12 +265,12 @@ def _append_values_for_discrete_attribute_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -283,7 +283,7 @@ def _append_values_for_discrete_attribute_from_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteDatum", 400: None, 403: None, @@ -376,9 +376,9 @@ def _append_values_for_point_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'append_values_for_point_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -386,12 +386,12 @@ def _append_values_for_point_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -404,7 +404,7 @@ def _append_values_for_point_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaPointDatum", 400: None, 403: None, @@ -511,9 +511,9 @@ def _append_values_for_point_attribute_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'append_values_for_point_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -523,12 +523,12 @@ def _append_values_for_point_attribute_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -541,7 +541,7 @@ def _append_values_for_point_attribute_from_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaPointDatum", 400: None, 403: None, @@ -653,9 +653,9 @@ def _delete_cell_datum_for_tabular_attribute_with_http_info( "Missing the required parameter 'column_guid' when calling 'delete_cell_datum_for_tabular_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -667,16 +667,16 @@ def _delete_cell_datum_for_tabular_attribute_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -797,9 +797,9 @@ def _delete_cell_datum_for_tabular_attribute_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'delete_cell_datum_for_tabular_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -813,16 +813,16 @@ def _delete_cell_datum_for_tabular_attribute_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -902,9 +902,9 @@ def _delete_datum_for_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'delete_datum_for_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -912,16 +912,16 @@ def _delete_datum_for_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -1022,9 +1022,9 @@ def _delete_datum_for_attribute_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'delete_datum_for_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1034,16 +1034,16 @@ def _delete_datum_for_attribute_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -1156,9 +1156,9 @@ def _export_binary_data_for_latest_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'export_binary_data_for_latest'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -1166,7 +1166,7 @@ def _export_binary_data_for_latest_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -1174,12 +1174,12 @@ def _export_binary_data_for_latest_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1187,7 +1187,7 @@ def _export_binary_data_for_latest_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -1310,9 +1310,9 @@ def _export_binary_data_for_latest_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'export_binary_data_for_latest_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1322,7 +1322,7 @@ def _export_binary_data_for_latest_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -1330,12 +1330,12 @@ def _export_binary_data_for_latest_from_table_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1343,7 +1343,7 @@ def _export_binary_data_for_latest_from_table_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -1466,9 +1466,9 @@ def _export_binary_data_for_version_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'export_binary_data_for_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -1478,7 +1478,7 @@ def _export_binary_data_for_version_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -1486,12 +1486,12 @@ def _export_binary_data_for_version_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1499,7 +1499,7 @@ def _export_binary_data_for_version_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -1632,9 +1632,9 @@ def _export_binary_data_for_version_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'export_binary_data_for_version_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1646,7 +1646,7 @@ def _export_binary_data_for_version_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -1654,12 +1654,12 @@ def _export_binary_data_for_version_from_table_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1667,7 +1667,7 @@ def _export_binary_data_for_version_from_table_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -1800,9 +1800,9 @@ def _export_cell_binary_data_for_latest_with_http_info( "Missing the required parameter 'column_guid' when calling 'export_cell_binary_data_for_latest'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -1814,7 +1814,7 @@ def _export_cell_binary_data_for_latest_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -1822,12 +1822,12 @@ def _export_cell_binary_data_for_latest_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1835,7 +1835,7 @@ def _export_cell_binary_data_for_latest_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -1978,9 +1978,9 @@ def _export_cell_binary_data_for_latest_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'export_cell_binary_data_for_latest_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1994,7 +1994,7 @@ def _export_cell_binary_data_for_latest_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -2002,12 +2002,12 @@ def _export_cell_binary_data_for_latest_from_table_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -2015,7 +2015,7 @@ def _export_cell_binary_data_for_latest_from_table_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -2158,9 +2158,9 @@ def _export_cell_binary_data_for_version_with_http_info( "Missing the required parameter 'column_guid' when calling 'export_cell_binary_data_for_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -2174,7 +2174,7 @@ def _export_cell_binary_data_for_version_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -2182,12 +2182,12 @@ def _export_cell_binary_data_for_version_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -2195,7 +2195,7 @@ def _export_cell_binary_data_for_version_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -2348,9 +2348,9 @@ def _export_cell_binary_data_for_version_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'export_cell_binary_data_for_version_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -2366,7 +2366,7 @@ def _export_cell_binary_data_for_version_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "max_width" in params and max_width is not None: @@ -2374,12 +2374,12 @@ def _export_cell_binary_data_for_version_from_table_with_http_info( if "max_height" in params and max_height is not None: query_params.append(("maxHeight", params["max_height"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -2387,7 +2387,7 @@ def _export_cell_binary_data_for_version_from_table_with_http_info( ["application/octet-stream", "application/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 400: None, 404: None, @@ -2510,9 +2510,9 @@ def _get_cell_datum_for_latest_with_http_info( "Missing the required parameter 'column_guid' when calling 'get_cell_datum_for_latest'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -2524,22 +2524,22 @@ def _get_cell_datum_for_latest_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -2671,9 +2671,9 @@ def _get_cell_datum_for_latest_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'get_cell_datum_for_latest_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -2687,22 +2687,22 @@ def _get_cell_datum_for_latest_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -2834,9 +2834,9 @@ def _get_cell_datum_for_version_with_http_info( "Missing the required parameter 'column_guid' when calling 'get_cell_datum_for_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -2850,22 +2850,22 @@ def _get_cell_datum_for_version_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -3007,9 +3007,9 @@ def _get_cell_datum_for_version_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'get_cell_datum_for_version_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -3025,22 +3025,22 @@ def _get_cell_datum_for_version_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -3152,9 +3152,9 @@ def _get_datum_for_latest_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'get_datum_for_latest'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -3162,7 +3162,7 @@ def _get_datum_for_latest_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "filter_empty_cells" in params and filter_empty_cells is not None: @@ -3170,18 +3170,18 @@ def _get_datum_for_latest_with_http_info( if "filter_empty_rows" in params and filter_empty_rows is not None: query_params.append(("filterEmptyRows", params["filter_empty_rows"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -3303,9 +3303,9 @@ def _get_datum_for_latest_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'get_datum_for_latest_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -3315,7 +3315,7 @@ def _get_datum_for_latest_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "filter_empty_cells" in params and filter_empty_cells is not None: @@ -3323,18 +3323,18 @@ def _get_datum_for_latest_from_table_with_http_info( if "filter_empty_rows" in params and filter_empty_rows is not None: query_params.append(("filterEmptyRows", params["filter_empty_rows"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -3456,9 +3456,9 @@ def _get_datum_for_version_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'get_datum_for_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -3468,7 +3468,7 @@ def _get_datum_for_version_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "filter_empty_cells" in params and filter_empty_cells is not None: @@ -3476,18 +3476,18 @@ def _get_datum_for_version_with_http_info( if "filter_empty_rows" in params and filter_empty_rows is not None: query_params.append(("filterEmptyRows", params["filter_empty_rows"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -3619,9 +3619,9 @@ def _get_datum_for_version_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'get_datum_for_version_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -3633,7 +3633,7 @@ def _get_datum_for_version_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "filter_empty_cells" in params and filter_empty_cells is not None: @@ -3641,18 +3641,18 @@ def _get_datum_for_version_from_table_with_http_info( if "filter_empty_rows" in params and filter_empty_rows is not None: query_params.append(("filterEmptyRows", params["filter_empty_rows"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 404: None, } @@ -3767,9 +3767,9 @@ def _set_cell_datum_for_tabular_attribute_with_http_info( "Missing the required parameter 'column_guid' when calling 'set_cell_datum_for_tabular_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -3781,12 +3781,12 @@ def _set_cell_datum_for_tabular_attribute_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -3799,7 +3799,7 @@ def _set_cell_datum_for_tabular_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 400: None, 403: None, @@ -3926,9 +3926,9 @@ def _set_cell_datum_for_tabular_attribute_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'set_cell_datum_for_tabular_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -3942,12 +3942,12 @@ def _set_cell_datum_for_tabular_attribute_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -3960,7 +3960,7 @@ def _set_cell_datum_for_tabular_attribute_from_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 400: None, 403: None, @@ -4092,9 +4092,9 @@ def _set_cell_file_datum_for_tabular_attribute_with_http_info( "Missing the required parameter 'column_guid' when calling 'set_cell_file_datum_for_tabular_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -4106,12 +4106,12 @@ def _set_cell_file_datum_for_tabular_attribute_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["File"] = params["file"] if "description" in params and description is not None: @@ -4128,7 +4128,7 @@ def _set_cell_file_datum_for_tabular_attribute_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileDatum", 400: None, 403: None, @@ -4270,9 +4270,9 @@ def _set_cell_file_datum_for_tabular_attribute_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'set_cell_file_datum_for_tabular_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -4286,12 +4286,12 @@ def _set_cell_file_datum_for_tabular_attribute_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["File"] = params["file"] if "description" in params and description is not None: @@ -4308,7 +4308,7 @@ def _set_cell_file_datum_for_tabular_attribute_from_table_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileDatum", 400: None, 403: None, @@ -4425,9 +4425,9 @@ def _set_cell_picture_datum_for_tabular_attribute_with_http_info( "Missing the required parameter 'column_guid' when calling 'set_cell_picture_datum_for_tabular_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -4439,12 +4439,12 @@ def _set_cell_picture_datum_for_tabular_attribute_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "picture" in params and picture is not None: local_var_files["Picture"] = params["picture"] @@ -4455,7 +4455,7 @@ def _set_cell_picture_datum_for_tabular_attribute_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaPictureDatum", 400: None, 403: None, @@ -4583,9 +4583,9 @@ def _set_cell_picture_datum_for_tabular_attribute_from_table_with_http_info( "Missing the required parameter 'column_guid' when calling 'set_cell_picture_datum_for_tabular_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -4599,12 +4599,12 @@ def _set_cell_picture_datum_for_tabular_attribute_from_table_with_http_info( if "column_guid" in params and column_guid is not None: path_params["column-guid"] = params["column_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "picture" in params and picture is not None: local_var_files["Picture"] = params["picture"] @@ -4615,7 +4615,7 @@ def _set_cell_picture_datum_for_tabular_attribute_from_table_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaPictureDatum", 400: None, 403: None, @@ -4709,9 +4709,9 @@ def _set_datum_for_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_datum_for_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -4719,12 +4719,12 @@ def _set_datum_for_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -4737,7 +4737,7 @@ def _set_datum_for_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 400: None, 403: None, @@ -4845,9 +4845,9 @@ def _set_datum_for_attribute_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_datum_for_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -4857,12 +4857,12 @@ def _set_datum_for_attribute_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -4875,7 +4875,7 @@ def _set_datum_for_attribute_from_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatum", 400: None, 403: None, @@ -4957,9 +4957,9 @@ def _set_datum_not_applicable_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_datum_not_applicable'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -4967,16 +4967,16 @@ def _set_datum_not_applicable_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -5077,9 +5077,9 @@ def _set_datum_not_applicable_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_datum_not_applicable_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -5089,16 +5089,16 @@ def _set_datum_not_applicable_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -5209,9 +5209,9 @@ def _set_file_datum_for_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_file_datum_for_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -5219,12 +5219,12 @@ def _set_file_datum_for_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["File"] = params["file"] if "description" in params and description is not None: @@ -5241,7 +5241,7 @@ def _set_file_datum_for_attribute_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileDatum", 400: None, 403: None, @@ -5363,9 +5363,9 @@ def _set_file_datum_for_attribute_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_file_datum_for_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -5375,12 +5375,12 @@ def _set_file_datum_for_attribute_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["File"] = params["file"] if "description" in params and description is not None: @@ -5397,7 +5397,7 @@ def _set_file_datum_for_attribute_from_table_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileDatum", 400: None, 403: None, @@ -5490,9 +5490,9 @@ def _set_picture_datum_for_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_picture_datum_for_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: @@ -5500,12 +5500,12 @@ def _set_picture_datum_for_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "picture" in params and picture is not None: local_var_files["Picture"] = params["picture"] @@ -5516,7 +5516,7 @@ def _set_picture_datum_for_attribute_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaPictureDatum", 400: None, 403: None, @@ -5624,9 +5624,9 @@ def _set_picture_datum_for_attribute_from_table_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'set_picture_datum_for_attribute_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -5636,12 +5636,12 @@ def _set_picture_datum_for_attribute_from_table_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "picture" in params and picture is not None: local_var_files["Picture"] = params["picture"] @@ -5652,7 +5652,7 @@ def _set_picture_datum_for_attribute_from_table_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaPictureDatum", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py index 5a20ed61..0aa570a1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -108,22 +108,22 @@ def _export_data_with_http_info( "Missing the required parameter 'database_key' when calling 'export_data'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -138,7 +138,7 @@ def _export_data_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDataExportResponse", 404: None, 403: None, @@ -206,18 +206,18 @@ def _export_data_from_integration_schema_with_http_info( "Missing the required parameter 'schema' when calling 'export_data_from_integration_schema'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -232,7 +232,7 @@ def _export_data_from_integration_schema_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDataExportResponse", 404: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py index 43a0ab3a..e52b07d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -106,9 +106,9 @@ def _generate_schema_from_layout_with_http_info( "Missing the required parameter 'layout_identity' when calling 'generate_schema_from_layout'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_identity" in params and table_identity is not None: @@ -116,12 +116,12 @@ def _generate_schema_from_layout_with_http_info( if "layout_identity" in params and layout_identity is not None: path_params["layout-identity"] = params["layout_identity"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -129,7 +129,7 @@ def _generate_schema_from_layout_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -209,9 +209,9 @@ def _generate_schema_from_layout_name_with_http_info( "Missing the required parameter 'layout_name' when calling 'generate_schema_from_layout_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_identity" in params and table_identity is not None: @@ -219,12 +219,12 @@ def _generate_schema_from_layout_name_with_http_info( if "layout_name" in params and layout_name is not None: path_params["layout-name"] = params["layout_name"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -232,7 +232,7 @@ def _generate_schema_from_layout_name_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -312,9 +312,9 @@ def _generate_schema_from_layout_name_with_table_name_with_http_info( "Missing the required parameter 'layout_name' when calling 'generate_schema_from_layout_name_with_table_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_name" in params and table_name is not None: @@ -322,12 +322,12 @@ def _generate_schema_from_layout_name_with_table_name_with_http_info( if "layout_name" in params and layout_name is not None: path_params["layout-name"] = params["layout_name"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -335,7 +335,7 @@ def _generate_schema_from_layout_name_with_table_name_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -415,9 +415,9 @@ def _generate_schema_from_layout_with_table_name_with_http_info( "Missing the required parameter 'layout_identity' when calling 'generate_schema_from_layout_with_table_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_name" in params and table_name is not None: @@ -425,12 +425,12 @@ def _generate_schema_from_layout_with_table_name_with_http_info( if "layout_identity" in params and layout_identity is not None: path_params["layout-identity"] = params["layout_identity"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -438,7 +438,7 @@ def _generate_schema_from_layout_with_table_name_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -461,7 +461,7 @@ def _generate_schema_from_layout_with_table_name_with_http_info( ) def generate_schema_from_standard_names( - self, *, database_key: "str", body: "Optional[List[str]]" = None + self, *, database_key: "str", body: "Optional[list[str]]" = None ) -> "Union[GsaGeneratedIntegrationSchemaOfObjectIdentifier, None]": """Generate an integration schema with attributes for each provided standard name in the given database. The user must be an Admin user for the database. @@ -470,7 +470,7 @@ def generate_schema_from_standard_names( Parameters ---------- database_key: str - body: List[str] + body: list[str] Returns ------- @@ -482,7 +482,7 @@ def generate_schema_from_standard_names( return data # type: ignore[no-any-return] def _generate_schema_from_standard_names_with_http_info( - self, database_key: "str", body: "Optional[List[str]]" = None, **kwargs: Any + self, database_key: "str", body: "Optional[list[str]]" = None, **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -506,18 +506,18 @@ def _generate_schema_from_standard_names_with_http_info( "Missing the required parameter 'database_key' when calling 'generate_schema_from_standard_names'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -532,7 +532,7 @@ def _generate_schema_from_standard_names_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -555,7 +555,7 @@ def _generate_schema_from_standard_names_with_http_info( ) def generate_schema_from_standard_names_all_databases( - self, *, body: "Optional[List[str]]" = None + self, *, body: "Optional[list[str]]" = None ) -> "Union[GsaGeneratedIntegrationSchemaOfObjectIdentifier, None]": """Generate an integration schema with attributes for each provided standard name. This will include attribute from all loaded databases for which the user is an Admin. @@ -563,7 +563,7 @@ def generate_schema_from_standard_names_all_databases( Parameters ---------- - body: List[str] + body: list[str] Returns ------- @@ -575,7 +575,7 @@ def generate_schema_from_standard_names_all_databases( return data # type: ignore[no-any-return] def _generate_schema_from_standard_names_all_databases_with_http_info( - self, body: "Optional[List[str]]" = None, **kwargs: Any + self, body: "Optional[list[str]]" = None, **kwargs: Any ) -> Any: all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] @@ -588,16 +588,16 @@ def _generate_schema_from_standard_names_all_databases_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -612,7 +612,7 @@ def _generate_schema_from_standard_names_all_databases_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -685,20 +685,20 @@ def _generate_schema_from_table_with_http_info( "Missing the required parameter 'table_identity' when calling 'generate_schema_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_identity" in params and table_identity is not None: path_params["table-identity"] = params["table_identity"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -706,7 +706,7 @@ def _generate_schema_from_table_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -779,20 +779,20 @@ def _generate_schema_from_table_name_with_http_info( "Missing the required parameter 'table_name' when calling 'generate_schema_from_table_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_name" in params and table_name is not None: path_params["table-name"] = params["table_name"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -800,7 +800,7 @@ def _generate_schema_from_table_name_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGeneratedIntegrationSchemaOfObjectIdentifier", 403: None, 404: None, @@ -868,20 +868,20 @@ def _get_search_index_status_with_http_info( "Missing the required parameter 'database_key' when calling 'get_search_index_status'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "include_errors" in params and include_errors is not None: query_params.append(("include-errors", params["include_errors"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -889,7 +889,7 @@ def _get_search_index_status_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSearchIndexStatus", 403: None, 404: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py index 93ab8b13..4b0475d6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -82,22 +82,22 @@ def _get_help_url_with_http_info(self, help_key: "str", **kwargs: Any) -> Any: "Missing the required parameter 'help_key' when calling 'get_help_url'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "help_key" in params and help_key is not None: path_params["help-key"] = params["help_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, } @@ -151,22 +151,22 @@ def _get_help_url_redirect_with_http_info(self, help_key: "str", **kwargs: Any) "Missing the required parameter 'help_key' when calling 'get_help_url_redirect'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "help_key" in params and help_key is not None: path_params["help-key"] = params["help_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 302: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py index 3f0adc43..28ad6267 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -78,16 +78,16 @@ def _add_schema_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -102,7 +102,7 @@ def _add_schema_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaIntegrationSchemaOfObjectIdentifier", 400: None, 403: None, @@ -126,7 +126,7 @@ def _add_schema_with_http_info( def all_schema_status( self, *, include_errors: "Optional[bool]" = None - ) -> "Union[Dict[str, GsaIntegrationSchemaStatus], None]": + ) -> "Union[None, dict[str, GsaIntegrationSchemaStatus]]": """Returns the status of all available integration schemas. This method makes a synchronous HTTP request. @@ -137,7 +137,7 @@ def all_schema_status( Returns ------- - Union[Dict[str, GsaIntegrationSchemaStatus], None] + Union[None, dict[str, GsaIntegrationSchemaStatus]] """ data = self._all_schema_status_with_http_info(include_errors, _return_http_data_only=True) return data # type: ignore[no-any-return] @@ -161,18 +161,18 @@ def _all_schema_status_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] if "include_errors" in params and include_errors is not None: query_params.append(("include-errors", params["include_errors"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -180,7 +180,7 @@ def _all_schema_status_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "dict(str, GsaIntegrationSchemaStatus)", 403: None, } @@ -233,22 +233,22 @@ def _delete_schema_with_http_info(self, schema: "str", **kwargs: Any) -> Any: if "schema" not in params or params["schema"] is None: raise ValueError("Missing the required parameter 'schema' when calling 'delete_schema'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 204: None, 403: None, 404: None, @@ -314,22 +314,22 @@ def _get_schema_with_http_info( if "schema" not in params or params["schema"] is None: raise ValueError("Missing the required parameter 'schema' when calling 'get_schema'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "include_implicit_attributes" in params and include_implicit_attributes is not None: query_params.append( ("includeImplicitAttributes", params["include_implicit_attributes"]) ) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -337,7 +337,7 @@ def _get_schema_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaIntegrationSchemaOfObjectIdentifier", 404: None, } @@ -404,20 +404,20 @@ def _get_status_for_integration_schema_with_http_info( "Missing the required parameter 'schema' when calling 'get_status_for_integration_schema'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "include_errors" in params and include_errors is not None: query_params.append(("include-errors", params["include_errors"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -425,7 +425,7 @@ def _get_status_for_integration_schema_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaIntegrationSchemaStatus", 403: None, 404: None, @@ -449,7 +449,7 @@ def _get_status_for_integration_schema_with_http_info( def schema_table_mappings( self, *, schema: "str", database_key: "str", table_identity: "int" - ) -> "Union[List[GsaSourceOfObjectIdentifier], None]": + ) -> "Union[None, list[GsaSourceOfObjectIdentifier]]": """Returns a list of the schema source mapping from the given table. Will fail if the database is not loaded in MI. Names and identities of source items will be populated. This method makes a synchronous HTTP request. @@ -462,7 +462,7 @@ def schema_table_mappings( Returns ------- - Union[List[GsaSourceOfObjectIdentifier], None] + Union[None, list[GsaSourceOfObjectIdentifier]] """ data = self._schema_table_mappings_with_http_info( schema, database_key, table_identity, _return_http_data_only=True @@ -505,9 +505,9 @@ def _schema_table_mappings_with_http_info( "Missing the required parameter 'table_identity' when calling 'schema_table_mappings'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] if "database_key" in params and database_key is not None: @@ -515,12 +515,12 @@ def _schema_table_mappings_with_http_info( if "table_identity" in params and table_identity is not None: path_params["table-identity"] = params["table_identity"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -528,7 +528,7 @@ def _schema_table_mappings_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "list[GsaSourceOfObjectIdentifier]", 404: None, } @@ -551,7 +551,7 @@ def _schema_table_mappings_with_http_info( def schema_targets( self, *, schema: "str", include_implicit_attributes: "Optional[bool]" = None - ) -> "Union[List[GsaIntegrationAttribute], None]": + ) -> "Union[None, list[GsaIntegrationAttribute]]": """Returns a list of the attributes defined in the integration schema. This method makes a synchronous HTTP request. @@ -565,7 +565,7 @@ def schema_targets( Returns ------- - Union[List[GsaIntegrationAttribute], None] + Union[None, list[GsaIntegrationAttribute]] """ data = self._schema_targets_with_http_info( schema, include_implicit_attributes, _return_http_data_only=True @@ -597,22 +597,22 @@ def _schema_targets_with_http_info( "Missing the required parameter 'schema' when calling 'schema_targets'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "include_implicit_attributes" in params and include_implicit_attributes is not None: query_params.append( ("includeImplicitAttributes", params["include_implicit_attributes"]) ) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -620,7 +620,7 @@ def _schema_targets_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "list[GsaIntegrationAttribute]", 404: None, } @@ -641,14 +641,14 @@ def _schema_targets_with_http_info( response_type_map=response_type_map, ) - def schemas(self) -> "List[str]": + def schemas(self) -> "list[str]": """Lists the available integration schemas. This method makes a synchronous HTTP request. Returns ------- - List[str] + list[str] """ data = self._schemas_with_http_info(_return_http_data_only=True) return data # type: ignore[no-any-return] @@ -663,16 +663,16 @@ def _schemas_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -680,7 +680,7 @@ def _schemas_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "list[str]", } @@ -748,18 +748,18 @@ def _update_schema_with_http_info( if "schema" not in params or params["schema"] is None: raise ValueError("Missing the required parameter 'schema' when calling 'update_schema'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -774,7 +774,7 @@ def _update_schema_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaIntegrationSchemaOfObjectIdentifier", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py index 6f4d30f2..b2eaf3e5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -76,16 +76,16 @@ def _create_job_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -100,7 +100,7 @@ def _create_job_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaJob", } @@ -149,22 +149,22 @@ def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: if "id" not in params or params["id"] is None: raise ValueError("Missing the required parameter 'id' when calling 'delete_job'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 204: None, 404: None, @@ -186,23 +186,23 @@ def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: response_type_map=response_type_map, ) - def delete_jobs(self, *, body: "Optional[List[str]]" = None) -> "Union[List[str], None]": + def delete_jobs(self, *, body: "Optional[list[str]]" = None) -> "Union[None, list[str]]": """Delete specified jobs. This method makes a synchronous HTTP request. Parameters ---------- - body: List[str] + body: list[str] Returns ------- - Union[List[str], None] + Union[None, list[str]] """ data = self._delete_jobs_with_http_info(body, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _delete_jobs_with_http_info(self, body: "Optional[List[str]]" = None, **kwargs: Any) -> Any: + def _delete_jobs_with_http_info(self, body: "Optional[list[str]]" = None, **kwargs: Any) -> Any: all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() @@ -212,16 +212,16 @@ def _delete_jobs_with_http_info(self, body: "Optional[List[str]]" = None, **kwar params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -236,7 +236,7 @@ def _delete_jobs_with_http_info(self, body: "Optional[List[str]]" = None, **kwar ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "list[str]", 422: None, 500: None, @@ -282,16 +282,16 @@ def _get_current_user_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -299,7 +299,7 @@ def _get_current_user_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaCurrentUser", } @@ -348,18 +348,18 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: if "id" not in params or params["id"] is None: raise ValueError("Missing the required parameter 'id' when calling 'get_job'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -367,7 +367,7 @@ def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaJob", 404: None, } @@ -435,26 +435,26 @@ def _get_job_output_file_with_http_info( "Missing the required parameter 'file_name' when calling 'get_job_output_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "file_name" in params and file_name is not None: query_params.append(("fileName", params["file_name"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/octet-stream"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "file", 404: None, } @@ -547,11 +547,11 @@ def _get_jobs_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] if "job_type" in params and job_type is not None: query_params.append(("jobType", params["job_type"])) if "status" in params and status is not None: @@ -567,10 +567,10 @@ def _get_jobs_with_http_info( if "page_number" in params and page_number is not None: query_params.append(("pageNumber", params["page_number"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -578,7 +578,7 @@ def _get_jobs_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGetJobsResponse", } @@ -598,7 +598,7 @@ def _get_jobs_with_http_info( response_type_map=response_type_map, ) - def get_output_filenames(self, *, id: "str") -> "Union[List[str], None]": + def get_output_filenames(self, *, id: "str") -> "Union[None, list[str]]": """Get a job's output filenames. This method makes a synchronous HTTP request. @@ -609,7 +609,7 @@ def get_output_filenames(self, *, id: "str") -> "Union[List[str], None]": Returns ------- - Union[List[str], None] + Union[None, list[str]] """ data = self._get_output_filenames_with_http_info(id, _return_http_data_only=True) return data # type: ignore[no-any-return] @@ -631,18 +631,18 @@ def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any: "Missing the required parameter 'id' when calling 'get_output_filenames'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -650,7 +650,7 @@ def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "list[str]", 404: None, } @@ -695,16 +695,16 @@ def _get_processing_config_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -712,7 +712,7 @@ def _get_processing_config_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaProcessingConfig", } @@ -761,22 +761,22 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any: if "id" not in params or params["id"] is None: raise ValueError("Missing the required parameter 'id' when calling 'move_to_top'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 404: None, } @@ -826,18 +826,18 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: if "id" not in params or params["id"] is None: raise ValueError("Missing the required parameter 'id' when calling 'restore_job'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -845,7 +845,7 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaCreateJobRequest", 404: None, } @@ -906,18 +906,18 @@ def _resubmit_with_http_info( if "id" not in params or params["id"] is None: raise ValueError("Missing the required parameter 'id' when calling 'resubmit'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -932,7 +932,7 @@ def _resubmit_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaJob", 404: None, } @@ -993,18 +993,18 @@ def _update_job_with_http_info( if "id" not in params or params["id"] is None: raise ValueError("Missing the required parameter 'id' when calling 'update_job'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "id" in params and id is not None: path_params["id"] = params["id"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1019,7 +1019,7 @@ def _update_job_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaJob", 404: None, } @@ -1068,16 +1068,16 @@ def _upload_file_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["file"] = params["file"] @@ -1090,7 +1090,7 @@ def _upload_file_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "str", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py index 2bd8e84f..acdd4797 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -80,16 +80,16 @@ def _checkout_app_license_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -104,7 +104,7 @@ def _checkout_app_license_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAppNameLicenseCheckoutResponse", } @@ -148,16 +148,16 @@ def _ensure_user_license_available_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -165,7 +165,7 @@ def _ensure_user_license_available_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: "MicrosoftAspNetCoreMvcObjectResult", } @@ -210,16 +210,16 @@ def _get_server_license_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -227,7 +227,7 @@ def _get_server_license_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaEnabledLicensesInfo", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py index 7e9ed5f4..602b61cb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -97,18 +97,18 @@ def _add_items_to_list_with_http_info( "Missing the required parameter 'list_identifier' when calling 'add_items_to_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -123,7 +123,7 @@ def _add_items_to_list_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 202: "GsaRecordListItemsInfo", 400: None, 403: None, @@ -184,18 +184,18 @@ def _get_list_items_with_http_info(self, list_identifier: "str", **kwargs: Any) "Missing the required parameter 'list_identifier' when calling 'get_list_items'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -203,7 +203,7 @@ def _get_list_items_with_http_info(self, list_identifier: "str", **kwargs: Any) ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListItemsInfo", 403: None, 404: None, @@ -274,18 +274,18 @@ def _remove_items_from_list_with_http_info( "Missing the required parameter 'list_identifier' when calling 'remove_items_from_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -300,7 +300,7 @@ def _remove_items_from_list_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 202: "GsaRecordListItemsInfo", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py index 80ceec81..f371d603 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -84,18 +84,18 @@ def _copy_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> An "Missing the required parameter 'list_identifier' when calling 'copy_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -103,7 +103,7 @@ def _copy_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> An ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordListHeader", 403: None, 404: None, @@ -155,16 +155,16 @@ def _create_list_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -179,7 +179,7 @@ def _create_list_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordListHeader", 400: None, 403: None, @@ -237,22 +237,22 @@ def _delete_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> "Missing the required parameter 'list_identifier' when calling 'delete_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -298,16 +298,16 @@ def _get_all_lists_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -315,7 +315,7 @@ def _get_all_lists_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListHeadersInfo", 403: None, } @@ -372,18 +372,18 @@ def _get_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any "Missing the required parameter 'list_identifier' when calling 'get_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -391,7 +391,7 @@ def _get_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListHeader", 403: None, 404: None, @@ -460,18 +460,18 @@ def _get_record_list_search_results_with_http_info( "Missing the required parameter 'result_resource_identifier' when calling 'get_record_list_search_results'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "result_resource_identifier" in params and result_resource_identifier is not None: path_params["resultResourceIdentifier"] = params["result_resource_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -479,7 +479,7 @@ def _get_record_list_search_results_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListSearchResultsInfo", 403: None, 404: None, @@ -540,18 +540,18 @@ def _publish_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> "Missing the required parameter 'list_identifier' when calling 'publish_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -559,7 +559,7 @@ def _publish_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListHeader", 400: None, 403: None, @@ -620,18 +620,18 @@ def _request_approval_with_http_info(self, list_identifier: "str", **kwargs: Any "Missing the required parameter 'list_identifier' when calling 'request_approval'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -639,7 +639,7 @@ def _request_approval_with_http_info(self, list_identifier: "str", **kwargs: Any ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListHeader", 400: None, 403: None, @@ -704,18 +704,18 @@ def _reset_awaiting_approval_with_http_info(self, list_identifier: "str", **kwar "Missing the required parameter 'list_identifier' when calling 'reset_awaiting_approval'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -723,7 +723,7 @@ def _reset_awaiting_approval_with_http_info(self, list_identifier: "str", **kwar ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListHeader", 400: None, 403: None, @@ -782,18 +782,18 @@ def _revise_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> "Missing the required parameter 'list_identifier' when calling 'revise_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -801,7 +801,7 @@ def _revise_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordListHeader", 400: None, 403: None, @@ -856,16 +856,16 @@ def _run_record_lists_search_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -880,7 +880,7 @@ def _run_record_lists_search_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordListSearchInfo", 400: None, 403: None, @@ -940,18 +940,18 @@ def _unpublish_list_with_http_info(self, list_identifier: "str", **kwargs: Any) "Missing the required parameter 'list_identifier' when calling 'unpublish_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -959,7 +959,7 @@ def _unpublish_list_with_http_info(self, list_identifier: "str", **kwargs: Any) ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListHeader", 400: None, 403: None, @@ -1027,18 +1027,18 @@ def _update_list_with_http_info( "Missing the required parameter 'list_identifier' when calling 'update_list'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1053,7 +1053,7 @@ def _update_list_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListHeader", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py index ebc7d802..ecd675b3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -86,18 +86,18 @@ def _get_permissions_with_http_info(self, list_identifier: "str", **kwargs: Any) "Missing the required parameter 'list_identifier' when calling 'get_permissions'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -105,7 +105,7 @@ def _get_permissions_with_http_info(self, list_identifier: "str", **kwargs: Any) ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUserPermissionsInfo", 403: None, 404: None, @@ -178,20 +178,20 @@ def _get_permissions_for_user_with_http_info( "Missing the required parameter 'user_identifier' when calling 'get_permissions_for_user'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] if "user_identifier" in params and user_identifier is not None: path_params["userIdentifier"] = params["user_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -199,7 +199,7 @@ def _get_permissions_for_user_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordListPermissionFlags", 403: None, 404: None, @@ -270,18 +270,18 @@ def _set_permissions_with_http_info( "Missing the required parameter 'list_identifier' when calling 'set_permissions'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -296,7 +296,7 @@ def _set_permissions_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 202: "GsaUserPermissionsInfo", 400: None, 403: None, @@ -380,20 +380,20 @@ def _set_permissions_for_user_with_http_info( "Missing the required parameter 'user_identifier' when calling 'set_permissions_for_user'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] if "user_identifier" in params and user_identifier is not None: path_params["userIdentifier"] = params["user_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -408,7 +408,7 @@ def _set_permissions_for_user_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordListPermissionFlags", 400: None, 403: None, @@ -467,18 +467,18 @@ def _subscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> An "Missing the required parameter 'list_identifier' when calling 'subscribe'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -486,7 +486,7 @@ def _subscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> An ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 202: "GsaUserPermission", 400: None, 403: None, @@ -545,18 +545,18 @@ def _unsubscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> "Missing the required parameter 'list_identifier' when calling 'unsubscribe'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "list_identifier" in params and list_identifier is not None: path_params["listIdentifier"] = params["list_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -564,7 +564,7 @@ def _unsubscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 202: "GsaUserPermission", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py index 4e4cf563..90140bb5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -76,18 +76,18 @@ def _get_jobs_summary_with_http_info(self, start: "Optional[str]" = None, **kwar params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] if "start" in params and start is not None: query_params.append(("start", params["start"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -95,7 +95,7 @@ def _get_jobs_summary_with_http_info(self, start: "Optional[str]" = None, **kwar ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaGetJobsSummaryResponse", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py index f9035e42..c49ad34a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -109,20 +109,20 @@ def _copy_record_history_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'copy_record_history'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -135,7 +135,7 @@ def _copy_record_history_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordHistory", 400: "GsaRecordHistoryCopyException", 403: None, @@ -228,9 +228,9 @@ def _copy_record_history_in_table_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'copy_record_history_in_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -238,12 +238,12 @@ def _copy_record_history_in_table_with_http_info( if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -256,7 +256,7 @@ def _copy_record_history_in_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordHistory", 400: "GsaRecordHistoryCopyException", 403: None, @@ -340,20 +340,20 @@ def _create_record_history_with_http_info( "Missing the required parameter 'table_guid' when calling 'create_record_history'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -366,7 +366,7 @@ def _create_record_history_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordHistory", 400: None, 403: None, @@ -456,30 +456,30 @@ def _get_latest_record_version_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'get_latest_record_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordVersion", 404: None, } @@ -581,9 +581,9 @@ def _get_latest_record_version_from_table_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'get_latest_record_version_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -591,22 +591,22 @@ def _get_latest_record_version_from_table_with_http_info( if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordVersion", 404: None, } @@ -694,30 +694,30 @@ def _get_record_history_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'get_record_history'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordHistory", 404: None, } @@ -819,9 +819,9 @@ def _get_record_history_from_table_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'get_record_history_from_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -829,22 +829,22 @@ def _get_record_history_from_table_with_http_info( if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordHistory", 404: None, } @@ -926,20 +926,20 @@ def _move_record_history_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'move_record_history'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -952,7 +952,7 @@ def _move_record_history_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordHistory", 400: "GsaRecordHistoryMoveException", 403: None, @@ -1045,9 +1045,9 @@ def _move_record_history_in_table_with_http_info( "Missing the required parameter 'record_history_guid' when calling 'move_record_history_in_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1055,12 +1055,12 @@ def _move_record_history_in_table_with_http_info( if "record_history_guid" in params and record_history_guid is not None: path_params["record-history-guid"] = params["record_history_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1073,7 +1073,7 @@ def _move_record_history_in_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordHistory", 400: "GsaRecordHistoryMoveException", 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py index c2c50fee..de11ccda 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -127,9 +127,9 @@ def _delete_record_version_with_http_info( "Missing the required parameter 'record_version_guid' when calling 'delete_record_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -139,16 +139,16 @@ def _delete_record_version_with_http_info( if "record_version_guid" in params and record_version_guid is not None: path_params["record-version-guid"] = params["record_version_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 404: None, @@ -249,9 +249,9 @@ def _get_modifiable_record_version_with_http_info( "Missing the required parameter 'record_version_guid' when calling 'get_modifiable_record_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -261,18 +261,18 @@ def _get_modifiable_record_version_with_http_info( if "record_version_guid" in params and record_version_guid is not None: path_params["record-version-guid"] = params["record_version_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordVersion", 400: "GsaGetModifiableRecordVersionControlException", 403: None, @@ -386,9 +386,9 @@ def _get_record_version_with_http_info( "Missing the required parameter 'record_version_guid' when calling 'get_record_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -398,22 +398,22 @@ def _get_record_version_with_http_info( if "record_version_guid" in params and record_version_guid is not None: path_params["record-version-guid"] = params["record_version_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordVersion", 404: None, } @@ -513,9 +513,9 @@ def _release_record_version_with_http_info( "Missing the required parameter 'record_version_guid' when calling 'release_record_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -525,18 +525,18 @@ def _release_record_version_with_http_info( if "record_version_guid" in params and record_version_guid is not None: path_params["record-version-guid"] = params["record_version_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordVersion", 400: "GsaReleaseRecordVersionControlException", 403: None, @@ -638,9 +638,9 @@ def _withdraw_record_version_with_http_info( "Missing the required parameter 'record_version_guid' when calling 'withdraw_record_version'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -650,18 +650,18 @@ def _withdraw_record_version_with_http_info( if "record_version_guid" in params and record_version_guid is not None: path_params["record-version-guid"] = params["record_version_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordVersion", 400: "GsaWithdrawRecordVersionControlException", 404: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py index 9332427f..2d597a00 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -105,20 +105,20 @@ def _create_attribute_with_http_info( "Missing the required parameter 'table_guid' when calling 'create_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -131,7 +131,7 @@ def _create_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaAttribute", 400: None, 403: None, @@ -212,9 +212,9 @@ def _delete_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'delete_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -222,18 +222,18 @@ def _delete_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaAttributeDeletionException", 200: None, 403: None, @@ -314,9 +314,9 @@ def _delete_meta_attribute_with_http_info( "Missing the required parameter 'meta_attribute_guid' when calling 'delete_meta_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -324,18 +324,18 @@ def _delete_meta_attribute_with_http_info( if "meta_attribute_guid" in params and meta_attribute_guid is not None: path_params["meta-attribute-guid"] = params["meta_attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaAttributeDeletionException", 200: None, 403: None, @@ -439,9 +439,9 @@ def _get_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'get_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -449,22 +449,22 @@ def _get_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttribute", 404: None, } @@ -552,30 +552,30 @@ def _get_attributes_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_attributes'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttributesInfo", 404: None, } @@ -677,9 +677,9 @@ def _get_meta_attribute_with_http_info( "Missing the required parameter 'meta_attribute_guid' when calling 'get_meta_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -687,22 +687,22 @@ def _get_meta_attribute_with_http_info( if "meta_attribute_guid" in params and meta_attribute_guid is not None: path_params["meta-attribute-guid"] = params["meta_attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttribute", 404: None, } @@ -790,30 +790,30 @@ def _get_meta_attributes_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_meta_attributes'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttributesInfo", 404: None, } @@ -915,9 +915,9 @@ def _get_meta_attributes_for_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'get_meta_attributes_for_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -925,22 +925,22 @@ def _get_meta_attributes_for_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttributesInfo", 404: None, } @@ -1032,24 +1032,24 @@ def _query_attributes_with_http_info( "Missing the required parameter 'table_guid' when calling 'query_attributes'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1062,7 +1062,7 @@ def _query_attributes_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaQueryAttributesInfo", 400: None, 403: None, @@ -1155,9 +1155,9 @@ def _update_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'update_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1165,12 +1165,12 @@ def _update_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1183,7 +1183,7 @@ def _update_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttribute", 400: None, 403: None, @@ -1276,9 +1276,9 @@ def _update_meta_attribute_with_http_info( "Missing the required parameter 'meta_attribute_guid' when calling 'update_meta_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1286,12 +1286,12 @@ def _update_meta_attribute_with_http_info( if "meta_attribute_guid" in params and meta_attribute_guid is not None: path_params["meta-attribute-guid"] = params["meta_attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1304,7 +1304,7 @@ def _update_meta_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttribute", 400: None, 403: None, @@ -1397,9 +1397,9 @@ def _validate_attribute_with_http_info( "Missing the required parameter 'attribute_guid' when calling 'validate_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1407,12 +1407,12 @@ def _validate_attribute_with_http_info( if "attribute_guid" in params and attribute_guid is not None: path_params["attribute-guid"] = params["attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1425,7 +1425,7 @@ def _validate_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttributeValidateResponse", 400: None, 403: None, @@ -1518,9 +1518,9 @@ def _validate_meta_attribute_with_http_info( "Missing the required parameter 'meta_attribute_guid' when calling 'validate_meta_attribute'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -1528,12 +1528,12 @@ def _validate_meta_attribute_with_http_info( if "meta_attribute_guid" in params and meta_attribute_guid is not None: path_params["meta-attribute-guid"] = params["meta_attribute_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1546,7 +1546,7 @@ def _validate_meta_attribute_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAttributeValidateResponse", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py index 4b072c0b..bfed9cbb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -110,20 +110,20 @@ def _create_configuration_with_http_info( "Missing the required parameter 'configuration_type' when calling 'create_configuration'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "configuration_type" in params and configuration_type is not None: path_params["configuration-type"] = params["configuration_type"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -136,7 +136,7 @@ def _create_configuration_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaConfiguration", 400: None, 403: None, @@ -222,9 +222,9 @@ def _delete_configuration_with_http_info( "Missing the required parameter 'configuration_guid' when calling 'delete_configuration'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "configuration_type" in params and configuration_type is not None: @@ -232,16 +232,16 @@ def _delete_configuration_with_http_info( if "configuration_guid" in params and configuration_guid is not None: path_params["configuration-guid"] = params["configuration_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -326,9 +326,9 @@ def _export_configuration_with_http_info( "Missing the required parameter 'configuration_guid' when calling 'export_configuration'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "configuration_type" in params and configuration_type is not None: @@ -336,16 +336,16 @@ def _export_configuration_with_http_info( if "configuration_guid" in params and configuration_guid is not None: path_params["configuration-guid"] = params["configuration_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 404: None, } @@ -429,9 +429,9 @@ def _get_configuration_with_http_info( "Missing the required parameter 'configuration_guid' when calling 'get_configuration'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "configuration_type" in params and configuration_type is not None: @@ -439,18 +439,18 @@ def _get_configuration_with_http_info( if "configuration_guid" in params and configuration_guid is not None: path_params["configuration-guid"] = params["configuration_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaConfiguration", 404: None, } @@ -523,26 +523,26 @@ def _get_configurations_with_http_info( "Missing the required parameter 'configuration_type' when calling 'get_configurations'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "configuration_type" in params and configuration_type is not None: path_params["configuration-type"] = params["configuration_type"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaConfigurationsInfo", 404: None, } @@ -634,9 +634,9 @@ def _update_configuration_with_http_info( "Missing the required parameter 'configuration_guid' when calling 'update_configuration'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "configuration_type" in params and configuration_type is not None: @@ -644,12 +644,12 @@ def _update_configuration_with_http_info( if "configuration_guid" in params and configuration_guid is not None: path_params["configuration-guid"] = params["configuration_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -662,7 +662,7 @@ def _update_configuration_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaConfiguration", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py index dea7ab86..b7386005 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -94,18 +94,18 @@ def _create_constant_with_http_info( "Missing the required parameter 'database_key' when calling 'create_constant'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -118,7 +118,7 @@ def _create_constant_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaConstant", 400: None, 403: None, @@ -194,26 +194,26 @@ def _delete_constant_with_http_info( "Missing the required parameter 'constant_guid' when calling 'delete_constant'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "constant_guid" in params and constant_guid is not None: path_params["constant-guid"] = params["constant_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaConstantDeletionException", 200: None, 403: None, @@ -289,26 +289,26 @@ def _get_constant_with_http_info( "Missing the required parameter 'constant_guid' when calling 'get_constant'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "constant_guid" in params and constant_guid is not None: path_params["constant-guid"] = params["constant_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaConstant", 404: None, } @@ -367,24 +367,24 @@ def _get_constants_with_http_info(self, database_key: "str", **kwargs: Any) -> A "Missing the required parameter 'database_key' when calling 'get_constants'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaConstantsInfo", 404: None, } @@ -469,20 +469,20 @@ def _update_constant_with_http_info( "Missing the required parameter 'constant_guid' when calling 'update_constant'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "constant_guid" in params and constant_guid is not None: path_params["constant-guid"] = params["constant_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -495,7 +495,7 @@ def _update_constant_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaConstant", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py index 65197b7d..23c57309 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -94,18 +94,18 @@ def _create_data_rule_with_http_info( "Missing the required parameter 'database_key' when calling 'create_data_rule'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -118,7 +118,7 @@ def _create_data_rule_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaDataRule", 400: None, 403: None, @@ -190,24 +190,24 @@ def _delete_data_rule_with_http_info( "Missing the required parameter 'data_rule_guid' when calling 'delete_data_rule'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "data_rule_guid" in params and data_rule_guid is not None: path_params["data-rule-guid"] = params["data_rule_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -281,26 +281,26 @@ def _get_data_rule_with_http_info( "Missing the required parameter 'data_rule_guid' when calling 'get_data_rule'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "data_rule_guid" in params and data_rule_guid is not None: path_params["data-rule-guid"] = params["data_rule_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDataRule", 404: None, } @@ -359,24 +359,24 @@ def _get_data_rules_with_http_info(self, database_key: "str", **kwargs: Any) -> "Missing the required parameter 'database_key' when calling 'get_data_rules'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDataRulesInfo", 404: None, } @@ -458,20 +458,20 @@ def _update_data_rule_with_http_info( "Missing the required parameter 'data_rule_guid' when calling 'update_data_rule'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "data_rule_guid" in params and data_rule_guid is not None: path_params["data-rule-guid"] = params["data_rule_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -484,7 +484,7 @@ def _update_data_rule_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDataRule", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py index 6b388065..b8a7842a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -80,16 +80,16 @@ def _add_database_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -102,7 +102,7 @@ def _add_database_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSlimDatabase", 400: None, 403: None, @@ -152,24 +152,24 @@ def _get_all_databases_with_http_info(self, role: "Optional[str]" = None, **kwar params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] if "role" in params and role is not None: query_params.append(("role", params["role"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatabasesInfo", } @@ -227,24 +227,24 @@ def _get_database_with_http_info(self, database_key: "str", **kwargs: Any) -> An "Missing the required parameter 'database_key' when calling 'get_database'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatabase", 404: None, } @@ -304,24 +304,24 @@ def _lock_database_with_http_info(self, database_key: "str", **kwargs: Any) -> A "Missing the required parameter 'database_key' when calling 'lock_database'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatabase", 400: None, 403: None, @@ -382,24 +382,24 @@ def _reload_database_with_http_info(self, database_key: "str", **kwargs: Any) -> "Missing the required parameter 'database_key' when calling 'reload_database'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSlimDatabase", 400: None, 403: None, @@ -460,22 +460,22 @@ def _remove_database_with_http_info(self, database_key: "str", **kwargs: Any) -> "Missing the required parameter 'database_key' when calling 'remove_database'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -537,24 +537,24 @@ def _unlock_database_with_http_info(self, database_key: "str", **kwargs: Any) -> "Missing the required parameter 'database_key' when calling 'unlock_database'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatabase", 400: None, 403: None, @@ -634,20 +634,20 @@ def _update_database_with_http_info( "Missing the required parameter 'database_key' when calling 'update_database'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "allow_reload" in params and allow_reload is not None: query_params.append(("allow-reload", params["allow_reload"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -660,7 +660,7 @@ def _update_database_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatabase", 400: None, 403: None, @@ -721,24 +721,24 @@ def _upgrade_database_with_http_info(self, database_key: "str", **kwargs: Any) - "Missing the required parameter 'database_key' when calling 'upgrade_database'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSlimDatabase", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py index 9d130f87..9eb25593 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -109,20 +109,20 @@ def _create_discrete_value_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'create_discrete_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -135,7 +135,7 @@ def _create_discrete_value_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaDiscreteValuesDiscreteValue", 400: None, 403: None, @@ -220,9 +220,9 @@ def _delete_discrete_value_with_http_info( "Missing the required parameter 'discrete_value_guid' when calling 'delete_discrete_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: @@ -230,18 +230,18 @@ def _delete_discrete_value_with_http_info( if "discrete_value_guid" in params and discrete_value_guid is not None: path_params["discrete-value-guid"] = params["discrete_value_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaDiscreteValueDeletionException", 200: None, 403: None, @@ -315,26 +315,26 @@ def _find_unused_discrete_values_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'find_unused_discrete_values'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteValuesDiscreteValuesInfo", 400: None, 404: None, @@ -418,9 +418,9 @@ def _get_discrete_value_with_http_info( "Missing the required parameter 'discrete_value_guid' when calling 'get_discrete_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: @@ -428,18 +428,18 @@ def _get_discrete_value_with_http_info( if "discrete_value_guid" in params and discrete_value_guid is not None: path_params["discrete-value-guid"] = params["discrete_value_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteValuesDiscreteValue", 404: None, } @@ -511,26 +511,26 @@ def _get_discrete_values_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'get_discrete_values'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteValuesDiscreteValuesInfo", 404: None, } @@ -612,20 +612,20 @@ def _replace_discrete_values_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'replace_discrete_values'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -638,7 +638,7 @@ def _replace_discrete_values_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteValuesDiscreteValuesInfo", 400: None, 403: None, @@ -731,9 +731,9 @@ def _update_discrete_value_with_http_info( "Missing the required parameter 'discrete_value_guid' when calling 'update_discrete_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: @@ -741,12 +741,12 @@ def _update_discrete_value_with_http_info( if "discrete_value_guid" in params and discrete_value_guid is not None: path_params["discrete-value-guid"] = params["discrete_value_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -759,7 +759,7 @@ def _update_discrete_value_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteValuesDiscreteValue", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py index 0eabd2a0..105f01ae 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -94,18 +94,18 @@ def _create_discrete_type_with_http_info( "Missing the required parameter 'database_key' when calling 'create_discrete_type'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -118,7 +118,7 @@ def _create_discrete_type_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaDiscreteType", 400: None, 403: None, @@ -192,26 +192,26 @@ def _delete_discrete_type_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'delete_discrete_type'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaDiscreteTypeDeletionException", 200: None, 403: None, @@ -285,26 +285,26 @@ def _get_attributes_for_type_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'get_attributes_for_type'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteTypeUsage", 400: None, 404: None, @@ -377,26 +377,26 @@ def _get_discrete_type_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'get_discrete_type'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteType", 404: None, } @@ -455,24 +455,24 @@ def _get_discrete_types_with_http_info(self, database_key: "str", **kwargs: Any) "Missing the required parameter 'database_key' when calling 'get_discrete_types'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteTypesInfo", 400: None, 404: None, @@ -555,20 +555,20 @@ def _update_discrete_type_with_http_info( "Missing the required parameter 'discrete_type_guid' when calling 'update_discrete_type'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "discrete_type_guid" in params and discrete_type_guid is not None: path_params["discrete-type-guid"] = params["discrete_type_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -581,7 +581,7 @@ def _update_discrete_type_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDiscreteType", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py index 9b287156..f2a232c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -113,20 +113,20 @@ def _create_exporters_file_with_http_info( "Missing the required parameter 'folder_guid' when calling 'create_exporters_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["file"] = params["file"] if "description" in params and description is not None: @@ -141,7 +141,7 @@ def _create_exporters_file_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaFileHeader", 400: None, 403: None, @@ -210,18 +210,18 @@ def _create_exporters_folder_with_http_info( "Missing the required parameter 'database_key' when calling 'create_exporters_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -236,7 +236,7 @@ def _create_exporters_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaFolder", 400: None, 403: None, @@ -317,9 +317,9 @@ def _delete_exporters_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'delete_exporters_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -327,16 +327,16 @@ def _delete_exporters_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -407,24 +407,24 @@ def _delete_exporters_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'delete_exporters_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -504,9 +504,9 @@ def _export_exporters_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'export_exporters_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -514,16 +514,16 @@ def _export_exporters_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 404: None, } @@ -602,9 +602,9 @@ def _get_exporter_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'get_exporter_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -612,12 +612,12 @@ def _get_exporter_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -625,7 +625,7 @@ def _get_exporter_file_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 404: None, } @@ -697,20 +697,20 @@ def _get_exporters_child_folders_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_exporters_child_folders'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -718,7 +718,7 @@ def _get_exporters_child_folders_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFoldersInfo", 404: None, } @@ -790,20 +790,20 @@ def _get_exporters_files_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_exporters_files'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -811,7 +811,7 @@ def _get_exporters_files_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFilesInfo", 404: None, } @@ -883,20 +883,20 @@ def _get_exporters_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_exporters_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -904,7 +904,7 @@ def _get_exporters_folder_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 404: None, } @@ -963,18 +963,18 @@ def _get_exporters_folders_with_http_info(self, database_key: "str", **kwargs: A "Missing the required parameter 'database_key' when calling 'get_exporters_folders'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -982,7 +982,7 @@ def _get_exporters_folders_with_http_info(self, database_key: "str", **kwargs: A ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFoldersInfo", 404: None, } @@ -1043,18 +1043,18 @@ def _get_exporters_root_folder_with_http_info(self, database_key: "str", **kwarg "Missing the required parameter 'database_key' when calling 'get_exporters_root_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1062,7 +1062,7 @@ def _get_exporters_root_folder_with_http_info(self, database_key: "str", **kwarg ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 404: None, } @@ -1153,9 +1153,9 @@ def _move_exporters_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'move_exporters_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -1163,12 +1163,12 @@ def _move_exporters_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1183,7 +1183,7 @@ def _move_exporters_file_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 400: None, 403: None, @@ -1263,20 +1263,20 @@ def _move_exporters_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'move_exporters_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1291,7 +1291,7 @@ def _move_exporters_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 400: None, 403: None, @@ -1352,18 +1352,18 @@ def _refetch_exporters_with_http_info(self, database_key: "str", **kwargs: Any) "Missing the required parameter 'database_key' when calling 'refetch_exporters'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1371,7 +1371,7 @@ def _refetch_exporters_with_http_info(self, database_key: "str", **kwargs: Any) ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaExporterRefetchInfo", 400: None, 403: None, @@ -1464,9 +1464,9 @@ def _update_exporters_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'update_exporters_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -1474,12 +1474,12 @@ def _update_exporters_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1494,7 +1494,7 @@ def _update_exporters_file_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 400: None, 403: None, @@ -1574,20 +1574,20 @@ def _update_exporters_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'update_exporters_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1602,7 +1602,7 @@ def _update_exporters_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py index 2cbd6fd2..8a58f009 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -109,20 +109,20 @@ def _create_expression_with_http_info( "Missing the required parameter 'table_guid' when calling 'create_expression'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -135,7 +135,7 @@ def _create_expression_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaExpression", 400: None, 403: None, @@ -216,9 +216,9 @@ def _delete_expression_with_http_info( "Missing the required parameter 'expression_guid' when calling 'delete_expression'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -226,16 +226,16 @@ def _delete_expression_with_http_info( if "expression_guid" in params and expression_guid is not None: path_params["expression-guid"] = params["expression_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -339,9 +339,9 @@ def _get_expression_with_http_info( "Missing the required parameter 'expression_guid' when calling 'get_expression'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -349,22 +349,22 @@ def _get_expression_with_http_info( if "expression_guid" in params and expression_guid is not None: path_params["expression-guid"] = params["expression_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaExpression", 404: None, } @@ -452,30 +452,30 @@ def _get_expressions_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_expressions'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaExpressionsInfo", 404: None, } @@ -566,9 +566,9 @@ def _update_expression_with_http_info( "Missing the required parameter 'expression_guid' when calling 'update_expression'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -576,12 +576,12 @@ def _update_expression_with_http_info( if "expression_guid" in params and expression_guid is not None: path_params["expression-guid"] = params["expression_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -594,7 +594,7 @@ def _update_expression_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaExpression", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___global_standard_names_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___global_standard_names_api.py index 14844a88..1925d0ca 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___global_standard_names_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___global_standard_names_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -80,16 +80,16 @@ def _find_global_standard_names_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -102,7 +102,7 @@ def _find_global_standard_names_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaStandardNamesInfo", } @@ -153,24 +153,24 @@ def _get_global_standard_names_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] if "name" in params and name is not None: query_params.append(("name", params["name"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaStandardNamesInfo", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py index fa73ba98..c2259d94 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -113,20 +113,20 @@ def _create_help_file_with_http_info( "Missing the required parameter 'folder_guid' when calling 'create_help_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["file"] = params["file"] if "description" in params and description is not None: @@ -141,7 +141,7 @@ def _create_help_file_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaFileHeader", 400: None, 403: None, @@ -210,18 +210,18 @@ def _create_help_folder_with_http_info( "Missing the required parameter 'database_key' when calling 'create_help_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -236,7 +236,7 @@ def _create_help_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaFolder", 400: None, 403: None, @@ -317,9 +317,9 @@ def _delete_help_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'delete_help_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -327,16 +327,16 @@ def _delete_help_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -407,24 +407,24 @@ def _delete_help_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'delete_help_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -504,9 +504,9 @@ def _export_help_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'export_help_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -514,16 +514,16 @@ def _export_help_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 404: None, } @@ -595,20 +595,20 @@ def _get_help_child_folders_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_help_child_folders'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -616,7 +616,7 @@ def _get_help_child_folders_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFoldersInfo", 404: None, } @@ -695,9 +695,9 @@ def _get_help_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'get_help_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -705,12 +705,12 @@ def _get_help_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -718,7 +718,7 @@ def _get_help_file_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 404: None, } @@ -790,20 +790,20 @@ def _get_help_files_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_help_files'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -811,7 +811,7 @@ def _get_help_files_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFilesInfo", 404: None, } @@ -883,20 +883,20 @@ def _get_help_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_help_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -904,7 +904,7 @@ def _get_help_folder_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 404: None, } @@ -963,18 +963,18 @@ def _get_help_folders_with_http_info(self, database_key: "str", **kwargs: Any) - "Missing the required parameter 'database_key' when calling 'get_help_folders'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -982,7 +982,7 @@ def _get_help_folders_with_http_info(self, database_key: "str", **kwargs: Any) - ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFoldersInfo", 404: None, } @@ -1041,18 +1041,18 @@ def _get_help_root_folder_with_http_info(self, database_key: "str", **kwargs: An "Missing the required parameter 'database_key' when calling 'get_help_root_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1060,7 +1060,7 @@ def _get_help_root_folder_with_http_info(self, database_key: "str", **kwargs: An ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 404: None, } @@ -1151,9 +1151,9 @@ def _move_help_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'move_help_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -1161,12 +1161,12 @@ def _move_help_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1181,7 +1181,7 @@ def _move_help_file_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 400: None, 403: None, @@ -1261,20 +1261,20 @@ def _move_help_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'move_help_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1289,7 +1289,7 @@ def _move_help_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 400: None, 403: None, @@ -1382,9 +1382,9 @@ def _update_help_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'update_help_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -1392,12 +1392,12 @@ def _update_help_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1412,7 +1412,7 @@ def _update_help_file_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 400: None, 403: None, @@ -1492,20 +1492,20 @@ def _update_help_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'update_help_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1520,7 +1520,7 @@ def _update_help_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py index 35ff6248..814f1d6e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -113,20 +113,20 @@ def _create_home_page_file_with_http_info( "Missing the required parameter 'folder_guid' when calling 'create_home_page_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} if "file" in params and file is not None: local_var_files["file"] = params["file"] if "description" in params and description is not None: @@ -141,7 +141,7 @@ def _create_home_page_file_with_http_info( # multipart/form-data request detected. Content-Type header will be # populated by openapi-common based on request content. - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaFileHeader", 400: None, 403: None, @@ -210,18 +210,18 @@ def _create_home_page_folder_with_http_info( "Missing the required parameter 'database_key' when calling 'create_home_page_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -236,7 +236,7 @@ def _create_home_page_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaFolder", 400: None, 403: None, @@ -317,9 +317,9 @@ def _delete_home_page_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'delete_home_page_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -327,16 +327,16 @@ def _delete_home_page_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -407,24 +407,24 @@ def _delete_home_page_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'delete_home_page_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -504,9 +504,9 @@ def _export_home_page_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'export_home_page_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -514,16 +514,16 @@ def _export_home_page_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 404: None, } @@ -595,20 +595,20 @@ def _get_home_page_child_folders_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_home_page_child_folders'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -616,7 +616,7 @@ def _get_home_page_child_folders_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFoldersInfo", 404: None, } @@ -695,9 +695,9 @@ def _get_home_page_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'get_home_page_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -705,12 +705,12 @@ def _get_home_page_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -718,7 +718,7 @@ def _get_home_page_file_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 404: None, } @@ -790,20 +790,20 @@ def _get_home_page_files_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_home_page_files'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -811,7 +811,7 @@ def _get_home_page_files_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFilesInfo", 404: None, } @@ -883,20 +883,20 @@ def _get_home_page_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'get_home_page_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -904,7 +904,7 @@ def _get_home_page_folder_with_http_info( ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 404: None, } @@ -963,18 +963,18 @@ def _get_home_page_folders_with_http_info(self, database_key: "str", **kwargs: A "Missing the required parameter 'database_key' when calling 'get_home_page_folders'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -982,7 +982,7 @@ def _get_home_page_folders_with_http_info(self, database_key: "str", **kwargs: A ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFoldersInfo", 404: None, } @@ -1043,18 +1043,18 @@ def _get_home_page_root_folder_with_http_info(self, database_key: "str", **kwarg "Missing the required parameter 'database_key' when calling 'get_home_page_root_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -1062,7 +1062,7 @@ def _get_home_page_root_folder_with_http_info(self, database_key: "str", **kwarg ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 404: None, } @@ -1153,9 +1153,9 @@ def _move_home_page_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'move_home_page_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -1163,12 +1163,12 @@ def _move_home_page_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1183,7 +1183,7 @@ def _move_home_page_file_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 400: None, 403: None, @@ -1263,20 +1263,20 @@ def _move_home_page_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'move_home_page_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1291,7 +1291,7 @@ def _move_home_page_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 400: None, 403: None, @@ -1384,9 +1384,9 @@ def _update_home_page_file_with_http_info( "Missing the required parameter 'file_guid' when calling 'update_home_page_file'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: @@ -1394,12 +1394,12 @@ def _update_home_page_file_with_http_info( if "file_guid" in params and file_guid is not None: path_params["file-guid"] = params["file_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1414,7 +1414,7 @@ def _update_home_page_file_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", 400: None, 403: None, @@ -1494,20 +1494,20 @@ def _update_home_page_folder_with_http_info( "Missing the required parameter 'folder_guid' when calling 'update_home_page_folder'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "folder_guid" in params and folder_guid is not None: path_params["folder-guid"] = params["folder_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1522,7 +1522,7 @@ def _update_home_page_folder_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py index efcd0d3f..72ed6688 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -127,9 +127,9 @@ def _create_layout_item_with_http_info( "Missing the required parameter 'section_guid' when calling 'create_layout_item'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -139,12 +139,12 @@ def _create_layout_item_with_http_info( if "section_guid" in params and section_guid is not None: path_params["section-guid"] = params["section_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -157,7 +157,7 @@ def _create_layout_item_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaNewLayoutItem", 400: None, 403: None, @@ -250,9 +250,9 @@ def _create_section_with_http_info( "Missing the required parameter 'layout_guid' when calling 'create_section'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -260,12 +260,12 @@ def _create_section_with_http_info( if "layout_guid" in params and layout_guid is not None: path_params["layout-guid"] = params["layout_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -278,7 +278,7 @@ def _create_section_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaSlimLayoutSection", 400: None, 403: None, @@ -388,9 +388,9 @@ def _delete_item_with_http_info( "Missing the required parameter 'item_guid' when calling 'delete_item'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -402,16 +402,16 @@ def _delete_item_with_http_info( if "item_guid" in params and item_guid is not None: path_params["item-guid"] = params["item_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -504,9 +504,9 @@ def _delete_section_with_http_info( "Missing the required parameter 'section_guid' when calling 'delete_section'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -516,16 +516,16 @@ def _delete_section_with_http_info( if "section_guid" in params and section_guid is not None: path_params["section-guid"] = params["section_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -644,9 +644,9 @@ def _get_layout_section_with_http_info( "Missing the required parameter 'section_guid' when calling 'get_layout_section'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -656,24 +656,24 @@ def _get_layout_section_with_http_info( if "section_guid" in params and section_guid is not None: path_params["section-guid"] = params["section_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "show_full_detail" in params and show_full_detail is not None: query_params.append(("showFullDetail", params["show_full_detail"])) if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaLayoutSection", 404: None, } @@ -780,9 +780,9 @@ def _get_layout_sections_with_http_info( "Missing the required parameter 'layout_guid' when calling 'get_layout_sections'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -790,24 +790,24 @@ def _get_layout_sections_with_http_info( if "layout_guid" in params and layout_guid is not None: path_params["layout-guid"] = params["layout_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "show_full_detail" in params and show_full_detail is not None: query_params.append(("showFullDetail", params["show_full_detail"])) if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaLayoutSectionsInfo", 404: None, } @@ -898,9 +898,9 @@ def _reorder_sections_with_http_info( "Missing the required parameter 'layout_guid' when calling 'reorder_sections'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -908,12 +908,12 @@ def _reorder_sections_with_http_info( if "layout_guid" in params and layout_guid is not None: path_params["layout-guid"] = params["layout_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -926,7 +926,7 @@ def _reorder_sections_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaLayoutSectionsInfo", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py index cbc87145..a2fac2d3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -99,26 +99,26 @@ def _applications_with_http_info( "Missing the required parameter 'table_guid' when calling 'applications'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaApplicationsInfo", 403: None, 404: None, @@ -197,20 +197,20 @@ def _create_layout_with_http_info( "Missing the required parameter 'table_guid' when calling 'create_layout'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -223,7 +223,7 @@ def _create_layout_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaLayout", 400: None, 403: None, @@ -304,9 +304,9 @@ def _delete_layout_with_http_info( "Missing the required parameter 'layout_guid' when calling 'delete_layout'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -314,16 +314,16 @@ def _delete_layout_with_http_info( if "layout_guid" in params and layout_guid is not None: path_params["layout-guid"] = params["layout_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -430,9 +430,9 @@ def _get_layout_with_http_info( "Missing the required parameter 'layout_guid' when calling 'get_layout'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -440,24 +440,24 @@ def _get_layout_with_http_info( if "layout_guid" in params and layout_guid is not None: path_params["layout-guid"] = params["layout_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "show_full_detail" in params and show_full_detail is not None: query_params.append(("showFullDetail", params["show_full_detail"])) if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaLayout", 404: None, } @@ -553,32 +553,32 @@ def _get_layouts_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_layouts'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) if "application" in params and application is not None: query_params.append(("application", params["application"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaLayoutsInfo", 404: None, } @@ -669,9 +669,9 @@ def _update_layout_with_http_info( "Missing the required parameter 'layout_guid' when calling 'update_layout'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -679,12 +679,12 @@ def _update_layout_with_http_info( if "layout_guid" in params and layout_guid is not None: path_params["layout-guid"] = params["layout_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -697,7 +697,7 @@ def _update_layout_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaLayout", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py index 91b6d030..8a380226 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -94,18 +94,18 @@ def _create_parameter_with_http_info( "Missing the required parameter 'database_key' when calling 'create_parameter'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -118,7 +118,7 @@ def _create_parameter_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaParameter", 400: None, 403: None, @@ -202,20 +202,20 @@ def _create_parameter_value_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'create_parameter_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: path_params["parameter-guid"] = params["parameter_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -228,7 +228,7 @@ def _create_parameter_value_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaParameterValue", 400: None, 403: None, @@ -302,26 +302,26 @@ def _delete_parameter_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'delete_parameter'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: path_params["parameter-guid"] = params["parameter_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaParameterDeletionException", 200: None, 403: None, @@ -402,9 +402,9 @@ def _delete_parameter_value_with_http_info( "Missing the required parameter 'parameter_value_guid' when calling 'delete_parameter_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: @@ -412,18 +412,18 @@ def _delete_parameter_value_with_http_info( if "parameter_value_guid" in params and parameter_value_guid is not None: path_params["parameter-value-guid"] = params["parameter_value_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaParameterValueDeletionException", 200: None, 403: None, @@ -497,26 +497,26 @@ def _get_objects_using_parameter_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'get_objects_using_parameter'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: path_params["parameter-guid"] = params["parameter_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSlimObjects", 404: None, } @@ -588,26 +588,26 @@ def _get_parameter_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'get_parameter'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: path_params["parameter-guid"] = params["parameter_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaParameter", 404: None, } @@ -686,9 +686,9 @@ def _get_parameter_value_with_http_info( "Missing the required parameter 'parameter_value_guid' when calling 'get_parameter_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: @@ -696,18 +696,18 @@ def _get_parameter_value_with_http_info( if "parameter_value_guid" in params and parameter_value_guid is not None: path_params["parameter-value-guid"] = params["parameter_value_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaParameterValue", 404: None, } @@ -766,24 +766,24 @@ def _get_parameters_with_http_info(self, database_key: "str", **kwargs: Any) -> "Missing the required parameter 'database_key' when calling 'get_parameters'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaParametersInfo", 404: None, } @@ -865,20 +865,20 @@ def _update_parameter_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'update_parameter'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: path_params["parameter-guid"] = params["parameter_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -891,7 +891,7 @@ def _update_parameter_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaParameter", 400: None, 403: None, @@ -984,9 +984,9 @@ def _update_parameter_value_with_http_info( "Missing the required parameter 'parameter_value_guid' when calling 'update_parameter_value'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "parameter_guid" in params and parameter_guid is not None: @@ -994,12 +994,12 @@ def _update_parameter_value_with_http_info( if "parameter_value_guid" in params and parameter_value_guid is not None: path_params["parameter-value-guid"] = params["parameter_value_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1012,7 +1012,7 @@ def _update_parameter_value_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaParameterValue", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py index a4a4299c..c78cb555 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -94,18 +94,18 @@ def _create_profile_table_with_http_info( "Missing the required parameter 'profile_guid' when calling 'create_profile_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -118,7 +118,7 @@ def _create_profile_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaProfileTable", 400: None, 403: None, @@ -190,24 +190,24 @@ def _delete_profile_table_with_http_info( "Missing the required parameter 'profile_table_guid' when calling 'delete_profile_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] if "profile_table_guid" in params and profile_table_guid is not None: path_params["profile-table-guid"] = params["profile_table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -280,26 +280,26 @@ def _get_profile_table_with_http_info( "Missing the required parameter 'profile_table_guid' when calling 'get_profile_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] if "profile_table_guid" in params and profile_table_guid is not None: path_params["profile-table-guid"] = params["profile_table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaProfileTable", 403: None, 404: None, @@ -359,24 +359,24 @@ def _get_profile_tables_with_http_info(self, profile_guid: "str", **kwargs: Any) "Missing the required parameter 'profile_guid' when calling 'get_profile_tables'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaProfileTablesInfo", 403: None, 404: None, @@ -459,20 +459,20 @@ def _update_profile_table_with_http_info( "Missing the required parameter 'profile_table_guid' when calling 'update_profile_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] if "profile_table_guid" in params and profile_table_guid is not None: path_params["profile-table-guid"] = params["profile_table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -485,7 +485,7 @@ def _update_profile_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaProfileTable", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py index 217798b1..bcdce1c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -80,16 +80,16 @@ def _create_profile_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -102,7 +102,7 @@ def _create_profile_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaProfile", 400: None, 403: None, @@ -162,22 +162,22 @@ def _delete_profile_with_http_info(self, profile_guid: "str", **kwargs: Any) -> "Missing the required parameter 'profile_guid' when calling 'delete_profile'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -236,24 +236,24 @@ def _get_profile_with_http_info(self, profile_guid: "str", **kwargs: Any) -> Any "Missing the required parameter 'profile_guid' when calling 'get_profile'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaProfile", 403: None, 404: None, @@ -299,22 +299,22 @@ def _get_profiles_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAllProfilesInfo", 403: None, } @@ -367,16 +367,16 @@ def _update_all_profiles_info_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -389,7 +389,7 @@ def _update_all_profiles_info_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaAllProfilesInfo", 400: None, 403: None, @@ -456,18 +456,18 @@ def _update_profile_with_http_info( "Missing the required parameter 'profile_guid' when calling 'update_profile'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "profile_guid" in params and profile_guid is not None: path_params["profile-guid"] = params["profile_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -480,7 +480,7 @@ def _update_profile_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaProfile", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py index 612c023e..003254b8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -109,20 +109,20 @@ def _create_record_link_group_with_http_info( "Missing the required parameter 'table_guid' when calling 'create_record_link_group'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -135,7 +135,7 @@ def _create_record_link_group_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaRecordLinkGroup", 400: None, 403: None, @@ -238,9 +238,9 @@ def _delete_record_link_group_with_http_info( "Missing the required parameter 'record_link_group_type' when calling 'delete_record_link_group'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -250,16 +250,16 @@ def _delete_record_link_group_with_http_info( if "record_link_group_type" in params and record_link_group_type is not None: path_params["record-link-group-type"] = params["record_link_group_type"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -373,9 +373,9 @@ def _get_record_link_group_with_http_info( "Missing the required parameter 'record_link_group_type' when calling 'get_record_link_group'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -385,22 +385,22 @@ def _get_record_link_group_with_http_info( if "record_link_group_type" in params and record_link_group_type is not None: path_params["record-link-group-type"] = params["record_link_group_type"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordLinkGroup", 404: None, } @@ -488,30 +488,30 @@ def _get_record_link_groups_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_record_link_groups'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordLinkGroupsInfo", 404: None, } @@ -602,9 +602,9 @@ def _update_record_link_group_with_http_info( "Missing the required parameter 'record_link_group_guid' when calling 'update_record_link_group'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -612,12 +612,12 @@ def _update_record_link_group_with_http_info( if "record_link_group_guid" in params and record_link_group_guid is not None: path_params["record-link-group-guid"] = params["record_link_group_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -630,7 +630,7 @@ def _update_record_link_group_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaRecordLinkGroup", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___replacement_strings_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___replacement_strings_api.py index 3cd06adf..37fd674a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___replacement_strings_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___replacement_strings_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -99,18 +99,18 @@ def _create_replacement_string_with_http_info( "Missing the required parameter 'database_key' when calling 'create_replacement_string'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -123,7 +123,7 @@ def _create_replacement_string_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaReplacementString", 400: None, 403: None, @@ -199,24 +199,24 @@ def _delete_replacement_string_with_http_info( "Missing the required parameter 'replacement_string_guid' when calling 'delete_replacement_string'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "replacement_string_guid" in params and replacement_string_guid is not None: path_params["replacement-string-guid"] = params["replacement_string_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -291,26 +291,26 @@ def _get_replacement_string_with_http_info( "Missing the required parameter 'replacement_string_guid' when calling 'get_replacement_string'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "replacement_string_guid" in params and replacement_string_guid is not None: path_params["replacement-string-guid"] = params["replacement_string_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaReplacementString", 404: None, } @@ -374,24 +374,24 @@ def _get_replacement_strings_with_http_info(self, database_key: "str", **kwargs: "Missing the required parameter 'database_key' when calling 'get_replacement_strings'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaReplacementStringsInfo", 404: None, } @@ -476,20 +476,20 @@ def _update_replacement_string_with_http_info( "Missing the required parameter 'replacement_string_guid' when calling 'update_replacement_string'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "replacement_string_guid" in params and replacement_string_guid is not None: path_params["replacement-string-guid"] = params["replacement_string_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -502,7 +502,7 @@ def _update_replacement_string_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaReplacementString", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py index c5dbbb32..52fc4157 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -94,18 +94,18 @@ def _create_standard_name_with_http_info( "Missing the required parameter 'database_key' when calling 'create_standard_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -118,7 +118,7 @@ def _create_standard_name_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaStandardName", 400: None, 403: None, @@ -190,24 +190,24 @@ def _delete_standard_name_with_http_info( "Missing the required parameter 'standard_name_guid' when calling 'delete_standard_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "standard_name_guid" in params and standard_name_guid is not None: path_params["standard-name-guid"] = params["standard_name_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -281,26 +281,26 @@ def _get_standard_name_with_http_info( "Missing the required parameter 'standard_name_guid' when calling 'get_standard_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "standard_name_guid" in params and standard_name_guid is not None: path_params["standard-name-guid"] = params["standard_name_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaStandardName", 404: None, } @@ -359,24 +359,24 @@ def _get_standard_names_with_http_info(self, database_key: "str", **kwargs: Any) "Missing the required parameter 'database_key' when calling 'get_standard_names'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaStandardNamesInfo", 404: None, } @@ -458,20 +458,20 @@ def _update_standard_name_with_http_info( "Missing the required parameter 'standard_name_guid' when calling 'update_standard_name'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "standard_name_guid" in params and standard_name_guid is not None: path_params["standard-name-guid"] = params["standard_name_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -484,7 +484,7 @@ def _update_standard_name_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaStandardName", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py index dd0a72e5..94817d3f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -118,9 +118,9 @@ def _add_to_subset_with_http_info( "Missing the required parameter 'subset_guid' when calling 'add_to_subset'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -128,12 +128,12 @@ def _add_to_subset_with_http_info( if "subset_guid" in params and subset_guid is not None: path_params["subset-guid"] = params["subset_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -143,7 +143,7 @@ def _add_to_subset_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -223,20 +223,20 @@ def _create_subset_with_http_info( "Missing the required parameter 'table_guid' when calling 'create_subset'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -249,7 +249,7 @@ def _create_subset_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaSubset", 400: None, 403: None, @@ -330,9 +330,9 @@ def _delete_subset_with_http_info( "Missing the required parameter 'subset_guid' when calling 'delete_subset'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -340,16 +340,16 @@ def _delete_subset_with_http_info( if "subset_guid" in params and subset_guid is not None: path_params["subset-guid"] = params["subset_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -451,9 +451,9 @@ def _get_subset_with_http_info( "Missing the required parameter 'subset_guid' when calling 'get_subset'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -461,22 +461,22 @@ def _get_subset_with_http_info( if "subset_guid" in params and subset_guid is not None: path_params["subset-guid"] = params["subset_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSubset", 404: None, } @@ -562,30 +562,30 @@ def _get_subsets_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_subsets'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSubsetsInfo", 404: None, } @@ -676,9 +676,9 @@ def _remove_from_subset_with_http_info( "Missing the required parameter 'subset_guid' when calling 'remove_from_subset'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -686,12 +686,12 @@ def _remove_from_subset_with_http_info( if "subset_guid" in params and subset_guid is not None: path_params["subset-guid"] = params["subset_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -701,7 +701,7 @@ def _remove_from_subset_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -794,9 +794,9 @@ def _update_subset_with_http_info( "Missing the required parameter 'subset_guid' when calling 'update_subset'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: @@ -804,12 +804,12 @@ def _update_subset_with_http_info( if "subset_guid" in params and subset_guid is not None: path_params["subset-guid"] = params["subset_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -822,7 +822,7 @@ def _update_subset_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSubset", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py index 22f9eea3..a423ae08 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -92,18 +92,18 @@ def _create_table_with_http_info( "Missing the required parameter 'database_key' when calling 'create_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -116,7 +116,7 @@ def _create_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaTable", 400: None, 403: None, @@ -190,26 +190,26 @@ def _delete_table_with_http_info( "Missing the required parameter 'table_guid' when calling 'delete_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 400: "GsaTableDeletionException", 200: None, 403: None, @@ -283,26 +283,26 @@ def _enable_version_control_with_http_info( "Missing the required parameter 'table_guid' when calling 'enable_version_control'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaTable", 400: None, 403: None, @@ -392,30 +392,30 @@ def _get_inbound_links_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_inbound_links'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaLinksInfo", 404: None, } @@ -499,30 +499,30 @@ def _get_table_with_http_info( if "table_guid" not in params or params["table_guid"] is None: raise ValueError("Missing the required parameter 'table_guid' when calling 'get_table'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaTable", 404: None, } @@ -599,28 +599,28 @@ def _get_tables_with_http_info( "Missing the required parameter 'database_key' when calling 'get_tables'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaTablesInfo", 404: None, } @@ -692,26 +692,26 @@ def _release_table_with_http_info( "Missing the required parameter 'table_guid' when calling 'release_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaTable", 400: "GsaReleaseTableVersionControlException", 403: None, @@ -791,20 +791,20 @@ def _update_table_with_http_info( "Missing the required parameter 'table_guid' when calling 'update_table'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -817,7 +817,7 @@ def _update_table_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaTable", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py index 2eba436d..8bb28df8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -90,18 +90,18 @@ def _create_unit_with_http_info( "Missing the required parameter 'database_key' when calling 'create_unit'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -114,7 +114,7 @@ def _create_unit_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaUnit", 400: None, 403: None, @@ -183,18 +183,18 @@ def _create_unit_system_with_http_info( "Missing the required parameter 'database_key' when calling 'create_unit_system'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -207,7 +207,7 @@ def _create_unit_system_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaUnitSystem", 400: None, 403: None, @@ -277,24 +277,24 @@ def _delete_unit_with_http_info( "Missing the required parameter 'unit_guid' when calling 'delete_unit'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_guid" in params and unit_guid is not None: path_params["unit-guid"] = params["unit_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -366,24 +366,24 @@ def _delete_unit_system_with_http_info( "Missing the required parameter 'unit_system_guid' when calling 'delete_unit_system'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_system_guid" in params and unit_system_guid is not None: path_params["unit-system-guid"] = params["unit_system_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -457,26 +457,26 @@ def _get_compatible_units_with_http_info( "Missing the required parameter 'unit_guid' when calling 'get_compatible_units'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_guid" in params and unit_guid is not None: path_params["unit-guid"] = params["unit_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnitsInfo", 404: None, } @@ -538,26 +538,26 @@ def _get_unit_with_http_info(self, database_key: "str", unit_guid: "str", **kwar if "unit_guid" not in params or params["unit_guid"] is None: raise ValueError("Missing the required parameter 'unit_guid' when calling 'get_unit'") - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_guid" in params and unit_guid is not None: path_params["unit-guid"] = params["unit_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnit", 404: None, } @@ -629,26 +629,26 @@ def _get_unit_equivalents_with_http_info( "Missing the required parameter 'unit_guid' when calling 'get_unit_equivalents'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_guid" in params and unit_guid is not None: path_params["unit-guid"] = params["unit_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnitEquivalentsInfo", 404: None, } @@ -720,26 +720,26 @@ def _get_unit_system_with_http_info( "Missing the required parameter 'unit_system_guid' when calling 'get_unit_system'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_system_guid" in params and unit_system_guid is not None: path_params["unit-system-guid"] = params["unit_system_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnitSystem", 404: None, } @@ -798,24 +798,24 @@ def _get_unit_systems_with_http_info(self, database_key: "str", **kwargs: Any) - "Missing the required parameter 'database_key' when calling 'get_unit_systems'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnitSystemsInfo", 404: None, } @@ -887,26 +887,26 @@ def _get_unit_usages_with_http_info( "Missing the required parameter 'unit_guid' when calling 'get_unit_usages'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_guid" in params and unit_guid is not None: path_params["unit-guid"] = params["unit_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnitUsage", 404: None, } @@ -963,24 +963,24 @@ def _get_units_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: "Missing the required parameter 'database_key' when calling 'get_units'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnitsInfo", 404: None, } @@ -1080,9 +1080,9 @@ def _set_unit_equivalent_with_http_info( "Missing the required parameter 'equivalent_unit_guid' when calling 'set_unit_equivalent'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_guid" in params and unit_guid is not None: @@ -1092,16 +1092,16 @@ def _set_unit_equivalent_with_http_info( if "equivalent_unit_guid" in params and equivalent_unit_guid is not None: path_params["equivalent-unit-guid"] = params["equivalent_unit_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 404: None, } @@ -1177,20 +1177,20 @@ def _update_unit_with_http_info( "Missing the required parameter 'unit_guid' when calling 'update_unit'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_guid" in params and unit_guid is not None: path_params["unit-guid"] = params["unit_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1203,7 +1203,7 @@ def _update_unit_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnit", 400: None, 403: None, @@ -1287,20 +1287,20 @@ def _update_unit_system_with_http_info( "Missing the required parameter 'unit_system_guid' when calling 'update_unit_system'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "unit_system_guid" in params and unit_system_guid is not None: path_params["unit-system-guid"] = params["unit_system_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -1313,7 +1313,7 @@ def _update_unit_system_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaUnitSystem", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py index d04067ba..6937535e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -48,14 +48,14 @@ class SchemaApi(ApiBase): Ref: https://github.com/swagger-api/swagger-codegen """ - def get_security_attribute_groupings(self) -> "Dict[str, List[GsaSecurityAttributeGrouping]]": + def get_security_attribute_groupings(self) -> "dict[str, list[GsaSecurityAttributeGrouping]]": """Gets all security attribute groupings for a given database. This method makes a synchronous HTTP request. Returns ------- - Dict[str, List[GsaSecurityAttributeGrouping]] + dict[str, list[GsaSecurityAttributeGrouping]] """ data = self._get_security_attribute_groupings_with_http_info(_return_http_data_only=True) return data # type: ignore[no-any-return] @@ -72,22 +72,22 @@ def _get_security_attribute_groupings_with_http_info(self, **kwargs: Any) -> Any params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "dict(str, list[GsaSecurityAttributeGrouping])", } @@ -129,22 +129,22 @@ def _get_version_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaMiVersion", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py index 5ace30eb..52c8183c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -110,22 +110,22 @@ def _database_search_with_http_info( "Missing the required parameter 'database_key' when calling 'database_search'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -140,7 +140,7 @@ def _database_search_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSearchResponse", } @@ -231,24 +231,24 @@ def _database_search_in_table_with_guid_with_http_info( "Missing the required parameter 'table_guid' when calling 'database_search_in_table_with_guid'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_guid" in params and table_guid is not None: path_params["table-guid"] = params["table_guid"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -263,7 +263,7 @@ def _database_search_in_table_with_guid_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSearchResponse", } @@ -354,24 +354,24 @@ def _database_search_in_table_with_identity_with_http_info( "Missing the required parameter 'table_identity' when calling 'database_search_in_table_with_identity'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] if "table_identity" in params and table_identity is not None: path_params["table-identity"] = params["table_identity"] - query_params: List[Any] = [] + query_params: list[Any] = [] if "mode" in params and mode is not None: query_params.append(("mode", params["mode"])) - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -386,7 +386,7 @@ def _database_search_in_table_with_identity_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSearchResponse", } @@ -446,22 +446,22 @@ def _delete_search_results_with_http_info(self, search_identifier: "str", **kwar "Missing the required parameter 'search_identifier' when calling 'delete_search_results'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "search_identifier" in params and search_identifier is not None: path_params["searchIdentifier"] = params["search_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -532,18 +532,18 @@ def _get_search_results_with_http_info( "Missing the required parameter 'search_identifier' when calling 'get_search_results'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "search_identifier" in params and search_identifier is not None: path_params["searchIdentifier"] = params["search_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -558,7 +558,7 @@ def _get_search_results_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSearchResponse", 403: None, 404: None, @@ -624,18 +624,18 @@ def _integration_search_with_http_info( "Missing the required parameter 'schema' when calling 'integration_search'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "schema" in params and schema is not None: path_params["schema"] = params["schema"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -650,7 +650,7 @@ def _integration_search_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSearchResponse", 404: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py index 510cbc9e..3ac821ea 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -80,16 +80,16 @@ def _create_search_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -104,7 +104,7 @@ def _create_search_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 201: "GsaSelectionSearch", 400: None, 403: None, @@ -164,22 +164,22 @@ def _delete_search_with_http_info(self, search_identifier: "str", **kwargs: Any) "Missing the required parameter 'search_identifier' when calling 'delete_search'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "search_identifier" in params and search_identifier is not None: path_params["searchIdentifier"] = params["search_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 403: None, 404: None, @@ -201,14 +201,14 @@ def _delete_search_with_http_info(self, search_identifier: "str", **kwargs: Any) response_type_map=response_type_map, ) - def get_all(self) -> "Union[List[GsaSelectionSearch], None]": + def get_all(self) -> "Union[None, list[GsaSelectionSearch]]": """Returns all searches visible to the calling user. This method makes a synchronous HTTP request. Returns ------- - Union[List[GsaSelectionSearch], None] + Union[None, list[GsaSelectionSearch]] """ data = self._get_all_with_http_info(_return_http_data_only=True) return data # type: ignore[no-any-return] @@ -223,16 +223,16 @@ def _get_all_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -240,7 +240,7 @@ def _get_all_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "list[GsaSelectionSearch]", 403: None, } @@ -297,18 +297,18 @@ def _get_search_with_http_info(self, search_identifier: "str", **kwargs: Any) -> "Missing the required parameter 'search_identifier' when calling 'get_search'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "search_identifier" in params and search_identifier is not None: path_params["searchIdentifier"] = params["search_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -316,7 +316,7 @@ def _get_search_with_http_info(self, search_identifier: "str", **kwargs: Any) -> ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSelectionSearch", 403: None, 404: None, @@ -383,18 +383,18 @@ def _save_search_with_http_info( "Missing the required parameter 'search_identifier' when calling 'save_search'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "search_identifier" in params and search_identifier is not None: path_params["searchIdentifier"] = params["search_identifier"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -404,7 +404,7 @@ def _save_search_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, 400: None, 403: None, @@ -457,16 +457,16 @@ def _search_with_http_info( params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None if "body" in params and body is not None: @@ -481,7 +481,7 @@ def _search_with_http_info( ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSelectionSearch", 400: None, 403: None, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py index c2cef7eb..301ef8f3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ApiBase @@ -70,20 +70,20 @@ def _get_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: None, } @@ -141,18 +141,18 @@ def _get_database_status_with_http_info(self, database_key: "str", **kwargs: Any "Missing the required parameter 'database_key' when calling 'get_database_status'" ) - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} if "database_key" in params and database_key is not None: path_params["database-key"] = params["database_key"] - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -160,7 +160,7 @@ def _get_database_status_with_http_info(self, database_key: "str", **kwargs: Any ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaDatabaseStatusInformation", } @@ -204,16 +204,16 @@ def _get_search_cluster_status_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -221,7 +221,7 @@ def _get_search_cluster_status_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "GsaSearchClusterStatus", } @@ -241,14 +241,14 @@ def _get_search_cluster_status_with_http_info(self, **kwargs: Any) -> Any: response_type_map=response_type_map, ) - def get_status(self) -> "List[GsaDatabaseStatusInformation]": + def get_status(self) -> "list[GsaDatabaseStatusInformation]": """Returns status information for all databases This method makes a synchronous HTTP request. Returns ------- - List[GsaDatabaseStatusInformation] + list[GsaDatabaseStatusInformation] """ data = self._get_status_with_http_info(_return_http_data_only=True) return data # type: ignore[no-any-return] @@ -263,16 +263,16 @@ def _get_status_with_http_info(self, **kwargs: Any) -> Any: params[key] = val del params["kwargs"] - collection_formats: Dict[str, Any] = {} + collection_formats: dict[str, Any] = {} - path_params: Dict[str, Any] = {} + path_params: dict[str, Any] = {} - query_params: List[Any] = [] + query_params: list[Any] = [] - header_params: Dict[str, Any] = {} + header_params: dict[str, Any] = {} - form_params: List[Any] = [] - local_var_files: Dict[str, Any] = {} + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} body_params = None # HTTP header 'Accept' @@ -280,7 +280,7 @@ def _get_status_with_http_info(self, **kwargs: Any) -> Any: ["text/plain", "application/json", "text/json"] ) - response_type_map: Dict[int, Optional[str]] = { + response_type_map: dict[int, Optional[str]] = { 200: "list[GsaDatabaseStatusInformation]", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body.py index 95a0b2e0..a64caf57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class AttributesAttributeguidimportfileBody(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "allow_index": "bool", "description": "str", "file": "str", "target": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "allow_index": "AllowIndex", "description": "Description", "file": "File", "target": "Target", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -218,7 +218,7 @@ def allow_index(self, allow_index: "Union[bool, Unset_Type]") -> None: self._allow_index = allow_index @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body1.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body1.py index 031ac59a..42d64da7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body1.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportfile_body1.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class AttributesAttributeguidimportfileBody1(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "allow_index": "bool", "description": "str", "file": "str", "target": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "allow_index": "AllowIndex", "description": "Description", "file": "File", "target": "Target", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -218,7 +218,7 @@ def allow_index(self, allow_index: "Union[bool, Unset_Type]") -> None: self._allow_index = allow_index @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body.py index 36d5f74a..36562ef9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class AttributesAttributeguidimportpictureBody(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "picture": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "picture": "Picture", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def picture(self, picture: "Union[Union[BinaryIO, pathlib.Path], Unset_Type]") - self._picture = picture @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body1.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body1.py index 6abfc680..fcf83bd4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body1.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/attributes_attributeguidimportpicture_body1.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class AttributesAttributeguidimportpictureBody1(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "picture": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "picture": "Picture", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def picture(self, picture: "Union[Union[BinaryIO, pathlib.Path], Unset_Type]") - self._picture = picture @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body.py index 3730a800..e94d2182 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class ColumnsColumnguidimportfileBody(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "allow_index": "bool", "description": "str", "file": "str", "target": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "allow_index": "AllowIndex", "description": "Description", "file": "File", "target": "Target", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -218,7 +218,7 @@ def allow_index(self, allow_index: "Union[bool, Unset_Type]") -> None: self._allow_index = allow_index @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body1.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body1.py index 9d8d09f6..57101023 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body1.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportfile_body1.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class ColumnsColumnguidimportfileBody1(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "allow_index": "bool", "description": "str", "file": "str", "target": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "allow_index": "AllowIndex", "description": "Description", "file": "File", "target": "Target", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -218,7 +218,7 @@ def allow_index(self, allow_index: "Union[bool, Unset_Type]") -> None: self._allow_index = allow_index @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body.py index 05a29ee3..be340e3f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class ColumnsColumnguidimportpictureBody(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "picture": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "picture": "Picture", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def picture(self, picture: "Union[Union[BinaryIO, pathlib.Path], Unset_Type]") - self._picture = picture @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body1.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body1.py index 2ed8e818..ce606f23 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body1.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/columns_columnguidimportpicture_body1.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class ColumnsColumnguidimportpictureBody1(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "picture": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "picture": "Picture", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def picture(self, picture: "Union[Union[BinaryIO, pathlib.Path], Unset_Type]") - self._picture = picture @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py index a9be4c75..31fc7445 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class FolderguidFilesBody(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "file": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "file": "file", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def description(self, description: "Union[str, Unset_Type]") -> None: self._description = description @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py index e5c6bb1d..c1e35aee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class FolderguidFilesBody1(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "file": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "file": "file", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def description(self, description: "Union[str, Unset_Type]") -> None: self._description = description @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py index 6f51d7df..0fc95599 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class FolderguidFilesBody2(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "file": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "file": "file", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def description(self, description: "Union[str, Unset_Type]") -> None: self._description = description @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_database.py index 315425a7..c37fa07d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_database.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaAddDatabase(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "data_source": "str", "database_key": "str", "initial_catalog": "str", @@ -74,7 +74,7 @@ class GsaAddDatabase(ModelBase): "version_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "data_source": "dataSource", "database_key": "databaseKey", "initial_catalog": "initialCatalog", @@ -88,7 +88,7 @@ class GsaAddDatabase(ModelBase): "version_guid": "versionGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -438,7 +438,7 @@ def version_guid(self, version_guid: "Union[str, None, Unset_Type]") -> None: self._version_guid = version_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_record_history_to_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_record_history_to_subset.py index bbc33374..aef940b5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_record_history_to_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_add_record_history_to_subset.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAddRecordHistoryToSubset(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "record_history_guid": "str", "recurse_children": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "record_history_guid": "recordHistoryGuid", "recurse_children": "recurseChildren", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -148,7 +148,7 @@ def recurse_children(self, recurse_children: "Union[bool, Unset_Type]") -> None: self._recurse_children = recurse_children @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation.py index 59e9e3c2..2e43155a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAggregation(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAggregationType", } @@ -125,7 +125,7 @@ def type(self, type: "GsaAggregationType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_criterion.py index 2e52d918..d7138b3c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAggregationCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAggregationType", } @@ -125,7 +125,7 @@ def type(self, type: "GsaAggregationType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum.py index 775d9827..5bd4d656 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAggregationDatum(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumType": "GsaAggregationDatumType", } @@ -136,7 +136,7 @@ def datum_type(self, datum_type: "GsaAggregationDatumType") -> None: self._datum_type = datum_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_criterion.py index 1e6050d9..370c4ec7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAggregationDatumCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", } @@ -141,7 +141,7 @@ def type(self, type: "GsaAggregationDatumCriterionType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_exists_criterion.py index e319fdd9..ed12660c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregation_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaAggregationDatumExistsCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", } @@ -116,7 +116,7 @@ def type(self, type: "Union[GsaAttributeType, Unset_Type]") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_request.py index b1ff263f..de2e841a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAggregationsRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "aggregation_criteria": "list[GsaAggregationCriterion]", "criterion": "GsaCriterion", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "aggregation_criteria": "aggregationCriteria", "criterion": "criterion", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "criterion": "GsaCriterion", "aggregationCriteria": "GsaAggregationCriterion", } @@ -80,18 +80,18 @@ class GsaAggregationsRequest(ModelBase): def __init__( self, *, - aggregation_criteria: "Union[List[GsaAggregationCriterion], None, Unset_Type]" = Unset, + aggregation_criteria: "Union[list[GsaAggregationCriterion], None, Unset_Type]" = Unset, criterion: "Union[GsaCriterion, Unset_Type]" = Unset, ) -> None: """GsaAggregationsRequest - a model defined in Swagger Parameters ---------- - aggregation_criteria: List[GsaAggregationCriterion], optional + aggregation_criteria: list[GsaAggregationCriterion], optional criterion: GsaCriterion, optional """ self._criterion: Union[GsaCriterion, Unset_Type] = Unset - self._aggregation_criteria: Union[List[GsaAggregationCriterion], None, Unset_Type] = Unset + self._aggregation_criteria: Union[list[GsaAggregationCriterion], None, Unset_Type] = Unset if criterion is not Unset: self.criterion = criterion @@ -124,33 +124,33 @@ def criterion(self, criterion: "Union[GsaCriterion, Unset_Type]") -> None: self._criterion = criterion @property - def aggregation_criteria(self) -> "Union[List[GsaAggregationCriterion], None, Unset_Type]": + def aggregation_criteria(self) -> "Union[list[GsaAggregationCriterion], None, Unset_Type]": """Gets the aggregation_criteria of this GsaAggregationsRequest. The aggregations you wish to perform. Returns ------- - Union[List[GsaAggregationCriterion], None, Unset_Type] + Union[list[GsaAggregationCriterion], None, Unset_Type] The aggregation_criteria of this GsaAggregationsRequest. """ return self._aggregation_criteria @aggregation_criteria.setter def aggregation_criteria( - self, aggregation_criteria: "Union[List[GsaAggregationCriterion], None, Unset_Type]" + self, aggregation_criteria: "Union[list[GsaAggregationCriterion], None, Unset_Type]" ) -> None: """Sets the aggregation_criteria of this GsaAggregationsRequest. The aggregations you wish to perform. Parameters ---------- - aggregation_criteria: Union[List[GsaAggregationCriterion], None, Unset_Type] + aggregation_criteria: Union[list[GsaAggregationCriterion], None, Unset_Type] The aggregation_criteria of this GsaAggregationsRequest. """ self._aggregation_criteria = aggregation_criteria @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_response.py index a029c760..2f715dea 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_aggregations_response.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaAggregationsResponse(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "results": "list[GsaAggregation]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "results": "results", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "results": "GsaAggregation", } @@ -77,36 +77,36 @@ class GsaAggregationsResponse(ModelBase): def __init__( self, *, - results: "List[GsaAggregation]", + results: "list[GsaAggregation]", ) -> None: """GsaAggregationsResponse - a model defined in Swagger Parameters ---------- - results: List[GsaAggregation] + results: list[GsaAggregation] """ - self._results: List[GsaAggregation] + self._results: list[GsaAggregation] self.results = results @property - def results(self) -> "List[GsaAggregation]": + def results(self) -> "list[GsaAggregation]": """Gets the results of this GsaAggregationsResponse. Returns ------- - List[GsaAggregation] + list[GsaAggregation] The results of this GsaAggregationsResponse. """ return self._results @results.setter - def results(self, results: "List[GsaAggregation]") -> None: + def results(self, results: "list[GsaAggregation]") -> None: """Sets the results of this GsaAggregationsResponse. Parameters ---------- - results: List[GsaAggregation] + results: list[GsaAggregation] The results of this GsaAggregationsResponse. """ # Field is not nullable @@ -118,7 +118,7 @@ def results(self, results: "List[GsaAggregation]") -> None: self._results = results @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_profiles_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_profiles_info.py index 6328f62f..e5f79a82 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_profiles_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_profiles_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAllProfilesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_profile": "GsaSlimProfile", "profiles": "list[GsaSlimProfile]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_profile": "defaultProfile", "profiles": "profiles", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "profiles": "GsaSlimProfile", "defaultProfile": "GsaSlimProfile", } @@ -81,16 +81,16 @@ def __init__( self, *, default_profile: "Union[GsaSlimProfile, Unset_Type]" = Unset, - profiles: "Union[List[GsaSlimProfile], None, Unset_Type]" = Unset, + profiles: "Union[list[GsaSlimProfile], None, Unset_Type]" = Unset, ) -> None: """GsaAllProfilesInfo - a model defined in Swagger Parameters ---------- default_profile: GsaSlimProfile, optional - profiles: List[GsaSlimProfile], optional + profiles: list[GsaSlimProfile], optional """ - self._profiles: Union[List[GsaSlimProfile], None, Unset_Type] = Unset + self._profiles: Union[list[GsaSlimProfile], None, Unset_Type] = Unset self._default_profile: Union[GsaSlimProfile, Unset_Type] = Unset if profiles is not Unset: @@ -99,23 +99,23 @@ def __init__( self.default_profile = default_profile @property - def profiles(self) -> "Union[List[GsaSlimProfile], None, Unset_Type]": + def profiles(self) -> "Union[list[GsaSlimProfile], None, Unset_Type]": """Gets the profiles of this GsaAllProfilesInfo. Returns ------- - Union[List[GsaSlimProfile], None, Unset_Type] + Union[list[GsaSlimProfile], None, Unset_Type] The profiles of this GsaAllProfilesInfo. """ return self._profiles @profiles.setter - def profiles(self, profiles: "Union[List[GsaSlimProfile], None, Unset_Type]") -> None: + def profiles(self, profiles: "Union[list[GsaSlimProfile], None, Unset_Type]") -> None: """Sets the profiles of this GsaAllProfilesInfo. Parameters ---------- - profiles: Union[List[GsaSlimProfile], None, Unset_Type] + profiles: Union[list[GsaSlimProfile], None, Unset_Type] The profiles of this GsaAllProfilesInfo. """ self._profiles = profiles @@ -146,7 +146,7 @@ def default_profile(self, default_profile: "Union[GsaSlimProfile, Unset_Type]") self._default_profile = default_profile @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_values_specifier.py index 5e27b1fa..72902983 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_all_values_specifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_value_specifier import ( # noqa: F401 GsaValueSpecifier, @@ -56,24 +56,24 @@ class GsaAllValuesSpecifier(GsaValueSpecifier): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "filter_on": "GsaValueSpecifierType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "filter_on": "filterOn", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(filter_on=filter_on) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_request.py index 0844dd18..562b2862 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,67 +51,67 @@ class GsaAppNameLicenseCheckoutRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "app_names": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "app_names": "appNames", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - app_names: "Union[List[str], None, Unset_Type]" = Unset, + app_names: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaAppNameLicenseCheckoutRequest - a model defined in Swagger Parameters ---------- - app_names: List[str], optional + app_names: list[str], optional """ - self._app_names: Union[List[str], None, Unset_Type] = Unset + self._app_names: Union[list[str], None, Unset_Type] = Unset if app_names is not Unset: self.app_names = app_names @property - def app_names(self) -> "Union[List[str], None, Unset_Type]": + def app_names(self) -> "Union[list[str], None, Unset_Type]": """Gets the app_names of this GsaAppNameLicenseCheckoutRequest. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The app_names of this GsaAppNameLicenseCheckoutRequest. """ return self._app_names @app_names.setter - def app_names(self, app_names: "Union[List[str], None, Unset_Type]") -> None: + def app_names(self, app_names: "Union[list[str], None, Unset_Type]") -> None: """Sets the app_names of this GsaAppNameLicenseCheckoutRequest. Parameters ---------- - app_names: Union[List[str], None, Unset_Type] + app_names: Union[list[str], None, Unset_Type] The app_names of this GsaAppNameLicenseCheckoutRequest. """ self._app_names = app_names @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_response.py index 44b7b4c9..f3f61425 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_response.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaAppNameLicenseCheckoutResponse(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "results": "list[GsaAppNameLicenseCheckoutResult]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "results": "results", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "results": "GsaAppNameLicenseCheckoutResult", } @@ -77,45 +77,45 @@ class GsaAppNameLicenseCheckoutResponse(ModelBase): def __init__( self, *, - results: "Union[List[GsaAppNameLicenseCheckoutResult], None, Unset_Type]" = Unset, + results: "Union[list[GsaAppNameLicenseCheckoutResult], None, Unset_Type]" = Unset, ) -> None: """GsaAppNameLicenseCheckoutResponse - a model defined in Swagger Parameters ---------- - results: List[GsaAppNameLicenseCheckoutResult], optional + results: list[GsaAppNameLicenseCheckoutResult], optional """ - self._results: Union[List[GsaAppNameLicenseCheckoutResult], None, Unset_Type] = Unset + self._results: Union[list[GsaAppNameLicenseCheckoutResult], None, Unset_Type] = Unset if results is not Unset: self.results = results @property - def results(self) -> "Union[List[GsaAppNameLicenseCheckoutResult], None, Unset_Type]": + def results(self) -> "Union[list[GsaAppNameLicenseCheckoutResult], None, Unset_Type]": """Gets the results of this GsaAppNameLicenseCheckoutResponse. Returns ------- - Union[List[GsaAppNameLicenseCheckoutResult], None, Unset_Type] + Union[list[GsaAppNameLicenseCheckoutResult], None, Unset_Type] The results of this GsaAppNameLicenseCheckoutResponse. """ return self._results @results.setter def results( - self, results: "Union[List[GsaAppNameLicenseCheckoutResult], None, Unset_Type]" + self, results: "Union[list[GsaAppNameLicenseCheckoutResult], None, Unset_Type]" ) -> None: """Sets the results of this GsaAppNameLicenseCheckoutResponse. Parameters ---------- - results: Union[List[GsaAppNameLicenseCheckoutResult], None, Unset_Type] + results: Union[list[GsaAppNameLicenseCheckoutResult], None, Unset_Type] The results of this GsaAppNameLicenseCheckoutResponse. """ self._results = results @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_result.py index 673aa71d..11a1563a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_app_name_license_checkout_result.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAppNameLicenseCheckoutResult(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "app_name": "str", "license_state_ok": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "app_name": "appName", "license_state_ok": "licenseStateOk", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -143,7 +143,7 @@ def license_state_ok(self, license_state_ok: "Union[bool, Unset_Type]") -> None: self._license_state_ok = license_state_ok @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_discrete_values.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_discrete_values.py index cb8cdb46..0c94efb9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_discrete_values.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_discrete_values.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaAppendDiscreteValues(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "discrete_values": "list[GsaSlimEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "discrete_values": "discreteValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteValues": "GsaSlimEntity", } @@ -77,36 +77,36 @@ class GsaAppendDiscreteValues(ModelBase): def __init__( self, *, - discrete_values: "List[GsaSlimEntity]", + discrete_values: "list[GsaSlimEntity]", ) -> None: """GsaAppendDiscreteValues - a model defined in Swagger Parameters ---------- - discrete_values: List[GsaSlimEntity] + discrete_values: list[GsaSlimEntity] """ - self._discrete_values: List[GsaSlimEntity] + self._discrete_values: list[GsaSlimEntity] self.discrete_values = discrete_values @property - def discrete_values(self) -> "List[GsaSlimEntity]": + def discrete_values(self) -> "list[GsaSlimEntity]": """Gets the discrete_values of this GsaAppendDiscreteValues. Returns ------- - List[GsaSlimEntity] + list[GsaSlimEntity] The discrete_values of this GsaAppendDiscreteValues. """ return self._discrete_values @discrete_values.setter - def discrete_values(self, discrete_values: "List[GsaSlimEntity]") -> None: + def discrete_values(self, discrete_values: "list[GsaSlimEntity]") -> None: """Sets the discrete_values of this GsaAppendDiscreteValues. Parameters ---------- - discrete_values: List[GsaSlimEntity] + discrete_values: list[GsaSlimEntity] The discrete_values of this GsaAppendDiscreteValues. """ # Field is not nullable @@ -118,7 +118,7 @@ def discrete_values(self, discrete_values: "List[GsaSlimEntity]") -> None: self._discrete_values = discrete_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_point_values.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_point_values.py index 75fa0291..3280d754 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_point_values.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_append_point_values.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaAppendPointValues(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "values": "list[GsaSetPointDatumValue]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "values": "values", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "values": "GsaSetPointDatumValue", } @@ -77,36 +77,36 @@ class GsaAppendPointValues(ModelBase): def __init__( self, *, - values: "List[GsaSetPointDatumValue]", + values: "list[GsaSetPointDatumValue]", ) -> None: """GsaAppendPointValues - a model defined in Swagger Parameters ---------- - values: List[GsaSetPointDatumValue] + values: list[GsaSetPointDatumValue] """ - self._values: List[GsaSetPointDatumValue] + self._values: list[GsaSetPointDatumValue] self.values = values @property - def values(self) -> "List[GsaSetPointDatumValue]": + def values(self) -> "list[GsaSetPointDatumValue]": """Gets the values of this GsaAppendPointValues. Returns ------- - List[GsaSetPointDatumValue] + list[GsaSetPointDatumValue] The values of this GsaAppendPointValues. """ return self._values @values.setter - def values(self, values: "List[GsaSetPointDatumValue]") -> None: + def values(self, values: "list[GsaSetPointDatumValue]") -> None: """Sets the values of this GsaAppendPointValues. Parameters ---------- - values: List[GsaSetPointDatumValue] + values: list[GsaSetPointDatumValue] The values of this GsaAppendPointValues. """ # Field is not nullable @@ -118,7 +118,7 @@ def values(self, values: "List[GsaSetPointDatumValue]") -> None: self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applicable_datum.py index 011970f1..2d88ed46 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applicable_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum import GsaDatum # noqa: F401 @@ -53,28 +53,28 @@ class GsaApplicableDatum(GsaDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "not_applicable": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumType": "GsaDatumType", } @@ -144,7 +144,7 @@ def datum_type(self, datum_type: "GsaDatumType") -> None: self._datum_type = datum_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applications_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applications_info.py index 150cc794..ec462f8c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applications_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_applications_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,67 +51,67 @@ class GsaApplicationsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "applications": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "applications": "applications", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - applications: "Union[List[str], None, Unset_Type]" = Unset, + applications: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaApplicationsInfo - a model defined in Swagger Parameters ---------- - applications: List[str], optional + applications: list[str], optional """ - self._applications: Union[List[str], None, Unset_Type] = Unset + self._applications: Union[list[str], None, Unset_Type] = Unset if applications is not Unset: self.applications = applications @property - def applications(self) -> "Union[List[str], None, Unset_Type]": + def applications(self) -> "Union[list[str], None, Unset_Type]": """Gets the applications of this GsaApplicationsInfo. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The applications of this GsaApplicationsInfo. """ return self._applications @applications.setter - def applications(self, applications: "Union[List[str], None, Unset_Type]") -> None: + def applications(self, applications: "Union[list[str], None, Unset_Type]") -> None: """Sets the applications of this GsaApplicationsInfo. Parameters ---------- - applications: Union[List[str], None, Unset_Type] + applications: Union[list[str], None, Unset_Type] The applications of this GsaApplicationsInfo. """ self._applications = applications @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute.py index 0bb4ed44..4afd83d5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -76,7 +76,7 @@ class GsaAttribute(ModelBase): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -90,7 +90,7 @@ class GsaAttribute(ModelBase): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "info": "GsaAttributeInfo", "type": "GsaAttributeType", @@ -122,7 +122,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -138,7 +138,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -157,7 +157,7 @@ def __init__( self._about_attribute: Union[GsaSlimTypedAttribute, Unset_Type] = Unset self._is_hidden_from_search_criteria: bool self._table: GsaSlimEntity - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -392,23 +392,23 @@ def table(self, table: "GsaSlimEntity") -> None: self._table = table @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaAttribute. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaAttribute. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaAttribute. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaAttribute. """ # Field is not nullable @@ -476,7 +476,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation.py index 1d380132..ab7c8f77 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation import GsaAggregation # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_type import GsaAggregationType @@ -54,18 +54,18 @@ class GsaAttributeAggregation(GsaAggregation): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_aggregation_type": "GsaAttributeAggregationType", "type": "GsaAggregationType", "attribute_guid": "str", @@ -73,7 +73,7 @@ class GsaAttributeAggregation(GsaAggregation): "count": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_aggregation_type": "attributeAggregationType", "type": "type", "attribute_guid": "attributeGuid", @@ -81,7 +81,7 @@ class GsaAttributeAggregation(GsaAggregation): "count": "count", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeAggregationType": "GsaAttributeAggregationType", } @@ -231,7 +231,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_criterion.py index ee8b4bd2..6f397835 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_criterion import ( # noqa: F401 GsaAggregationCriterion, @@ -56,18 +56,18 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_aggregation_criterion_type": "GsaAttributeAggregationType", "type": "GsaAggregationType", "guid": "str", @@ -75,7 +75,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion): "is_meta_attribute": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_aggregation_criterion_type": "attributeAggregationCriterionType", "type": "type", "guid": "guid", @@ -83,7 +83,7 @@ class GsaAttributeAggregationCriterion(GsaAggregationCriterion): "is_meta_attribute": "isMetaAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeAggregationCriterionType": "GsaAttributeAggregationType", } @@ -231,7 +231,7 @@ def attribute_aggregation_criterion_type( self._attribute_aggregation_criterion_type = attribute_aggregation_criterion_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_exists_criterion.py index d474d541..0c074598 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_type import GsaAggregationType from ansys.grantami.serverapi_openapi.models.gsa_attribute_aggregation_criterion import ( # noqa: F401 @@ -59,16 +59,16 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_aggregation_criterion_type": "GsaAttributeAggregationType", "inner_criterion": "GsaAggregationDatumExistsCriterion", "type": "GsaAggregationType", @@ -77,7 +77,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion): "is_meta_attribute": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_aggregation_criterion_type": "attributeAggregationCriterionType", "inner_criterion": "innerCriterion", "type": "type", @@ -86,7 +86,7 @@ class GsaAttributeAggregationExistsCriterion(GsaAttributeAggregationCriterion): "is_meta_attribute": "isMetaAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaAggregationDatumExistsCriterion", } @@ -153,7 +153,7 @@ def inner_criterion(self, inner_criterion: "GsaAggregationDatumExistsCriterion") self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_value_criterion.py index e0bfb5ca..4ac596d6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_value_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_aggregation_value_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_type import GsaAggregationType from ansys.grantami.serverapi_openapi.models.gsa_attribute_aggregation_criterion import ( # noqa: F401 @@ -59,16 +59,16 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_aggregation_criterion_type": "GsaAttributeAggregationType", "type": "GsaAggregationType", "guid": "str", @@ -77,7 +77,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion): "is_meta_attribute": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_aggregation_criterion_type": "attributeAggregationCriterionType", "type": "type", "guid": "guid", @@ -86,7 +86,7 @@ class GsaAttributeAggregationValueCriterion(GsaAttributeAggregationCriterion): "is_meta_attribute": "isMetaAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaAggregationDatumCriterion", } @@ -153,7 +153,7 @@ def inner_criterion( self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_criterion.py index cee4a53c..0ccd94f0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,18 +54,18 @@ class GsaAttributeCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_criterion_type": "GsaAttributeCriterionType", "type": "GsaCriterionType", "guid": "str", @@ -73,7 +73,7 @@ class GsaAttributeCriterion(GsaCriterion): "is_meta_attribute": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_criterion_type": "attributeCriterionType", "type": "type", "guid": "guid", @@ -81,7 +81,7 @@ class GsaAttributeCriterion(GsaCriterion): "is_meta_attribute": "isMetaAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeCriterionType": "GsaAttributeCriterionType", } @@ -226,7 +226,7 @@ def attribute_criterion_type( self._attribute_criterion_type = attribute_criterion_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_deletion_exception.py index 7d152fcc..76fb6434 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_deletion_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaAttributeDeletionException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaAttributeDeletionException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaDataModificationErrorDetail], optional + errors: list[GsaDataModificationErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,31 +153,31 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]": """Gets the errors of this GsaAttributeDeletionException. Returns ------- - Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaAttributeDeletionException. """ return self._errors @errors.setter def errors( - self, errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" + self, errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GsaAttributeDeletionException. Parameters ---------- - errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaAttributeDeletionException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_aggregation.py index a0187ee8..90cf8d18 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_type import GsaAggregationType from ansys.grantami.serverapi_openapi.models.gsa_attribute_aggregation import ( # noqa: F401 @@ -59,16 +59,16 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_aggregation_type": "GsaAttributeAggregationType", "type": "GsaAggregationType", "attribute_guid": "str", @@ -76,7 +76,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation): "count": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_aggregation_type": "attributeAggregationType", "type": "type", "attribute_guid": "attributeGuid", @@ -84,7 +84,7 @@ class GsaAttributeExistsAggregation(GsaAttributeAggregation): "count": "count", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_criterion.py index 42cce73f..7896e639 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_criterion import ( # noqa: F401 GsaAttributeCriterion, @@ -59,16 +59,16 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_criterion_type": "GsaAttributeCriterionType", "inner_criterion": "GsaDatumExistsCriterion", "type": "GsaCriterionType", @@ -77,7 +77,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion): "is_meta_attribute": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_criterion_type": "attributeCriterionType", "inner_criterion": "innerCriterion", "type": "type", @@ -86,7 +86,7 @@ class GsaAttributeExistsCriterion(GsaAttributeCriterion): "is_meta_attribute": "isMetaAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaDatumExistsCriterion", } @@ -153,7 +153,7 @@ def inner_criterion(self, inner_criterion: "GsaDatumExistsCriterion") -> None: self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_export_failure.py index f2bf68d3..8f30561e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_export_failure.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_export_failure import ( # noqa: F401 GsaExportFailure, @@ -56,30 +56,30 @@ class GsaAttributeExportFailure(GsaExportFailure): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "failed_attributes": "list[GsaAttributeReference]", "failure_details": "str", "failure_reason": "str", "type": "GsaExportFailureType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "failed_attributes": "failedAttributes", "failure_details": "failureDetails", "failure_reason": "failureReason", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "failedAttributes": "GsaAttributeReference", } @@ -88,7 +88,7 @@ class GsaAttributeExportFailure(GsaExportFailure): def __init__( self, *, - failed_attributes: "List[GsaAttributeReference]", + failed_attributes: "list[GsaAttributeReference]", failure_details: "str", failure_reason: "str", type: "GsaExportFailureType" = GsaExportFailureType.ATTRIBUTE, @@ -97,34 +97,34 @@ def __init__( Parameters ---------- - failed_attributes: List[GsaAttributeReference] + failed_attributes: list[GsaAttributeReference] failure_details: str failure_reason: str type: GsaExportFailureType """ super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type) - self._failed_attributes: List[GsaAttributeReference] + self._failed_attributes: list[GsaAttributeReference] self.failed_attributes = failed_attributes @property - def failed_attributes(self) -> "List[GsaAttributeReference]": + def failed_attributes(self) -> "list[GsaAttributeReference]": """Gets the failed_attributes of this GsaAttributeExportFailure. Returns ------- - List[GsaAttributeReference] + list[GsaAttributeReference] The failed_attributes of this GsaAttributeExportFailure. """ return self._failed_attributes @failed_attributes.setter - def failed_attributes(self, failed_attributes: "List[GsaAttributeReference]") -> None: + def failed_attributes(self, failed_attributes: "list[GsaAttributeReference]") -> None: """Sets the failed_attributes of this GsaAttributeExportFailure. Parameters ---------- - failed_attributes: List[GsaAttributeReference] + failed_attributes: list[GsaAttributeReference] The failed_attributes of this GsaAttributeExportFailure. """ # Field is not nullable @@ -136,7 +136,7 @@ def failed_attributes(self, failed_attributes: "List[GsaAttributeReference]") -> self._failed_attributes = failed_attributes @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_info.py index fa164c17..5b4ed036 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaAttributeInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "chartable": "bool", "expressionable": "bool", "extended_name": "str", @@ -75,7 +75,7 @@ class GsaAttributeInfo(ModelBase): "primary_dynamic_link_groups": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "chartable": "chartable", "expressionable": "expressionable", "extended_name": "extendedName", @@ -90,7 +90,7 @@ class GsaAttributeInfo(ModelBase): "primary_dynamic_link_groups": "primaryDynamicLinkGroups", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "orderedMetaAttributes": "GsaSlimTypedAttribute", "standardNames": "GsaSlimNamedEntity", "primaryDataLinkGroups": "GsaSlimNamedEntity", @@ -107,15 +107,15 @@ def __init__( chartable: "bool", expressionable: "bool", extended_name: "str", - foreign_data_link_groups: "List[GsaSlimNamedEntity]", + foreign_data_link_groups: "list[GsaSlimNamedEntity]", is_meta_attribute: "bool", linkable: "bool", - primary_data_link_groups: "List[GsaSlimNamedEntity]", - standard_names: "List[GsaSlimNamedEntity]", + primary_data_link_groups: "list[GsaSlimNamedEntity]", + standard_names: "list[GsaSlimNamedEntity]", type_code: "str", - foreign_dynamic_link_groups: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, - ordered_meta_attributes: "Union[List[GsaSlimTypedAttribute], None, Unset_Type]" = Unset, - primary_dynamic_link_groups: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + foreign_dynamic_link_groups: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + ordered_meta_attributes: "Union[list[GsaSlimTypedAttribute], None, Unset_Type]" = Unset, + primary_dynamic_link_groups: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaAttributeInfo - a model defined in Swagger @@ -124,15 +124,15 @@ def __init__( chartable: bool expressionable: bool extended_name: str - foreign_data_link_groups: List[GsaSlimNamedEntity] + foreign_data_link_groups: list[GsaSlimNamedEntity] is_meta_attribute: bool linkable: bool - primary_data_link_groups: List[GsaSlimNamedEntity] - standard_names: List[GsaSlimNamedEntity] + primary_data_link_groups: list[GsaSlimNamedEntity] + standard_names: list[GsaSlimNamedEntity] type_code: str - foreign_dynamic_link_groups: List[GsaSlimNamedEntity], optional - ordered_meta_attributes: List[GsaSlimTypedAttribute], optional - primary_dynamic_link_groups: List[GsaSlimNamedEntity], optional + foreign_dynamic_link_groups: list[GsaSlimNamedEntity], optional + ordered_meta_attributes: list[GsaSlimTypedAttribute], optional + primary_dynamic_link_groups: list[GsaSlimNamedEntity], optional """ self._type_code: str self._chartable: bool @@ -140,12 +140,12 @@ def __init__( self._linkable: bool self._extended_name: str self._is_meta_attribute: bool - self._ordered_meta_attributes: Union[List[GsaSlimTypedAttribute], None, Unset_Type] = Unset - self._standard_names: List[GsaSlimNamedEntity] - self._primary_data_link_groups: List[GsaSlimNamedEntity] - self._foreign_data_link_groups: List[GsaSlimNamedEntity] - self._primary_dynamic_link_groups: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset - self._foreign_dynamic_link_groups: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._ordered_meta_attributes: Union[list[GsaSlimTypedAttribute], None, Unset_Type] = Unset + self._standard_names: list[GsaSlimNamedEntity] + self._primary_data_link_groups: list[GsaSlimNamedEntity] + self._foreign_data_link_groups: list[GsaSlimNamedEntity] + self._primary_dynamic_link_groups: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._foreign_dynamic_link_groups: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset self.type_code = type_code self.chartable = chartable @@ -338,47 +338,47 @@ def is_meta_attribute(self, is_meta_attribute: "bool") -> None: self._is_meta_attribute = is_meta_attribute @property - def ordered_meta_attributes(self) -> "Union[List[GsaSlimTypedAttribute], None, Unset_Type]": + def ordered_meta_attributes(self) -> "Union[list[GsaSlimTypedAttribute], None, Unset_Type]": """Gets the ordered_meta_attributes of this GsaAttributeInfo. Returns ------- - Union[List[GsaSlimTypedAttribute], None, Unset_Type] + Union[list[GsaSlimTypedAttribute], None, Unset_Type] The ordered_meta_attributes of this GsaAttributeInfo. """ return self._ordered_meta_attributes @ordered_meta_attributes.setter def ordered_meta_attributes( - self, ordered_meta_attributes: "Union[List[GsaSlimTypedAttribute], None, Unset_Type]" + self, ordered_meta_attributes: "Union[list[GsaSlimTypedAttribute], None, Unset_Type]" ) -> None: """Sets the ordered_meta_attributes of this GsaAttributeInfo. Parameters ---------- - ordered_meta_attributes: Union[List[GsaSlimTypedAttribute], None, Unset_Type] + ordered_meta_attributes: Union[list[GsaSlimTypedAttribute], None, Unset_Type] The ordered_meta_attributes of this GsaAttributeInfo. """ self._ordered_meta_attributes = ordered_meta_attributes @property - def standard_names(self) -> "List[GsaSlimNamedEntity]": + def standard_names(self) -> "list[GsaSlimNamedEntity]": """Gets the standard_names of this GsaAttributeInfo. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The standard_names of this GsaAttributeInfo. """ return self._standard_names @standard_names.setter - def standard_names(self, standard_names: "List[GsaSlimNamedEntity]") -> None: + def standard_names(self, standard_names: "list[GsaSlimNamedEntity]") -> None: """Sets the standard_names of this GsaAttributeInfo. Parameters ---------- - standard_names: List[GsaSlimNamedEntity] + standard_names: list[GsaSlimNamedEntity] The standard_names of this GsaAttributeInfo. """ # Field is not nullable @@ -390,25 +390,25 @@ def standard_names(self, standard_names: "List[GsaSlimNamedEntity]") -> None: self._standard_names = standard_names @property - def primary_data_link_groups(self) -> "List[GsaSlimNamedEntity]": + def primary_data_link_groups(self) -> "list[GsaSlimNamedEntity]": """Gets the primary_data_link_groups of this GsaAttributeInfo. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The primary_data_link_groups of this GsaAttributeInfo. """ return self._primary_data_link_groups @primary_data_link_groups.setter def primary_data_link_groups( - self, primary_data_link_groups: "List[GsaSlimNamedEntity]" + self, primary_data_link_groups: "list[GsaSlimNamedEntity]" ) -> None: """Sets the primary_data_link_groups of this GsaAttributeInfo. Parameters ---------- - primary_data_link_groups: List[GsaSlimNamedEntity] + primary_data_link_groups: list[GsaSlimNamedEntity] The primary_data_link_groups of this GsaAttributeInfo. """ # Field is not nullable @@ -420,25 +420,25 @@ def primary_data_link_groups( self._primary_data_link_groups = primary_data_link_groups @property - def foreign_data_link_groups(self) -> "List[GsaSlimNamedEntity]": + def foreign_data_link_groups(self) -> "list[GsaSlimNamedEntity]": """Gets the foreign_data_link_groups of this GsaAttributeInfo. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The foreign_data_link_groups of this GsaAttributeInfo. """ return self._foreign_data_link_groups @foreign_data_link_groups.setter def foreign_data_link_groups( - self, foreign_data_link_groups: "List[GsaSlimNamedEntity]" + self, foreign_data_link_groups: "list[GsaSlimNamedEntity]" ) -> None: """Sets the foreign_data_link_groups of this GsaAttributeInfo. Parameters ---------- - foreign_data_link_groups: List[GsaSlimNamedEntity] + foreign_data_link_groups: list[GsaSlimNamedEntity] The foreign_data_link_groups of this GsaAttributeInfo. """ # Field is not nullable @@ -450,55 +450,55 @@ def foreign_data_link_groups( self._foreign_data_link_groups = foreign_data_link_groups @property - def primary_dynamic_link_groups(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def primary_dynamic_link_groups(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the primary_dynamic_link_groups of this GsaAttributeInfo. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The primary_dynamic_link_groups of this GsaAttributeInfo. """ return self._primary_dynamic_link_groups @primary_dynamic_link_groups.setter def primary_dynamic_link_groups( - self, primary_dynamic_link_groups: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, primary_dynamic_link_groups: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the primary_dynamic_link_groups of this GsaAttributeInfo. Parameters ---------- - primary_dynamic_link_groups: Union[List[GsaSlimNamedEntity], None, Unset_Type] + primary_dynamic_link_groups: Union[list[GsaSlimNamedEntity], None, Unset_Type] The primary_dynamic_link_groups of this GsaAttributeInfo. """ self._primary_dynamic_link_groups = primary_dynamic_link_groups @property - def foreign_dynamic_link_groups(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def foreign_dynamic_link_groups(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the foreign_dynamic_link_groups of this GsaAttributeInfo. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The foreign_dynamic_link_groups of this GsaAttributeInfo. """ return self._foreign_dynamic_link_groups @foreign_dynamic_link_groups.setter def foreign_dynamic_link_groups( - self, foreign_dynamic_link_groups: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, foreign_dynamic_link_groups: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the foreign_dynamic_link_groups of this GsaAttributeInfo. Parameters ---------- - foreign_dynamic_link_groups: Union[List[GsaSlimNamedEntity], None, Unset_Type] + foreign_dynamic_link_groups: Union[list[GsaSlimNamedEntity], None, Unset_Type] The foreign_dynamic_link_groups of this GsaAttributeInfo. """ self._foreign_dynamic_link_groups = foreign_dynamic_link_groups @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_link_pair.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_link_pair.py index 18008be7..4f600b0f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_link_pair.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_link_pair.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaAttributeLinkPair(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_source": "GsaSlimAttribute", "attribute_target": "GsaSlimAttribute", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_source": "attributeSource", "attribute_target": "attributeTarget", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeSource": "GsaSlimAttribute", "attributeTarget": "GsaSlimAttribute", } @@ -149,7 +149,7 @@ def attribute_target(self, attribute_target: "Union[GsaSlimAttribute, Unset_Type self._attribute_target = attribute_target @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_matches_criterion.py index 9e170bde..ccf043ab 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_matches_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_matches_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_criterion import ( # noqa: F401 GsaAttributeCriterion, @@ -59,16 +59,16 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_criterion_type": "GsaAttributeCriterionType", "inner_criterion": "GsaDatumCriterion", "type": "GsaCriterionType", @@ -77,7 +77,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion): "is_meta_attribute": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_criterion_type": "attributeCriterionType", "inner_criterion": "innerCriterion", "type": "type", @@ -86,7 +86,7 @@ class GsaAttributeMatchesCriterion(GsaAttributeCriterion): "is_meta_attribute": "isMetaAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaDatumCriterion", } @@ -153,7 +153,7 @@ def inner_criterion(self, inner_criterion: "GsaDatumCriterion") -> None: self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_not_applicable_criterion.py index ee402d95..e47a0cd2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_not_applicable_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_not_applicable_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_criterion import ( # noqa: F401 GsaAttributeCriterion, @@ -59,16 +59,16 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_criterion_type": "GsaAttributeCriterionType", "type": "GsaCriterionType", "guid": "str", @@ -76,7 +76,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion): "is_meta_attribute": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_criterion_type": "attributeCriterionType", "type": "type", "guid": "guid", @@ -84,7 +84,7 @@ class GsaAttributeNotApplicableCriterion(GsaAttributeCriterion): "is_meta_attribute": "isMetaAttribute", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_reference.py index 20332901..f789f95c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_reference.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaAttributeReference(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_key": "str", "attribute_guid": "str", "attribute_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_key": "databaseKey", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -174,7 +174,7 @@ def attribute_guid(self, attribute_guid: "Union[str, None, Unset_Type]") -> None self._attribute_guid = attribute_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_sort_criterion.py index 24f398cf..155de3de 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_sort_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sort_criterion import ( # noqa: F401 GsaSortCriterion, @@ -56,16 +56,16 @@ class GsaAttributeSortCriterion(GsaSortCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortCriterionType", "attribute_type": "GsaAttributeType", "guid": "str", @@ -74,7 +74,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion): "sort_type": "GsaSortType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_type": "attributeType", "guid": "guid", @@ -83,7 +83,7 @@ class GsaAttributeSortCriterion(GsaSortCriterion): "sort_type": "sortType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeType": "GsaAttributeType", "sortType": "GsaSortType", } @@ -221,7 +221,7 @@ def sort_type(self, sort_type: "Union[GsaSortType, Unset_Type]") -> None: self._sort_type = sort_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_to_export.py index a71a55ec..06301f28 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_to_export.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaAttributeToExport(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_type": "str", "guid": "str", "identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_type": "attributeType", "guid": "guid", "identity": "identity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator_value_class_map = { "link".lower(): "#/components/schemas/GsaLinkAttributeToExport", @@ -178,7 +178,7 @@ def attribute_type(self, attribute_type: "str") -> None: self._attribute_type = attribute_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_usage_data_modification_error_detail.py index af5c145d..c725596b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaAttributeUsageDataModificationErrorDetail(GsaUsageDataModificationError """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimAttribute]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimAttribute", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.ATTRIBUTE, - referenced_by: "Union[List[GsaSlimAttribute], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimAttribute], None, Unset_Type]" = Unset, ) -> None: """GsaAttributeUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimAttribute], optional + referenced_by: list[GsaSlimAttribute], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimAttribute], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimAttribute], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimAttribute], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimAttribute], None, Unset_Type]": """Gets the referenced_by of this GsaAttributeUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimAttribute], None, Unset_Type] + Union[list[GsaSlimAttribute], None, Unset_Type] The referenced_by of this GsaAttributeUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimAttribute], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimAttribute], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaAttributeUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimAttribute], None, Unset_Type] + referenced_by: Union[list[GsaSlimAttribute], None, Unset_Type] The referenced_by of this GsaAttributeUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_validate_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_validate_response.py index 403a0182..ec5acdfe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_validate_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_validate_response.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaAttributeValidateResponse(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "has_validation_rules": "bool", "is_valid": "bool", "value_changed": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "has_validation_rules": "hasValidationRules", "is_valid": "isValid", "value_changed": "valueChanged", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -181,7 +181,7 @@ def value_changed(self, value_changed: "Union[bool, None, Unset_Type]") -> None: self._value_changed = value_changed @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_value_aggregation.py index 43ba2f1b..945cee70 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_value_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attribute_value_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_type import GsaAggregationType from ansys.grantami.serverapi_openapi.models.gsa_attribute_aggregation import ( # noqa: F401 @@ -59,16 +59,16 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_aggregation_type": "GsaAttributeAggregationType", "type": "GsaAggregationType", "aggregation_datum": "GsaAggregationDatum", @@ -77,7 +77,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation): "count": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_aggregation_type": "attributeAggregationType", "type": "type", "aggregation_datum": "aggregationDatum", @@ -86,7 +86,7 @@ class GsaAttributeValueAggregation(GsaAttributeAggregation): "count": "count", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "aggregationDatum": "GsaAggregationDatum", } @@ -153,7 +153,7 @@ def aggregation_datum( self._aggregation_datum = aggregation_datum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attributes_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attributes_info.py index e9c72552..7c8ce636 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attributes_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_attributes_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaAttributesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attributes": "list[GsaSlimAttribute]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attributes": "attributes", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaSlimAttribute", } @@ -77,36 +77,36 @@ class GsaAttributesInfo(ModelBase): def __init__( self, *, - attributes: "List[GsaSlimAttribute]", + attributes: "list[GsaSlimAttribute]", ) -> None: """GsaAttributesInfo - a model defined in Swagger Parameters ---------- - attributes: List[GsaSlimAttribute] + attributes: list[GsaSlimAttribute] """ - self._attributes: List[GsaSlimAttribute] + self._attributes: list[GsaSlimAttribute] self.attributes = attributes @property - def attributes(self) -> "List[GsaSlimAttribute]": + def attributes(self) -> "list[GsaSlimAttribute]": """Gets the attributes of this GsaAttributesInfo. Returns ------- - List[GsaSlimAttribute] + list[GsaSlimAttribute] The attributes of this GsaAttributesInfo. """ return self._attributes @attributes.setter - def attributes(self, attributes: "List[GsaSlimAttribute]") -> None: + def attributes(self, attributes: "list[GsaSlimAttribute]") -> None: """Sets the attributes of this GsaAttributesInfo. Parameters ---------- - attributes: List[GsaSlimAttribute] + attributes: list[GsaSlimAttribute] The attributes of this GsaAttributesInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def attributes(self, attributes: "List[GsaSlimAttribute]") -> None: self._attributes = attributes @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boolean_criterion.py index 3da19896..5e416c50 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boolean_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boolean_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,30 +54,30 @@ class GsaBooleanCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "_none": "list[GsaCriterion]", "all": "list[GsaCriterion]", "any": "list[GsaCriterion]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "_none": "none", "all": "all", "any": "any", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "all": "GsaCriterion", "any": "GsaCriterion", "none": "GsaCriterion", @@ -89,23 +89,23 @@ def __init__( self, *, type: "GsaCriterionType" = GsaCriterionType.BOOLEAN, - _none: "Union[List[GsaCriterion], None, Unset_Type]" = Unset, - all: "Union[List[GsaCriterion], None, Unset_Type]" = Unset, - any: "Union[List[GsaCriterion], None, Unset_Type]" = Unset, + _none: "Union[list[GsaCriterion], None, Unset_Type]" = Unset, + all: "Union[list[GsaCriterion], None, Unset_Type]" = Unset, + any: "Union[list[GsaCriterion], None, Unset_Type]" = Unset, ) -> None: """GsaBooleanCriterion - a model defined in Swagger Parameters ---------- type: GsaCriterionType - _none: List[GsaCriterion], optional - all: List[GsaCriterion], optional - any: List[GsaCriterion], optional + _none: list[GsaCriterion], optional + all: list[GsaCriterion], optional + any: list[GsaCriterion], optional """ super().__init__(type=type) - self._all: Union[List[GsaCriterion], None, Unset_Type] = Unset - self._any: Union[List[GsaCriterion], None, Unset_Type] = Unset - self.__none: Union[List[GsaCriterion], None, Unset_Type] = Unset + self._all: Union[list[GsaCriterion], None, Unset_Type] = Unset + self._any: Union[list[GsaCriterion], None, Unset_Type] = Unset + self.__none: Union[list[GsaCriterion], None, Unset_Type] = Unset if all is not Unset: self.all = all @@ -115,79 +115,79 @@ def __init__( self._none = _none @property - def all(self) -> "Union[List[GsaCriterion], None, Unset_Type]": + def all(self) -> "Union[list[GsaCriterion], None, Unset_Type]": """Gets the all of this GsaBooleanCriterion. Only records that match all of these criteria are returned. Returns ------- - Union[List[GsaCriterion], None, Unset_Type] + Union[list[GsaCriterion], None, Unset_Type] The all of this GsaBooleanCriterion. """ return self._all @all.setter - def all(self, all: "Union[List[GsaCriterion], None, Unset_Type]") -> None: + def all(self, all: "Union[list[GsaCriterion], None, Unset_Type]") -> None: """Sets the all of this GsaBooleanCriterion. Only records that match all of these criteria are returned. Parameters ---------- - all: Union[List[GsaCriterion], None, Unset_Type] + all: Union[list[GsaCriterion], None, Unset_Type] The all of this GsaBooleanCriterion. """ self._all = all @property - def any(self) -> "Union[List[GsaCriterion], None, Unset_Type]": + def any(self) -> "Union[list[GsaCriterion], None, Unset_Type]": """Gets the any of this GsaBooleanCriterion. Only results that match any of these criteria are returned. Returns ------- - Union[List[GsaCriterion], None, Unset_Type] + Union[list[GsaCriterion], None, Unset_Type] The any of this GsaBooleanCriterion. """ return self._any @any.setter - def any(self, any: "Union[List[GsaCriterion], None, Unset_Type]") -> None: + def any(self, any: "Union[list[GsaCriterion], None, Unset_Type]") -> None: """Sets the any of this GsaBooleanCriterion. Only results that match any of these criteria are returned. Parameters ---------- - any: Union[List[GsaCriterion], None, Unset_Type] + any: Union[list[GsaCriterion], None, Unset_Type] The any of this GsaBooleanCriterion. """ self._any = any @property - def _none(self) -> "Union[List[GsaCriterion], None, Unset_Type]": + def _none(self) -> "Union[list[GsaCriterion], None, Unset_Type]": """Gets the _none of this GsaBooleanCriterion. Only results that match none of these criteria are returned. Returns ------- - Union[List[GsaCriterion], None, Unset_Type] + Union[list[GsaCriterion], None, Unset_Type] The _none of this GsaBooleanCriterion. """ return self.__none @_none.setter - def _none(self, _none: "Union[List[GsaCriterion], None, Unset_Type]") -> None: + def _none(self, _none: "Union[list[GsaCriterion], None, Unset_Type]") -> None: """Sets the _none of this GsaBooleanCriterion. Only results that match none of these criteria are returned. Parameters ---------- - _none: Union[List[GsaCriterion], None, Unset_Type] + _none: Union[list[GsaCriterion], None, Unset_Type] The _none of this GsaBooleanCriterion. """ self.__none = _none @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_guid.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_guid.py index ddb6e95a..8f3f8846 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_guid.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_guid.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaBoostByGuid(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "boost_factor": "float", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "boost_factor": "boostFactor", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def boost_factor(self, boost_factor: "Union[float, Unset_Type]") -> None: self._boost_factor = boost_factor @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_identity.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_identity.py index cba75c10..b63dd7dd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_identity.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_boost_by_identity.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaBoostByIdentity(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "boost_factor": "float", "identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "boost_factor": "boostFactor", "identity": "identity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def boost_factor(self, boost_factor: "Union[float, Unset_Type]") -> None: self._boost_factor = boost_factor @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configuration.py index b3f70bb5..17073c9f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configuration.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaConfiguration(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "description": "str", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "description": "description", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -208,7 +208,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configurations_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configurations_info.py index be78d3db..5240e8ef 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configurations_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_configurations_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaConfigurationsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "configurations": "list[GsaSlimConfiguration]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "configurations": "configurations", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "configurations": "GsaSlimConfiguration", } @@ -77,36 +77,36 @@ class GsaConfigurationsInfo(ModelBase): def __init__( self, *, - configurations: "List[GsaSlimConfiguration]", + configurations: "list[GsaSlimConfiguration]", ) -> None: """GsaConfigurationsInfo - a model defined in Swagger Parameters ---------- - configurations: List[GsaSlimConfiguration] + configurations: list[GsaSlimConfiguration] """ - self._configurations: List[GsaSlimConfiguration] + self._configurations: list[GsaSlimConfiguration] self.configurations = configurations @property - def configurations(self) -> "List[GsaSlimConfiguration]": + def configurations(self) -> "list[GsaSlimConfiguration]": """Gets the configurations of this GsaConfigurationsInfo. Returns ------- - List[GsaSlimConfiguration] + list[GsaSlimConfiguration] The configurations of this GsaConfigurationsInfo. """ return self._configurations @configurations.setter - def configurations(self, configurations: "List[GsaSlimConfiguration]") -> None: + def configurations(self, configurations: "list[GsaSlimConfiguration]") -> None: """Sets the configurations of this GsaConfigurationsInfo. Parameters ---------- - configurations: List[GsaSlimConfiguration] + configurations: list[GsaSlimConfiguration] The configurations of this GsaConfigurationsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def configurations(self, configurations: "List[GsaSlimConfiguration]") -> None: self._configurations = configurations @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant.py index b60f8d12..c3b6bad2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaConstant(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "value": "float", "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "value": "value", "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", } @@ -218,7 +218,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant_deletion_exception.py index bf068082..1a9c7f1c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constant_deletion_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaConstantDeletionException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaConstantDeletionException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaDataModificationErrorDetail], optional + errors: list[GsaDataModificationErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,31 +153,31 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]": """Gets the errors of this GsaConstantDeletionException. Returns ------- - Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaConstantDeletionException. """ return self._errors @errors.setter def errors( - self, errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" + self, errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GsaConstantDeletionException. Parameters ---------- - errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaConstantDeletionException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constants_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constants_info.py index 9ca187dd..9d3fbd41 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constants_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_constants_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaConstantsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constants": "list[GsaSlimConstant]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constants": "constants", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constants": "GsaSlimConstant", } @@ -77,43 +77,43 @@ class GsaConstantsInfo(ModelBase): def __init__( self, *, - constants: "Union[List[GsaSlimConstant], None, Unset_Type]" = Unset, + constants: "Union[list[GsaSlimConstant], None, Unset_Type]" = Unset, ) -> None: """GsaConstantsInfo - a model defined in Swagger Parameters ---------- - constants: List[GsaSlimConstant], optional + constants: list[GsaSlimConstant], optional """ - self._constants: Union[List[GsaSlimConstant], None, Unset_Type] = Unset + self._constants: Union[list[GsaSlimConstant], None, Unset_Type] = Unset if constants is not Unset: self.constants = constants @property - def constants(self) -> "Union[List[GsaSlimConstant], None, Unset_Type]": + def constants(self) -> "Union[list[GsaSlimConstant], None, Unset_Type]": """Gets the constants of this GsaConstantsInfo. Returns ------- - Union[List[GsaSlimConstant], None, Unset_Type] + Union[list[GsaSlimConstant], None, Unset_Type] The constants of this GsaConstantsInfo. """ return self._constants @constants.setter - def constants(self, constants: "Union[List[GsaSlimConstant], None, Unset_Type]") -> None: + def constants(self, constants: "Union[list[GsaSlimConstant], None, Unset_Type]") -> None: """Sets the constants of this GsaConstantsInfo. Parameters ---------- - constants: Union[List[GsaSlimConstant], None, Unset_Type] + constants: Union[list[GsaSlimConstant], None, Unset_Type] The constants of this GsaConstantsInfo. """ self._constants = constants @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_continuous_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_continuous_range.py index d2ee856b..c9200b7d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_continuous_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_continuous_range.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaContinuousRange(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "high_value": "float", "low_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "high_value": "highValue", "low_value": "lowValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -140,7 +140,7 @@ def high_value(self, high_value: "Union[float, None, Unset_Type]") -> None: self._high_value = high_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_copy_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_copy_record_history.py index dbe61610..5dc9b240 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_copy_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_copy_record_history.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCopyRecordHistory(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "subset_option": "GsaRecordPropertyInheritanceType", "new_parent": "GsaSlimRecordHistory", "new_short_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "subset_option": "subsetOption", "new_parent": "newParent", "new_short_name": "newShortName", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "newParent": "GsaSlimRecordHistory", "subsetOption": "GsaRecordPropertyInheritanceType", } @@ -180,7 +180,7 @@ def new_short_name(self, new_short_name: "Union[str, None, Unset_Type]") -> None self._new_short_name = new_short_name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute.py index aeeea503..e0ccd809 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaCreateAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -72,7 +72,7 @@ class GsaCreateAttribute(ModelBase): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -82,7 +82,7 @@ class GsaCreateAttribute(ModelBase): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", "defaultThresholdType": "GsaAttributeThresholdType", "aboutAttribute": "GsaSlimEntity", @@ -334,7 +334,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute_link_pair.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute_link_pair.py index 45177792..f2b2a2d7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute_link_pair.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_attribute_link_pair.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaCreateAttributeLinkPair(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_source_guid": "str", "attribute_target_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_source_guid": "attributeSourceGuid", "attribute_target_guid": "attributeTargetGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def attribute_target_guid(self, attribute_target_guid: "str") -> None: self._attribute_target_guid = attribute_target_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_configuration.py index fe77692e..e7c6c689 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_configuration.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaCreateConfiguration(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "value": "str", "description": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "value": "value", "description": "description", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -211,7 +211,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_constant.py index a9c53e0a..113ee691 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_constant.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaCreateConstant(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "value": "float", "guid": "str", "unit_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "value": "value", "guid": "guid", "unit_guid": "unitGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -211,7 +211,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_continuous_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_continuous_range.py index 3129bccc..3132e7cc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_continuous_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_continuous_range.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaCreateContinuousRange(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "high_value": "float", "low_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "high_value": "highValue", "low_value": "lowValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def high_value(self, high_value: "float") -> None: self._high_value = high_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_cross_database_record_link_group.py index 6c1087b2..058b1464 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_cross_database_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_cross_database_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_record_link_group import ( # noqa: F401 GsaCreateRecordLinkGroup, @@ -58,16 +58,16 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_target": "GsaLinkTarget", "name": "str", "reverse_name": "str", @@ -76,7 +76,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup): "include_indirect_links": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_target": "linkTarget", "name": "name", "reverse_name": "reverseName", @@ -85,7 +85,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup): "include_indirect_links": "includeIndirectLinks", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -144,7 +144,7 @@ def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type self._include_indirect_links = include_indirect_links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_data_rule.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_data_rule.py index a625ae0e..9300ce84 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_data_rule.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_data_rule.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaCreateDataRule(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "name": "str", "regular_expression": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "name": "name", "regular_expression": "regularExpression", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -216,7 +216,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_date_time_attribute.py index 29740e53..82b93839 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_date_time_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -75,7 +75,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -85,7 +85,7 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -123,7 +123,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_attribute.py index ef3d358b..54014412 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "discrete_type": "GsaSlimEntity", "name": "str", "type": "GsaAttributeType", @@ -77,7 +77,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute): "is_multi_valued": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "discrete_type": "discreteType", "name": "name", "type": "type", @@ -89,7 +89,7 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute): "is_multi_valued": "isMultiValued", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteType": "GsaSlimEntity", } @@ -192,7 +192,7 @@ def is_multi_valued(self, is_multi_valued: "Union[bool, Unset_Type]") -> None: self._is_multi_valued = is_multi_valued @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute.py index 590cbc08..ffdc4013 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_parameters": "list[GsaCreateDiscreteFunctionalAttributeParameter]", "discrete_type": "GsaSlimEntity", "name": "str", @@ -77,7 +77,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_parameters": "attributeParameters", "discrete_type": "discreteType", "name": "name", @@ -89,7 +89,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteType": "GsaSlimEntity", "attributeParameters": "GsaCreateDiscreteFunctionalAttributeParameter", } @@ -99,7 +99,7 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute): def __init__( self, *, - attribute_parameters: "List[GsaCreateDiscreteFunctionalAttributeParameter]", + attribute_parameters: "list[GsaCreateDiscreteFunctionalAttributeParameter]", discrete_type: "GsaSlimEntity", name: "str", type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL, @@ -113,7 +113,7 @@ def __init__( Parameters ---------- - attribute_parameters: List[GsaCreateDiscreteFunctionalAttributeParameter] + attribute_parameters: list[GsaCreateDiscreteFunctionalAttributeParameter] discrete_type: GsaSlimEntity name: str type: GsaAttributeType @@ -133,7 +133,7 @@ def __init__( is_hidden_from_search_criteria=is_hidden_from_search_criteria, ) self._discrete_type: GsaSlimEntity - self._attribute_parameters: List[GsaCreateDiscreteFunctionalAttributeParameter] + self._attribute_parameters: list[GsaCreateDiscreteFunctionalAttributeParameter] self.discrete_type = discrete_type self.attribute_parameters = attribute_parameters @@ -167,25 +167,25 @@ def discrete_type(self, discrete_type: "GsaSlimEntity") -> None: self._discrete_type = discrete_type @property - def attribute_parameters(self) -> "List[GsaCreateDiscreteFunctionalAttributeParameter]": + def attribute_parameters(self) -> "list[GsaCreateDiscreteFunctionalAttributeParameter]": """Gets the attribute_parameters of this GsaCreateDiscreteFunctionalAttribute. Returns ------- - List[GsaCreateDiscreteFunctionalAttributeParameter] + list[GsaCreateDiscreteFunctionalAttributeParameter] The attribute_parameters of this GsaCreateDiscreteFunctionalAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "List[GsaCreateDiscreteFunctionalAttributeParameter]" + self, attribute_parameters: "list[GsaCreateDiscreteFunctionalAttributeParameter]" ) -> None: """Sets the attribute_parameters of this GsaCreateDiscreteFunctionalAttribute. Parameters ---------- - attribute_parameters: List[GsaCreateDiscreteFunctionalAttributeParameter] + attribute_parameters: list[GsaCreateDiscreteFunctionalAttributeParameter] The attribute_parameters of this GsaCreateDiscreteFunctionalAttribute. """ # Field is not nullable @@ -197,7 +197,7 @@ def attribute_parameters( self._attribute_parameters = attribute_parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_discrete_parameter.py index cfe6f872..27d2053e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_discrete_functional_attribute_parameter import ( # noqa: F401 GsaCreateDiscreteFunctionalAttributeParameter, @@ -58,28 +58,28 @@ class GsaCreateDiscreteFunctionalAttributeDiscreteParameter( """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "default_value": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultValue": "GsaSlimEntity", } @@ -132,7 +132,7 @@ def default_value(self, default_value: "Union[GsaSlimEntity, Unset_Type]") -> No self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_numeric_parameter.py index 7c298b1a..fcd96f52 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_discrete_functional_attribute_parameter import ( # noqa: F401 GsaCreateDiscreteFunctionalAttributeParameter, @@ -58,28 +58,28 @@ class GsaCreateDiscreteFunctionalAttributeNumericParameter( """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "default_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -127,7 +127,7 @@ def default_value(self, default_value: "Union[float, None, Unset_Type]") -> None self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_parameter.py index 57a366ae..35d2f3e6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_functional_attribute_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateDiscreteFunctionalAttributeParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", "parameter": "GsaSlimEntity", } @@ -160,7 +160,7 @@ def parameter(self, parameter: "GsaSlimEntity") -> None: self._parameter = parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter.py index 1dfa3eac..2f54aaf7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_parameter import ( # noqa: F401 GsaCreateParameter, @@ -56,16 +56,16 @@ class GsaCreateDiscreteParameter(GsaCreateParameter): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_parameter_value_index": "int", "name": "str", "type": "GsaParameterType", @@ -74,7 +74,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_parameter_value_index": "defaultParameterValueIndex", "name": "name", "type": "type", @@ -83,7 +83,7 @@ class GsaCreateDiscreteParameter(GsaCreateParameter): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "values": "GsaCreateDiscreteParameterValue", } @@ -95,7 +95,7 @@ def __init__( default_parameter_value_index: "int", name: "str", type: "GsaParameterType" = GsaParameterType.DISCRETE, - values: "List[GsaCreateDiscreteParameterValue]", + values: "list[GsaCreateDiscreteParameterValue]", guid: "Union[str, Unset_Type]" = Unset, help_path: "Union[str, None, Unset_Type]" = Unset, ) -> None: @@ -106,7 +106,7 @@ def __init__( default_parameter_value_index: int name: str type: GsaParameterType - values: List[GsaCreateDiscreteParameterValue] + values: list[GsaCreateDiscreteParameterValue] guid: str, optional help_path: str, optional """ @@ -117,28 +117,28 @@ def __init__( guid=guid, help_path=help_path, ) - self._values: List[GsaCreateDiscreteParameterValue] + self._values: list[GsaCreateDiscreteParameterValue] self.values = values @property - def values(self) -> "List[GsaCreateDiscreteParameterValue]": + def values(self) -> "list[GsaCreateDiscreteParameterValue]": """Gets the values of this GsaCreateDiscreteParameter. Returns ------- - List[GsaCreateDiscreteParameterValue] + list[GsaCreateDiscreteParameterValue] The values of this GsaCreateDiscreteParameter. """ return self._values @values.setter - def values(self, values: "List[GsaCreateDiscreteParameterValue]") -> None: + def values(self, values: "list[GsaCreateDiscreteParameterValue]") -> None: """Sets the values of this GsaCreateDiscreteParameter. Parameters ---------- - values: List[GsaCreateDiscreteParameterValue] + values: list[GsaCreateDiscreteParameterValue] The values of this GsaCreateDiscreteParameter. """ # Field is not nullable @@ -150,7 +150,7 @@ def values(self, values: "List[GsaCreateDiscreteParameterValue]") -> None: self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_content.py index c60f639c..906802b7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_parameter_content import ( # noqa: F401 GsaCreateParameterContent, @@ -56,30 +56,30 @@ class GsaCreateDiscreteParameterContent(GsaCreateParameterContent): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "parameter_range": "GsaCreateDiscreteRange", "parameter_value": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "parameter_range": "parameterRange", "parameter_value": "parameterValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValue": "GsaSlimEntity", "parameterRange": "GsaCreateDiscreteRange", } @@ -163,7 +163,7 @@ def parameter_range(self, parameter_range: "Union[GsaCreateDiscreteRange, Unset_ self._parameter_range = parameter_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_value.py index b424ef21..ffedb700 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_parameter_value import ( # noqa: F401 GsaCreateParameterValue, @@ -56,28 +56,28 @@ class GsaCreateDiscreteParameterValue(GsaCreateParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaParameterValueType", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def name(self, name: "str") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_range.py index d1c84177..24c878fc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_range.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaCreateDiscreteRange(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_values": "list[GsaSlimEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_values": "parameterValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaSlimEntity", } @@ -77,36 +77,36 @@ class GsaCreateDiscreteRange(ModelBase): def __init__( self, *, - parameter_values: "List[GsaSlimEntity]", + parameter_values: "list[GsaSlimEntity]", ) -> None: """GsaCreateDiscreteRange - a model defined in Swagger Parameters ---------- - parameter_values: List[GsaSlimEntity] + parameter_values: list[GsaSlimEntity] """ - self._parameter_values: List[GsaSlimEntity] + self._parameter_values: list[GsaSlimEntity] self.parameter_values = parameter_values @property - def parameter_values(self) -> "List[GsaSlimEntity]": + def parameter_values(self) -> "list[GsaSlimEntity]": """Gets the parameter_values of this GsaCreateDiscreteRange. Returns ------- - List[GsaSlimEntity] + list[GsaSlimEntity] The parameter_values of this GsaCreateDiscreteRange. """ return self._parameter_values @parameter_values.setter - def parameter_values(self, parameter_values: "List[GsaSlimEntity]") -> None: + def parameter_values(self, parameter_values: "list[GsaSlimEntity]") -> None: """Sets the parameter_values of this GsaCreateDiscreteRange. Parameters ---------- - parameter_values: List[GsaSlimEntity] + parameter_values: list[GsaSlimEntity] The parameter_values of this GsaCreateDiscreteRange. """ # Field is not nullable @@ -118,7 +118,7 @@ def parameter_values(self, parameter_values: "List[GsaSlimEntity]") -> None: self._parameter_values = parameter_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_type.py index 5c47e7b6..0bad60a5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_discrete_type.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateDiscreteType(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "guid": "str", "is_ordered": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "guid": "guid", "is_ordered": "isOrdered", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -180,7 +180,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_dynamic_record_link_group.py index cddcb937..25710ae7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_dynamic_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_dynamic_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_record_link_group import ( # noqa: F401 GsaCreateRecordLinkGroup, @@ -58,16 +58,16 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_pairs": "list[GsaCreateAttributeLinkPair]", "link_target": "GsaLinkTarget", "name": "str", @@ -78,7 +78,7 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup): "referential_integrity_model": "GsaReferentialIntegrityModel", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_pairs": "attributePairs", "link_target": "linkTarget", "name": "name", @@ -89,7 +89,7 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup): "referential_integrity_model": "referentialIntegrityModel", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referentialIntegrityModel": "GsaReferentialIntegrityModel", "attributePairs": "GsaCreateAttributeLinkPair", } @@ -99,7 +99,7 @@ class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup): def __init__( self, *, - attribute_pairs: "List[GsaCreateAttributeLinkPair]", + attribute_pairs: "list[GsaCreateAttributeLinkPair]", link_target: "GsaLinkTarget", name: "str", reverse_name: "str", @@ -112,7 +112,7 @@ def __init__( Parameters ---------- - attribute_pairs: List[GsaCreateAttributeLinkPair] + attribute_pairs: list[GsaCreateAttributeLinkPair] link_target: GsaLinkTarget name: str reverse_name: str @@ -126,7 +126,7 @@ def __init__( ) self._forbid_orphans: Union[bool, Unset_Type] = Unset self._referential_integrity_model: Union[GsaReferentialIntegrityModel, Unset_Type] = Unset - self._attribute_pairs: List[GsaCreateAttributeLinkPair] + self._attribute_pairs: list[GsaCreateAttributeLinkPair] if forbid_orphans is not Unset: self.forbid_orphans = forbid_orphans @@ -187,23 +187,23 @@ def referential_integrity_model( self._referential_integrity_model = referential_integrity_model @property - def attribute_pairs(self) -> "List[GsaCreateAttributeLinkPair]": + def attribute_pairs(self) -> "list[GsaCreateAttributeLinkPair]": """Gets the attribute_pairs of this GsaCreateDynamicRecordLinkGroup. Returns ------- - List[GsaCreateAttributeLinkPair] + list[GsaCreateAttributeLinkPair] The attribute_pairs of this GsaCreateDynamicRecordLinkGroup. """ return self._attribute_pairs @attribute_pairs.setter - def attribute_pairs(self, attribute_pairs: "List[GsaCreateAttributeLinkPair]") -> None: + def attribute_pairs(self, attribute_pairs: "list[GsaCreateAttributeLinkPair]") -> None: """Sets the attribute_pairs of this GsaCreateDynamicRecordLinkGroup. Parameters ---------- - attribute_pairs: List[GsaCreateAttributeLinkPair] + attribute_pairs: list[GsaCreateAttributeLinkPair] The attribute_pairs of this GsaCreateDynamicRecordLinkGroup. """ # Field is not nullable @@ -215,7 +215,7 @@ def attribute_pairs(self, attribute_pairs: "List[GsaCreateAttributeLinkPair]") - self._attribute_pairs = attribute_pairs @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_expression.py index dba58d5f..e94caed6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_expression.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaCreateExpression(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "value": "str", "guid": "str", "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "value": "value", "guid": "guid", "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", } @@ -216,7 +216,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_file_attribute.py index 1986505c..e9caf479 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_file_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateFileAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -75,7 +75,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -85,7 +85,7 @@ class GsaCreateFileAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -123,7 +123,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute.py index 135187f1..95b7a9a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_parameters": "list[GsaCreateFloatFunctionalAttributeParameter]", "name": "str", "type": "GsaAttributeType", @@ -79,7 +79,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_parameters": "attributeParameters", "name": "name", "type": "type", @@ -93,7 +93,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "attributeParameters": "GsaCreateFloatFunctionalAttributeParameter", } @@ -103,7 +103,7 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute): def __init__( self, *, - attribute_parameters: "List[GsaCreateFloatFunctionalAttributeParameter]", + attribute_parameters: "list[GsaCreateFloatFunctionalAttributeParameter]", name: "str", type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL, about_attribute: "Union[GsaSlimEntity, Unset_Type]" = Unset, @@ -119,7 +119,7 @@ def __init__( Parameters ---------- - attribute_parameters: List[GsaCreateFloatFunctionalAttributeParameter] + attribute_parameters: list[GsaCreateFloatFunctionalAttributeParameter] name: str type: GsaAttributeType about_attribute: GsaSlimEntity, optional @@ -142,7 +142,7 @@ def __init__( ) self._unit: Union[GsaSlimEntity, Unset_Type] = Unset self._axis_name: Union[str, None, Unset_Type] = Unset - self._attribute_parameters: List[GsaCreateFloatFunctionalAttributeParameter] + self._attribute_parameters: list[GsaCreateFloatFunctionalAttributeParameter] self._is_range: Union[bool, Unset_Type] = Unset if unit is not Unset: @@ -201,25 +201,25 @@ def axis_name(self, axis_name: "Union[str, None, Unset_Type]") -> None: self._axis_name = axis_name @property - def attribute_parameters(self) -> "List[GsaCreateFloatFunctionalAttributeParameter]": + def attribute_parameters(self) -> "list[GsaCreateFloatFunctionalAttributeParameter]": """Gets the attribute_parameters of this GsaCreateFloatFunctionalAttribute. Returns ------- - List[GsaCreateFloatFunctionalAttributeParameter] + list[GsaCreateFloatFunctionalAttributeParameter] The attribute_parameters of this GsaCreateFloatFunctionalAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "List[GsaCreateFloatFunctionalAttributeParameter]" + self, attribute_parameters: "list[GsaCreateFloatFunctionalAttributeParameter]" ) -> None: """Sets the attribute_parameters of this GsaCreateFloatFunctionalAttribute. Parameters ---------- - attribute_parameters: List[GsaCreateFloatFunctionalAttributeParameter] + attribute_parameters: list[GsaCreateFloatFunctionalAttributeParameter] The attribute_parameters of this GsaCreateFloatFunctionalAttribute. """ # Field is not nullable @@ -256,7 +256,7 @@ def is_range(self, is_range: "Union[bool, Unset_Type]") -> None: self._is_range = is_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_discrete_parameter.py index c034289e..9cb2ca3a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_float_functional_attribute_parameter import ( # noqa: F401 GsaCreateFloatFunctionalAttributeParameter, @@ -58,28 +58,28 @@ class GsaCreateFloatFunctionalAttributeDiscreteParameter( """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "default_value": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultValue": "GsaSlimEntity", } @@ -132,7 +132,7 @@ def default_value(self, default_value: "Union[GsaSlimEntity, Unset_Type]") -> No self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_numeric_parameter.py index 6d53e0c9..887eb591 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_float_functional_attribute_parameter import ( # noqa: F401 GsaCreateFloatFunctionalAttributeParameter, @@ -56,16 +56,16 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "default_value": "float", @@ -73,7 +73,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional "scale_type": "GsaAttributeScaleType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", @@ -81,7 +81,7 @@ class GsaCreateFloatFunctionalAttributeNumericParameter(GsaCreateFloatFunctional "scale_type": "scaleType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "interpolationMethod": "GsaAttributeInterpolationMethod", "scaleType": "GsaAttributeScaleType", } @@ -194,7 +194,7 @@ def scale_type(self, scale_type: "Union[GsaAttributeScaleType, Unset_Type]") -> self._scale_type = scale_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_parameter.py index da775837..b4ea2a78 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_float_functional_attribute_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateFloatFunctionalAttributeParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", "parameter": "GsaSlimEntity", } @@ -160,7 +160,7 @@ def parameter(self, parameter: "GsaSlimEntity") -> None: self._parameter = parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_folder.py index 8b5826c3..bdb0dea6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_folder.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateFolder(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "parent_guid": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "parent_guid": "parentGuid", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -182,7 +182,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_hyperlink_attribute.py index 6f4262da..23127ca2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_hyperlink_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -75,7 +75,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -85,7 +85,7 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -123,7 +123,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_integer_attribute.py index 70be25eb..aec6c2e2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_integer_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -77,7 +77,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute): "is_unique": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -89,7 +89,7 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute): "is_unique": "isUnique", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -187,7 +187,7 @@ def axis_name(self, axis_name: "Union[str, None, Unset_Type]") -> None: self._axis_name = axis_name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_job_request.py index c8241bbd..a6e54f39 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_job_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_job_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaCreateJobRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "culture": "str", "description": "str", "input_file_ids": "list[str]", @@ -71,7 +71,7 @@ class GsaCreateJobRequest(ModelBase): "version": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "culture": "culture", "description": "description", "input_file_ids": "inputFileIds", @@ -82,7 +82,7 @@ class GsaCreateJobRequest(ModelBase): "version": "version", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( *, culture: "Union[str, None, Unset_Type]" = Unset, description: "Union[str, None, Unset_Type]" = Unset, - input_file_ids: "Union[List[str], None, Unset_Type]" = Unset, + input_file_ids: "Union[list[str], None, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, parameters: "Union[str, None, Unset_Type]" = Unset, scheduled_execution_date: "Union[datetime, None, Unset_Type]" = Unset, @@ -104,7 +104,7 @@ def __init__( ---------- culture: str, optional description: str, optional - input_file_ids: List[str], optional + input_file_ids: list[str], optional name: str, optional parameters: str, optional scheduled_execution_date: datetime, optional @@ -117,7 +117,7 @@ def __init__( self._type: Union[str, None, Unset_Type] = Unset self._version: Union[int, Unset_Type] = Unset self._scheduled_execution_date: Union[datetime, None, Unset_Type] = Unset - self._input_file_ids: Union[List[str], None, Unset_Type] = Unset + self._input_file_ids: Union[list[str], None, Unset_Type] = Unset self._parameters: Union[str, None, Unset_Type] = Unset if name is not Unset: @@ -275,25 +275,25 @@ def scheduled_execution_date( self._scheduled_execution_date = scheduled_execution_date @property - def input_file_ids(self) -> "Union[List[str], None, Unset_Type]": + def input_file_ids(self) -> "Union[list[str], None, Unset_Type]": """Gets the input_file_ids of this GsaCreateJobRequest. Names of temporary input files that were uploaded prior to creating this job. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The input_file_ids of this GsaCreateJobRequest. """ return self._input_file_ids @input_file_ids.setter - def input_file_ids(self, input_file_ids: "Union[List[str], None, Unset_Type]") -> None: + def input_file_ids(self, input_file_ids: "Union[list[str], None, Unset_Type]") -> None: """Sets the input_file_ids of this GsaCreateJobRequest. Names of temporary input files that were uploaded prior to creating this job. Parameters ---------- - input_file_ids: Union[List[str], None, Unset_Type] + input_file_ids: Union[list[str], None, Unset_Type] The input_file_ids of this GsaCreateJobRequest. """ self._input_file_ids = input_file_ids @@ -321,7 +321,7 @@ def parameters(self, parameters: "Union[str, None, Unset_Type]") -> None: self._parameters = parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout.py index e801b171..61748916 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateLayout(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "applicable_applications": "list[str]", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "applicable_applications": "applicableApplications", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -80,7 +80,7 @@ def __init__( self, *, name: "str", - applicable_applications: "Union[List[str], None, Unset_Type]" = Unset, + applicable_applications: "Union[list[str], None, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, ) -> None: """GsaCreateLayout - a model defined in Swagger @@ -88,10 +88,10 @@ def __init__( Parameters ---------- name: str - applicable_applications: List[str], optional + applicable_applications: list[str], optional guid: str, optional """ - self._applicable_applications: Union[List[str], None, Unset_Type] = Unset + self._applicable_applications: Union[list[str], None, Unset_Type] = Unset self._name: str self._guid: Union[str, Unset_Type] = Unset @@ -102,27 +102,27 @@ def __init__( self.guid = guid @property - def applicable_applications(self) -> "Union[List[str], None, Unset_Type]": + def applicable_applications(self) -> "Union[list[str], None, Unset_Type]": """Gets the applicable_applications of this GsaCreateLayout. If there are no ApplicableApplications, the layout is applicable in all applications. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The applicable_applications of this GsaCreateLayout. """ return self._applicable_applications @applicable_applications.setter def applicable_applications( - self, applicable_applications: "Union[List[str], None, Unset_Type]" + self, applicable_applications: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the applicable_applications of this GsaCreateLayout. If there are no ApplicableApplications, the layout is applicable in all applications. Parameters ---------- - applicable_applications: Union[List[str], None, Unset_Type] + applicable_applications: Union[list[str], None, Unset_Type] The applicable_applications of this GsaCreateLayout. """ self._applicable_applications = applicable_applications @@ -181,7 +181,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout_section.py index 02bd8dc1..f9d51f20 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_layout_section.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaCreateLayoutSection(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -148,7 +148,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_attribute_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_attribute_tabular_column.py index 9afca763..877a8b96 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_attribute_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_attribute_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLinkedAttributeTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "linked_attribute": "GsaSlimEntity", "name": "str", @@ -79,7 +79,7 @@ class GsaCreateLinkedAttributeTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "linked_attribute": "linkedAttribute", "name": "name", @@ -91,7 +91,7 @@ class GsaCreateLinkedAttributeTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkedAttribute": "GsaSlimEntity", } @@ -167,7 +167,7 @@ def linked_attribute(self, linked_attribute: "GsaSlimEntity") -> None: self._linked_attribute = linked_attribute @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_column_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_column_tabular_column.py index e61cbfb3..bb57f41b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_column_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_column_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLinkedColumnTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "linked_column": "GsaSlimEntity", "name": "str", @@ -79,7 +79,7 @@ class GsaCreateLinkedColumnTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "linked_column": "linkedColumn", "name": "name", @@ -91,7 +91,7 @@ class GsaCreateLinkedColumnTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkedColumn": "GsaSlimEntity", } @@ -167,7 +167,7 @@ def linked_column(self, linked_column: "GsaSlimEntity") -> None: self._linked_column = linked_column @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_record_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_record_tabular_column.py index 912a43b5..c1fba536 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_record_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_linked_record_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLinkedRecordTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "guid": "str", @@ -78,7 +78,7 @@ class GsaCreateLinkedRecordTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "guid": "guid", @@ -89,7 +89,7 @@ class GsaCreateLinkedRecordTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_list_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_list_item.py index 759517d0..f035b8e1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_list_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_list_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaCreateListItem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "record_history_guid": "str", "record_version": "int", "table_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "record_history_guid": "recordHistoryGuid", "record_version": "recordVersion", "table_guid": "tableGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -208,7 +208,7 @@ def table_guid(self, table_guid: "Union[str, None, Unset_Type]") -> None: self._table_guid = table_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_date_time_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_date_time_tabular_column.py index e266f463..f2aed2d3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_date_time_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_date_time_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalDateTimeTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalDateTimeTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalDateTimeTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_discrete_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_discrete_tabular_column.py index 90699fc0..85cb69b3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_discrete_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_discrete_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalDiscreteTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "discrete_type": "GsaSlimEntity", "name": "str", @@ -80,7 +80,7 @@ class GsaCreateLocalDiscreteTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "discrete_type": "discreteType", "name": "name", @@ -93,7 +93,7 @@ class GsaCreateLocalDiscreteTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "discreteType": "GsaSlimEntity", } @@ -202,7 +202,7 @@ def discrete_type(self, discrete_type: "GsaSlimEntity") -> None: self._discrete_type = discrete_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_file_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_file_tabular_column.py index 7e515d50..4d15dc1b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_file_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_file_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalFileTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalFileTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalFileTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_hyperlink_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_hyperlink_tabular_column.py index db7624ef..84ab1a9e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_hyperlink_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_hyperlink_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalHyperlinkTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalHyperlinkTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalHyperlinkTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_integer_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_integer_tabular_column.py index 0907db4f..46a9c883 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_integer_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_integer_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalIntegerTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalIntegerTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalIntegerTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_logical_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_logical_tabular_column.py index 513ab9d0..53fbee78 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_logical_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_logical_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalLogicalTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalLogicalTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalLogicalTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_long_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_long_text_tabular_column.py index 6dc0dde3..14bb11d3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_long_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_long_text_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalLongTextTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalLongTextTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalLongTextTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_picture_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_picture_tabular_column.py index 7629b008..dbb89e65 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_picture_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_picture_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalPictureTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalPictureTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalPictureTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_point_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_point_tabular_column.py index a21e8a4a..338acf85 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_point_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_point_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalPointTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -80,7 +80,7 @@ class GsaCreateLocalPointTabularColumn(GsaCreateTabularColumn): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -93,7 +93,7 @@ class GsaCreateLocalPointTabularColumn(GsaCreateTabularColumn): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "unit": "GsaSlimEntity", } @@ -200,7 +200,7 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_range_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_range_tabular_column.py index b27057a4..b169570e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_range_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_range_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalRangeTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -80,7 +80,7 @@ class GsaCreateLocalRangeTabularColumn(GsaCreateTabularColumn): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -93,7 +93,7 @@ class GsaCreateLocalRangeTabularColumn(GsaCreateTabularColumn): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "unit": "GsaSlimEntity", } @@ -200,7 +200,7 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_short_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_short_text_tabular_column.py index 5b1fe427..0d2f8f0b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_short_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_local_short_text_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_tabular_column import ( # noqa: F401 GsaCreateTabularColumn, @@ -58,16 +58,16 @@ class GsaCreateLocalShortTextTabularColumn(GsaCreateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "default_threshold_type": "GsaAttributeThresholdType", @@ -79,7 +79,7 @@ class GsaCreateLocalShortTextTabularColumn(GsaCreateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "default_threshold_type": "defaultThresholdType", @@ -91,7 +91,7 @@ class GsaCreateLocalShortTextTabularColumn(GsaCreateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_logical_attribute.py index 9f1ad8b0..4a46cc06 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_logical_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -75,7 +75,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -85,7 +85,7 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -123,7 +123,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_long_text_attribute.py index f03a5c08..2fc0c8fc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_long_text_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -75,7 +75,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -85,7 +85,7 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -123,7 +123,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_content.py index fd73ef29..f51e5c39 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaCreateMathsContent(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "curve_label": "str", "expression": "GsaSlimEntity", "free_parameter": "GsaSlimEntity", @@ -69,7 +69,7 @@ class GsaCreateMathsContent(ModelBase): "use_logarithmic_scale": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "curve_label": "curveLabel", "expression": "expression", "free_parameter": "freeParameter", @@ -78,7 +78,7 @@ class GsaCreateMathsContent(ModelBase): "use_logarithmic_scale": "useLogarithmicScale", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "expression": "GsaSlimEntity", "freeParameter": "GsaSlimEntity", "parameterContents": "GsaCreateParameterContent", @@ -92,7 +92,7 @@ def __init__( curve_label: "Union[str, None, Unset_Type]" = Unset, expression: "Union[GsaSlimEntity, Unset_Type]" = Unset, free_parameter: "Union[GsaSlimEntity, Unset_Type]" = Unset, - parameter_contents: "Union[List[GsaCreateParameterContent], Unset_Type]" = Unset, + parameter_contents: "Union[list[GsaCreateParameterContent], Unset_Type]" = Unset, transpose_axes: "Union[bool, Unset_Type]" = Unset, use_logarithmic_scale: "Union[bool, Unset_Type]" = Unset, ) -> None: @@ -103,7 +103,7 @@ def __init__( curve_label: str, optional expression: GsaSlimEntity, optional free_parameter: GsaSlimEntity, optional - parameter_contents: List[GsaCreateParameterContent], optional + parameter_contents: list[GsaCreateParameterContent], optional transpose_axes: bool, optional use_logarithmic_scale: bool, optional """ @@ -112,7 +112,7 @@ def __init__( self._use_logarithmic_scale: Union[bool, Unset_Type] = Unset self._expression: Union[GsaSlimEntity, Unset_Type] = Unset self._free_parameter: Union[GsaSlimEntity, Unset_Type] = Unset - self._parameter_contents: Union[List[GsaCreateParameterContent], Unset_Type] = Unset + self._parameter_contents: Union[list[GsaCreateParameterContent], Unset_Type] = Unset if curve_label is not Unset: self.curve_label = curve_label @@ -250,25 +250,25 @@ def free_parameter(self, free_parameter: "Union[GsaSlimEntity, Unset_Type]") -> self._free_parameter = free_parameter @property - def parameter_contents(self) -> "Union[List[GsaCreateParameterContent], Unset_Type]": + def parameter_contents(self) -> "Union[list[GsaCreateParameterContent], Unset_Type]": """Gets the parameter_contents of this GsaCreateMathsContent. Returns ------- - Union[List[GsaCreateParameterContent], Unset_Type] + Union[list[GsaCreateParameterContent], Unset_Type] The parameter_contents of this GsaCreateMathsContent. """ return self._parameter_contents @parameter_contents.setter def parameter_contents( - self, parameter_contents: "Union[List[GsaCreateParameterContent], Unset_Type]" + self, parameter_contents: "Union[list[GsaCreateParameterContent], Unset_Type]" ) -> None: """Sets the parameter_contents of this GsaCreateMathsContent. Parameters ---------- - parameter_contents: Union[List[GsaCreateParameterContent], Unset_Type] + parameter_contents: Union[list[GsaCreateParameterContent], Unset_Type] The parameter_contents of this GsaCreateMathsContent. """ # Field is not nullable @@ -277,7 +277,7 @@ def parameter_contents( self._parameter_contents = parameter_contents @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_functional_attribute.py index afeb0083..2abcba53 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_maths_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -84,7 +84,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -103,7 +103,7 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "attributeParameters": "GsaSlimEntity", "expressions": "GsaSlimEntity", @@ -121,11 +121,11 @@ def __init__( allow_all_compatible_expressions: "Union[bool, Unset_Type]" = Unset, allow_anonymous_expressions: "Union[bool, Unset_Type]" = Unset, allow_extrapolation: "Union[bool, Unset_Type]" = Unset, - attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, axis_name: "Union[str, None, Unset_Type]" = Unset, default_content: "Union[GsaCreateMathsContent, Unset_Type]" = Unset, default_threshold_type: "Union[GsaAttributeThresholdType, Unset_Type]" = Unset, - expressions: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + expressions: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, help_path: "Union[str, None, Unset_Type]" = Unset, is_hidden_from_search_criteria: "Union[bool, None, Unset_Type]" = Unset, @@ -142,11 +142,11 @@ def __init__( allow_all_compatible_expressions: bool, optional allow_anonymous_expressions: bool, optional allow_extrapolation: bool, optional - attribute_parameters: List[GsaSlimEntity], optional + attribute_parameters: list[GsaSlimEntity], optional axis_name: str, optional default_content: GsaCreateMathsContent, optional default_threshold_type: GsaAttributeThresholdType, optional - expressions: List[GsaSlimEntity], optional + expressions: list[GsaSlimEntity], optional guid: str, optional help_path: str, optional is_hidden_from_search_criteria: bool, optional @@ -163,8 +163,8 @@ def __init__( is_hidden_from_search_criteria=is_hidden_from_search_criteria, ) self._unit: Union[GsaSlimEntity, Unset_Type] = Unset - self._attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] = Unset - self._expressions: Union[List[GsaSlimEntity], None, Unset_Type] = Unset + self._attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] = Unset + self._expressions: Union[list[GsaSlimEntity], None, Unset_Type] = Unset self._allow_extrapolation: Union[bool, Unset_Type] = Unset self._axis_name: Union[str, None, Unset_Type] = Unset self._is_range: Union[bool, Unset_Type] = Unset @@ -217,47 +217,47 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @property - def attribute_parameters(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def attribute_parameters(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the attribute_parameters of this GsaCreateMathsFunctionalAttribute. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaCreateMathsFunctionalAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the attribute_parameters of this GsaCreateMathsFunctionalAttribute. Parameters ---------- - attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] + attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaCreateMathsFunctionalAttribute. """ self._attribute_parameters = attribute_parameters @property - def expressions(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def expressions(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the expressions of this GsaCreateMathsFunctionalAttribute. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The expressions of this GsaCreateMathsFunctionalAttribute. """ return self._expressions @expressions.setter - def expressions(self, expressions: "Union[List[GsaSlimEntity], None, Unset_Type]") -> None: + def expressions(self, expressions: "Union[list[GsaSlimEntity], None, Unset_Type]") -> None: """Sets the expressions of this GsaCreateMathsFunctionalAttribute. Parameters ---------- - expressions: Union[List[GsaSlimEntity], None, Unset_Type] + expressions: Union[list[GsaSlimEntity], None, Unset_Type] The expressions of this GsaCreateMathsFunctionalAttribute. """ self._expressions = expressions @@ -416,7 +416,7 @@ def allow_anonymous_expressions( self._allow_anonymous_expressions = allow_anonymous_expressions @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter.py index 385c45d8..ea9a3245 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_parameter import ( # noqa: F401 GsaCreateParameter, @@ -56,16 +56,16 @@ class GsaCreateNumericParameter(GsaCreateParameter): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_parameter_value_index": "int", "interpolation_type": "GsaParameterInterpolationType", "is_restricted": "bool", @@ -78,7 +78,7 @@ class GsaCreateNumericParameter(GsaCreateParameter): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_parameter_value_index": "defaultParameterValueIndex", "interpolation_type": "interpolationType", "is_restricted": "isRestricted", @@ -91,7 +91,7 @@ class GsaCreateNumericParameter(GsaCreateParameter): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "values": "GsaCreateNumericParameterValue", "interpolationType": "GsaParameterInterpolationType", @@ -109,7 +109,7 @@ def __init__( name: "str", scale_type: "GsaParameterScaleType", type: "GsaParameterType" = GsaParameterType.NUMERIC, - values: "List[GsaCreateNumericParameterValue]", + values: "list[GsaCreateNumericParameterValue]", guid: "Union[str, Unset_Type]" = Unset, help_path: "Union[str, None, Unset_Type]" = Unset, unit: "Union[GsaSlimEntity, Unset_Type]" = Unset, @@ -124,7 +124,7 @@ def __init__( name: str scale_type: GsaParameterScaleType type: GsaParameterType - values: List[GsaCreateNumericParameterValue] + values: list[GsaCreateNumericParameterValue] guid: str, optional help_path: str, optional unit: GsaSlimEntity, optional @@ -138,7 +138,7 @@ def __init__( ) self._is_restricted: bool self._unit: Union[GsaSlimEntity, Unset_Type] = Unset - self._values: List[GsaCreateNumericParameterValue] + self._values: list[GsaCreateNumericParameterValue] self._interpolation_type: GsaParameterInterpolationType self._scale_type: GsaParameterScaleType @@ -203,23 +203,23 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @property - def values(self) -> "List[GsaCreateNumericParameterValue]": + def values(self) -> "list[GsaCreateNumericParameterValue]": """Gets the values of this GsaCreateNumericParameter. Returns ------- - List[GsaCreateNumericParameterValue] + list[GsaCreateNumericParameterValue] The values of this GsaCreateNumericParameter. """ return self._values @values.setter - def values(self, values: "List[GsaCreateNumericParameterValue]") -> None: + def values(self, values: "list[GsaCreateNumericParameterValue]") -> None: """Sets the values of this GsaCreateNumericParameter. Parameters ---------- - values: List[GsaCreateNumericParameterValue] + values: list[GsaCreateNumericParameterValue] The values of this GsaCreateNumericParameter. """ # Field is not nullable @@ -287,7 +287,7 @@ def scale_type(self, scale_type: "GsaParameterScaleType") -> None: self._scale_type = scale_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_content.py index a6a2c79b..b54c541e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_parameter_content import ( # noqa: F401 GsaCreateParameterContent, @@ -56,30 +56,30 @@ class GsaCreateNumericParameterContent(GsaCreateParameterContent): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "parameter_range": "GsaCreateContinuousRange", "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "parameter_range": "parameterRange", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterRange": "GsaCreateContinuousRange", } @@ -161,7 +161,7 @@ def parameter_range( self._parameter_range = parameter_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_value.py index 01d03215..da452208 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_numeric_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_parameter_value import ( # noqa: F401 GsaCreateParameterValue, @@ -56,30 +56,30 @@ class GsaCreateNumericParameterValue(GsaCreateParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterValueType", "value": "float", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -159,7 +159,7 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter.py index 1478fd1a..11ca19aa 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaCreateParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_parameter_value_index": "int", "name": "str", "type": "GsaParameterType", @@ -70,7 +70,7 @@ class GsaCreateParameter(ModelBase): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_parameter_value_index": "defaultParameterValueIndex", "name": "name", "type": "type", @@ -78,7 +78,7 @@ class GsaCreateParameter(ModelBase): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", } @@ -258,7 +258,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_content.py index 80c0f84e..7f206a91 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateParameterContent(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", "parameter": "GsaSlimEntity", } @@ -160,7 +160,7 @@ def parameter(self, parameter: "GsaSlimEntity") -> None: self._parameter = parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_value.py index e4679f12..c6e3cb5d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateParameterValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterValueType", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterValueType", } @@ -157,7 +157,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_picture_attribute.py index 250551c2..42299a12 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_picture_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreatePictureAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -75,7 +75,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -85,7 +85,7 @@ class GsaCreatePictureAttribute(GsaCreateAttribute): "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -123,7 +123,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_point_attribute.py index 8f4ead9d..f20c45f9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_point_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreatePointAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -79,7 +79,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -93,7 +93,7 @@ class GsaCreatePointAttribute(GsaCreateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "attributeParameters": "GsaSlimEntity", } @@ -106,7 +106,7 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.POINT, about_attribute: "Union[GsaSlimEntity, Unset_Type]" = Unset, - attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, axis_name: "Union[str, None, Unset_Type]" = Unset, default_threshold_type: "Union[GsaAttributeThresholdType, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, @@ -122,7 +122,7 @@ def __init__( name: str type: GsaAttributeType about_attribute: GsaSlimEntity, optional - attribute_parameters: List[GsaSlimEntity], optional + attribute_parameters: list[GsaSlimEntity], optional axis_name: str, optional default_threshold_type: GsaAttributeThresholdType, optional guid: str, optional @@ -143,7 +143,7 @@ def __init__( self._is_multi_valued: Union[bool, Unset_Type] = Unset self._unit: Union[GsaSlimEntity, Unset_Type] = Unset self._axis_name: Union[str, None, Unset_Type] = Unset - self._attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] = Unset + self._attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] = Unset if is_multi_valued is not Unset: self.is_multi_valued = is_multi_valued @@ -227,31 +227,31 @@ def axis_name(self, axis_name: "Union[str, None, Unset_Type]") -> None: self._axis_name = axis_name @property - def attribute_parameters(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def attribute_parameters(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the attribute_parameters of this GsaCreatePointAttribute. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaCreatePointAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the attribute_parameters of this GsaCreatePointAttribute. Parameters ---------- - attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] + attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaCreatePointAttribute. """ self._attribute_parameters = attribute_parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile.py index 0731bf9d..71561477 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaCreateProfile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "description": "str", "group_name": "str", @@ -68,7 +68,7 @@ class GsaCreateProfile(ModelBase): "homepage_url": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "description": "description", "group_name": "groupName", @@ -76,7 +76,7 @@ class GsaCreateProfile(ModelBase): "homepage_url": "homepageUrl", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -235,7 +235,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile_table.py index 9be24c61..038e5e86 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_profile_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaCreateProfileTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "table_guid": "str", "guid": "str", @@ -68,7 +68,7 @@ class GsaCreateProfileTable(ModelBase): "subset_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "table_guid": "tableGuid", "guid": "guid", @@ -76,7 +76,7 @@ class GsaCreateProfileTable(ModelBase): "subset_guid": "subsetGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -240,7 +240,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_range_attribute.py index 45c67cb4..788e9db3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_range_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateRangeAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -77,7 +77,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -89,7 +89,7 @@ class GsaCreateRangeAttribute(GsaCreateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", } @@ -187,7 +187,7 @@ def axis_name(self, axis_name: "Union[str, None, Unset_Type]") -> None: self._axis_name = axis_name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_history.py index 5dd28e87..a4d31df3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_history.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaCreateRecordHistory(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "record_type": "GsaRecordType", "guid": "str", @@ -69,7 +69,7 @@ class GsaCreateRecordHistory(ModelBase): "short_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "record_type": "recordType", "guid": "guid", @@ -78,7 +78,7 @@ class GsaCreateRecordHistory(ModelBase): "short_name": "shortName", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "recordType": "GsaRecordType", "parent": "GsaSlimRecordHistory", "recordColor": "GsaRecordColor", @@ -279,7 +279,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_link_group.py index 4a5233dd..4410598f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaCreateRecordLinkGroup(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_target": "GsaLinkTarget", "name": "str", "reverse_name": "str", @@ -70,7 +70,7 @@ class GsaCreateRecordLinkGroup(ModelBase): "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_target": "linkTarget", "name": "name", "reverse_name": "reverseName", @@ -78,7 +78,7 @@ class GsaCreateRecordLinkGroup(ModelBase): "guid": "guid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaRecordLinkGroupType", "linkTarget": "GsaLinkTarget", } @@ -261,7 +261,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list.py index 0a568b52..5408f0e8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaCreateRecordList(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "awaiting_approval": "bool", "description": "str", @@ -71,7 +71,7 @@ class GsaCreateRecordList(ModelBase): "published": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "awaiting_approval": "awaitingApproval", "description": "description", @@ -82,7 +82,7 @@ class GsaCreateRecordList(ModelBase): "published": "published", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "items": "GsaCreateRecordListItemsInfo", } @@ -333,7 +333,7 @@ def internal_use(self, internal_use: "Union[bool, Unset_Type]") -> None: self._internal_use = internal_use @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list_items_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list_items_info.py index 528f246a..57e5b2d3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list_items_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_record_list_items_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaCreateRecordListItemsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "items": "list[GsaCreateListItem]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "items": "items", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "items": "GsaCreateListItem", } @@ -77,36 +77,36 @@ class GsaCreateRecordListItemsInfo(ModelBase): def __init__( self, *, - items: "List[GsaCreateListItem]", + items: "list[GsaCreateListItem]", ) -> None: """GsaCreateRecordListItemsInfo - a model defined in Swagger Parameters ---------- - items: List[GsaCreateListItem] + items: list[GsaCreateListItem] """ - self._items: List[GsaCreateListItem] + self._items: list[GsaCreateListItem] self.items = items @property - def items(self) -> "List[GsaCreateListItem]": + def items(self) -> "list[GsaCreateListItem]": """Gets the items of this GsaCreateRecordListItemsInfo. Returns ------- - List[GsaCreateListItem] + list[GsaCreateListItem] The items of this GsaCreateRecordListItemsInfo. """ return self._items @items.setter - def items(self, items: "List[GsaCreateListItem]") -> None: + def items(self, items: "list[GsaCreateListItem]") -> None: """Sets the items of this GsaCreateRecordListItemsInfo. Parameters ---------- - items: List[GsaCreateListItem] + items: list[GsaCreateListItem] The items of this GsaCreateRecordListItemsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def items(self, items: "List[GsaCreateListItem]") -> None: self._items = items @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_replacement_string.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_replacement_string.py index ebf17749..30175155 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_replacement_string.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_replacement_string.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateReplacementString(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "value": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "value": "value", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -182,7 +182,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_search_request.py index 0d06d08e..46be8948 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_search_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaCreateSearchRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "detail": "GsaSearchDetail", "search_config": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "detail": "detail", "search_config": "searchConfig", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "detail": "GsaSearchDetail", } @@ -145,7 +145,7 @@ def detail(self, detail: "Union[GsaSearchDetail, Unset_Type]") -> None: self._detail = detail @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_short_text_attribute.py index 7386e992..17df3cfe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_short_text_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -77,7 +77,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute): "is_unique": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -89,7 +89,7 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute): "is_unique": "isUnique", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "dataRule": "GsaSlimEntity", } @@ -192,7 +192,7 @@ def data_rule(self, data_rule: "Union[GsaSlimEntity, Unset_Type]") -> None: self._data_rule = data_rule @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_standard_name.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_standard_name.py index b5e16c6b..ab6cc499 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_standard_name.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_standard_name.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaCreateStandardName(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "guid": "str", "mapped_attributes": "list[GsaSlimEntity]", @@ -69,7 +69,7 @@ class GsaCreateStandardName(ModelBase): "mapped_record_link_groups": "list[GsaSlimEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "guid": "guid", "mapped_attributes": "mappedAttributes", @@ -78,7 +78,7 @@ class GsaCreateStandardName(ModelBase): "mapped_record_link_groups": "mappedRecordLinkGroups", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "mappedAttributes": "GsaSlimEntity", "mappedParameters": "GsaSlimEntity", "mappedRecordLinkGroups": "GsaSlimEntity", @@ -92,10 +92,10 @@ def __init__( *, name: "str", guid: "Union[str, Unset_Type]" = Unset, - mapped_attributes: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, - mapped_cross_database_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, - mapped_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, - mapped_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_attributes: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_cross_database_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, ) -> None: """GsaCreateStandardName - a model defined in Swagger @@ -103,16 +103,16 @@ def __init__( ---------- name: str guid: str, optional - mapped_attributes: List[GsaSlimEntity], optional - mapped_cross_database_record_link_groups: List[GsaSlimEntity], optional - mapped_parameters: List[GsaSlimEntity], optional - mapped_record_link_groups: List[GsaSlimEntity], optional + mapped_attributes: list[GsaSlimEntity], optional + mapped_cross_database_record_link_groups: list[GsaSlimEntity], optional + mapped_parameters: list[GsaSlimEntity], optional + mapped_record_link_groups: list[GsaSlimEntity], optional """ - self._mapped_attributes: Union[List[GsaSlimEntity], None, Unset_Type] = Unset - self._mapped_parameters: Union[List[GsaSlimEntity], None, Unset_Type] = Unset - self._mapped_record_link_groups: Union[List[GsaSlimEntity], None, Unset_Type] = Unset + self._mapped_attributes: Union[list[GsaSlimEntity], None, Unset_Type] = Unset + self._mapped_parameters: Union[list[GsaSlimEntity], None, Unset_Type] = Unset + self._mapped_record_link_groups: Union[list[GsaSlimEntity], None, Unset_Type] = Unset self._mapped_cross_database_record_link_groups: Union[ - List[GsaSlimEntity], None, Unset_Type + list[GsaSlimEntity], None, Unset_Type ] = Unset self._name: str self._guid: Union[str, Unset_Type] = Unset @@ -130,73 +130,73 @@ def __init__( self.guid = guid @property - def mapped_attributes(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def mapped_attributes(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_attributes of this GsaCreateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_attributes of this GsaCreateStandardName. """ return self._mapped_attributes @mapped_attributes.setter def mapped_attributes( - self, mapped_attributes: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, mapped_attributes: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the mapped_attributes of this GsaCreateStandardName. Parameters ---------- - mapped_attributes: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_attributes: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_attributes of this GsaCreateStandardName. """ self._mapped_attributes = mapped_attributes @property - def mapped_parameters(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def mapped_parameters(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_parameters of this GsaCreateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_parameters of this GsaCreateStandardName. """ return self._mapped_parameters @mapped_parameters.setter def mapped_parameters( - self, mapped_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, mapped_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the mapped_parameters of this GsaCreateStandardName. Parameters ---------- - mapped_parameters: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_parameters: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_parameters of this GsaCreateStandardName. """ self._mapped_parameters = mapped_parameters @property - def mapped_record_link_groups(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def mapped_record_link_groups(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_record_link_groups of this GsaCreateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_record_link_groups of this GsaCreateStandardName. """ return self._mapped_record_link_groups @mapped_record_link_groups.setter def mapped_record_link_groups( - self, mapped_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, mapped_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the mapped_record_link_groups of this GsaCreateStandardName. Parameters ---------- - mapped_record_link_groups: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_record_link_groups: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_record_link_groups of this GsaCreateStandardName. """ self._mapped_record_link_groups = mapped_record_link_groups @@ -204,12 +204,12 @@ def mapped_record_link_groups( @property def mapped_cross_database_record_link_groups( self, - ) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + ) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_cross_database_record_link_groups of this GsaCreateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_cross_database_record_link_groups of this GsaCreateStandardName. """ return self._mapped_cross_database_record_link_groups @@ -217,13 +217,13 @@ def mapped_cross_database_record_link_groups( @mapped_cross_database_record_link_groups.setter def mapped_cross_database_record_link_groups( self, - mapped_cross_database_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]", + mapped_cross_database_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]", ) -> None: """Sets the mapped_cross_database_record_link_groups of this GsaCreateStandardName. Parameters ---------- - mapped_cross_database_record_link_groups: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_cross_database_record_link_groups: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_cross_database_record_link_groups of this GsaCreateStandardName. """ self._mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups @@ -282,7 +282,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_static_record_link_group.py index 486f3766..1b614a94 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_static_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_static_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_create_record_link_group import ( # noqa: F401 GsaCreateRecordLinkGroup, @@ -58,16 +58,16 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_target": "GsaLinkTarget", "name": "str", "reverse_name": "str", @@ -76,7 +76,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup): "include_indirect_links": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_target": "linkTarget", "name": "name", "reverse_name": "reverseName", @@ -85,7 +85,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup): "include_indirect_links": "includeIndirectLinks", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -144,7 +144,7 @@ def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type self._include_indirect_links = include_indirect_links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_subset.py index 584e68c6..c143b1a9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_subset.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCreateSubset(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "associated_layout": "GsaSlimEntity", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "associated_layout": "associatedLayout", "guid": "guid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "associatedLayout": "GsaSlimEntity", } @@ -182,7 +182,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_table.py index ee8041ab..73dca10c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaCreateTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "guid": "str", "is_hidden_from_browse": "bool", "is_hidden_from_search": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "guid": "guid", "is_hidden_from_browse": "isHiddenFromBrowse", "is_hidden_from_search": "isHiddenFromSearch", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -212,7 +212,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_attribute.py index e89c4017..4b81a66e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_create_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaCreateTabularAttribute(GsaCreateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", @@ -80,7 +80,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute): "target": "GsaTabularAttributeTarget", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "about_attribute": "aboutAttribute", @@ -95,7 +95,7 @@ class GsaCreateTabularAttribute(GsaCreateAttribute): "target": "target", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "tabularColumns": "GsaCreateTabularColumn", "target": "GsaTabularAttributeTarget", } @@ -115,7 +115,7 @@ def __init__( help_path: "Union[str, None, Unset_Type]" = Unset, hide_unlinked_rows: "Union[bool, Unset_Type]" = Unset, is_hidden_from_search_criteria: "Union[bool, None, Unset_Type]" = Unset, - tabular_columns: "Union[List[GsaCreateTabularColumn], None, Unset_Type]" = Unset, + tabular_columns: "Union[list[GsaCreateTabularColumn], None, Unset_Type]" = Unset, target: "Union[GsaTabularAttributeTarget, Unset_Type]" = Unset, ) -> None: """GsaCreateTabularAttribute - a model defined in Swagger @@ -132,7 +132,7 @@ def __init__( help_path: str, optional hide_unlinked_rows: bool, optional is_hidden_from_search_criteria: bool, optional - tabular_columns: List[GsaCreateTabularColumn], optional + tabular_columns: list[GsaCreateTabularColumn], optional target: GsaTabularAttributeTarget, optional """ super().__init__( @@ -147,7 +147,7 @@ def __init__( self._display_full_table: Union[bool, Unset_Type] = Unset self._display_summary_row_inline: Union[bool, Unset_Type] = Unset self._hide_unlinked_rows: Union[bool, Unset_Type] = Unset - self._tabular_columns: Union[List[GsaCreateTabularColumn], None, Unset_Type] = Unset + self._tabular_columns: Union[list[GsaCreateTabularColumn], None, Unset_Type] = Unset self._target: Union[GsaTabularAttributeTarget, Unset_Type] = Unset if display_full_table is not Unset: @@ -239,25 +239,25 @@ def hide_unlinked_rows(self, hide_unlinked_rows: "Union[bool, Unset_Type]") -> N self._hide_unlinked_rows = hide_unlinked_rows @property - def tabular_columns(self) -> "Union[List[GsaCreateTabularColumn], None, Unset_Type]": + def tabular_columns(self) -> "Union[list[GsaCreateTabularColumn], None, Unset_Type]": """Gets the tabular_columns of this GsaCreateTabularAttribute. Returns ------- - Union[List[GsaCreateTabularColumn], None, Unset_Type] + Union[list[GsaCreateTabularColumn], None, Unset_Type] The tabular_columns of this GsaCreateTabularAttribute. """ return self._tabular_columns @tabular_columns.setter def tabular_columns( - self, tabular_columns: "Union[List[GsaCreateTabularColumn], None, Unset_Type]" + self, tabular_columns: "Union[list[GsaCreateTabularColumn], None, Unset_Type]" ) -> None: """Sets the tabular_columns of this GsaCreateTabularAttribute. Parameters ---------- - tabular_columns: Union[List[GsaCreateTabularColumn], None, Unset_Type] + tabular_columns: Union[list[GsaCreateTabularColumn], None, Unset_Type] The tabular_columns of this GsaCreateTabularAttribute. """ self._tabular_columns = tabular_columns @@ -288,7 +288,7 @@ def target(self, target: "Union[GsaTabularAttributeTarget, Unset_Type]") -> None self._target = target @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_column.py index 4dc8ba88..a5c1276f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaCreateTabularColumn(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "name": "str", "guid": "str", @@ -73,7 +73,7 @@ class GsaCreateTabularColumn(ModelBase): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "name": "name", "guid": "guid", @@ -84,7 +84,7 @@ class GsaCreateTabularColumn(ModelBase): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "columnType": "GsaTabularColumnDtoType", "rollUpType": "GsaTabularColumnRollUpType", "summaryRowRollUpType": "GsaTabularColumnRollUpType", @@ -364,7 +364,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit.py index 90a3ae3f..2355d122 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaCreateUnit(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "symbol": "str", "equation": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "symbol": "symbol", "equation": "equation", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -211,7 +211,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit_system.py index b0dec1f5..2404847e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_create_unit_system.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaCreateUnitSystem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -148,7 +148,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_by_user_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_by_user_property.py index c5748753..bef9a63d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_by_user_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_by_user_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaCreatedByUserProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "created_by_user": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "created_by_user": "createdByUser", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def created_by_user(self, created_by_user: "Union[str, None, Unset_Type]") -> No self._created_by_user = created_by_user @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_date_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_date_property.py index ea2c990c..95c370c1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_date_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_created_date_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaCreatedDateProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "created_date": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "created_date": "createdDate", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def created_date(self, created_date: "Union[datetime, Unset_Type]") -> None: self._created_date = created_date @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_criterion.py index d550c8e9..cd47031b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaCriterionType", } @@ -136,7 +136,7 @@ def type(self, type: "GsaCriterionType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_cross_database_record_link_group.py index 69118e00..1af466c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_cross_database_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_cross_database_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_link_group import ( # noqa: F401 GsaRecordLinkGroup, @@ -58,16 +58,16 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "include_indirect_links": "bool", @@ -79,7 +79,7 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup): "reverse_display_names": "dict(str, str)", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "include_indirect_links": "includeIndirectLinks", @@ -91,14 +91,14 @@ class GsaCrossDatabaseRecordLinkGroup(GsaRecordLinkGroup): "reverse_display_names": "reverseDisplayNames", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", include_indirect_links: "bool", link_info: "GsaLinkInfo", @@ -106,13 +106,13 @@ def __init__( reverse_name: "str", type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE, identity: "Union[int, None, Unset_Type]" = Unset, - reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" = Unset, + reverse_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset, ) -> None: """GsaCrossDatabaseRecordLinkGroup - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str include_indirect_links: bool link_info: GsaLinkInfo @@ -120,7 +120,7 @@ def __init__( reverse_name: str type: GsaRecordLinkGroupType identity: int, optional - reverse_display_names: Dict[str, str], optional + reverse_display_names: dict[str, str], optional """ super().__init__( display_names=display_names, @@ -165,7 +165,7 @@ def include_indirect_links(self, include_indirect_links: "bool") -> None: self._include_indirect_links = include_indirect_links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_current_user.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_current_user.py index d8d7cfd6..87f0605b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_current_user.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_current_user.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaCurrentUser(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "has_write_access": "bool", "is_admin": "bool", "username": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "has_write_access": "hasWriteAccess", "is_admin": "isAdmin", "username": "username", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -175,7 +175,7 @@ def has_write_access(self, has_write_access: "Union[bool, Unset_Type]") -> None: self._has_write_access = has_write_access @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_applicable_datum.py index 9c7afabb..89898de9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_applicable_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_export_datum import ( # noqa: F401 GsaDataExportDatum, @@ -55,18 +55,18 @@ class GsaDataExportApplicableDatum(GsaDataExportDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportApplicableDatum(GsaDataExportDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -82,7 +82,7 @@ class GsaDataExportApplicableDatum(GsaDataExportDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumType": "GsaAttributeType", } @@ -112,7 +112,7 @@ def __init__( not_applicable: "str" = "applicable", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportApplicableDatum - a model defined in Swagger @@ -122,7 +122,7 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( not_applicable=not_applicable, @@ -163,7 +163,7 @@ def datum_type(self, datum_type: "GsaAttributeType") -> None: self._datum_type = datum_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_binary_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_binary_data.py index 8014bebe..b2b49cb9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_binary_data.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_binary_data.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaDataExportBinaryData(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "content_type": "str", "data": "str", "description": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "content_type": "contentType", "data": "data", "description": "description", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -198,7 +198,7 @@ def data(self, data: "Union[str, None, Unset_Type]") -> None: self._data = data @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_boolean_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_boolean_datum.py index f74336c0..0e78f7ce 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_boolean_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_boolean_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportBooleanDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportBooleanDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportBooleanDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -95,7 +95,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[bool, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportBooleanDatum - a model defined in Swagger @@ -106,7 +106,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: bool, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -146,7 +146,7 @@ def datum_value(self, datum_value: "Union[bool, Unset_Type]") -> None: self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_count_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_count_rollup_datum.py index 4a03bf9e..1b99c58f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_count_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_count_rollup_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_export_rollup_datum import ( # noqa: F401 GsaDataExportRollupDatum, @@ -55,16 +55,16 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", "attribute_guid": "str", "attribute_identity": "int", @@ -73,7 +73,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum): "roll_up_type": "GsaTabularColumnRollUpType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", @@ -82,7 +82,7 @@ class GsaDataExportCountRollupDatum(GsaDataExportRollupDatum): "roll_up_type": "rollUpType", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -145,7 +145,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_date_time_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_date_time_datum.py index 3ed4fed7..976d40f0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_date_time_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_date_time_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportDateTimeDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportDateTimeDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportDateTimeDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -95,7 +95,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[datetime, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportDateTimeDatum - a model defined in Swagger @@ -106,7 +106,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: datetime, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -146,7 +146,7 @@ def datum_value(self, datum_value: "Union[datetime, Unset_Type]") -> None: self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_datum.py index 6062d263..68a2c717 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,32 +51,32 @@ class GsaDataExportDatum(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "not_applicable": "str", "attribute_guid": "str", "attribute_identity": "int", "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "metaDatums": "GsaDataExportDatum", } @@ -94,7 +94,7 @@ def __init__( not_applicable: "str", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportDatum - a model defined in Swagger @@ -103,11 +103,11 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ self._attribute_identity: Union[int, Unset_Type] = Unset self._attribute_guid: Union[str, Unset_Type] = Unset - self._meta_datums: Union[List[GsaDataExportDatum], None, Unset_Type] = Unset + self._meta_datums: Union[list[GsaDataExportDatum], None, Unset_Type] = Unset self._not_applicable: str if attribute_identity is not Unset: @@ -169,23 +169,23 @@ def attribute_guid(self, attribute_guid: "Union[str, Unset_Type]") -> None: self._attribute_guid = attribute_guid @property - def meta_datums(self) -> "Union[List[GsaDataExportDatum], None, Unset_Type]": + def meta_datums(self) -> "Union[list[GsaDataExportDatum], None, Unset_Type]": """Gets the meta_datums of this GsaDataExportDatum. Returns ------- - Union[List[GsaDataExportDatum], None, Unset_Type] + Union[list[GsaDataExportDatum], None, Unset_Type] The meta_datums of this GsaDataExportDatum. """ return self._meta_datums @meta_datums.setter - def meta_datums(self, meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]") -> None: + def meta_datums(self, meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]") -> None: """Sets the meta_datums of this GsaDataExportDatum. Parameters ---------- - meta_datums: Union[List[GsaDataExportDatum], None, Unset_Type] + meta_datums: Union[list[GsaDataExportDatum], None, Unset_Type] The meta_datums of this GsaDataExportDatum. """ self._meta_datums = meta_datums @@ -216,7 +216,7 @@ def not_applicable(self, not_applicable: "str") -> None: self._not_applicable = not_applicable @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_datum.py index 0b3f3607..840be776 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportDiscreteDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportDiscreteDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportDiscreteDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumValue": "GsaDiscreteValue", } @@ -96,8 +96,8 @@ def __init__( not_applicable: "str" = "applicable", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - datum_value: "Union[List[GsaDiscreteValue], None, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + datum_value: "Union[list[GsaDiscreteValue], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportDiscreteDatum - a model defined in Swagger @@ -107,8 +107,8 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - datum_value: List[GsaDiscreteValue], optional - meta_datums: List[GsaDataExportDatum], optional + datum_value: list[GsaDiscreteValue], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -117,35 +117,35 @@ def __init__( attribute_identity=attribute_identity, meta_datums=meta_datums, ) - self._datum_value: Union[List[GsaDiscreteValue], None, Unset_Type] = Unset + self._datum_value: Union[list[GsaDiscreteValue], None, Unset_Type] = Unset if datum_value is not Unset: self.datum_value = datum_value @property - def datum_value(self) -> "Union[List[GsaDiscreteValue], None, Unset_Type]": + def datum_value(self) -> "Union[list[GsaDiscreteValue], None, Unset_Type]": """Gets the datum_value of this GsaDataExportDiscreteDatum. Returns ------- - Union[List[GsaDiscreteValue], None, Unset_Type] + Union[list[GsaDiscreteValue], None, Unset_Type] The datum_value of this GsaDataExportDiscreteDatum. """ return self._datum_value @datum_value.setter - def datum_value(self, datum_value: "Union[List[GsaDiscreteValue], None, Unset_Type]") -> None: + def datum_value(self, datum_value: "Union[list[GsaDiscreteValue], None, Unset_Type]") -> None: """Sets the datum_value of this GsaDataExportDiscreteDatum. Parameters ---------- - datum_value: Union[List[GsaDiscreteValue], None, Unset_Type] + datum_value: Union[list[GsaDiscreteValue], None, Unset_Type] The datum_value of this GsaDataExportDiscreteDatum. """ self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_datum.py index 20c92185..4384883f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,18 +56,18 @@ class GsaDataExportDiscreteFunctionalDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "graph_type": "str", "not_applicable": "str", @@ -78,7 +78,7 @@ class GsaDataExportDiscreteFunctionalDatum(GsaDataExportApplicableDatum): "x_axis_parameter": "GsaFunctionalDatumParameterInfo", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph_type": "graphType", "not_applicable": "notApplicable", @@ -89,7 +89,7 @@ class GsaDataExportDiscreteFunctionalDatum(GsaDataExportApplicableDatum): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "xAxisParameter": "GsaFunctionalDatumParameterInfo", "parameters": "GsaFunctionalDatumParameterInfo", } @@ -109,8 +109,8 @@ def __init__( not_applicable: "str" = "applicable", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, x_axis_parameter: "Union[GsaFunctionalDatumParameterInfo, Unset_Type]" = Unset, ) -> None: """GsaDataExportDiscreteFunctionalDatum - a model defined in Swagger @@ -122,8 +122,8 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - meta_datums: List[GsaDataExportDatum], optional - parameters: List[GsaFunctionalDatumParameterInfo], optional + meta_datums: list[GsaDataExportDatum], optional + parameters: list[GsaFunctionalDatumParameterInfo], optional x_axis_parameter: GsaFunctionalDatumParameterInfo, optional """ super().__init__( @@ -135,7 +135,7 @@ def __init__( ) self._graph_type: str self._x_axis_parameter: Union[GsaFunctionalDatumParameterInfo, Unset_Type] = Unset - self._parameters: Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type] = Unset + self._parameters: Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type] = Unset self.graph_type = graph_type if x_axis_parameter is not Unset: @@ -196,31 +196,31 @@ def x_axis_parameter( self._x_axis_parameter = x_axis_parameter @property - def parameters(self) -> "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]": + def parameters(self) -> "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]": """Gets the parameters of this GsaDataExportDiscreteFunctionalDatum. Returns ------- - Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type] + Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type] The parameters of this GsaDataExportDiscreteFunctionalDatum. """ return self._parameters @parameters.setter def parameters( - self, parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" + self, parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" ) -> None: """Sets the parameters of this GsaDataExportDiscreteFunctionalDatum. Parameters ---------- - parameters: Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type] + parameters: Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type] The parameters of this GsaDataExportDiscreteFunctionalDatum. """ self._parameters = parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_grid_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_grid_datum.py index 04696641..c210cfc7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_grid_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_grid_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_discrete_functional_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportDiscreteFunctionalGridDatum(GsaDataExportDiscreteFunctionalDa """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "graph_type": "str", "not_applicable": "str", @@ -77,7 +77,7 @@ class GsaDataExportDiscreteFunctionalGridDatum(GsaDataExportDiscreteFunctionalDa "x_axis_parameter": "GsaFunctionalDatumParameterInfo", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph_type": "graphType", "not_applicable": "notApplicable", @@ -89,7 +89,7 @@ class GsaDataExportDiscreteFunctionalGridDatum(GsaDataExportDiscreteFunctionalDa "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "values": "GsaDataExportDiscreteGridPoint", } @@ -103,9 +103,9 @@ def __init__( not_applicable: "str" = "applicable", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, - values: "Union[List[GsaDataExportDiscreteGridPoint], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, + values: "Union[list[GsaDataExportDiscreteGridPoint], None, Unset_Type]" = Unset, x_axis_parameter: "Union[GsaFunctionalDatumParameterInfo, Unset_Type]" = Unset, ) -> None: """GsaDataExportDiscreteFunctionalGridDatum - a model defined in Swagger @@ -117,9 +117,9 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - meta_datums: List[GsaDataExportDatum], optional - parameters: List[GsaFunctionalDatumParameterInfo], optional - values: List[GsaDataExportDiscreteGridPoint], optional + meta_datums: list[GsaDataExportDatum], optional + parameters: list[GsaFunctionalDatumParameterInfo], optional + values: list[GsaDataExportDiscreteGridPoint], optional x_axis_parameter: GsaFunctionalDatumParameterInfo, optional """ super().__init__( @@ -132,37 +132,37 @@ def __init__( parameters=parameters, x_axis_parameter=x_axis_parameter, ) - self._values: Union[List[GsaDataExportDiscreteGridPoint], None, Unset_Type] = Unset + self._values: Union[list[GsaDataExportDiscreteGridPoint], None, Unset_Type] = Unset if values is not Unset: self.values = values @property - def values(self) -> "Union[List[GsaDataExportDiscreteGridPoint], None, Unset_Type]": + def values(self) -> "Union[list[GsaDataExportDiscreteGridPoint], None, Unset_Type]": """Gets the values of this GsaDataExportDiscreteFunctionalGridDatum. Returns ------- - Union[List[GsaDataExportDiscreteGridPoint], None, Unset_Type] + Union[list[GsaDataExportDiscreteGridPoint], None, Unset_Type] The values of this GsaDataExportDiscreteFunctionalGridDatum. """ return self._values @values.setter def values( - self, values: "Union[List[GsaDataExportDiscreteGridPoint], None, Unset_Type]" + self, values: "Union[list[GsaDataExportDiscreteGridPoint], None, Unset_Type]" ) -> None: """Sets the values of this GsaDataExportDiscreteFunctionalGridDatum. Parameters ---------- - values: Union[List[GsaDataExportDiscreteGridPoint], None, Unset_Type] + values: Union[list[GsaDataExportDiscreteGridPoint], None, Unset_Type] The values of this GsaDataExportDiscreteFunctionalGridDatum. """ self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_series_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_series_datum.py index 2efad30e..3c086d4e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_series_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_functional_series_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_discrete_functional_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportDiscreteFunctionalSeriesDatum(GsaDataExportDiscreteFunctional """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "graph_type": "str", "not_applicable": "str", @@ -77,7 +77,7 @@ class GsaDataExportDiscreteFunctionalSeriesDatum(GsaDataExportDiscreteFunctional "x_axis_parameter": "GsaFunctionalDatumParameterInfo", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph_type": "graphType", "not_applicable": "notApplicable", @@ -89,7 +89,7 @@ class GsaDataExportDiscreteFunctionalSeriesDatum(GsaDataExportDiscreteFunctional "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "series": "GsaDataExportDiscreteSeries", } @@ -103,9 +103,9 @@ def __init__( not_applicable: "str" = "applicable", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, - series: "Union[List[GsaDataExportDiscreteSeries], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, + series: "Union[list[GsaDataExportDiscreteSeries], None, Unset_Type]" = Unset, x_axis_parameter: "Union[GsaFunctionalDatumParameterInfo, Unset_Type]" = Unset, ) -> None: """GsaDataExportDiscreteFunctionalSeriesDatum - a model defined in Swagger @@ -117,9 +117,9 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - meta_datums: List[GsaDataExportDatum], optional - parameters: List[GsaFunctionalDatumParameterInfo], optional - series: List[GsaDataExportDiscreteSeries], optional + meta_datums: list[GsaDataExportDatum], optional + parameters: list[GsaFunctionalDatumParameterInfo], optional + series: list[GsaDataExportDiscreteSeries], optional x_axis_parameter: GsaFunctionalDatumParameterInfo, optional """ super().__init__( @@ -132,35 +132,35 @@ def __init__( parameters=parameters, x_axis_parameter=x_axis_parameter, ) - self._series: Union[List[GsaDataExportDiscreteSeries], None, Unset_Type] = Unset + self._series: Union[list[GsaDataExportDiscreteSeries], None, Unset_Type] = Unset if series is not Unset: self.series = series @property - def series(self) -> "Union[List[GsaDataExportDiscreteSeries], None, Unset_Type]": + def series(self) -> "Union[list[GsaDataExportDiscreteSeries], None, Unset_Type]": """Gets the series of this GsaDataExportDiscreteFunctionalSeriesDatum. Returns ------- - Union[List[GsaDataExportDiscreteSeries], None, Unset_Type] + Union[list[GsaDataExportDiscreteSeries], None, Unset_Type] The series of this GsaDataExportDiscreteFunctionalSeriesDatum. """ return self._series @series.setter - def series(self, series: "Union[List[GsaDataExportDiscreteSeries], None, Unset_Type]") -> None: + def series(self, series: "Union[list[GsaDataExportDiscreteSeries], None, Unset_Type]") -> None: """Sets the series of this GsaDataExportDiscreteFunctionalSeriesDatum. Parameters ---------- - series: Union[List[GsaDataExportDiscreteSeries], None, Unset_Type] + series: Union[list[GsaDataExportDiscreteSeries], None, Unset_Type] The series of this GsaDataExportDiscreteFunctionalSeriesDatum. """ self._series = series @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_grid_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_grid_point.py index 5b953966..10dc5bf8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_grid_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_grid_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDataExportDiscreteGridPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_values": "list[GsaDataExportParameterValue]", "value": "GsaDiscreteValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_values": "parameterValues", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaDataExportParameterValue", "value": "GsaDiscreteValue", } @@ -80,17 +80,17 @@ class GsaDataExportDiscreteGridPoint(ModelBase): def __init__( self, *, - parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" = Unset, + parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" = Unset, value: "Union[GsaDiscreteValue, Unset_Type]" = Unset, ) -> None: """GsaDataExportDiscreteGridPoint - a model defined in Swagger Parameters ---------- - parameter_values: List[GsaDataExportParameterValue], optional + parameter_values: list[GsaDataExportParameterValue], optional value: GsaDiscreteValue, optional """ - self._parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] = Unset + self._parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] = Unset self._value: Union[GsaDiscreteValue, Unset_Type] = Unset if parameter_values is not Unset: @@ -99,25 +99,25 @@ def __init__( self.value = value @property - def parameter_values(self) -> "Union[List[GsaDataExportParameterValue], None, Unset_Type]": + def parameter_values(self) -> "Union[list[GsaDataExportParameterValue], None, Unset_Type]": """Gets the parameter_values of this GsaDataExportDiscreteGridPoint. Returns ------- - Union[List[GsaDataExportParameterValue], None, Unset_Type] + Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportDiscreteGridPoint. """ return self._parameter_values @parameter_values.setter def parameter_values( - self, parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" + self, parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" ) -> None: """Sets the parameter_values of this GsaDataExportDiscreteGridPoint. Parameters ---------- - parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] + parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportDiscreteGridPoint. """ self._parameter_values = parameter_values @@ -148,7 +148,7 @@ def value(self, value: "Union[GsaDiscreteValue, Unset_Type]") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series.py index 9f3d0ef0..c3e40614 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDataExportDiscreteSeries(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_values": "list[GsaDataExportParameterValue]", "points": "list[GsaDataExportDiscreteSeriesPoint]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_values": "parameterValues", "points": "points", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaDataExportParameterValue", "points": "GsaDataExportDiscreteSeriesPoint", } @@ -80,18 +80,18 @@ class GsaDataExportDiscreteSeries(ModelBase): def __init__( self, *, - parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" = Unset, - points: "Union[List[GsaDataExportDiscreteSeriesPoint], None, Unset_Type]" = Unset, + parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" = Unset, + points: "Union[list[GsaDataExportDiscreteSeriesPoint], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportDiscreteSeries - a model defined in Swagger Parameters ---------- - parameter_values: List[GsaDataExportParameterValue], optional - points: List[GsaDataExportDiscreteSeriesPoint], optional + parameter_values: list[GsaDataExportParameterValue], optional + points: list[GsaDataExportDiscreteSeriesPoint], optional """ - self._parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] = Unset - self._points: Union[List[GsaDataExportDiscreteSeriesPoint], None, Unset_Type] = Unset + self._parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] = Unset + self._points: Union[list[GsaDataExportDiscreteSeriesPoint], None, Unset_Type] = Unset if parameter_values is not Unset: self.parameter_values = parameter_values @@ -99,55 +99,55 @@ def __init__( self.points = points @property - def parameter_values(self) -> "Union[List[GsaDataExportParameterValue], None, Unset_Type]": + def parameter_values(self) -> "Union[list[GsaDataExportParameterValue], None, Unset_Type]": """Gets the parameter_values of this GsaDataExportDiscreteSeries. Returns ------- - Union[List[GsaDataExportParameterValue], None, Unset_Type] + Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportDiscreteSeries. """ return self._parameter_values @parameter_values.setter def parameter_values( - self, parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" + self, parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" ) -> None: """Sets the parameter_values of this GsaDataExportDiscreteSeries. Parameters ---------- - parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] + parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportDiscreteSeries. """ self._parameter_values = parameter_values @property - def points(self) -> "Union[List[GsaDataExportDiscreteSeriesPoint], None, Unset_Type]": + def points(self) -> "Union[list[GsaDataExportDiscreteSeriesPoint], None, Unset_Type]": """Gets the points of this GsaDataExportDiscreteSeries. Returns ------- - Union[List[GsaDataExportDiscreteSeriesPoint], None, Unset_Type] + Union[list[GsaDataExportDiscreteSeriesPoint], None, Unset_Type] The points of this GsaDataExportDiscreteSeries. """ return self._points @points.setter def points( - self, points: "Union[List[GsaDataExportDiscreteSeriesPoint], None, Unset_Type]" + self, points: "Union[list[GsaDataExportDiscreteSeriesPoint], None, Unset_Type]" ) -> None: """Sets the points of this GsaDataExportDiscreteSeries. Parameters ---------- - points: Union[List[GsaDataExportDiscreteSeriesPoint], None, Unset_Type] + points: Union[list[GsaDataExportDiscreteSeriesPoint], None, Unset_Type] The points of this GsaDataExportDiscreteSeries. """ self._points = points @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series_point.py index 10b05ff0..a008cc67 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_discrete_series_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDataExportDiscreteSeriesPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "x": "float", "x_name": "str", "y": "GsaDiscreteValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "x": "x", "x_name": "xName", "y": "y", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "y": "GsaDiscreteValue", } @@ -177,7 +177,7 @@ def y(self, y: "Union[GsaDiscreteValue, Unset_Type]") -> None: self._y = y @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_file_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_file_datum.py index 0cb9bffa..dfb98871 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_file_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_file_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportFileDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportFileDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportFileDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumValue": "GsaDataExportBinaryData", } @@ -97,7 +97,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[GsaDataExportBinaryData, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportFileDatum - a model defined in Swagger @@ -108,7 +108,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: GsaDataExportBinaryData, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -148,7 +148,7 @@ def datum_value(self, datum_value: "Union[GsaDataExportBinaryData, Unset_Type]") self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_float_functional_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_float_functional_datum.py index 7f9235c9..a533409b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_float_functional_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_float_functional_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,18 +56,18 @@ class GsaDataExportFloatFunctionalDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "graph_type": "str", "not_applicable": "str", @@ -82,7 +82,7 @@ class GsaDataExportFloatFunctionalDatum(GsaDataExportApplicableDatum): "x_axis_parameter": "GsaFunctionalDatumParameterInfo", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph_type": "graphType", "not_applicable": "notApplicable", @@ -97,7 +97,7 @@ class GsaDataExportFloatFunctionalDatum(GsaDataExportApplicableDatum): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "xAxisParameter": "GsaFunctionalDatumParameterInfo", "parameters": "GsaFunctionalDatumParameterInfo", } @@ -120,8 +120,8 @@ def __init__( is_estimated: "Union[bool, Unset_Type]" = Unset, is_logarithmic: "Union[bool, Unset_Type]" = Unset, is_range: "Union[bool, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, unit_symbol: "Union[str, None, Unset_Type]" = Unset, x_axis_parameter: "Union[GsaFunctionalDatumParameterInfo, Unset_Type]" = Unset, ) -> None: @@ -137,8 +137,8 @@ def __init__( is_estimated: bool, optional is_logarithmic: bool, optional is_range: bool, optional - meta_datums: List[GsaDataExportDatum], optional - parameters: List[GsaFunctionalDatumParameterInfo], optional + meta_datums: list[GsaDataExportDatum], optional + parameters: list[GsaFunctionalDatumParameterInfo], optional unit_symbol: str, optional x_axis_parameter: GsaFunctionalDatumParameterInfo, optional """ @@ -152,7 +152,7 @@ def __init__( self._graph_type: str self._unit_symbol: Union[str, None, Unset_Type] = Unset self._x_axis_parameter: Union[GsaFunctionalDatumParameterInfo, Unset_Type] = Unset - self._parameters: Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type] = Unset + self._parameters: Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type] = Unset self._is_estimated: Union[bool, Unset_Type] = Unset self._is_range: Union[bool, Unset_Type] = Unset self._is_logarithmic: Union[bool, Unset_Type] = Unset @@ -246,25 +246,25 @@ def x_axis_parameter( self._x_axis_parameter = x_axis_parameter @property - def parameters(self) -> "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]": + def parameters(self) -> "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]": """Gets the parameters of this GsaDataExportFloatFunctionalDatum. Returns ------- - Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type] + Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type] The parameters of this GsaDataExportFloatFunctionalDatum. """ return self._parameters @parameters.setter def parameters( - self, parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" + self, parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" ) -> None: """Sets the parameters of this GsaDataExportFloatFunctionalDatum. Parameters ---------- - parameters: Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type] + parameters: Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type] The parameters of this GsaDataExportFloatFunctionalDatum. """ self._parameters = parameters @@ -345,7 +345,7 @@ def is_logarithmic(self, is_logarithmic: "Union[bool, Unset_Type]") -> None: self._is_logarithmic = is_logarithmic @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_grid_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_grid_datum.py index d0f9f209..71991377 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_grid_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_grid_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_float_functional_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportFunctionalGridDatum(GsaDataExportFloatFunctionalDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "graph_type": "str", "not_applicable": "str", @@ -81,7 +81,7 @@ class GsaDataExportFunctionalGridDatum(GsaDataExportFloatFunctionalDatum): "x_axis_parameter": "GsaFunctionalDatumParameterInfo", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph_type": "graphType", "not_applicable": "notApplicable", @@ -97,7 +97,7 @@ class GsaDataExportFunctionalGridDatum(GsaDataExportFloatFunctionalDatum): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "points": "GsaDataExportGridPoint", } @@ -114,9 +114,9 @@ def __init__( is_estimated: "Union[bool, Unset_Type]" = Unset, is_logarithmic: "Union[bool, Unset_Type]" = Unset, is_range: "Union[bool, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, - points: "Union[List[GsaDataExportGridPoint], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, + points: "Union[list[GsaDataExportGridPoint], None, Unset_Type]" = Unset, unit_symbol: "Union[str, None, Unset_Type]" = Unset, x_axis_parameter: "Union[GsaFunctionalDatumParameterInfo, Unset_Type]" = Unset, ) -> None: @@ -132,9 +132,9 @@ def __init__( is_estimated: bool, optional is_logarithmic: bool, optional is_range: bool, optional - meta_datums: List[GsaDataExportDatum], optional - parameters: List[GsaFunctionalDatumParameterInfo], optional - points: List[GsaDataExportGridPoint], optional + meta_datums: list[GsaDataExportDatum], optional + parameters: list[GsaFunctionalDatumParameterInfo], optional + points: list[GsaDataExportGridPoint], optional unit_symbol: str, optional x_axis_parameter: GsaFunctionalDatumParameterInfo, optional """ @@ -152,35 +152,35 @@ def __init__( unit_symbol=unit_symbol, x_axis_parameter=x_axis_parameter, ) - self._points: Union[List[GsaDataExportGridPoint], None, Unset_Type] = Unset + self._points: Union[list[GsaDataExportGridPoint], None, Unset_Type] = Unset if points is not Unset: self.points = points @property - def points(self) -> "Union[List[GsaDataExportGridPoint], None, Unset_Type]": + def points(self) -> "Union[list[GsaDataExportGridPoint], None, Unset_Type]": """Gets the points of this GsaDataExportFunctionalGridDatum. Returns ------- - Union[List[GsaDataExportGridPoint], None, Unset_Type] + Union[list[GsaDataExportGridPoint], None, Unset_Type] The points of this GsaDataExportFunctionalGridDatum. """ return self._points @points.setter - def points(self, points: "Union[List[GsaDataExportGridPoint], None, Unset_Type]") -> None: + def points(self, points: "Union[list[GsaDataExportGridPoint], None, Unset_Type]") -> None: """Sets the points of this GsaDataExportFunctionalGridDatum. Parameters ---------- - points: Union[List[GsaDataExportGridPoint], None, Unset_Type] + points: Union[list[GsaDataExportGridPoint], None, Unset_Type] The points of this GsaDataExportFunctionalGridDatum. """ self._points = points @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_series_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_series_datum.py index 1118fd77..94117d21 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_series_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_functional_series_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_float_functional_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportFunctionalSeriesDatum(GsaDataExportFloatFunctionalDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "graph_type": "str", "not_applicable": "str", @@ -82,7 +82,7 @@ class GsaDataExportFunctionalSeriesDatum(GsaDataExportFloatFunctionalDatum): "x_axis_parameter": "GsaFunctionalDatumParameterInfo", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph_type": "graphType", "not_applicable": "notApplicable", @@ -99,7 +99,7 @@ class GsaDataExportFunctionalSeriesDatum(GsaDataExportFloatFunctionalDatum): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "series": "GsaDataExportSeries", } @@ -116,9 +116,9 @@ def __init__( is_estimated: "Union[bool, Unset_Type]" = Unset, is_logarithmic: "Union[bool, Unset_Type]" = Unset, is_range: "Union[bool, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - parameters: "Union[List[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, - series: "Union[List[GsaDataExportSeries], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, + series: "Union[list[GsaDataExportSeries], None, Unset_Type]" = Unset, show_as_table: "Union[bool, Unset_Type]" = Unset, unit_symbol: "Union[str, None, Unset_Type]" = Unset, x_axis_parameter: "Union[GsaFunctionalDatumParameterInfo, Unset_Type]" = Unset, @@ -135,9 +135,9 @@ def __init__( is_estimated: bool, optional is_logarithmic: bool, optional is_range: bool, optional - meta_datums: List[GsaDataExportDatum], optional - parameters: List[GsaFunctionalDatumParameterInfo], optional - series: List[GsaDataExportSeries], optional + meta_datums: list[GsaDataExportDatum], optional + parameters: list[GsaFunctionalDatumParameterInfo], optional + series: list[GsaDataExportSeries], optional show_as_table: bool, optional unit_symbol: str, optional x_axis_parameter: GsaFunctionalDatumParameterInfo, optional @@ -156,7 +156,7 @@ def __init__( unit_symbol=unit_symbol, x_axis_parameter=x_axis_parameter, ) - self._series: Union[List[GsaDataExportSeries], None, Unset_Type] = Unset + self._series: Union[list[GsaDataExportSeries], None, Unset_Type] = Unset self._show_as_table: Union[bool, Unset_Type] = Unset if series is not Unset: @@ -165,23 +165,23 @@ def __init__( self.show_as_table = show_as_table @property - def series(self) -> "Union[List[GsaDataExportSeries], None, Unset_Type]": + def series(self) -> "Union[list[GsaDataExportSeries], None, Unset_Type]": """Gets the series of this GsaDataExportFunctionalSeriesDatum. Returns ------- - Union[List[GsaDataExportSeries], None, Unset_Type] + Union[list[GsaDataExportSeries], None, Unset_Type] The series of this GsaDataExportFunctionalSeriesDatum. """ return self._series @series.setter - def series(self, series: "Union[List[GsaDataExportSeries], None, Unset_Type]") -> None: + def series(self, series: "Union[list[GsaDataExportSeries], None, Unset_Type]") -> None: """Sets the series of this GsaDataExportFunctionalSeriesDatum. Parameters ---------- - series: Union[List[GsaDataExportSeries], None, Unset_Type] + series: Union[list[GsaDataExportSeries], None, Unset_Type] The series of this GsaDataExportFunctionalSeriesDatum. """ self._series = series @@ -212,7 +212,7 @@ def show_as_table(self, show_as_table: "Union[bool, Unset_Type]") -> None: self._show_as_table = show_as_table @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_grid_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_grid_point.py index a2448f2e..3ce4c922 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_grid_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_grid_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDataExportGridPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "high_value": "float", "low_value": "float", "parameter_values": "list[GsaDataExportParameterValue]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "high_value": "highValue", "low_value": "lowValue", "parameter_values": "parameterValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaDataExportParameterValue", } @@ -83,7 +83,7 @@ def __init__( *, high_value: "Union[float, Unset_Type]" = Unset, low_value: "Union[float, Unset_Type]" = Unset, - parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" = Unset, + parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportGridPoint - a model defined in Swagger @@ -91,9 +91,9 @@ def __init__( ---------- high_value: float, optional low_value: float, optional - parameter_values: List[GsaDataExportParameterValue], optional + parameter_values: list[GsaDataExportParameterValue], optional """ - self._parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] = Unset + self._parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] = Unset self._low_value: Union[float, Unset_Type] = Unset self._high_value: Union[float, Unset_Type] = Unset @@ -105,25 +105,25 @@ def __init__( self.high_value = high_value @property - def parameter_values(self) -> "Union[List[GsaDataExportParameterValue], None, Unset_Type]": + def parameter_values(self) -> "Union[list[GsaDataExportParameterValue], None, Unset_Type]": """Gets the parameter_values of this GsaDataExportGridPoint. Returns ------- - Union[List[GsaDataExportParameterValue], None, Unset_Type] + Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportGridPoint. """ return self._parameter_values @parameter_values.setter def parameter_values( - self, parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" + self, parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" ) -> None: """Sets the parameter_values of this GsaDataExportGridPoint. Parameters ---------- - parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] + parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportGridPoint. """ self._parameter_values = parameter_values @@ -179,7 +179,7 @@ def high_value(self, high_value: "Union[float, Unset_Type]") -> None: self._high_value = high_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink.py index a9231292..e83a3649 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDataExportHyperlink(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "address": "str", "description": "str", "formatted_address": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "address": "address", "description": "description", "formatted_address": "formattedAddress", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -169,7 +169,7 @@ def description(self, description: "Union[str, None, Unset_Type]") -> None: self._description = description @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink_datum.py index 0e5b6da7..d44c4512 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_hyperlink_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportHyperlinkDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportHyperlinkDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportHyperlinkDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumValue": "GsaDataExportHyperlink", } @@ -97,7 +97,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[GsaDataExportHyperlink, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportHyperlinkDatum - a model defined in Swagger @@ -108,7 +108,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: GsaDataExportHyperlink, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -148,7 +148,7 @@ def datum_value(self, datum_value: "Union[GsaDataExportHyperlink, Unset_Type]") self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_link_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_link_datum.py index 140a7cbf..9fdf449a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_link_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_link_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,18 +56,18 @@ class GsaDataExportLinkDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "link_datum_type": "str", "not_applicable": "str", @@ -76,7 +76,7 @@ class GsaDataExportLinkDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "link_datum_type": "linkDatumType", "not_applicable": "notApplicable", @@ -85,7 +85,7 @@ class GsaDataExportLinkDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator_value_class_map = { "linkGroup".lower(): "#/components/schemas/GsaDataExportLinkedRecordsDatum", @@ -102,7 +102,7 @@ def __init__( not_applicable: "str" = "applicable", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportLinkDatum - a model defined in Swagger @@ -113,7 +113,7 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -152,7 +152,7 @@ def link_datum_type(self, link_datum_type: "str") -> None: self._link_datum_type = link_datum_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_linked_records_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_linked_records_datum.py index 90ef8986..714ea587 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_linked_records_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_linked_records_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_link_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportLinkedRecordsDatum(GsaDataExportLinkDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "link_datum_type": "str", "not_applicable": "str", @@ -82,7 +82,7 @@ class GsaDataExportLinkedRecordsDatum(GsaDataExportLinkDatum): "target_database_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "link_datum_type": "linkDatumType", "not_applicable": "notApplicable", @@ -99,7 +99,7 @@ class GsaDataExportLinkedRecordsDatum(GsaDataExportLinkDatum): "target_database_guid": "targetDatabaseGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkAttributeType": "GsaLinkAttributeType", "linkedRecords": "GsaRecordWithData", "rolledUpData": "GsaDataExportRollupDatum", @@ -117,12 +117,12 @@ def __init__( attribute_identity: "Union[int, Unset_Type]" = Unset, export_in_reversed_direction: "Union[bool, Unset_Type]" = Unset, link_attribute_type: "Union[GsaLinkAttributeType, Unset_Type]" = Unset, - link_group_identities_by_database_key: "Union[Dict[str, int], None, Unset_Type]" = Unset, + link_group_identities_by_database_key: "Union[dict[str, int], None, Unset_Type]" = Unset, link_group_name: "Union[str, None, Unset_Type]" = Unset, - link_group_names_by_database_key: "Union[Dict[str, str], None, Unset_Type]" = Unset, - linked_records: "Union[List[GsaRecordWithData], None, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - rolled_up_data: "Union[List[GsaDataExportRollupDatum], None, Unset_Type]" = Unset, + link_group_names_by_database_key: "Union[dict[str, str], None, Unset_Type]" = Unset, + linked_records: "Union[list[GsaRecordWithData], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + rolled_up_data: "Union[list[GsaDataExportRollupDatum], None, Unset_Type]" = Unset, target_database_guid: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaDataExportLinkedRecordsDatum - a model defined in Swagger @@ -136,12 +136,12 @@ def __init__( attribute_identity: int, optional export_in_reversed_direction: bool, optional link_attribute_type: GsaLinkAttributeType, optional - link_group_identities_by_database_key: Dict[str, int], optional + link_group_identities_by_database_key: dict[str, int], optional link_group_name: str, optional - link_group_names_by_database_key: Dict[str, str], optional - linked_records: List[GsaRecordWithData], optional - meta_datums: List[GsaDataExportDatum], optional - rolled_up_data: List[GsaDataExportRollupDatum], optional + link_group_names_by_database_key: dict[str, str], optional + linked_records: list[GsaRecordWithData], optional + meta_datums: list[GsaDataExportDatum], optional + rolled_up_data: list[GsaDataExportRollupDatum], optional target_database_guid: str, optional """ super().__init__( @@ -156,10 +156,10 @@ def __init__( self._link_attribute_type: Union[GsaLinkAttributeType, Unset_Type] = Unset self._export_in_reversed_direction: Union[bool, Unset_Type] = Unset self._target_database_guid: Union[str, None, Unset_Type] = Unset - self._linked_records: Union[List[GsaRecordWithData], None, Unset_Type] = Unset - self._link_group_names_by_database_key: Union[Dict[str, str], None, Unset_Type] = Unset - self._link_group_identities_by_database_key: Union[Dict[str, int], None, Unset_Type] = Unset - self._rolled_up_data: Union[List[GsaDataExportRollupDatum], None, Unset_Type] = Unset + self._linked_records: Union[list[GsaRecordWithData], None, Unset_Type] = Unset + self._link_group_names_by_database_key: Union[dict[str, str], None, Unset_Type] = Unset + self._link_group_identities_by_database_key: Union[dict[str, int], None, Unset_Type] = Unset + self._rolled_up_data: Union[list[GsaDataExportRollupDatum], None, Unset_Type] = Unset if link_group_name is not Unset: self.link_group_name = link_group_name @@ -277,103 +277,103 @@ def target_database_guid(self, target_database_guid: "Union[str, None, Unset_Typ self._target_database_guid = target_database_guid @property - def linked_records(self) -> "Union[List[GsaRecordWithData], None, Unset_Type]": + def linked_records(self) -> "Union[list[GsaRecordWithData], None, Unset_Type]": """Gets the linked_records of this GsaDataExportLinkedRecordsDatum. Returns ------- - Union[List[GsaRecordWithData], None, Unset_Type] + Union[list[GsaRecordWithData], None, Unset_Type] The linked_records of this GsaDataExportLinkedRecordsDatum. """ return self._linked_records @linked_records.setter def linked_records( - self, linked_records: "Union[List[GsaRecordWithData], None, Unset_Type]" + self, linked_records: "Union[list[GsaRecordWithData], None, Unset_Type]" ) -> None: """Sets the linked_records of this GsaDataExportLinkedRecordsDatum. Parameters ---------- - linked_records: Union[List[GsaRecordWithData], None, Unset_Type] + linked_records: Union[list[GsaRecordWithData], None, Unset_Type] The linked_records of this GsaDataExportLinkedRecordsDatum. """ self._linked_records = linked_records @property - def link_group_names_by_database_key(self) -> "Union[Dict[str, str], None, Unset_Type]": + def link_group_names_by_database_key(self) -> "Union[dict[str, str], None, Unset_Type]": """Gets the link_group_names_by_database_key of this GsaDataExportLinkedRecordsDatum. Returns ------- - Union[Dict[str, str], None, Unset_Type] + Union[dict[str, str], None, Unset_Type] The link_group_names_by_database_key of this GsaDataExportLinkedRecordsDatum. """ return self._link_group_names_by_database_key @link_group_names_by_database_key.setter def link_group_names_by_database_key( - self, link_group_names_by_database_key: "Union[Dict[str, str], None, Unset_Type]" + self, link_group_names_by_database_key: "Union[dict[str, str], None, Unset_Type]" ) -> None: """Sets the link_group_names_by_database_key of this GsaDataExportLinkedRecordsDatum. Parameters ---------- - link_group_names_by_database_key: Union[Dict[str, str], None, Unset_Type] + link_group_names_by_database_key: Union[dict[str, str], None, Unset_Type] The link_group_names_by_database_key of this GsaDataExportLinkedRecordsDatum. """ self._link_group_names_by_database_key = link_group_names_by_database_key @property - def link_group_identities_by_database_key(self) -> "Union[Dict[str, int], None, Unset_Type]": + def link_group_identities_by_database_key(self) -> "Union[dict[str, int], None, Unset_Type]": """Gets the link_group_identities_by_database_key of this GsaDataExportLinkedRecordsDatum. Returns ------- - Union[Dict[str, int], None, Unset_Type] + Union[dict[str, int], None, Unset_Type] The link_group_identities_by_database_key of this GsaDataExportLinkedRecordsDatum. """ return self._link_group_identities_by_database_key @link_group_identities_by_database_key.setter def link_group_identities_by_database_key( - self, link_group_identities_by_database_key: "Union[Dict[str, int], None, Unset_Type]" + self, link_group_identities_by_database_key: "Union[dict[str, int], None, Unset_Type]" ) -> None: """Sets the link_group_identities_by_database_key of this GsaDataExportLinkedRecordsDatum. Parameters ---------- - link_group_identities_by_database_key: Union[Dict[str, int], None, Unset_Type] + link_group_identities_by_database_key: Union[dict[str, int], None, Unset_Type] The link_group_identities_by_database_key of this GsaDataExportLinkedRecordsDatum. """ self._link_group_identities_by_database_key = link_group_identities_by_database_key @property - def rolled_up_data(self) -> "Union[List[GsaDataExportRollupDatum], None, Unset_Type]": + def rolled_up_data(self) -> "Union[list[GsaDataExportRollupDatum], None, Unset_Type]": """Gets the rolled_up_data of this GsaDataExportLinkedRecordsDatum. Returns ------- - Union[List[GsaDataExportRollupDatum], None, Unset_Type] + Union[list[GsaDataExportRollupDatum], None, Unset_Type] The rolled_up_data of this GsaDataExportLinkedRecordsDatum. """ return self._rolled_up_data @rolled_up_data.setter def rolled_up_data( - self, rolled_up_data: "Union[List[GsaDataExportRollupDatum], None, Unset_Type]" + self, rolled_up_data: "Union[list[GsaDataExportRollupDatum], None, Unset_Type]" ) -> None: """Sets the rolled_up_data of this GsaDataExportLinkedRecordsDatum. Parameters ---------- - rolled_up_data: Union[List[GsaDataExportRollupDatum], None, Unset_Type] + rolled_up_data: Union[list[GsaDataExportRollupDatum], None, Unset_Type] The rolled_up_data of this GsaDataExportLinkedRecordsDatum. """ self._rolled_up_data = rolled_up_data @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_long_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_long_text_datum.py index cb4bcb35..3fdaecc5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_long_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_long_text_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportLongTextDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportLongTextDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportLongTextDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -95,7 +95,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[str, None, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportLongTextDatum - a model defined in Swagger @@ -106,7 +106,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: str, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -143,7 +143,7 @@ def datum_value(self, datum_value: "Union[str, None, Unset_Type]") -> None: self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_not_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_not_applicable_datum.py index d50a6b2a..df65e8b9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_not_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_not_applicable_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_export_datum import ( # noqa: F401 GsaDataExportDatum, @@ -55,16 +55,16 @@ class GsaDataExportNotApplicableDatum(GsaDataExportDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "not_applicable": "str", "attribute_guid": "str", "attribute_identity": "int", @@ -72,7 +72,7 @@ class GsaDataExportNotApplicableDatum(GsaDataExportDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", @@ -80,7 +80,7 @@ class GsaDataExportNotApplicableDatum(GsaDataExportDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumType": "GsaAttributeType", } @@ -93,7 +93,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_type: "Union[GsaAttributeType, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportNotApplicableDatum - a model defined in Swagger @@ -103,7 +103,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_type: GsaAttributeType, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( not_applicable=not_applicable, @@ -142,7 +142,7 @@ def datum_type(self, datum_type: "Union[GsaAttributeType, Unset_Type]") -> None: self._datum_type = datum_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_datum.py index 7451fdb9..328bbc99 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportNumericDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportNumericDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportNumericDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -95,7 +95,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportNumericDatum - a model defined in Swagger @@ -106,7 +106,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: int, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -146,7 +146,7 @@ def datum_value(self, datum_value: "Union[int, Unset_Type]") -> None: self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_rollup_datum.py index ff09fec1..ef39c909 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_numeric_rollup_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_export_rollup_datum import ( # noqa: F401 GsaDataExportRollupDatum, @@ -55,16 +55,16 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", "attribute_guid": "str", "attribute_identity": "int", @@ -74,7 +74,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum): "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", @@ -84,7 +84,7 @@ class GsaDataExportNumericRollupDatum(GsaDataExportRollupDatum): "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -174,7 +174,7 @@ def unit(self, unit: "Union[str, None, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_parameter_value.py index 910d830a..a3679dd3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDataExportParameterValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaParameterInfo", "value": "float", "value_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "value": "value", "value_name": "valueName", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameter": "GsaParameterInfo", } @@ -177,7 +177,7 @@ def value(self, value: "Union[float, Unset_Type]") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_picture_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_picture_datum.py index e8fcec17..45522833 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_picture_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_picture_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportPictureDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportPictureDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportPictureDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumValue": "GsaDataExportBinaryData", } @@ -97,7 +97,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[GsaDataExportBinaryData, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportPictureDatum - a model defined in Swagger @@ -108,7 +108,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: GsaDataExportBinaryData, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -148,7 +148,7 @@ def datum_value(self, datum_value: "Union[GsaDataExportBinaryData, Unset_Type]") self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point.py index 0c46b707..22de2fcb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDataExportPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_values": "list[GsaDataExportParameterValue]", "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_values": "parameterValues", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaDataExportParameterValue", } @@ -79,18 +79,18 @@ class GsaDataExportPoint(ModelBase): def __init__( self, *, - parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" = Unset, + parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" = Unset, value: "Union[float, Unset_Type]" = Unset, ) -> None: """GsaDataExportPoint - a model defined in Swagger Parameters ---------- - parameter_values: List[GsaDataExportParameterValue], optional + parameter_values: list[GsaDataExportParameterValue], optional value: float, optional """ self._value: Union[float, Unset_Type] = Unset - self._parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] = Unset + self._parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] = Unset if value is not Unset: self.value = value @@ -123,31 +123,31 @@ def value(self, value: "Union[float, Unset_Type]") -> None: self._value = value @property - def parameter_values(self) -> "Union[List[GsaDataExportParameterValue], None, Unset_Type]": + def parameter_values(self) -> "Union[list[GsaDataExportParameterValue], None, Unset_Type]": """Gets the parameter_values of this GsaDataExportPoint. Returns ------- - Union[List[GsaDataExportParameterValue], None, Unset_Type] + Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportPoint. """ return self._parameter_values @parameter_values.setter def parameter_values( - self, parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" + self, parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" ) -> None: """Sets the parameter_values of this GsaDataExportPoint. Parameters ---------- - parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] + parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportPoint. """ self._parameter_values = parameter_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point_datum.py index 9eab4933..c6dc7162 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_point_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportPointDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -76,7 +76,7 @@ class GsaDataExportPointDatum(GsaDataExportApplicableDatum): "unit": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -87,7 +87,7 @@ class GsaDataExportPointDatum(GsaDataExportApplicableDatum): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumValue": "GsaDataExportPoint", } @@ -100,9 +100,9 @@ def __init__( not_applicable: "str" = "applicable", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - datum_value: "Union[List[GsaDataExportPoint], None, Unset_Type]" = Unset, + datum_value: "Union[list[GsaDataExportPoint], None, Unset_Type]" = Unset, is_estimated: "Union[bool, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, unit: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaDataExportPointDatum - a model defined in Swagger @@ -113,9 +113,9 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - datum_value: List[GsaDataExportPoint], optional + datum_value: list[GsaDataExportPoint], optional is_estimated: bool, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional unit: str, optional """ super().__init__( @@ -125,7 +125,7 @@ def __init__( attribute_identity=attribute_identity, meta_datums=meta_datums, ) - self._datum_value: Union[List[GsaDataExportPoint], None, Unset_Type] = Unset + self._datum_value: Union[list[GsaDataExportPoint], None, Unset_Type] = Unset self._is_estimated: Union[bool, Unset_Type] = Unset self._unit: Union[str, None, Unset_Type] = Unset @@ -137,23 +137,23 @@ def __init__( self.unit = unit @property - def datum_value(self) -> "Union[List[GsaDataExportPoint], None, Unset_Type]": + def datum_value(self) -> "Union[list[GsaDataExportPoint], None, Unset_Type]": """Gets the datum_value of this GsaDataExportPointDatum. Returns ------- - Union[List[GsaDataExportPoint], None, Unset_Type] + Union[list[GsaDataExportPoint], None, Unset_Type] The datum_value of this GsaDataExportPointDatum. """ return self._datum_value @datum_value.setter - def datum_value(self, datum_value: "Union[List[GsaDataExportPoint], None, Unset_Type]") -> None: + def datum_value(self, datum_value: "Union[list[GsaDataExportPoint], None, Unset_Type]") -> None: """Sets the datum_value of this GsaDataExportPointDatum. Parameters ---------- - datum_value: Union[List[GsaDataExportPoint], None, Unset_Type] + datum_value: Union[list[GsaDataExportPoint], None, Unset_Type] The datum_value of this GsaDataExportPointDatum. """ self._datum_value = datum_value @@ -206,7 +206,7 @@ def unit(self, unit: "Union[str, None, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range.py index c0c1a301..04b6ec8b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaDataExportRange(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "high_value": "float", "high_value_is_inclusive": "bool", "low_value": "float", "low_value_is_inclusive": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "high_value": "highValue", "high_value_is_inclusive": "highValueIsInclusive", "low_value": "lowValue", "low_value_is_inclusive": "lowValueIsInclusive", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -204,7 +204,7 @@ def low_value_is_inclusive(self, low_value_is_inclusive: "Union[bool, Unset_Type self._low_value_is_inclusive = low_value_is_inclusive @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range_datum.py index d929c0f6..5d443157 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_range_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportRangeDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -76,7 +76,7 @@ class GsaDataExportRangeDatum(GsaDataExportApplicableDatum): "unit": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -87,7 +87,7 @@ class GsaDataExportRangeDatum(GsaDataExportApplicableDatum): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumValue": "GsaDataExportRange", } @@ -102,7 +102,7 @@ def __init__( attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[GsaDataExportRange, Unset_Type]" = Unset, is_estimated: "Union[bool, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, unit: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaDataExportRangeDatum - a model defined in Swagger @@ -115,7 +115,7 @@ def __init__( attribute_identity: int, optional datum_value: GsaDataExportRange, optional is_estimated: bool, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional unit: str, optional """ super().__init__( @@ -209,7 +209,7 @@ def unit(self, unit: "Union[str, None, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_request.py index 15eaee6f..d3898f78 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaDataExportRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attributes": "list[GsaAttributeToExport]", "record_properties": "list[GsaRecordProperty]", "record_history_guids": "list[str]", "record_history_identities": "list[int]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attributes": "attributes", "record_properties": "recordProperties", "record_history_guids": "recordHistoryGuids", "record_history_identities": "recordHistoryIdentities", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaAttributeToExport", "recordProperties": "GsaRecordProperty", } @@ -84,24 +84,24 @@ class GsaDataExportRequest(ModelBase): def __init__( self, *, - attributes: "List[GsaAttributeToExport]", - record_properties: "List[GsaRecordProperty]", - record_history_guids: "Union[List[str], None, Unset_Type]" = Unset, - record_history_identities: "Union[List[int], None, Unset_Type]" = Unset, + attributes: "list[GsaAttributeToExport]", + record_properties: "list[GsaRecordProperty]", + record_history_guids: "Union[list[str], None, Unset_Type]" = Unset, + record_history_identities: "Union[list[int], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportRequest - a model defined in Swagger Parameters ---------- - attributes: List[GsaAttributeToExport] - record_properties: List[GsaRecordProperty] - record_history_guids: List[str], optional - record_history_identities: List[int], optional + attributes: list[GsaAttributeToExport] + record_properties: list[GsaRecordProperty] + record_history_guids: list[str], optional + record_history_identities: list[int], optional """ - self._attributes: List[GsaAttributeToExport] - self._record_properties: List[GsaRecordProperty] - self._record_history_identities: Union[List[int], None, Unset_Type] = Unset - self._record_history_guids: Union[List[str], None, Unset_Type] = Unset + self._attributes: list[GsaAttributeToExport] + self._record_properties: list[GsaRecordProperty] + self._record_history_identities: Union[list[int], None, Unset_Type] = Unset + self._record_history_guids: Union[list[str], None, Unset_Type] = Unset self.attributes = attributes self.record_properties = record_properties @@ -111,23 +111,23 @@ def __init__( self.record_history_guids = record_history_guids @property - def attributes(self) -> "List[GsaAttributeToExport]": + def attributes(self) -> "list[GsaAttributeToExport]": """Gets the attributes of this GsaDataExportRequest. Returns ------- - List[GsaAttributeToExport] + list[GsaAttributeToExport] The attributes of this GsaDataExportRequest. """ return self._attributes @attributes.setter - def attributes(self, attributes: "List[GsaAttributeToExport]") -> None: + def attributes(self, attributes: "list[GsaAttributeToExport]") -> None: """Sets the attributes of this GsaDataExportRequest. Parameters ---------- - attributes: List[GsaAttributeToExport] + attributes: list[GsaAttributeToExport] The attributes of this GsaDataExportRequest. """ # Field is not nullable @@ -139,23 +139,23 @@ def attributes(self, attributes: "List[GsaAttributeToExport]") -> None: self._attributes = attributes @property - def record_properties(self) -> "List[GsaRecordProperty]": + def record_properties(self) -> "list[GsaRecordProperty]": """Gets the record_properties of this GsaDataExportRequest. Returns ------- - List[GsaRecordProperty] + list[GsaRecordProperty] The record_properties of this GsaDataExportRequest. """ return self._record_properties @record_properties.setter - def record_properties(self, record_properties: "List[GsaRecordProperty]") -> None: + def record_properties(self, record_properties: "list[GsaRecordProperty]") -> None: """Sets the record_properties of this GsaDataExportRequest. Parameters ---------- - record_properties: List[GsaRecordProperty] + record_properties: list[GsaRecordProperty] The record_properties of this GsaDataExportRequest. """ # Field is not nullable @@ -167,55 +167,55 @@ def record_properties(self, record_properties: "List[GsaRecordProperty]") -> Non self._record_properties = record_properties @property - def record_history_identities(self) -> "Union[List[int], None, Unset_Type]": + def record_history_identities(self) -> "Union[list[int], None, Unset_Type]": """Gets the record_history_identities of this GsaDataExportRequest. Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The record_history_identities of this GsaDataExportRequest. """ return self._record_history_identities @record_history_identities.setter def record_history_identities( - self, record_history_identities: "Union[List[int], None, Unset_Type]" + self, record_history_identities: "Union[list[int], None, Unset_Type]" ) -> None: """Sets the record_history_identities of this GsaDataExportRequest. Parameters ---------- - record_history_identities: Union[List[int], None, Unset_Type] + record_history_identities: Union[list[int], None, Unset_Type] The record_history_identities of this GsaDataExportRequest. """ self._record_history_identities = record_history_identities @property - def record_history_guids(self) -> "Union[List[str], None, Unset_Type]": + def record_history_guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the record_history_guids of this GsaDataExportRequest. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The record_history_guids of this GsaDataExportRequest. """ return self._record_history_guids @record_history_guids.setter def record_history_guids( - self, record_history_guids: "Union[List[str], None, Unset_Type]" + self, record_history_guids: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the record_history_guids of this GsaDataExportRequest. Parameters ---------- - record_history_guids: Union[List[str], None, Unset_Type] + record_history_guids: Union[list[str], None, Unset_Type] The record_history_guids of this GsaDataExportRequest. """ self._record_history_guids = record_history_guids @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_response.py index 30d440c7..8f86fdf1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_response.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDataExportResponse(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "failures": "list[GsaExportFailure]", "results": "list[GsaRecordWithData]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "failures": "failures", "results": "results", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "results": "GsaRecordWithData", "failures": "GsaExportFailure", } @@ -80,40 +80,40 @@ class GsaDataExportResponse(ModelBase): def __init__( self, *, - failures: "List[GsaExportFailure]", - results: "List[GsaRecordWithData]", + failures: "list[GsaExportFailure]", + results: "list[GsaRecordWithData]", ) -> None: """GsaDataExportResponse - a model defined in Swagger Parameters ---------- - failures: List[GsaExportFailure] - results: List[GsaRecordWithData] + failures: list[GsaExportFailure] + results: list[GsaRecordWithData] """ - self._results: List[GsaRecordWithData] - self._failures: List[GsaExportFailure] + self._results: list[GsaRecordWithData] + self._failures: list[GsaExportFailure] self.results = results self.failures = failures @property - def results(self) -> "List[GsaRecordWithData]": + def results(self) -> "list[GsaRecordWithData]": """Gets the results of this GsaDataExportResponse. Returns ------- - List[GsaRecordWithData] + list[GsaRecordWithData] The results of this GsaDataExportResponse. """ return self._results @results.setter - def results(self, results: "List[GsaRecordWithData]") -> None: + def results(self, results: "list[GsaRecordWithData]") -> None: """Sets the results of this GsaDataExportResponse. Parameters ---------- - results: List[GsaRecordWithData] + results: list[GsaRecordWithData] The results of this GsaDataExportResponse. """ # Field is not nullable @@ -125,25 +125,25 @@ def results(self, results: "List[GsaRecordWithData]") -> None: self._results = results @property - def failures(self) -> "List[GsaExportFailure]": + def failures(self) -> "list[GsaExportFailure]": """Gets the failures of this GsaDataExportResponse. List the records that were requested, but that we failed to export any data for. Returns ------- - List[GsaExportFailure] + list[GsaExportFailure] The failures of this GsaDataExportResponse. """ return self._failures @failures.setter - def failures(self, failures: "List[GsaExportFailure]") -> None: + def failures(self, failures: "list[GsaExportFailure]") -> None: """Sets the failures of this GsaDataExportResponse. List the records that were requested, but that we failed to export any data for. Parameters ---------- - failures: List[GsaExportFailure] + failures: list[GsaExportFailure] The failures of this GsaDataExportResponse. """ # Field is not nullable @@ -155,7 +155,7 @@ def failures(self, failures: "List[GsaExportFailure]") -> None: self._failures = failures @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_rollup_datum.py index 18e2c719..b9549c41 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_rollup_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaDataExportRollupDatum(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", "attribute_guid": "str", "attribute_identity": "int", @@ -70,7 +70,7 @@ class GsaDataExportRollupDatum(ModelBase): "roll_up_type": "GsaTabularColumnRollUpType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", @@ -78,7 +78,7 @@ class GsaDataExportRollupDatum(ModelBase): "roll_up_type": "rollUpType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "rollUpType": "GsaTabularColumnRollUpType", } @@ -249,7 +249,7 @@ def type(self, type: "str") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series.py index 07f890d4..0287c82d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDataExportSeries(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "graph_decoration": "GsaDataExportGraphDecoration", "parameter_values": "list[GsaDataExportParameterValue]", "points": "list[GsaDataExportSeriesPoint]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "graph_decoration": "graphDecoration", "parameter_values": "parameterValues", "points": "points", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaDataExportParameterValue", "points": "GsaDataExportSeriesPoint", "graphDecoration": "GsaDataExportGraphDecoration", @@ -84,19 +84,19 @@ def __init__( self, *, graph_decoration: "Union[GsaDataExportGraphDecoration, Unset_Type]" = Unset, - parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" = Unset, - points: "Union[List[GsaDataExportSeriesPoint], None, Unset_Type]" = Unset, + parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" = Unset, + points: "Union[list[GsaDataExportSeriesPoint], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportSeries - a model defined in Swagger Parameters ---------- graph_decoration: GsaDataExportGraphDecoration, optional - parameter_values: List[GsaDataExportParameterValue], optional - points: List[GsaDataExportSeriesPoint], optional + parameter_values: list[GsaDataExportParameterValue], optional + points: list[GsaDataExportSeriesPoint], optional """ - self._parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] = Unset - self._points: Union[List[GsaDataExportSeriesPoint], None, Unset_Type] = Unset + self._parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] = Unset + self._points: Union[list[GsaDataExportSeriesPoint], None, Unset_Type] = Unset self._graph_decoration: Union[GsaDataExportGraphDecoration, Unset_Type] = Unset if parameter_values is not Unset: @@ -107,47 +107,47 @@ def __init__( self.graph_decoration = graph_decoration @property - def parameter_values(self) -> "Union[List[GsaDataExportParameterValue], None, Unset_Type]": + def parameter_values(self) -> "Union[list[GsaDataExportParameterValue], None, Unset_Type]": """Gets the parameter_values of this GsaDataExportSeries. Returns ------- - Union[List[GsaDataExportParameterValue], None, Unset_Type] + Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportSeries. """ return self._parameter_values @parameter_values.setter def parameter_values( - self, parameter_values: "Union[List[GsaDataExportParameterValue], None, Unset_Type]" + self, parameter_values: "Union[list[GsaDataExportParameterValue], None, Unset_Type]" ) -> None: """Sets the parameter_values of this GsaDataExportSeries. Parameters ---------- - parameter_values: Union[List[GsaDataExportParameterValue], None, Unset_Type] + parameter_values: Union[list[GsaDataExportParameterValue], None, Unset_Type] The parameter_values of this GsaDataExportSeries. """ self._parameter_values = parameter_values @property - def points(self) -> "Union[List[GsaDataExportSeriesPoint], None, Unset_Type]": + def points(self) -> "Union[list[GsaDataExportSeriesPoint], None, Unset_Type]": """Gets the points of this GsaDataExportSeries. Returns ------- - Union[List[GsaDataExportSeriesPoint], None, Unset_Type] + Union[list[GsaDataExportSeriesPoint], None, Unset_Type] The points of this GsaDataExportSeries. """ return self._points @points.setter - def points(self, points: "Union[List[GsaDataExportSeriesPoint], None, Unset_Type]") -> None: + def points(self, points: "Union[list[GsaDataExportSeriesPoint], None, Unset_Type]") -> None: """Sets the points of this GsaDataExportSeries. Parameters ---------- - points: Union[List[GsaDataExportSeriesPoint], None, Unset_Type] + points: Union[list[GsaDataExportSeriesPoint], None, Unset_Type] The points of this GsaDataExportSeries. """ self._points = points @@ -180,7 +180,7 @@ def graph_decoration( self._graph_decoration = graph_decoration @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series_point.py index 43451c8e..8232a7ec 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_series_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaDataExportSeriesPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "x_name": "str", "x_value": "float", "y_high_value": "float", "y_low_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "x_name": "xName", "x_value": "xValue", "y_high_value": "yHighValue", "y_low_value": "yLowValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -207,7 +207,7 @@ def y_high_value(self, y_high_value: "Union[float, Unset_Type]") -> None: self._y_high_value = y_high_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_short_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_short_text_datum.py index 1ef369c1..bac24bf6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_short_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_short_text_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_applicable_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportShortTextDatum(GsaDataExportApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "not_applicable": "str", "attribute_guid": "str", @@ -74,7 +74,7 @@ class GsaDataExportShortTextDatum(GsaDataExportApplicableDatum): "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", @@ -83,7 +83,7 @@ class GsaDataExportShortTextDatum(GsaDataExportApplicableDatum): "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -95,7 +95,7 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, datum_value: "Union[str, None, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportShortTextDatum - a model defined in Swagger @@ -106,7 +106,7 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional datum_value: str, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( datum_type=datum_type, @@ -143,7 +143,7 @@ def datum_value(self, datum_value: "Union[str, None, Unset_Type]") -> None: self._datum_value = datum_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_datum.py index 4be0276b..7aabf7fa 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_data_export_link_datum import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaDataExportTabularDatum(GsaDataExportLinkDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAttributeType", "link_datum_type": "str", "not_applicable": "str", @@ -77,7 +77,7 @@ class GsaDataExportTabularDatum(GsaDataExportLinkDatum): "tabular_rows": "list[GsaDataExportTabularRow]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "link_datum_type": "linkDatumType", "not_applicable": "notApplicable", @@ -89,7 +89,7 @@ class GsaDataExportTabularDatum(GsaDataExportLinkDatum): "tabular_rows": "tabularRows", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "tabularRows": "GsaDataExportTabularRow", "summaryRow": "GsaDataExportRollupDatum", } @@ -105,9 +105,9 @@ def __init__( attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, attribute_name: "Union[str, None, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - summary_row: "Union[List[GsaDataExportRollupDatum], None, Unset_Type]" = Unset, - tabular_rows: "Union[List[GsaDataExportTabularRow], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + summary_row: "Union[list[GsaDataExportRollupDatum], None, Unset_Type]" = Unset, + tabular_rows: "Union[list[GsaDataExportTabularRow], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportTabularDatum - a model defined in Swagger @@ -119,9 +119,9 @@ def __init__( attribute_guid: str, optional attribute_identity: int, optional attribute_name: str, optional - meta_datums: List[GsaDataExportDatum], optional - summary_row: List[GsaDataExportRollupDatum], optional - tabular_rows: List[GsaDataExportTabularRow], optional + meta_datums: list[GsaDataExportDatum], optional + summary_row: list[GsaDataExportRollupDatum], optional + tabular_rows: list[GsaDataExportTabularRow], optional """ super().__init__( datum_type=datum_type, @@ -132,8 +132,8 @@ def __init__( meta_datums=meta_datums, ) self._attribute_name: Union[str, None, Unset_Type] = Unset - self._tabular_rows: Union[List[GsaDataExportTabularRow], None, Unset_Type] = Unset - self._summary_row: Union[List[GsaDataExportRollupDatum], None, Unset_Type] = Unset + self._tabular_rows: Union[list[GsaDataExportTabularRow], None, Unset_Type] = Unset + self._summary_row: Union[list[GsaDataExportRollupDatum], None, Unset_Type] = Unset if attribute_name is not Unset: self.attribute_name = attribute_name @@ -165,55 +165,55 @@ def attribute_name(self, attribute_name: "Union[str, None, Unset_Type]") -> None self._attribute_name = attribute_name @property - def tabular_rows(self) -> "Union[List[GsaDataExportTabularRow], None, Unset_Type]": + def tabular_rows(self) -> "Union[list[GsaDataExportTabularRow], None, Unset_Type]": """Gets the tabular_rows of this GsaDataExportTabularDatum. Returns ------- - Union[List[GsaDataExportTabularRow], None, Unset_Type] + Union[list[GsaDataExportTabularRow], None, Unset_Type] The tabular_rows of this GsaDataExportTabularDatum. """ return self._tabular_rows @tabular_rows.setter def tabular_rows( - self, tabular_rows: "Union[List[GsaDataExportTabularRow], None, Unset_Type]" + self, tabular_rows: "Union[list[GsaDataExportTabularRow], None, Unset_Type]" ) -> None: """Sets the tabular_rows of this GsaDataExportTabularDatum. Parameters ---------- - tabular_rows: Union[List[GsaDataExportTabularRow], None, Unset_Type] + tabular_rows: Union[list[GsaDataExportTabularRow], None, Unset_Type] The tabular_rows of this GsaDataExportTabularDatum. """ self._tabular_rows = tabular_rows @property - def summary_row(self) -> "Union[List[GsaDataExportRollupDatum], None, Unset_Type]": + def summary_row(self) -> "Union[list[GsaDataExportRollupDatum], None, Unset_Type]": """Gets the summary_row of this GsaDataExportTabularDatum. Returns ------- - Union[List[GsaDataExportRollupDatum], None, Unset_Type] + Union[list[GsaDataExportRollupDatum], None, Unset_Type] The summary_row of this GsaDataExportTabularDatum. """ return self._summary_row @summary_row.setter def summary_row( - self, summary_row: "Union[List[GsaDataExportRollupDatum], None, Unset_Type]" + self, summary_row: "Union[list[GsaDataExportRollupDatum], None, Unset_Type]" ) -> None: """Sets the summary_row of this GsaDataExportTabularDatum. Parameters ---------- - summary_row: Union[List[GsaDataExportRollupDatum], None, Unset_Type] + summary_row: Union[list[GsaDataExportRollupDatum], None, Unset_Type] The summary_row of this GsaDataExportTabularDatum. """ self._summary_row = summary_row @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_row.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_row.py index c0f0fd10..03c029c3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_row.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_tabular_row.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaDataExportTabularRow(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "linked_data": "list[GsaRecordWithData]", "linked_records": "list[GsaRecordReference]", "linking_value": "str", @@ -70,7 +70,7 @@ class GsaDataExportTabularRow(ModelBase): "row_number": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "linked_data": "linkedData", "linked_records": "linkedRecords", "linking_value": "linkingValue", @@ -80,7 +80,7 @@ class GsaDataExportTabularRow(ModelBase): "row_number": "rowNumber", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localData": "GsaDataExportDatum", "linkedRecords": "GsaRecordReference", "linkedData": "GsaRecordWithData", @@ -92,11 +92,11 @@ class GsaDataExportTabularRow(ModelBase): def __init__( self, *, - linked_data: "Union[List[GsaRecordWithData], None, Unset_Type]" = Unset, - linked_records: "Union[List[GsaRecordReference], None, Unset_Type]" = Unset, + linked_data: "Union[list[GsaRecordWithData], None, Unset_Type]" = Unset, + linked_records: "Union[list[GsaRecordReference], None, Unset_Type]" = Unset, linking_value: "Union[str, None, Unset_Type]" = Unset, - local_data: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - rolled_up_data: "Union[List[GsaDataExportRollupDatum], None, Unset_Type]" = Unset, + local_data: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + rolled_up_data: "Union[list[GsaDataExportRollupDatum], None, Unset_Type]" = Unset, row_guid: "Union[str, Unset_Type]" = Unset, row_number: "Union[int, Unset_Type]" = Unset, ) -> None: @@ -104,21 +104,21 @@ def __init__( Parameters ---------- - linked_data: List[GsaRecordWithData], optional - linked_records: List[GsaRecordReference], optional + linked_data: list[GsaRecordWithData], optional + linked_records: list[GsaRecordReference], optional linking_value: str, optional - local_data: List[GsaDataExportDatum], optional - rolled_up_data: List[GsaDataExportRollupDatum], optional + local_data: list[GsaDataExportDatum], optional + rolled_up_data: list[GsaDataExportRollupDatum], optional row_guid: str, optional row_number: int, optional """ self._row_guid: Union[str, Unset_Type] = Unset self._linking_value: Union[str, None, Unset_Type] = Unset self._row_number: Union[int, Unset_Type] = Unset - self._local_data: Union[List[GsaDataExportDatum], None, Unset_Type] = Unset - self._linked_records: Union[List[GsaRecordReference], None, Unset_Type] = Unset - self._linked_data: Union[List[GsaRecordWithData], None, Unset_Type] = Unset - self._rolled_up_data: Union[List[GsaDataExportRollupDatum], None, Unset_Type] = Unset + self._local_data: Union[list[GsaDataExportDatum], None, Unset_Type] = Unset + self._linked_records: Union[list[GsaRecordReference], None, Unset_Type] = Unset + self._linked_data: Union[list[GsaRecordWithData], None, Unset_Type] = Unset + self._rolled_up_data: Union[list[GsaDataExportRollupDatum], None, Unset_Type] = Unset if row_guid is not Unset: self.row_guid = row_guid @@ -208,103 +208,103 @@ def row_number(self, row_number: "Union[int, Unset_Type]") -> None: self._row_number = row_number @property - def local_data(self) -> "Union[List[GsaDataExportDatum], None, Unset_Type]": + def local_data(self) -> "Union[list[GsaDataExportDatum], None, Unset_Type]": """Gets the local_data of this GsaDataExportTabularRow. Returns ------- - Union[List[GsaDataExportDatum], None, Unset_Type] + Union[list[GsaDataExportDatum], None, Unset_Type] The local_data of this GsaDataExportTabularRow. """ return self._local_data @local_data.setter - def local_data(self, local_data: "Union[List[GsaDataExportDatum], None, Unset_Type]") -> None: + def local_data(self, local_data: "Union[list[GsaDataExportDatum], None, Unset_Type]") -> None: """Sets the local_data of this GsaDataExportTabularRow. Parameters ---------- - local_data: Union[List[GsaDataExportDatum], None, Unset_Type] + local_data: Union[list[GsaDataExportDatum], None, Unset_Type] The local_data of this GsaDataExportTabularRow. """ self._local_data = local_data @property - def linked_records(self) -> "Union[List[GsaRecordReference], None, Unset_Type]": + def linked_records(self) -> "Union[list[GsaRecordReference], None, Unset_Type]": """Gets the linked_records of this GsaDataExportTabularRow. Records linked to this tabular row (only populated if the target table/attribute was provided in the request) Returns ------- - Union[List[GsaRecordReference], None, Unset_Type] + Union[list[GsaRecordReference], None, Unset_Type] The linked_records of this GsaDataExportTabularRow. """ return self._linked_records @linked_records.setter def linked_records( - self, linked_records: "Union[List[GsaRecordReference], None, Unset_Type]" + self, linked_records: "Union[list[GsaRecordReference], None, Unset_Type]" ) -> None: """Sets the linked_records of this GsaDataExportTabularRow. Records linked to this tabular row (only populated if the target table/attribute was provided in the request) Parameters ---------- - linked_records: Union[List[GsaRecordReference], None, Unset_Type] + linked_records: Union[list[GsaRecordReference], None, Unset_Type] The linked_records of this GsaDataExportTabularRow. """ self._linked_records = linked_records @property - def linked_data(self) -> "Union[List[GsaRecordWithData], None, Unset_Type]": + def linked_data(self) -> "Union[list[GsaRecordWithData], None, Unset_Type]": """Gets the linked_data of this GsaDataExportTabularRow. Data for the linked records, if the request included linked data to export Returns ------- - Union[List[GsaRecordWithData], None, Unset_Type] + Union[list[GsaRecordWithData], None, Unset_Type] The linked_data of this GsaDataExportTabularRow. """ return self._linked_data @linked_data.setter - def linked_data(self, linked_data: "Union[List[GsaRecordWithData], None, Unset_Type]") -> None: + def linked_data(self, linked_data: "Union[list[GsaRecordWithData], None, Unset_Type]") -> None: """Sets the linked_data of this GsaDataExportTabularRow. Data for the linked records, if the request included linked data to export Parameters ---------- - linked_data: Union[List[GsaRecordWithData], None, Unset_Type] + linked_data: Union[list[GsaRecordWithData], None, Unset_Type] The linked_data of this GsaDataExportTabularRow. """ self._linked_data = linked_data @property - def rolled_up_data(self) -> "Union[List[GsaDataExportRollupDatum], None, Unset_Type]": + def rolled_up_data(self) -> "Union[list[GsaDataExportRollupDatum], None, Unset_Type]": """Gets the rolled_up_data of this GsaDataExportTabularRow. Returns ------- - Union[List[GsaDataExportRollupDatum], None, Unset_Type] + Union[list[GsaDataExportRollupDatum], None, Unset_Type] The rolled_up_data of this GsaDataExportTabularRow. """ return self._rolled_up_data @rolled_up_data.setter def rolled_up_data( - self, rolled_up_data: "Union[List[GsaDataExportRollupDatum], None, Unset_Type]" + self, rolled_up_data: "Union[list[GsaDataExportRollupDatum], None, Unset_Type]" ) -> None: """Sets the rolled_up_data of this GsaDataExportTabularRow. Parameters ---------- - rolled_up_data: Union[List[GsaDataExportRollupDatum], None, Unset_Type] + rolled_up_data: Union[list[GsaDataExportRollupDatum], None, Unset_Type] The rolled_up_data of this GsaDataExportTabularRow. """ self._rolled_up_data = rolled_up_data @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_unknown_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_unknown_datum.py index e46bcaa5..9afee815 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_unknown_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_unknown_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_export_datum import ( # noqa: F401 GsaDataExportDatum, @@ -55,30 +55,30 @@ class GsaDataExportUnknownDatum(GsaDataExportDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "not_applicable": "str", "attribute_guid": "str", "attribute_identity": "int", "meta_datums": "list[GsaDataExportDatum]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "not_applicable": "notApplicable", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", "meta_datums": "metaDatums", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -88,7 +88,7 @@ def __init__( not_applicable: "str" = "unknown", attribute_guid: "Union[str, Unset_Type]" = Unset, attribute_identity: "Union[int, Unset_Type]" = Unset, - meta_datums: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, + meta_datums: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportUnknownDatum - a model defined in Swagger @@ -97,7 +97,7 @@ def __init__( not_applicable: str attribute_guid: str, optional attribute_identity: int, optional - meta_datums: List[GsaDataExportDatum], optional + meta_datums: list[GsaDataExportDatum], optional """ super().__init__( not_applicable=not_applicable, @@ -107,7 +107,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_value_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_value_rollup_datum.py index 1e895925..58ade134 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_value_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_value_rollup_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_export_rollup_datum import ( # noqa: F401 GsaDataExportRollupDatum, @@ -55,16 +55,16 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", "attribute_guid": "str", "attribute_identity": "int", @@ -73,7 +73,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum): "value": "object", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", @@ -82,7 +82,7 @@ class GsaDataExportValueRollupDatum(GsaDataExportRollupDatum): "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -142,7 +142,7 @@ def value(self, value: "Union[object, None, Unset_Type]") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_values_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_values_rollup_datum.py index d75e697d..a3757044 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_values_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_export_values_rollup_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_export_rollup_datum import ( # noqa: F401 GsaDataExportRollupDatum, @@ -55,16 +55,16 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", "attribute_guid": "str", "attribute_identity": "int", @@ -74,7 +74,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum): "values": "list[object]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", @@ -84,7 +84,7 @@ class GsaDataExportValuesRollupDatum(GsaDataExportRollupDatum): "values": "values", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -97,7 +97,7 @@ def __init__( database_key: "Union[str, None, Unset_Type]" = Unset, roll_up_type: "Union[GsaTabularColumnRollUpType, Unset_Type]" = Unset, unit: "Union[str, None, Unset_Type]" = Unset, - values: "Union[List[object], None, Unset_Type]" = Unset, + values: "Union[list[object], None, Unset_Type]" = Unset, ) -> None: """GsaDataExportValuesRollupDatum - a model defined in Swagger @@ -109,7 +109,7 @@ def __init__( database_key: str, optional roll_up_type: GsaTabularColumnRollUpType, optional unit: str, optional - values: List[object], optional + values: list[object], optional """ super().__init__( type=type, @@ -118,7 +118,7 @@ def __init__( database_key=database_key, roll_up_type=roll_up_type, ) - self._values: Union[List[object], None, Unset_Type] = Unset + self._values: Union[list[object], None, Unset_Type] = Unset self._unit: Union[str, None, Unset_Type] = Unset if values is not Unset: @@ -127,23 +127,23 @@ def __init__( self.unit = unit @property - def values(self) -> "Union[List[object], None, Unset_Type]": + def values(self) -> "Union[list[object], None, Unset_Type]": """Gets the values of this GsaDataExportValuesRollupDatum. Returns ------- - Union[List[object], None, Unset_Type] + Union[list[object], None, Unset_Type] The values of this GsaDataExportValuesRollupDatum. """ return self._values @values.setter - def values(self, values: "Union[List[object], None, Unset_Type]") -> None: + def values(self, values: "Union[list[object], None, Unset_Type]") -> None: """Sets the values of this GsaDataExportValuesRollupDatum. Parameters ---------- - values: Union[List[object], None, Unset_Type] + values: Union[list[object], None, Unset_Type] The values of this GsaDataExportValuesRollupDatum. """ self._values = values @@ -171,7 +171,7 @@ def unit(self, unit: "Union[str, None, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_modification_error_detail.py index 5edccf3d..eaca725a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDataModificationErrorDetail(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator_value_class_map = { "usage".lower(): "#/components/schemas/GsaUsageDataModificationErrorDetail", @@ -156,7 +156,7 @@ def reason(self, reason: "str") -> None: self._reason = reason @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rule.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rule.py index 29284aa6..5ba6be8c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rule.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rule.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaDataRule(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "guid": "str", "name": "str", @@ -68,7 +68,7 @@ class GsaDataRule(ModelBase): "used_by_attributes": "list[GsaSlimAttribute]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "guid": "guid", "name": "name", @@ -76,7 +76,7 @@ class GsaDataRule(ModelBase): "used_by_attributes": "usedByAttributes", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "usedByAttributes": "GsaSlimAttribute", } @@ -89,7 +89,7 @@ def __init__( guid: "str", name: "str", regular_expression: "str", - used_by_attributes: "List[GsaSlimAttribute]", + used_by_attributes: "list[GsaSlimAttribute]", ) -> None: """GsaDataRule - a model defined in Swagger @@ -99,11 +99,11 @@ def __init__( guid: str name: str regular_expression: str - used_by_attributes: List[GsaSlimAttribute] + used_by_attributes: list[GsaSlimAttribute] """ self._description: str self._regular_expression: str - self._used_by_attributes: List[GsaSlimAttribute] + self._used_by_attributes: list[GsaSlimAttribute] self._name: str self._guid: str @@ -170,23 +170,23 @@ def regular_expression(self, regular_expression: "str") -> None: self._regular_expression = regular_expression @property - def used_by_attributes(self) -> "List[GsaSlimAttribute]": + def used_by_attributes(self) -> "list[GsaSlimAttribute]": """Gets the used_by_attributes of this GsaDataRule. Returns ------- - List[GsaSlimAttribute] + list[GsaSlimAttribute] The used_by_attributes of this GsaDataRule. """ return self._used_by_attributes @used_by_attributes.setter - def used_by_attributes(self, used_by_attributes: "List[GsaSlimAttribute]") -> None: + def used_by_attributes(self, used_by_attributes: "list[GsaSlimAttribute]") -> None: """Sets the used_by_attributes of this GsaDataRule. Parameters ---------- - used_by_attributes: List[GsaSlimAttribute] + used_by_attributes: list[GsaSlimAttribute] The used_by_attributes of this GsaDataRule. """ # Field is not nullable @@ -254,7 +254,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rules_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rules_info.py index 0ce02b63..ad3581ac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rules_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_rules_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDataRulesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "data_rules": "list[GsaDataRule]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "data_rules": "dataRules", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "dataRules": "GsaDataRule", } @@ -77,43 +77,43 @@ class GsaDataRulesInfo(ModelBase): def __init__( self, *, - data_rules: "Union[List[GsaDataRule], None, Unset_Type]" = Unset, + data_rules: "Union[list[GsaDataRule], None, Unset_Type]" = Unset, ) -> None: """GsaDataRulesInfo - a model defined in Swagger Parameters ---------- - data_rules: List[GsaDataRule], optional + data_rules: list[GsaDataRule], optional """ - self._data_rules: Union[List[GsaDataRule], None, Unset_Type] = Unset + self._data_rules: Union[list[GsaDataRule], None, Unset_Type] = Unset if data_rules is not Unset: self.data_rules = data_rules @property - def data_rules(self) -> "Union[List[GsaDataRule], None, Unset_Type]": + def data_rules(self) -> "Union[list[GsaDataRule], None, Unset_Type]": """Gets the data_rules of this GsaDataRulesInfo. Returns ------- - Union[List[GsaDataRule], None, Unset_Type] + Union[list[GsaDataRule], None, Unset_Type] The data_rules of this GsaDataRulesInfo. """ return self._data_rules @data_rules.setter - def data_rules(self, data_rules: "Union[List[GsaDataRule], None, Unset_Type]") -> None: + def data_rules(self, data_rules: "Union[list[GsaDataRule], None, Unset_Type]") -> None: """Sets the data_rules of this GsaDataRulesInfo. Parameters ---------- - data_rules: Union[List[GsaDataRule], None, Unset_Type] + data_rules: Union[list[GsaDataRule], None, Unset_Type] The data_rules of this GsaDataRulesInfo. """ self._data_rules = data_rules @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_usage_data_modification_error_detail.py index 7f0324c9..31923fa5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_data_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,28 +56,28 @@ class GsaDataUsageDataModificationErrorDetail(GsaUsageDataModificationErrorDetai """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database.py index 25a6a753..b87c6a99 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaDatabase(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "is_locked": "bool", "is_read_only": "bool", "key": "str", @@ -79,7 +79,7 @@ class GsaDatabase(ModelBase): "version_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "is_locked": "isLocked", "is_read_only": "isReadOnly", "key": "key", @@ -98,7 +98,7 @@ class GsaDatabase(ModelBase): "version_guid": "versionGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "status": "GsaDatabaseStatus", } @@ -570,7 +570,7 @@ def schema_version(self, schema_version: "Union[str, None, Unset_Type]") -> None self._schema_version = schema_version @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_key_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_key_property.py index 257941fe..956d6aa2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_key_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_key_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaDatabaseKeyProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "database_key": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "database_key": "databaseKey", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def database_key(self, database_key: "Union[str, None, Unset_Type]") -> None: self._database_key = database_key @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_status_information.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_status_information.py index 875b41de..fdae181f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_status_information.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_database_status_information.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaDatabaseStatusInformation(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_is_read_only": "bool", "database_key": "str", "is_locked": "bool", @@ -69,7 +69,7 @@ class GsaDatabaseStatusInformation(ModelBase): "state": "GsaDatabaseStatus", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_is_read_only": "databaseIsReadOnly", "database_key": "databaseKey", "is_locked": "isLocked", @@ -78,7 +78,7 @@ class GsaDatabaseStatusInformation(ModelBase): "state": "state", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "state": "GsaDatabaseStatus", } @@ -280,7 +280,7 @@ def search_index_in_sync(self, search_index_in_sync: "Union[bool, Unset_Type]") self._search_index_in_sync = search_index_in_sync @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_databases_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_databases_info.py index 5350ebff..12003a22 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_databases_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_databases_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDatabasesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "databases": "list[GsaSlimDatabase]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "databases": "databases", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "databases": "GsaSlimDatabase", } @@ -77,43 +77,43 @@ class GsaDatabasesInfo(ModelBase): def __init__( self, *, - databases: "Union[List[GsaSlimDatabase], None, Unset_Type]" = Unset, + databases: "Union[list[GsaSlimDatabase], None, Unset_Type]" = Unset, ) -> None: """GsaDatabasesInfo - a model defined in Swagger Parameters ---------- - databases: List[GsaSlimDatabase], optional + databases: list[GsaSlimDatabase], optional """ - self._databases: Union[List[GsaSlimDatabase], None, Unset_Type] = Unset + self._databases: Union[list[GsaSlimDatabase], None, Unset_Type] = Unset if databases is not Unset: self.databases = databases @property - def databases(self) -> "Union[List[GsaSlimDatabase], None, Unset_Type]": + def databases(self) -> "Union[list[GsaSlimDatabase], None, Unset_Type]": """Gets the databases of this GsaDatabasesInfo. Returns ------- - Union[List[GsaSlimDatabase], None, Unset_Type] + Union[list[GsaSlimDatabase], None, Unset_Type] The databases of this GsaDatabasesInfo. """ return self._databases @databases.setter - def databases(self, databases: "Union[List[GsaSlimDatabase], None, Unset_Type]") -> None: + def databases(self, databases: "Union[list[GsaSlimDatabase], None, Unset_Type]") -> None: """Sets the databases of this GsaDatabasesInfo. Parameters ---------- - databases: Union[List[GsaSlimDatabase], None, Unset_Type] + databases: Union[list[GsaSlimDatabase], None, Unset_Type] The databases of this GsaDatabasesInfo. """ self._databases = databases @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation.py index 5bce5f1d..00814adb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,28 +58,28 @@ class GsaDateTimeAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "maximum": "datetime", "minimum": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "maximum": "maximum", "minimum": "minimum", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -152,7 +152,7 @@ def maximum(self, maximum: "Union[datetime, None, Unset_Type]") -> None: self._maximum = maximum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation_datum_criterion.py index e7879898..8a3cac60 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,24 +58,24 @@ class GsaDateTimeAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -93,7 +93,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_attribute.py index 8b0acb52..ebd916a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaDateTimeAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -77,7 +77,7 @@ class GsaDateTimeAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaDateTimeAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -115,7 +115,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -141,7 +141,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum.py index b70bdcb7..9d9adfa5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,28 +56,28 @@ class GsaDateTimeDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "date_time": "datetime", "datum_type": "GsaDatumType", "not_applicable": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "date_time": "dateTime", "datum_type": "datumType", "not_applicable": "notApplicable", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def date_time(self, date_time: "datetime") -> None: self._date_time = date_time @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_criterion.py index 09498029..cd7bbd50 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaDateTimeDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "gte": "datetime", "lte": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -154,7 +154,7 @@ def lte(self, lte: "Union[datetime, None, Unset_Type]") -> None: self._lte = lte @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_exists_criterion.py index 3c58129d..07cee98c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaDateTimeDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py index dac6d3ed..8c878658 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,28 +58,28 @@ class GsaDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion(GsaAggrega """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "interval": "GsaCalendarInterval", "type": "GsaAggregationDatumCriterionType", "offset": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "interval": "interval", "type": "type", "offset": "offset", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "interval": "GsaCalendarInterval", } @@ -161,7 +161,7 @@ def offset(self, offset: "Union[str, None, Unset_Type]") -> None: self._offset = offset @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py index 0de0c080..2363fb87 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_fixed_width_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,28 +58,28 @@ class GsaDateTimeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatu """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "interval": "str", "type": "GsaAggregationDatumCriterionType", "offset": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "interval": "interval", "type": "type", "offset": "offset", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -161,7 +161,7 @@ def offset(self, offset: "Union[str, None, Unset_Type]") -> None: self._offset = offset @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram.py index 20c2ee4d..3fd238a5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDateTimeHistogram(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "buckets": "list[GsaDateTimeHistogramBucket]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "buckets": "buckets", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "buckets": "GsaDateTimeHistogramBucket", } @@ -77,43 +77,43 @@ class GsaDateTimeHistogram(ModelBase): def __init__( self, *, - buckets: "Union[List[GsaDateTimeHistogramBucket], None, Unset_Type]" = Unset, + buckets: "Union[list[GsaDateTimeHistogramBucket], None, Unset_Type]" = Unset, ) -> None: """GsaDateTimeHistogram - a model defined in Swagger Parameters ---------- - buckets: List[GsaDateTimeHistogramBucket], optional + buckets: list[GsaDateTimeHistogramBucket], optional """ - self._buckets: Union[List[GsaDateTimeHistogramBucket], None, Unset_Type] = Unset + self._buckets: Union[list[GsaDateTimeHistogramBucket], None, Unset_Type] = Unset if buckets is not Unset: self.buckets = buckets @property - def buckets(self) -> "Union[List[GsaDateTimeHistogramBucket], None, Unset_Type]": + def buckets(self) -> "Union[list[GsaDateTimeHistogramBucket], None, Unset_Type]": """Gets the buckets of this GsaDateTimeHistogram. Returns ------- - Union[List[GsaDateTimeHistogramBucket], None, Unset_Type] + Union[list[GsaDateTimeHistogramBucket], None, Unset_Type] The buckets of this GsaDateTimeHistogram. """ return self._buckets @buckets.setter - def buckets(self, buckets: "Union[List[GsaDateTimeHistogramBucket], None, Unset_Type]") -> None: + def buckets(self, buckets: "Union[list[GsaDateTimeHistogramBucket], None, Unset_Type]") -> None: """Sets the buckets of this GsaDateTimeHistogram. Parameters ---------- - buckets: Union[List[GsaDateTimeHistogramBucket], None, Unset_Type] + buckets: Union[list[GsaDateTimeHistogramBucket], None, Unset_Type] The buckets of this GsaDateTimeHistogram. """ self._buckets = buckets @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation.py index 7caca961..e2c1e969 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaDateTimeHistogramAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "histogram": "GsaDateTimeHistogram", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "histogram": "histogram", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "histogram": "GsaDateTimeHistogram", } @@ -128,7 +128,7 @@ def histogram(self, histogram: "Union[GsaDateTimeHistogram, Unset_Type]") -> Non self._histogram = histogram @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation_datum_criterion.py index 0b301816..02d64247 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,26 +58,26 @@ class GsaDateTimeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "maximum_number_of_buckets": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "maximum_number_of_buckets": "maximumNumberOfBuckets", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def maximum_number_of_buckets( self._maximum_number_of_buckets = maximum_number_of_buckets @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_bucket.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_bucket.py index 55cc5d54..19c6dbc1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_bucket.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_date_time_histogram_bucket.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDateTimeHistogramBucket(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "lower": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "lower": "lower", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum.py index c5e3e29d..9c7aa8ec 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDatum(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "not_applicable": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "not_applicable": "notApplicable", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator_value_class_map = { "applicable".lower(): "#/components/schemas/GsaApplicableDatum", @@ -120,7 +120,7 @@ def not_applicable(self, not_applicable: "str") -> None: self._not_applicable = not_applicable @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_criterion.py index f87dc265..c94d3073 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDatumCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaDatumCriterionType", } @@ -152,7 +152,7 @@ def type(self, type: "GsaDatumCriterionType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_discrete_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_discrete_rollup.py index d3d1a060..d9c45e9d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_discrete_rollup.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_discrete_rollup.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup import GsaDatumRollup # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup_type import GsaDatumRollupType @@ -54,26 +54,26 @@ class GsaDatumDiscreteRollup(GsaDatumRollup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumRollupType", "value": "GsaDiscreteValuesDiscreteValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "value": "GsaDiscreteValuesDiscreteValue", } @@ -126,7 +126,7 @@ def value(self, value: "GsaDiscreteValuesDiscreteValue") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_exists_criterion.py index 0bd13615..f04e106e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDatumExistsCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", } @@ -139,7 +139,7 @@ def type(self, type: "GsaAttributeType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_export_failure.py index 9a17e8ed..c50b2064 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_export_failure.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_export_failure import ( # noqa: F401 GsaExportFailure, @@ -56,30 +56,30 @@ class GsaDatumExportFailure(GsaExportFailure): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "failed_datum": "GsaDatumReference", "failure_details": "str", "failure_reason": "str", "type": "GsaExportFailureType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "failed_datum": "failedDatum", "failure_details": "failureDetails", "failure_reason": "failureReason", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "failedDatum": "GsaDatumReference", } @@ -136,7 +136,7 @@ def failed_datum(self, failed_datum: "GsaDatumReference") -> None: self._failed_datum = failed_datum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_integer_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_integer_rollup.py index 8cc6629f..935ad3b8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_integer_rollup.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_integer_rollup.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup import GsaDatumRollup # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup_type import GsaDatumRollupType @@ -54,26 +54,26 @@ class GsaDatumIntegerRollup(GsaDatumRollup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumRollupType", "value": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -124,7 +124,7 @@ def value(self, value: "int") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_list_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_list_rollup.py index 1e67504a..1f390344 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_list_rollup.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_list_rollup.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup import GsaDatumRollup # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup_type import GsaDatumRollupType @@ -54,26 +54,26 @@ class GsaDatumListRollup(GsaDatumRollup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datums": "list[GsaDatum]", "type": "GsaDatumRollupType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datums": "datums", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datums": "GsaDatum", } @@ -82,39 +82,39 @@ class GsaDatumListRollup(GsaDatumRollup): def __init__( self, *, - datums: "List[GsaDatum]", + datums: "list[GsaDatum]", type: "GsaDatumRollupType" = GsaDatumRollupType.LISTROLLUP, ) -> None: """GsaDatumListRollup - a model defined in Swagger Parameters ---------- - datums: List[GsaDatum] + datums: list[GsaDatum] type: GsaDatumRollupType """ super().__init__(type=type) - self._datums: List[GsaDatum] + self._datums: list[GsaDatum] self.datums = datums @property - def datums(self) -> "List[GsaDatum]": + def datums(self) -> "list[GsaDatum]": """Gets the datums of this GsaDatumListRollup. Returns ------- - List[GsaDatum] + list[GsaDatum] The datums of this GsaDatumListRollup. """ return self._datums @datums.setter - def datums(self, datums: "List[GsaDatum]") -> None: + def datums(self, datums: "list[GsaDatum]") -> None: """Sets the datums of this GsaDatumListRollup. Parameters ---------- - datums: List[GsaDatum] + datums: list[GsaDatum] The datums of this GsaDatumListRollup. """ # Field is not nullable @@ -126,7 +126,7 @@ def datums(self, datums: "List[GsaDatum]") -> None: self._datums = datums @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_numerical_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_numerical_rollup.py index 8a774882..a650053b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_numerical_rollup.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_numerical_rollup.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup import GsaDatumRollup # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_rollup_type import GsaDatumRollupType @@ -54,28 +54,28 @@ class GsaDatumNumericalRollup(GsaDatumRollup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumRollupType", "value": "float", "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", } @@ -158,7 +158,7 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_reference.py index 6cc1ed3a..dc8a1abe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_reference.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaDatumReference(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_identity": "int", "database_key": "str", "record_history_identity": "int", @@ -68,7 +68,7 @@ class GsaDatumReference(ModelBase): "record_history_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_identity": "attributeIdentity", "database_key": "databaseKey", "record_history_identity": "recordHistoryIdentity", @@ -76,7 +76,7 @@ class GsaDatumReference(ModelBase): "record_history_guid": "recordHistoryGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -242,7 +242,7 @@ def attribute_guid(self, attribute_guid: "Union[str, None, Unset_Type]") -> None self._attribute_guid = attribute_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_rollup.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_rollup.py index edd55322..b61dfa8b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_rollup.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_datum_rollup.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDatumRollup(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumRollupType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaDatumRollupType", } @@ -127,7 +127,7 @@ def type(self, type: "GsaDatumRollupType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_default_parameter_value_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_default_parameter_value_usage_data_modification_error_detail.py index c31dda16..d8047b45 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_default_parameter_value_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_default_parameter_value_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaDefaultParameterValueUsageDataModificationErrorDetail(GsaUsageDataModif """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimNamedEntity", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.DEFAULTPARAMETERVALUE, - referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaDefaultParameterValueUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimNamedEntity], optional + referenced_by: list[GsaSlimNamedEntity], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the referenced_by of this GsaDefaultParameterValueUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaDefaultParameterValueUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaDefaultParameterValueUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] + referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaDefaultParameterValueUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_item.py index bf7772c7..b2c0b04c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDeleteRecordListItem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "record_history_guid": "str", "record_version": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "record_history_guid": "recordHistoryGuid", "record_version": "recordVersion", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -179,7 +179,7 @@ def record_version(self, record_version: "Union[int, None, Unset_Type]") -> None self._record_version = record_version @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_items.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_items.py index 27631e20..d080bc7a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_items.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_delete_record_list_items.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDeleteRecordListItems(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "items": "list[GsaDeleteRecordListItem]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "items": "items", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "items": "GsaDeleteRecordListItem", } @@ -77,36 +77,36 @@ class GsaDeleteRecordListItems(ModelBase): def __init__( self, *, - items: "List[GsaDeleteRecordListItem]", + items: "list[GsaDeleteRecordListItem]", ) -> None: """GsaDeleteRecordListItems - a model defined in Swagger Parameters ---------- - items: List[GsaDeleteRecordListItem] + items: list[GsaDeleteRecordListItem] """ - self._items: List[GsaDeleteRecordListItem] + self._items: list[GsaDeleteRecordListItem] self.items = items @property - def items(self) -> "List[GsaDeleteRecordListItem]": + def items(self) -> "list[GsaDeleteRecordListItem]": """Gets the items of this GsaDeleteRecordListItems. Returns ------- - List[GsaDeleteRecordListItem] + list[GsaDeleteRecordListItem] The items of this GsaDeleteRecordListItems. """ return self._items @items.setter - def items(self, items: "List[GsaDeleteRecordListItem]") -> None: + def items(self, items: "list[GsaDeleteRecordListItem]") -> None: """Sets the items of this GsaDeleteRecordListItems. Parameters ---------- - items: List[GsaDeleteRecordListItem] + items: list[GsaDeleteRecordListItem] The items of this GsaDeleteRecordListItems. """ # Field is not nullable @@ -118,7 +118,7 @@ def items(self, items: "List[GsaDeleteRecordListItem]") -> None: self._items = items @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_attribute.py index 78a47830..f1f4f277 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaDiscreteAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "discrete_type": "GsaSlimNamedEntity", "display_names": "dict(str, str)", @@ -79,7 +79,7 @@ class GsaDiscreteAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "discrete_type": "discreteType", "display_names": "displayNames", @@ -95,7 +95,7 @@ class GsaDiscreteAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteType": "GsaSlimNamedEntity", } @@ -106,7 +106,7 @@ def __init__( *, default_threshold_type: "GsaAttributeThresholdType", discrete_type: "GsaSlimNamedEntity", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -124,7 +124,7 @@ def __init__( ---------- default_threshold_type: GsaAttributeThresholdType discrete_type: GsaSlimNamedEntity - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -212,7 +212,7 @@ def is_multi_valued(self, is_multi_valued: "bool") -> None: self._is_multi_valued = is_multi_valued @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum.py index 8d55f85f..f87a83c6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,28 +56,28 @@ class GsaDiscreteDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "discrete_values": "list[GsaDiscreteValuesDiscreteValue]", "not_applicable": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "discrete_values": "discreteValues", "not_applicable": "notApplicable", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteValues": "GsaDiscreteValuesDiscreteValue", } @@ -87,7 +87,7 @@ def __init__( self, *, datum_type: "GsaDatumType" = GsaDatumType.DISCRETE, - discrete_values: "List[GsaDiscreteValuesDiscreteValue]", + discrete_values: "list[GsaDiscreteValuesDiscreteValue]", not_applicable: "str" = "applicable", ) -> None: """GsaDiscreteDatum - a model defined in Swagger @@ -95,32 +95,32 @@ def __init__( Parameters ---------- datum_type: GsaDatumType - discrete_values: List[GsaDiscreteValuesDiscreteValue] + discrete_values: list[GsaDiscreteValuesDiscreteValue] not_applicable: str """ super().__init__(datum_type=datum_type, not_applicable=not_applicable) - self._discrete_values: List[GsaDiscreteValuesDiscreteValue] + self._discrete_values: list[GsaDiscreteValuesDiscreteValue] self.discrete_values = discrete_values @property - def discrete_values(self) -> "List[GsaDiscreteValuesDiscreteValue]": + def discrete_values(self) -> "list[GsaDiscreteValuesDiscreteValue]": """Gets the discrete_values of this GsaDiscreteDatum. Returns ------- - List[GsaDiscreteValuesDiscreteValue] + list[GsaDiscreteValuesDiscreteValue] The discrete_values of this GsaDiscreteDatum. """ return self._discrete_values @discrete_values.setter - def discrete_values(self, discrete_values: "List[GsaDiscreteValuesDiscreteValue]") -> None: + def discrete_values(self, discrete_values: "list[GsaDiscreteValuesDiscreteValue]") -> None: """Sets the discrete_values of this GsaDiscreteDatum. Parameters ---------- - discrete_values: List[GsaDiscreteValuesDiscreteValue] + discrete_values: list[GsaDiscreteValuesDiscreteValue] The discrete_values of this GsaDiscreteDatum. """ # Field is not nullable @@ -132,7 +132,7 @@ def discrete_values(self, discrete_values: "List[GsaDiscreteValuesDiscreteValue] self._discrete_values = discrete_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum_exists_criterion.py index d6c557c0..68705660 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaDiscreteDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute.py index e0a4cd5f..8d1138e9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_parameters": "list[GsaDiscreteFunctionalAttributeParameter]", "default_threshold_type": "GsaAttributeThresholdType", "discrete_type": "GsaSlimNamedEntity", @@ -79,7 +79,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_parameters": "attributeParameters", "default_threshold_type": "defaultThresholdType", "discrete_type": "discreteType", @@ -95,7 +95,7 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteType": "GsaSlimNamedEntity", "attributeParameters": "GsaDiscreteFunctionalAttributeParameter", } @@ -105,10 +105,10 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute): def __init__( self, *, - attribute_parameters: "List[GsaDiscreteFunctionalAttributeParameter]", + attribute_parameters: "list[GsaDiscreteFunctionalAttributeParameter]", default_threshold_type: "GsaAttributeThresholdType", discrete_type: "GsaSlimNamedEntity", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -123,10 +123,10 @@ def __init__( Parameters ---------- - attribute_parameters: List[GsaDiscreteFunctionalAttributeParameter] + attribute_parameters: list[GsaDiscreteFunctionalAttributeParameter] default_threshold_type: GsaAttributeThresholdType discrete_type: GsaSlimNamedEntity - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -151,7 +151,7 @@ def __init__( help_path=help_path, ) self._discrete_type: GsaSlimNamedEntity - self._attribute_parameters: List[GsaDiscreteFunctionalAttributeParameter] + self._attribute_parameters: list[GsaDiscreteFunctionalAttributeParameter] self.discrete_type = discrete_type self.attribute_parameters = attribute_parameters @@ -185,25 +185,25 @@ def discrete_type(self, discrete_type: "GsaSlimNamedEntity") -> None: self._discrete_type = discrete_type @property - def attribute_parameters(self) -> "List[GsaDiscreteFunctionalAttributeParameter]": + def attribute_parameters(self) -> "list[GsaDiscreteFunctionalAttributeParameter]": """Gets the attribute_parameters of this GsaDiscreteFunctionalAttribute. Returns ------- - List[GsaDiscreteFunctionalAttributeParameter] + list[GsaDiscreteFunctionalAttributeParameter] The attribute_parameters of this GsaDiscreteFunctionalAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "List[GsaDiscreteFunctionalAttributeParameter]" + self, attribute_parameters: "list[GsaDiscreteFunctionalAttributeParameter]" ) -> None: """Sets the attribute_parameters of this GsaDiscreteFunctionalAttribute. Parameters ---------- - attribute_parameters: List[GsaDiscreteFunctionalAttributeParameter] + attribute_parameters: list[GsaDiscreteFunctionalAttributeParameter] The attribute_parameters of this GsaDiscreteFunctionalAttribute. """ # Field is not nullable @@ -215,7 +215,7 @@ def attribute_parameters( self._attribute_parameters = attribute_parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_discrete_parameter.py index aee85773..adc0212d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_discrete_functional_attribute_parameter import ( # noqa: F401 GsaDiscreteFunctionalAttributeParameter, @@ -56,28 +56,28 @@ class GsaDiscreteFunctionalAttributeDiscreteParameter(GsaDiscreteFunctionalAttri """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", "default_value": "GsaSlimNamedEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultValue": "GsaSlimNamedEntity", } @@ -130,7 +130,7 @@ def default_value(self, default_value: "Union[GsaSlimNamedEntity, Unset_Type]") self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_numeric_parameter.py index 5af04efa..f4325dc8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_discrete_functional_attribute_parameter import ( # noqa: F401 GsaDiscreteFunctionalAttributeParameter, @@ -56,28 +56,28 @@ class GsaDiscreteFunctionalAttributeNumericParameter(GsaDiscreteFunctionalAttrib """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", "default_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -125,7 +125,7 @@ def default_value(self, default_value: "Union[float, None, Unset_Type]") -> None self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_parameter.py index efaddc9b..f237964a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_attribute_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDiscreteFunctionalAttributeParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", "parameter": "GsaSlimNamedEntity", } @@ -160,7 +160,7 @@ def parameter(self, parameter: "GsaSlimNamedEntity") -> None: self._parameter = parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum.py index a094e73f..aa9a9345 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,32 +56,32 @@ class GsaDiscreteFunctionalDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "graph_type": "GsaGraphType", "not_applicable": "str", "parameter_settings": "list[GsaFunctionalParameterSetting]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph_type": "graphType", "not_applicable": "notApplicable", "parameter_settings": "parameterSettings", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "graphType": "GsaGraphType", "parameterSettings": "GsaFunctionalParameterSetting", } @@ -99,7 +99,7 @@ def __init__( datum_type: "GsaDatumType" = GsaDatumType.DISCRETEFUNCTIONAL, graph_type: "GsaGraphType", not_applicable: "str" = "applicable", - parameter_settings: "List[GsaFunctionalParameterSetting]", + parameter_settings: "list[GsaFunctionalParameterSetting]", ) -> None: """GsaDiscreteFunctionalDatum - a model defined in Swagger @@ -108,11 +108,11 @@ def __init__( datum_type: GsaDatumType graph_type: GsaGraphType not_applicable: str - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] """ super().__init__(datum_type=datum_type, not_applicable=not_applicable) self._graph_type: GsaGraphType - self._parameter_settings: List[GsaFunctionalParameterSetting] + self._parameter_settings: list[GsaFunctionalParameterSetting] self.graph_type = graph_type self.parameter_settings = parameter_settings @@ -146,23 +146,23 @@ def graph_type(self, graph_type: "GsaGraphType") -> None: self._graph_type = graph_type @property - def parameter_settings(self) -> "List[GsaFunctionalParameterSetting]": + def parameter_settings(self) -> "list[GsaFunctionalParameterSetting]": """Gets the parameter_settings of this GsaDiscreteFunctionalDatum. Returns ------- - List[GsaFunctionalParameterSetting] + list[GsaFunctionalParameterSetting] The parameter_settings of this GsaDiscreteFunctionalDatum. """ return self._parameter_settings @parameter_settings.setter - def parameter_settings(self, parameter_settings: "List[GsaFunctionalParameterSetting]") -> None: + def parameter_settings(self, parameter_settings: "list[GsaFunctionalParameterSetting]") -> None: """Sets the parameter_settings of this GsaDiscreteFunctionalDatum. Parameters ---------- - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] The parameter_settings of this GsaDiscreteFunctionalDatum. """ # Field is not nullable @@ -174,7 +174,7 @@ def parameter_settings(self, parameter_settings: "List[GsaFunctionalParameterSet self._parameter_settings = parameter_settings @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum_exists_criterion.py index 9e6b8af9..8dadf660 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaDiscreteFunctionalDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_grid_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_grid_datum.py index 98190bbc..c0e6726d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_grid_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_grid_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_type import GsaDatumType from ansys.grantami.serverapi_openapi.models.gsa_discrete_functional_datum import ( # noqa: F401 @@ -57,16 +57,16 @@ class GsaDiscreteFunctionalGridDatum(GsaDiscreteFunctionalDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "graph": "GsaDiscreteGridGraph", "graph_type": "GsaGraphType", @@ -74,7 +74,7 @@ class GsaDiscreteFunctionalGridDatum(GsaDiscreteFunctionalDatum): "parameter_settings": "list[GsaFunctionalParameterSetting]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph": "graph", "graph_type": "graphType", @@ -82,7 +82,7 @@ class GsaDiscreteFunctionalGridDatum(GsaDiscreteFunctionalDatum): "parameter_settings": "parameterSettings", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "graph": "GsaDiscreteGridGraph", } @@ -95,7 +95,7 @@ def __init__( graph: "GsaDiscreteGridGraph", graph_type: "GsaGraphType" = GsaGraphType.GRID, not_applicable: "str" = "applicable", - parameter_settings: "List[GsaFunctionalParameterSetting]", + parameter_settings: "list[GsaFunctionalParameterSetting]", ) -> None: """GsaDiscreteFunctionalGridDatum - a model defined in Swagger @@ -105,7 +105,7 @@ def __init__( graph: GsaDiscreteGridGraph graph_type: GsaGraphType not_applicable: str - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] """ super().__init__( datum_type=datum_type, @@ -146,7 +146,7 @@ def graph(self, graph: "GsaDiscreteGridGraph") -> None: self._graph = graph @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_range_datum_criterion.py index bdd39af3..2c91ba7e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_range_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_range_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,30 +56,30 @@ class GsaDiscreteFunctionalRangeDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "constraints": "list[GsaParameterConstraint]", "gte": "int", "lte": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "constraints": "constraints", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterConstraint", } @@ -89,7 +89,7 @@ def __init__( self, *, type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALRANGE, - constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" = Unset, + constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" = Unset, gte: "Union[int, None, Unset_Type]" = Unset, lte: "Union[int, None, Unset_Type]" = Unset, ) -> None: @@ -98,14 +98,14 @@ def __init__( Parameters ---------- type: GsaDatumCriterionType - constraints: List[GsaParameterConstraint], optional + constraints: list[GsaParameterConstraint], optional gte: int, optional lte: int, optional """ super().__init__(type=type) self._gte: Union[int, None, Unset_Type] = Unset self._lte: Union[int, None, Unset_Type] = Unset - self._constraints: Union[List[GsaParameterConstraint], None, Unset_Type] = Unset + self._constraints: Union[list[GsaParameterConstraint], None, Unset_Type] = Unset if gte is not Unset: self.gte = gte @@ -163,33 +163,33 @@ def lte(self, lte: "Union[int, None, Unset_Type]") -> None: self._lte = lte @property - def constraints(self) -> "Union[List[GsaParameterConstraint], None, Unset_Type]": + def constraints(self) -> "Union[list[GsaParameterConstraint], None, Unset_Type]": """Gets the constraints of this GsaDiscreteFunctionalRangeDatumCriterion. Optional unit string. If not included, the gte and lte values are assumed to be in database units. Returns ------- - Union[List[GsaParameterConstraint], None, Unset_Type] + Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaDiscreteFunctionalRangeDatumCriterion. """ return self._constraints @constraints.setter def constraints( - self, constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" + self, constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GsaDiscreteFunctionalRangeDatumCriterion. Optional unit string. If not included, the gte and lte values are assumed to be in database units. Parameters ---------- - constraints: Union[List[GsaParameterConstraint], None, Unset_Type] + constraints: Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaDiscreteFunctionalRangeDatumCriterion. """ self._constraints = constraints @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_series_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_series_datum.py index da8dbcc3..68a7f1b7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_series_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_series_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_type import GsaDatumType from ansys.grantami.serverapi_openapi.models.gsa_discrete_functional_datum import ( # noqa: F401 @@ -57,16 +57,16 @@ class GsaDiscreteFunctionalSeriesDatum(GsaDiscreteFunctionalDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "graph": "GsaDiscreteSeriesGraph", "graph_type": "GsaGraphType", @@ -74,7 +74,7 @@ class GsaDiscreteFunctionalSeriesDatum(GsaDiscreteFunctionalDatum): "parameter_settings": "list[GsaFunctionalParameterSetting]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "graph": "graph", "graph_type": "graphType", @@ -82,7 +82,7 @@ class GsaDiscreteFunctionalSeriesDatum(GsaDiscreteFunctionalDatum): "parameter_settings": "parameterSettings", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "graph": "GsaDiscreteSeriesGraph", } @@ -95,7 +95,7 @@ def __init__( graph: "GsaDiscreteSeriesGraph", graph_type: "GsaGraphType" = GsaGraphType.SERIES, not_applicable: "str" = "applicable", - parameter_settings: "List[GsaFunctionalParameterSetting]", + parameter_settings: "list[GsaFunctionalParameterSetting]", ) -> None: """GsaDiscreteFunctionalSeriesDatum - a model defined in Swagger @@ -105,7 +105,7 @@ def __init__( graph: GsaDiscreteSeriesGraph graph_type: GsaGraphType not_applicable: str - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] """ super().__init__( datum_type=datum_type, @@ -146,7 +146,7 @@ def graph(self, graph: "GsaDiscreteSeriesGraph") -> None: self._graph = graph @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_values_datum_criterion.py index 41134754..6ff67d5e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_functional_values_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,30 +56,30 @@ class GsaDiscreteFunctionalValuesDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "any_guids": "list[str]", "any_identities": "list[int]", "constraints": "list[GsaParameterConstraint]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "any_guids": "anyGuids", "any_identities": "anyIdentities", "constraints": "constraints", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterConstraint", } @@ -89,23 +89,23 @@ def __init__( self, *, type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEFUNCTIONALVALUES, - any_guids: "Union[List[str], None, Unset_Type]" = Unset, - any_identities: "Union[List[int], None, Unset_Type]" = Unset, - constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" = Unset, + any_guids: "Union[list[str], None, Unset_Type]" = Unset, + any_identities: "Union[list[int], None, Unset_Type]" = Unset, + constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteFunctionalValuesDatumCriterion - a model defined in Swagger Parameters ---------- type: GsaDatumCriterionType - any_guids: List[str], optional - any_identities: List[int], optional - constraints: List[GsaParameterConstraint], optional + any_guids: list[str], optional + any_identities: list[int], optional + constraints: list[GsaParameterConstraint], optional """ super().__init__(type=type) - self._any_identities: Union[List[int], None, Unset_Type] = Unset - self._any_guids: Union[List[str], None, Unset_Type] = Unset - self._constraints: Union[List[GsaParameterConstraint], None, Unset_Type] = Unset + self._any_identities: Union[list[int], None, Unset_Type] = Unset + self._any_guids: Union[list[str], None, Unset_Type] = Unset + self._constraints: Union[list[GsaParameterConstraint], None, Unset_Type] = Unset if any_identities is not Unset: self.any_identities = any_identities @@ -115,81 +115,81 @@ def __init__( self.constraints = constraints @property - def any_identities(self) -> "Union[List[int], None, Unset_Type]": + def any_identities(self) -> "Union[list[int], None, Unset_Type]": """Gets the any_identities of this GsaDiscreteFunctionalValuesDatumCriterion. Match any of these discrete type identities Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The any_identities of this GsaDiscreteFunctionalValuesDatumCriterion. """ return self._any_identities @any_identities.setter - def any_identities(self, any_identities: "Union[List[int], None, Unset_Type]") -> None: + def any_identities(self, any_identities: "Union[list[int], None, Unset_Type]") -> None: """Sets the any_identities of this GsaDiscreteFunctionalValuesDatumCriterion. Match any of these discrete type identities Parameters ---------- - any_identities: Union[List[int], None, Unset_Type] + any_identities: Union[list[int], None, Unset_Type] The any_identities of this GsaDiscreteFunctionalValuesDatumCriterion. """ self._any_identities = any_identities @property - def any_guids(self) -> "Union[List[str], None, Unset_Type]": + def any_guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the any_guids of this GsaDiscreteFunctionalValuesDatumCriterion. Match any of these discrete type GUIDs Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The any_guids of this GsaDiscreteFunctionalValuesDatumCriterion. """ return self._any_guids @any_guids.setter - def any_guids(self, any_guids: "Union[List[str], None, Unset_Type]") -> None: + def any_guids(self, any_guids: "Union[list[str], None, Unset_Type]") -> None: """Sets the any_guids of this GsaDiscreteFunctionalValuesDatumCriterion. Match any of these discrete type GUIDs Parameters ---------- - any_guids: Union[List[str], None, Unset_Type] + any_guids: Union[list[str], None, Unset_Type] The any_guids of this GsaDiscreteFunctionalValuesDatumCriterion. """ self._any_guids = any_guids @property - def constraints(self) -> "Union[List[GsaParameterConstraint], None, Unset_Type]": + def constraints(self) -> "Union[list[GsaParameterConstraint], None, Unset_Type]": """Gets the constraints of this GsaDiscreteFunctionalValuesDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. Returns ------- - Union[List[GsaParameterConstraint], None, Unset_Type] + Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaDiscreteFunctionalValuesDatumCriterion. """ return self._constraints @constraints.setter def constraints( - self, constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" + self, constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GsaDiscreteFunctionalValuesDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. Parameters ---------- - constraints: Union[List[GsaParameterConstraint], None, Unset_Type] + constraints: Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaDiscreteFunctionalValuesDatumCriterion. """ self._constraints = constraints @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_graph.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_graph.py index fa586811..13765b8b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_graph.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_graph.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_functional_type import GsaFunctionalType from ansys.grantami.serverapi_openapi.models.gsa_graph_type import GsaGraphType @@ -55,16 +55,16 @@ class GsaDiscreteGridGraph(GsaGridGraph): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "all_parameters": "list[GsaSlimParameter]", "default_x_axis_parameter": "GsaSlimParameter", "functional_type": "GsaFunctionalType", @@ -72,7 +72,7 @@ class GsaDiscreteGridGraph(GsaGridGraph): "points": "list[GsaDiscreteGridPoint]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "all_parameters": "allParameters", "default_x_axis_parameter": "defaultXAxisParameter", "functional_type": "functionalType", @@ -80,7 +80,7 @@ class GsaDiscreteGridGraph(GsaGridGraph): "points": "points", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "points": "GsaDiscreteGridPoint", } @@ -89,21 +89,21 @@ class GsaDiscreteGridGraph(GsaGridGraph): def __init__( self, *, - all_parameters: "List[GsaSlimParameter]", + all_parameters: "list[GsaSlimParameter]", default_x_axis_parameter: "GsaSlimParameter", functional_type: "GsaFunctionalType" = GsaFunctionalType.DISCRETE, graph_type: "GsaGraphType" = GsaGraphType.GRID, - points: "List[GsaDiscreteGridPoint]", + points: "list[GsaDiscreteGridPoint]", ) -> None: """GsaDiscreteGridGraph - a model defined in Swagger Parameters ---------- - all_parameters: List[GsaSlimParameter] + all_parameters: list[GsaSlimParameter] default_x_axis_parameter: GsaSlimParameter functional_type: GsaFunctionalType graph_type: GsaGraphType - points: List[GsaDiscreteGridPoint] + points: list[GsaDiscreteGridPoint] """ super().__init__( all_parameters=all_parameters, @@ -111,28 +111,28 @@ def __init__( functional_type=functional_type, graph_type=graph_type, ) - self._points: List[GsaDiscreteGridPoint] + self._points: list[GsaDiscreteGridPoint] self.points = points @property - def points(self) -> "List[GsaDiscreteGridPoint]": + def points(self) -> "list[GsaDiscreteGridPoint]": """Gets the points of this GsaDiscreteGridGraph. Returns ------- - List[GsaDiscreteGridPoint] + list[GsaDiscreteGridPoint] The points of this GsaDiscreteGridGraph. """ return self._points @points.setter - def points(self, points: "List[GsaDiscreteGridPoint]") -> None: + def points(self, points: "list[GsaDiscreteGridPoint]") -> None: """Sets the points of this GsaDiscreteGridGraph. Parameters ---------- - points: List[GsaDiscreteGridPoint] + points: list[GsaDiscreteGridPoint] The points of this GsaDiscreteGridGraph. """ # Field is not nullable @@ -144,7 +144,7 @@ def points(self, points: "List[GsaDiscreteGridPoint]") -> None: self._points = points @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_point.py index a176b3d1..2d10d890 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_grid_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteGridPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constraints": "list[GsaParameterWithDataValue]", "value": "GsaDiscreteValuesDiscreteValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constraints": "constraints", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterWithDataValue", "value": "GsaDiscreteValuesDiscreteValue", } @@ -80,40 +80,40 @@ class GsaDiscreteGridPoint(ModelBase): def __init__( self, *, - constraints: "List[GsaParameterWithDataValue]", + constraints: "list[GsaParameterWithDataValue]", value: "GsaDiscreteValuesDiscreteValue", ) -> None: """GsaDiscreteGridPoint - a model defined in Swagger Parameters ---------- - constraints: List[GsaParameterWithDataValue] + constraints: list[GsaParameterWithDataValue] value: GsaDiscreteValuesDiscreteValue """ - self._constraints: List[GsaParameterWithDataValue] + self._constraints: list[GsaParameterWithDataValue] self._value: GsaDiscreteValuesDiscreteValue self.constraints = constraints self.value = value @property - def constraints(self) -> "List[GsaParameterWithDataValue]": + def constraints(self) -> "list[GsaParameterWithDataValue]": """Gets the constraints of this GsaDiscreteGridPoint. Returns ------- - List[GsaParameterWithDataValue] + list[GsaParameterWithDataValue] The constraints of this GsaDiscreteGridPoint. """ return self._constraints @constraints.setter - def constraints(self, constraints: "List[GsaParameterWithDataValue]") -> None: + def constraints(self, constraints: "list[GsaParameterWithDataValue]") -> None: """Sets the constraints of this GsaDiscreteGridPoint. Parameters ---------- - constraints: List[GsaParameterWithDataValue] + constraints: list[GsaParameterWithDataValue] The constraints of this GsaDiscreteGridPoint. """ # Field is not nullable @@ -153,7 +153,7 @@ def value(self, value: "GsaDiscreteValuesDiscreteValue") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_datum_criterion.py index d89c3ef1..f832a0bd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaDiscreteGuidDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def value(self, value: "str") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_values_datum_criterion.py index 8e06a3b1..72b33601 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_guid_values_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,30 +56,30 @@ class GsaDiscreteGuidValuesDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "_none": "list[str]", "all": "list[str]", "any": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "_none": "none", "all": "all", "any": "any", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -87,23 +87,23 @@ def __init__( self, *, type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEGUIDVALUES, - _none: "Union[List[str], None, Unset_Type]" = Unset, - all: "Union[List[str], None, Unset_Type]" = Unset, - any: "Union[List[str], None, Unset_Type]" = Unset, + _none: "Union[list[str], None, Unset_Type]" = Unset, + all: "Union[list[str], None, Unset_Type]" = Unset, + any: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteGuidValuesDatumCriterion - a model defined in Swagger Parameters ---------- type: GsaDatumCriterionType - _none: List[str], optional - all: List[str], optional - any: List[str], optional + _none: list[str], optional + all: list[str], optional + any: list[str], optional """ super().__init__(type=type) - self._all: Union[List[str], None, Unset_Type] = Unset - self._any: Union[List[str], None, Unset_Type] = Unset - self.__none: Union[List[str], None, Unset_Type] = Unset + self._all: Union[list[str], None, Unset_Type] = Unset + self._any: Union[list[str], None, Unset_Type] = Unset + self.__none: Union[list[str], None, Unset_Type] = Unset if all is not Unset: self.all = all @@ -113,79 +113,79 @@ def __init__( self._none = _none @property - def all(self) -> "Union[List[str], None, Unset_Type]": + def all(self) -> "Union[list[str], None, Unset_Type]": """Gets the all of this GsaDiscreteGuidValuesDatumCriterion. Match all of these discrete value GUIDs Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The all of this GsaDiscreteGuidValuesDatumCriterion. """ return self._all @all.setter - def all(self, all: "Union[List[str], None, Unset_Type]") -> None: + def all(self, all: "Union[list[str], None, Unset_Type]") -> None: """Sets the all of this GsaDiscreteGuidValuesDatumCriterion. Match all of these discrete value GUIDs Parameters ---------- - all: Union[List[str], None, Unset_Type] + all: Union[list[str], None, Unset_Type] The all of this GsaDiscreteGuidValuesDatumCriterion. """ self._all = all @property - def any(self) -> "Union[List[str], None, Unset_Type]": + def any(self) -> "Union[list[str], None, Unset_Type]": """Gets the any of this GsaDiscreteGuidValuesDatumCriterion. Match any of these discrete type GUIDs Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The any of this GsaDiscreteGuidValuesDatumCriterion. """ return self._any @any.setter - def any(self, any: "Union[List[str], None, Unset_Type]") -> None: + def any(self, any: "Union[list[str], None, Unset_Type]") -> None: """Sets the any of this GsaDiscreteGuidValuesDatumCriterion. Match any of these discrete type GUIDs Parameters ---------- - any: Union[List[str], None, Unset_Type] + any: Union[list[str], None, Unset_Type] The any of this GsaDiscreteGuidValuesDatumCriterion. """ self._any = any @property - def _none(self) -> "Union[List[str], None, Unset_Type]": + def _none(self) -> "Union[list[str], None, Unset_Type]": """Gets the _none of this GsaDiscreteGuidValuesDatumCriterion. Match none of the discrete type GUIDs Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The _none of this GsaDiscreteGuidValuesDatumCriterion. """ return self.__none @_none.setter - def _none(self, _none: "Union[List[str], None, Unset_Type]") -> None: + def _none(self, _none: "Union[list[str], None, Unset_Type]") -> None: """Sets the _none of this GsaDiscreteGuidValuesDatumCriterion. Match none of the discrete type GUIDs Parameters ---------- - _none: Union[List[str], None, Unset_Type] + _none: Union[list[str], None, Unset_Type] The _none of this GsaDiscreteGuidValuesDatumCriterion. """ self.__none = _none @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_datum_criterion.py index 5e289c27..160cda02 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaDiscreteIdentityDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def value(self, value: "int") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_values_datum_criterion.py index 094c5a99..b3a0a4d6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_identity_values_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,30 +56,30 @@ class GsaDiscreteIdentityValuesDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "_none": "list[int]", "all": "list[int]", "any": "list[int]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "_none": "none", "all": "all", "any": "any", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -87,23 +87,23 @@ def __init__( self, *, type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETEIDENTITYVALUES, - _none: "Union[List[int], None, Unset_Type]" = Unset, - all: "Union[List[int], None, Unset_Type]" = Unset, - any: "Union[List[int], None, Unset_Type]" = Unset, + _none: "Union[list[int], None, Unset_Type]" = Unset, + all: "Union[list[int], None, Unset_Type]" = Unset, + any: "Union[list[int], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteIdentityValuesDatumCriterion - a model defined in Swagger Parameters ---------- type: GsaDatumCriterionType - _none: List[int], optional - all: List[int], optional - any: List[int], optional + _none: list[int], optional + all: list[int], optional + any: list[int], optional """ super().__init__(type=type) - self._all: Union[List[int], None, Unset_Type] = Unset - self._any: Union[List[int], None, Unset_Type] = Unset - self.__none: Union[List[int], None, Unset_Type] = Unset + self._all: Union[list[int], None, Unset_Type] = Unset + self._any: Union[list[int], None, Unset_Type] = Unset + self.__none: Union[list[int], None, Unset_Type] = Unset if all is not Unset: self.all = all @@ -113,79 +113,79 @@ def __init__( self._none = _none @property - def all(self) -> "Union[List[int], None, Unset_Type]": + def all(self) -> "Union[list[int], None, Unset_Type]": """Gets the all of this GsaDiscreteIdentityValuesDatumCriterion. Match all of these discrete value identities Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The all of this GsaDiscreteIdentityValuesDatumCriterion. """ return self._all @all.setter - def all(self, all: "Union[List[int], None, Unset_Type]") -> None: + def all(self, all: "Union[list[int], None, Unset_Type]") -> None: """Sets the all of this GsaDiscreteIdentityValuesDatumCriterion. Match all of these discrete value identities Parameters ---------- - all: Union[List[int], None, Unset_Type] + all: Union[list[int], None, Unset_Type] The all of this GsaDiscreteIdentityValuesDatumCriterion. """ self._all = all @property - def any(self) -> "Union[List[int], None, Unset_Type]": + def any(self) -> "Union[list[int], None, Unset_Type]": """Gets the any of this GsaDiscreteIdentityValuesDatumCriterion. Match any of these discrete type identities Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The any of this GsaDiscreteIdentityValuesDatumCriterion. """ return self._any @any.setter - def any(self, any: "Union[List[int], None, Unset_Type]") -> None: + def any(self, any: "Union[list[int], None, Unset_Type]") -> None: """Sets the any of this GsaDiscreteIdentityValuesDatumCriterion. Match any of these discrete type identities Parameters ---------- - any: Union[List[int], None, Unset_Type] + any: Union[list[int], None, Unset_Type] The any of this GsaDiscreteIdentityValuesDatumCriterion. """ self._any = any @property - def _none(self) -> "Union[List[int], None, Unset_Type]": + def _none(self) -> "Union[list[int], None, Unset_Type]": """Gets the _none of this GsaDiscreteIdentityValuesDatumCriterion. Match none of the discrete type identities Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The _none of this GsaDiscreteIdentityValuesDatumCriterion. """ return self.__none @_none.setter - def _none(self, _none: "Union[List[int], None, Unset_Type]") -> None: + def _none(self, _none: "Union[list[int], None, Unset_Type]") -> None: """Sets the _none of this GsaDiscreteIdentityValuesDatumCriterion. Match none of the discrete type identities Parameters ---------- - _none: Union[List[int], None, Unset_Type] + _none: Union[list[int], None, Unset_Type] The _none of this GsaDiscreteIdentityValuesDatumCriterion. """ self.__none = _none @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter.py index 3afaa7c1..4bb7468a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter import GsaParameter # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType @@ -54,16 +54,16 @@ class GsaDiscreteParameter(GsaParameter): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_parameter_value_guid": "str", "display_names": "dict(str, str)", "guid": "str", @@ -73,7 +73,7 @@ class GsaDiscreteParameter(GsaParameter): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_parameter_value_guid": "defaultParameterValueGuid", "display_names": "displayNames", "guid": "guid", @@ -83,7 +83,7 @@ class GsaDiscreteParameter(GsaParameter): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "values": "GsaDiscreteParameterValue", } @@ -93,11 +93,11 @@ def __init__( self, *, default_parameter_value_guid: "str", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", type: "GsaParameterType" = GsaParameterType.DISCRETE, - values: "List[GsaDiscreteParameterValue]", + values: "list[GsaDiscreteParameterValue]", help_path: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteParameter - a model defined in Swagger @@ -105,11 +105,11 @@ def __init__( Parameters ---------- default_parameter_value_guid: str - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str type: GsaParameterType - values: List[GsaDiscreteParameterValue] + values: list[GsaDiscreteParameterValue] help_path: str, optional """ super().__init__( @@ -120,28 +120,28 @@ def __init__( type=type, help_path=help_path, ) - self._values: List[GsaDiscreteParameterValue] + self._values: list[GsaDiscreteParameterValue] self.values = values @property - def values(self) -> "List[GsaDiscreteParameterValue]": + def values(self) -> "list[GsaDiscreteParameterValue]": """Gets the values of this GsaDiscreteParameter. Returns ------- - List[GsaDiscreteParameterValue] + list[GsaDiscreteParameterValue] The values of this GsaDiscreteParameter. """ return self._values @values.setter - def values(self, values: "List[GsaDiscreteParameterValue]") -> None: + def values(self, values: "list[GsaDiscreteParameterValue]") -> None: """Sets the values of this GsaDiscreteParameter. Parameters ---------- - values: List[GsaDiscreteParameterValue] + values: list[GsaDiscreteParameterValue] The values of this GsaDiscreteParameter. """ # Field is not nullable @@ -153,7 +153,7 @@ def values(self, values: "List[GsaDiscreteParameterValue]") -> None: self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_content.py index 9ba29ee1..732cb284 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_content import ( # noqa: F401 GsaParameterContent, @@ -56,30 +56,30 @@ class GsaDiscreteParameterContent(GsaParameterContent): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", "parameter_range": "GsaDiscreteRange", "parameter_value": "GsaSlimNamedEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "parameter_range": "parameterRange", "parameter_value": "parameterValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValue": "GsaSlimNamedEntity", "parameterRange": "GsaDiscreteRange", } @@ -163,7 +163,7 @@ def parameter_range(self, parameter_range: "Union[GsaDiscreteRange, Unset_Type]" self._parameter_range = parameter_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_data_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_data_value.py index c30e41fb..6236ffb0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_data_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_data_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_data_value import ( # noqa: F401 GsaParameterDataValue, @@ -56,26 +56,26 @@ class GsaDiscreteParameterDataValue(GsaParameterDataValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_type": "GsaParameterType", "parameter_value": "GsaDiscreteParameterValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_type": "parameterType", "parameter_value": "parameterValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValue": "GsaDiscreteParameterValue", } @@ -128,7 +128,7 @@ def parameter_value(self, parameter_value: "GsaDiscreteParameterValue") -> None: self._parameter_value = parameter_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_name_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_name_constraint.py index e7cbe9dd..25498ce1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_name_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_name_constraint.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_constraint import ( # noqa: F401 GsaParameterConstraint, @@ -58,30 +58,30 @@ class GsaDiscreteParameterNameConstraint(GsaParameterConstraint): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaObjectIdentifier", "type": "GsaParameterConstraintType", "_none": "list[str]", "any": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "_none": "none", "any": "any", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -90,8 +90,8 @@ def __init__( *, parameter: "GsaObjectIdentifier", type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETENAME, - _none: "Union[List[str], None, Unset_Type]" = Unset, - any: "Union[List[str], None, Unset_Type]" = Unset, + _none: "Union[list[str], None, Unset_Type]" = Unset, + any: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteParameterNameConstraint - a model defined in Swagger @@ -99,12 +99,12 @@ def __init__( ---------- parameter: GsaObjectIdentifier type: GsaParameterConstraintType - _none: List[str], optional - any: List[str], optional + _none: list[str], optional + any: list[str], optional """ super().__init__(parameter=parameter, type=type) - self._any: Union[List[str], None, Unset_Type] = Unset - self.__none: Union[List[str], None, Unset_Type] = Unset + self._any: Union[list[str], None, Unset_Type] = Unset + self.__none: Union[list[str], None, Unset_Type] = Unset if any is not Unset: self.any = any @@ -112,51 +112,51 @@ def __init__( self._none = _none @property - def any(self) -> "Union[List[str], None, Unset_Type]": + def any(self) -> "Union[list[str], None, Unset_Type]": """Gets the any of this GsaDiscreteParameterNameConstraint. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The any of this GsaDiscreteParameterNameConstraint. """ return self._any @any.setter - def any(self, any: "Union[List[str], None, Unset_Type]") -> None: + def any(self, any: "Union[list[str], None, Unset_Type]") -> None: """Sets the any of this GsaDiscreteParameterNameConstraint. Parameters ---------- - any: Union[List[str], None, Unset_Type] + any: Union[list[str], None, Unset_Type] The any of this GsaDiscreteParameterNameConstraint. """ self._any = any @property - def _none(self) -> "Union[List[str], None, Unset_Type]": + def _none(self) -> "Union[list[str], None, Unset_Type]": """Gets the _none of this GsaDiscreteParameterNameConstraint. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The _none of this GsaDiscreteParameterNameConstraint. """ return self.__none @_none.setter - def _none(self, _none: "Union[List[str], None, Unset_Type]") -> None: + def _none(self, _none: "Union[list[str], None, Unset_Type]") -> None: """Sets the _none of this GsaDiscreteParameterNameConstraint. Parameters ---------- - _none: Union[List[str], None, Unset_Type] + _none: Union[list[str], None, Unset_Type] The _none of this GsaDiscreteParameterNameConstraint. """ self.__none = _none @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value.py index b790c27b..b4a33f85 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_value import ( # noqa: F401 GsaParameterValue, @@ -56,28 +56,28 @@ class GsaDiscreteParameterValue(GsaParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "type": "GsaParameterValueType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def name(self, name: "str") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value_constraint.py index 2085136d..db11d7e8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_parameter_value_constraint.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_constraint import ( # noqa: F401 GsaParameterConstraint, @@ -58,30 +58,30 @@ class GsaDiscreteParameterValueConstraint(GsaParameterConstraint): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaObjectIdentifier", "type": "GsaParameterConstraintType", "_none": "list[float]", "any": "list[float]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "_none": "none", "any": "any", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -90,8 +90,8 @@ def __init__( *, parameter: "GsaObjectIdentifier", type: "GsaParameterConstraintType" = GsaParameterConstraintType.DISCRETEVALUE, - _none: "Union[List[float], None, Unset_Type]" = Unset, - any: "Union[List[float], None, Unset_Type]" = Unset, + _none: "Union[list[float], None, Unset_Type]" = Unset, + any: "Union[list[float], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteParameterValueConstraint - a model defined in Swagger @@ -99,12 +99,12 @@ def __init__( ---------- parameter: GsaObjectIdentifier type: GsaParameterConstraintType - _none: List[float], optional - any: List[float], optional + _none: list[float], optional + any: list[float], optional """ super().__init__(parameter=parameter, type=type) - self._any: Union[List[float], None, Unset_Type] = Unset - self.__none: Union[List[float], None, Unset_Type] = Unset + self._any: Union[list[float], None, Unset_Type] = Unset + self.__none: Union[list[float], None, Unset_Type] = Unset if any is not Unset: self.any = any @@ -112,51 +112,51 @@ def __init__( self._none = _none @property - def any(self) -> "Union[List[float], None, Unset_Type]": + def any(self) -> "Union[list[float], None, Unset_Type]": """Gets the any of this GsaDiscreteParameterValueConstraint. Returns ------- - Union[List[float], None, Unset_Type] + Union[list[float], None, Unset_Type] The any of this GsaDiscreteParameterValueConstraint. """ return self._any @any.setter - def any(self, any: "Union[List[float], None, Unset_Type]") -> None: + def any(self, any: "Union[list[float], None, Unset_Type]") -> None: """Sets the any of this GsaDiscreteParameterValueConstraint. Parameters ---------- - any: Union[List[float], None, Unset_Type] + any: Union[list[float], None, Unset_Type] The any of this GsaDiscreteParameterValueConstraint. """ self._any = any @property - def _none(self) -> "Union[List[float], None, Unset_Type]": + def _none(self) -> "Union[list[float], None, Unset_Type]": """Gets the _none of this GsaDiscreteParameterValueConstraint. Returns ------- - Union[List[float], None, Unset_Type] + Union[list[float], None, Unset_Type] The _none of this GsaDiscreteParameterValueConstraint. """ return self.__none @_none.setter - def _none(self, _none: "Union[List[float], None, Unset_Type]") -> None: + def _none(self, _none: "Union[list[float], None, Unset_Type]") -> None: """Sets the _none of this GsaDiscreteParameterValueConstraint. Parameters ---------- - _none: Union[List[float], None, Unset_Type] + _none: Union[list[float], None, Unset_Type] The _none of this GsaDiscreteParameterValueConstraint. """ self.__none = _none @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range.py index ae8a0d91..b4dc9520 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDiscreteRange(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_values": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_values": "parameterValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaSlimNamedEntity", } @@ -77,36 +77,36 @@ class GsaDiscreteRange(ModelBase): def __init__( self, *, - parameter_values: "List[GsaSlimNamedEntity]", + parameter_values: "list[GsaSlimNamedEntity]", ) -> None: """GsaDiscreteRange - a model defined in Swagger Parameters ---------- - parameter_values: List[GsaSlimNamedEntity] + parameter_values: list[GsaSlimNamedEntity] """ - self._parameter_values: List[GsaSlimNamedEntity] + self._parameter_values: list[GsaSlimNamedEntity] self.parameter_values = parameter_values @property - def parameter_values(self) -> "List[GsaSlimNamedEntity]": + def parameter_values(self) -> "list[GsaSlimNamedEntity]": """Gets the parameter_values of this GsaDiscreteRange. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The parameter_values of this GsaDiscreteRange. """ return self._parameter_values @parameter_values.setter - def parameter_values(self, parameter_values: "List[GsaSlimNamedEntity]") -> None: + def parameter_values(self, parameter_values: "list[GsaSlimNamedEntity]") -> None: """Sets the parameter_values of this GsaDiscreteRange. Parameters ---------- - parameter_values: List[GsaSlimNamedEntity] + parameter_values: list[GsaSlimNamedEntity] The parameter_values of this GsaDiscreteRange. """ # Field is not nullable @@ -118,7 +118,7 @@ def parameter_values(self, parameter_values: "List[GsaSlimNamedEntity]") -> None self._parameter_values = parameter_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range_datum_criterion.py index 9942784d..607a9e78 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_range_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaDiscreteRangeDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "gte": "int", "lte": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -154,7 +154,7 @@ def lte(self, lte: "Union[int, None, Unset_Type]") -> None: self._lte = lte @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series.py index c6aeeaef..99cf6ed5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteSeries(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constraints": "list[GsaParameterWithDataValue]", "points": "list[GsaDiscreteSeriesPoint]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constraints": "constraints", "points": "points", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterWithDataValue", "points": "GsaDiscreteSeriesPoint", } @@ -80,40 +80,40 @@ class GsaDiscreteSeries(ModelBase): def __init__( self, *, - constraints: "List[GsaParameterWithDataValue]", - points: "List[GsaDiscreteSeriesPoint]", + constraints: "list[GsaParameterWithDataValue]", + points: "list[GsaDiscreteSeriesPoint]", ) -> None: """GsaDiscreteSeries - a model defined in Swagger Parameters ---------- - constraints: List[GsaParameterWithDataValue] - points: List[GsaDiscreteSeriesPoint] + constraints: list[GsaParameterWithDataValue] + points: list[GsaDiscreteSeriesPoint] """ - self._constraints: List[GsaParameterWithDataValue] - self._points: List[GsaDiscreteSeriesPoint] + self._constraints: list[GsaParameterWithDataValue] + self._points: list[GsaDiscreteSeriesPoint] self.constraints = constraints self.points = points @property - def constraints(self) -> "List[GsaParameterWithDataValue]": + def constraints(self) -> "list[GsaParameterWithDataValue]": """Gets the constraints of this GsaDiscreteSeries. Returns ------- - List[GsaParameterWithDataValue] + list[GsaParameterWithDataValue] The constraints of this GsaDiscreteSeries. """ return self._constraints @constraints.setter - def constraints(self, constraints: "List[GsaParameterWithDataValue]") -> None: + def constraints(self, constraints: "list[GsaParameterWithDataValue]") -> None: """Sets the constraints of this GsaDiscreteSeries. Parameters ---------- - constraints: List[GsaParameterWithDataValue] + constraints: list[GsaParameterWithDataValue] The constraints of this GsaDiscreteSeries. """ # Field is not nullable @@ -125,23 +125,23 @@ def constraints(self, constraints: "List[GsaParameterWithDataValue]") -> None: self._constraints = constraints @property - def points(self) -> "List[GsaDiscreteSeriesPoint]": + def points(self) -> "list[GsaDiscreteSeriesPoint]": """Gets the points of this GsaDiscreteSeries. Returns ------- - List[GsaDiscreteSeriesPoint] + list[GsaDiscreteSeriesPoint] The points of this GsaDiscreteSeries. """ return self._points @points.setter - def points(self, points: "List[GsaDiscreteSeriesPoint]") -> None: + def points(self, points: "list[GsaDiscreteSeriesPoint]") -> None: """Sets the points of this GsaDiscreteSeries. Parameters ---------- - points: List[GsaDiscreteSeriesPoint] + points: list[GsaDiscreteSeriesPoint] The points of this GsaDiscreteSeries. """ # Field is not nullable @@ -153,7 +153,7 @@ def points(self, points: "List[GsaDiscreteSeriesPoint]") -> None: self._points = points @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_graph.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_graph.py index a945560e..c87419e4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_graph.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_graph.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_functional_type import GsaFunctionalType from ansys.grantami.serverapi_openapi.models.gsa_graph_type import GsaGraphType @@ -55,16 +55,16 @@ class GsaDiscreteSeriesGraph(GsaSeriesGraph): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constraint_parameters": "list[GsaSlimParameter]", "functional_type": "GsaFunctionalType", "graph_type": "GsaGraphType", @@ -73,7 +73,7 @@ class GsaDiscreteSeriesGraph(GsaSeriesGraph): "x_axis_parameter": "GsaSlimParameter", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constraint_parameters": "constraintParameters", "functional_type": "functionalType", "graph_type": "graphType", @@ -82,7 +82,7 @@ class GsaDiscreteSeriesGraph(GsaSeriesGraph): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "series": "GsaDiscreteSeries", } @@ -91,22 +91,22 @@ class GsaDiscreteSeriesGraph(GsaSeriesGraph): def __init__( self, *, - constraint_parameters: "List[GsaSlimParameter]", + constraint_parameters: "list[GsaSlimParameter]", functional_type: "GsaFunctionalType" = GsaFunctionalType.DISCRETE, graph_type: "GsaGraphType" = GsaGraphType.SERIES, number_of_points: "int", - series: "List[GsaDiscreteSeries]", + series: "list[GsaDiscreteSeries]", x_axis_parameter: "GsaSlimParameter", ) -> None: """GsaDiscreteSeriesGraph - a model defined in Swagger Parameters ---------- - constraint_parameters: List[GsaSlimParameter] + constraint_parameters: list[GsaSlimParameter] functional_type: GsaFunctionalType graph_type: GsaGraphType number_of_points: int - series: List[GsaDiscreteSeries] + series: list[GsaDiscreteSeries] x_axis_parameter: GsaSlimParameter """ super().__init__( @@ -116,28 +116,28 @@ def __init__( number_of_points=number_of_points, x_axis_parameter=x_axis_parameter, ) - self._series: List[GsaDiscreteSeries] + self._series: list[GsaDiscreteSeries] self.series = series @property - def series(self) -> "List[GsaDiscreteSeries]": + def series(self) -> "list[GsaDiscreteSeries]": """Gets the series of this GsaDiscreteSeriesGraph. Returns ------- - List[GsaDiscreteSeries] + list[GsaDiscreteSeries] The series of this GsaDiscreteSeriesGraph. """ return self._series @series.setter - def series(self, series: "List[GsaDiscreteSeries]") -> None: + def series(self, series: "list[GsaDiscreteSeries]") -> None: """Sets the series of this GsaDiscreteSeriesGraph. Parameters ---------- - series: List[GsaDiscreteSeries] + series: list[GsaDiscreteSeries] The series of this GsaDiscreteSeriesGraph. """ # Field is not nullable @@ -149,7 +149,7 @@ def series(self, series: "List[GsaDiscreteSeries]") -> None: self._series = series @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_point.py index 5761d066..43752d11 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_series_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteSeriesPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "value": "GsaDiscreteValuesDiscreteValue", "x_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "value": "value", "x_value": "xValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "value": "GsaDiscreteValuesDiscreteValue", } @@ -152,7 +152,7 @@ def value(self, value: "GsaDiscreteValuesDiscreteValue") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation.py index d54eb2d8..2b32b428 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaDiscreteTextAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "terms": "list[GsaTermWithCount]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "terms": "terms", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "terms": "GsaTermWithCount", } @@ -87,45 +87,45 @@ def __init__( self, *, datum_type: "GsaAggregationDatumType" = GsaAggregationDatumType.DISCRETETEXT, - terms: "Union[List[GsaTermWithCount], None, Unset_Type]" = Unset, + terms: "Union[list[GsaTermWithCount], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteTextAggregation - a model defined in Swagger Parameters ---------- datum_type: GsaAggregationDatumType - terms: List[GsaTermWithCount], optional + terms: list[GsaTermWithCount], optional """ super().__init__(datum_type=datum_type) - self._terms: Union[List[GsaTermWithCount], None, Unset_Type] = Unset + self._terms: Union[list[GsaTermWithCount], None, Unset_Type] = Unset if terms is not Unset: self.terms = terms @property - def terms(self) -> "Union[List[GsaTermWithCount], None, Unset_Type]": + def terms(self) -> "Union[list[GsaTermWithCount], None, Unset_Type]": """Gets the terms of this GsaDiscreteTextAggregation. Returns ------- - Union[List[GsaTermWithCount], None, Unset_Type] + Union[list[GsaTermWithCount], None, Unset_Type] The terms of this GsaDiscreteTextAggregation. """ return self._terms @terms.setter - def terms(self, terms: "Union[List[GsaTermWithCount], None, Unset_Type]") -> None: + def terms(self, terms: "Union[list[GsaTermWithCount], None, Unset_Type]") -> None: """Sets the terms of this GsaDiscreteTextAggregation. Parameters ---------- - terms: Union[List[GsaTermWithCount], None, Unset_Type] + terms: Union[list[GsaTermWithCount], None, Unset_Type] The terms of this GsaDiscreteTextAggregation. """ self._terms = terms @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation_datum_criterion.py index 42ed3f96..21a2b86c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,28 +58,28 @@ class GsaDiscreteTextAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "number_of_terms": "int", "prefix": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "number_of_terms": "numberOfTerms", "prefix": "prefix", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -159,7 +159,7 @@ def prefix(self, prefix: "Union[str, None, Unset_Type]") -> None: self._prefix = prefix @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_datum_criterion.py index 8783ba52..956c8aa9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaDiscreteTextDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "str", "text_match_behavior": "GsaTextMatchBehavior", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", "text_match_behavior": "textMatchBehavior", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "textMatchBehavior": "GsaTextMatchBehavior", } @@ -162,7 +162,7 @@ def text_match_behavior( self._text_match_behavior = text_match_behavior @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_prefix_datum_criterion.py index ec038ff2..b77a6909 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_prefix_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_prefix_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaDiscreteTextPrefixDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "prefix": "str", "type": "GsaDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "prefix": "prefix", "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def prefix(self, prefix: "str") -> None: self._prefix = prefix @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_values_datum_criterion.py index 474171ff..de3cb7f8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_text_values_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,16 +56,16 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "_none": "list[str]", "all": "list[str]", @@ -73,7 +73,7 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion): "text_match_behavior": "GsaTextMatchBehavior", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "_none": "none", "all": "all", @@ -81,7 +81,7 @@ class GsaDiscreteTextValuesDatumCriterion(GsaDatumCriterion): "text_match_behavior": "textMatchBehavior", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "textMatchBehavior": "GsaTextMatchBehavior", } @@ -91,9 +91,9 @@ def __init__( self, *, type: "GsaDatumCriterionType" = GsaDatumCriterionType.DISCRETETEXTVALUES, - _none: "Union[List[str], None, Unset_Type]" = Unset, - all: "Union[List[str], None, Unset_Type]" = Unset, - any: "Union[List[str], None, Unset_Type]" = Unset, + _none: "Union[list[str], None, Unset_Type]" = Unset, + all: "Union[list[str], None, Unset_Type]" = Unset, + any: "Union[list[str], None, Unset_Type]" = Unset, text_match_behavior: "Union[GsaTextMatchBehavior, Unset_Type]" = Unset, ) -> None: """GsaDiscreteTextValuesDatumCriterion - a model defined in Swagger @@ -101,15 +101,15 @@ def __init__( Parameters ---------- type: GsaDatumCriterionType - _none: List[str], optional - all: List[str], optional - any: List[str], optional + _none: list[str], optional + all: list[str], optional + any: list[str], optional text_match_behavior: GsaTextMatchBehavior, optional """ super().__init__(type=type) - self._all: Union[List[str], None, Unset_Type] = Unset - self._any: Union[List[str], None, Unset_Type] = Unset - self.__none: Union[List[str], None, Unset_Type] = Unset + self._all: Union[list[str], None, Unset_Type] = Unset + self._any: Union[list[str], None, Unset_Type] = Unset + self.__none: Union[list[str], None, Unset_Type] = Unset self._text_match_behavior: Union[GsaTextMatchBehavior, Unset_Type] = Unset if all is not Unset: @@ -122,67 +122,67 @@ def __init__( self.text_match_behavior = text_match_behavior @property - def all(self) -> "Union[List[str], None, Unset_Type]": + def all(self) -> "Union[list[str], None, Unset_Type]": """Gets the all of this GsaDiscreteTextValuesDatumCriterion. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The all of this GsaDiscreteTextValuesDatumCriterion. """ return self._all @all.setter - def all(self, all: "Union[List[str], None, Unset_Type]") -> None: + def all(self, all: "Union[list[str], None, Unset_Type]") -> None: """Sets the all of this GsaDiscreteTextValuesDatumCriterion. Parameters ---------- - all: Union[List[str], None, Unset_Type] + all: Union[list[str], None, Unset_Type] The all of this GsaDiscreteTextValuesDatumCriterion. """ self._all = all @property - def any(self) -> "Union[List[str], None, Unset_Type]": + def any(self) -> "Union[list[str], None, Unset_Type]": """Gets the any of this GsaDiscreteTextValuesDatumCriterion. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The any of this GsaDiscreteTextValuesDatumCriterion. """ return self._any @any.setter - def any(self, any: "Union[List[str], None, Unset_Type]") -> None: + def any(self, any: "Union[list[str], None, Unset_Type]") -> None: """Sets the any of this GsaDiscreteTextValuesDatumCriterion. Parameters ---------- - any: Union[List[str], None, Unset_Type] + any: Union[list[str], None, Unset_Type] The any of this GsaDiscreteTextValuesDatumCriterion. """ self._any = any @property - def _none(self) -> "Union[List[str], None, Unset_Type]": + def _none(self) -> "Union[list[str], None, Unset_Type]": """Gets the _none of this GsaDiscreteTextValuesDatumCriterion. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The _none of this GsaDiscreteTextValuesDatumCriterion. """ return self.__none @_none.setter - def _none(self, _none: "Union[List[str], None, Unset_Type]") -> None: + def _none(self, _none: "Union[list[str], None, Unset_Type]") -> None: """Sets the _none of this GsaDiscreteTextValuesDatumCriterion. Parameters ---------- - _none: Union[List[str], None, Unset_Type] + _none: Union[list[str], None, Unset_Type] The _none of this GsaDiscreteTextValuesDatumCriterion. """ self.__none = _none @@ -215,7 +215,7 @@ def text_match_behavior( self._text_match_behavior = text_match_behavior @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type.py index acdc059f..1363d049 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDiscreteType(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "is_ordered": "bool", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "is_ordered": "isOrdered", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -184,7 +184,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_deletion_exception.py index 23e21dd2..4eca7051 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_deletion_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDiscreteTypeDeletionException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteTypeDeletionException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaDataModificationErrorDetail], optional + errors: list[GsaDataModificationErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,31 +153,31 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]": """Gets the errors of this GsaDiscreteTypeDeletionException. Returns ------- - Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaDiscreteTypeDeletionException. """ return self._errors @errors.setter def errors( - self, errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" + self, errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GsaDiscreteTypeDeletionException. Parameters ---------- - errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaDiscreteTypeDeletionException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_usage.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_usage.py index 1d08cf9a..7103909d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_usage.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_type_usage.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteTypeUsage(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attributes": "list[GsaSlimAttribute]", "tabular_columns": "list[GsaTabularAttributeWithColumns]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attributes": "attributes", "tabular_columns": "tabularColumns", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaSlimAttribute", "tabularColumns": "GsaTabularAttributeWithColumns", } @@ -80,40 +80,40 @@ class GsaDiscreteTypeUsage(ModelBase): def __init__( self, *, - attributes: "List[GsaSlimAttribute]", - tabular_columns: "List[GsaTabularAttributeWithColumns]", + attributes: "list[GsaSlimAttribute]", + tabular_columns: "list[GsaTabularAttributeWithColumns]", ) -> None: """GsaDiscreteTypeUsage - a model defined in Swagger Parameters ---------- - attributes: List[GsaSlimAttribute] - tabular_columns: List[GsaTabularAttributeWithColumns] + attributes: list[GsaSlimAttribute] + tabular_columns: list[GsaTabularAttributeWithColumns] """ - self._attributes: List[GsaSlimAttribute] - self._tabular_columns: List[GsaTabularAttributeWithColumns] + self._attributes: list[GsaSlimAttribute] + self._tabular_columns: list[GsaTabularAttributeWithColumns] self.attributes = attributes self.tabular_columns = tabular_columns @property - def attributes(self) -> "List[GsaSlimAttribute]": + def attributes(self) -> "list[GsaSlimAttribute]": """Gets the attributes of this GsaDiscreteTypeUsage. Returns ------- - List[GsaSlimAttribute] + list[GsaSlimAttribute] The attributes of this GsaDiscreteTypeUsage. """ return self._attributes @attributes.setter - def attributes(self, attributes: "List[GsaSlimAttribute]") -> None: + def attributes(self, attributes: "list[GsaSlimAttribute]") -> None: """Sets the attributes of this GsaDiscreteTypeUsage. Parameters ---------- - attributes: List[GsaSlimAttribute] + attributes: list[GsaSlimAttribute] The attributes of this GsaDiscreteTypeUsage. """ # Field is not nullable @@ -125,23 +125,23 @@ def attributes(self, attributes: "List[GsaSlimAttribute]") -> None: self._attributes = attributes @property - def tabular_columns(self) -> "List[GsaTabularAttributeWithColumns]": + def tabular_columns(self) -> "list[GsaTabularAttributeWithColumns]": """Gets the tabular_columns of this GsaDiscreteTypeUsage. Returns ------- - List[GsaTabularAttributeWithColumns] + list[GsaTabularAttributeWithColumns] The tabular_columns of this GsaDiscreteTypeUsage. """ return self._tabular_columns @tabular_columns.setter - def tabular_columns(self, tabular_columns: "List[GsaTabularAttributeWithColumns]") -> None: + def tabular_columns(self, tabular_columns: "list[GsaTabularAttributeWithColumns]") -> None: """Sets the tabular_columns of this GsaDiscreteTypeUsage. Parameters ---------- - tabular_columns: List[GsaTabularAttributeWithColumns] + tabular_columns: list[GsaTabularAttributeWithColumns] The tabular_columns of this GsaDiscreteTypeUsage. """ # Field is not nullable @@ -153,7 +153,7 @@ def tabular_columns(self, tabular_columns: "List[GsaTabularAttributeWithColumns] self._tabular_columns = tabular_columns @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_types_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_types_info.py index d52adcf1..f84fc874 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_types_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_types_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDiscreteTypesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "discrete_types": "list[GsaDiscreteType]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "discrete_types": "discreteTypes", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteTypes": "GsaDiscreteType", } @@ -77,45 +77,45 @@ class GsaDiscreteTypesInfo(ModelBase): def __init__( self, *, - discrete_types: "Union[List[GsaDiscreteType], None, Unset_Type]" = Unset, + discrete_types: "Union[list[GsaDiscreteType], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteTypesInfo - a model defined in Swagger Parameters ---------- - discrete_types: List[GsaDiscreteType], optional + discrete_types: list[GsaDiscreteType], optional """ - self._discrete_types: Union[List[GsaDiscreteType], None, Unset_Type] = Unset + self._discrete_types: Union[list[GsaDiscreteType], None, Unset_Type] = Unset if discrete_types is not Unset: self.discrete_types = discrete_types @property - def discrete_types(self) -> "Union[List[GsaDiscreteType], None, Unset_Type]": + def discrete_types(self) -> "Union[list[GsaDiscreteType], None, Unset_Type]": """Gets the discrete_types of this GsaDiscreteTypesInfo. Returns ------- - Union[List[GsaDiscreteType], None, Unset_Type] + Union[list[GsaDiscreteType], None, Unset_Type] The discrete_types of this GsaDiscreteTypesInfo. """ return self._discrete_types @discrete_types.setter def discrete_types( - self, discrete_types: "Union[List[GsaDiscreteType], None, Unset_Type]" + self, discrete_types: "Union[list[GsaDiscreteType], None, Unset_Type]" ) -> None: """Sets the discrete_types of this GsaDiscreteTypesInfo. Parameters ---------- - discrete_types: Union[List[GsaDiscreteType], None, Unset_Type] + discrete_types: Union[list[GsaDiscreteType], None, Unset_Type] The discrete_types of this GsaDiscreteTypesInfo. """ self._discrete_types = discrete_types @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value.py index 2d8a3614..32dd7618 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "order": "int", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "order": "order", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -140,7 +140,7 @@ def order(self, order: "Union[int, None, Unset_Type]") -> None: self._order = order @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value_deletion_exception.py index 7bfb28cb..26efb468 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_value_deletion_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaDiscreteValueDeletionException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteValueDeletionException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaDataModificationErrorDetail], optional + errors: list[GsaDataModificationErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,31 +153,31 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]": """Gets the errors of this GsaDiscreteValueDeletionException. Returns ------- - Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaDiscreteValueDeletionException. """ return self._errors @errors.setter def errors( - self, errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" + self, errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GsaDiscreteValueDeletionException. Parameters ---------- - errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaDiscreteValueDeletionException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_create_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_create_discrete_value.py index a9b6b5ed..ada1ec95 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_create_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_create_discrete_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteValuesCreateDiscreteValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -148,7 +148,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_value.py index d9640e1a..b2756f57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteValuesDiscreteValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_values_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_values_info.py index 40144a0e..75f1e4e5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_values_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_discrete_values_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDiscreteValuesDiscreteValuesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "discrete_values": "list[GsaDiscreteValuesDiscreteValue]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "discrete_values": "discreteValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteValues": "GsaDiscreteValuesDiscreteValue", } @@ -77,45 +77,45 @@ class GsaDiscreteValuesDiscreteValuesInfo(ModelBase): def __init__( self, *, - discrete_values: "Union[List[GsaDiscreteValuesDiscreteValue], None, Unset_Type]" = Unset, + discrete_values: "Union[list[GsaDiscreteValuesDiscreteValue], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteValuesDiscreteValuesInfo - a model defined in Swagger Parameters ---------- - discrete_values: List[GsaDiscreteValuesDiscreteValue], optional + discrete_values: list[GsaDiscreteValuesDiscreteValue], optional """ - self._discrete_values: Union[List[GsaDiscreteValuesDiscreteValue], None, Unset_Type] = Unset + self._discrete_values: Union[list[GsaDiscreteValuesDiscreteValue], None, Unset_Type] = Unset if discrete_values is not Unset: self.discrete_values = discrete_values @property - def discrete_values(self) -> "Union[List[GsaDiscreteValuesDiscreteValue], None, Unset_Type]": + def discrete_values(self) -> "Union[list[GsaDiscreteValuesDiscreteValue], None, Unset_Type]": """Gets the discrete_values of this GsaDiscreteValuesDiscreteValuesInfo. Returns ------- - Union[List[GsaDiscreteValuesDiscreteValue], None, Unset_Type] + Union[list[GsaDiscreteValuesDiscreteValue], None, Unset_Type] The discrete_values of this GsaDiscreteValuesDiscreteValuesInfo. """ return self._discrete_values @discrete_values.setter def discrete_values( - self, discrete_values: "Union[List[GsaDiscreteValuesDiscreteValue], None, Unset_Type]" + self, discrete_values: "Union[list[GsaDiscreteValuesDiscreteValue], None, Unset_Type]" ) -> None: """Sets the discrete_values of this GsaDiscreteValuesDiscreteValuesInfo. Parameters ---------- - discrete_values: Union[List[GsaDiscreteValuesDiscreteValue], None, Unset_Type] + discrete_values: Union[list[GsaDiscreteValuesDiscreteValue], None, Unset_Type] The discrete_values of this GsaDiscreteValuesDiscreteValuesInfo. """ self._discrete_values = discrete_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_replace_discrete_values_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_replace_discrete_values_info.py index 2018c356..88a27451 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_replace_discrete_values_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_replace_discrete_values_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaDiscreteValuesReplaceDiscreteValuesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "discrete_values": "list[GsaDiscreteValuesCreateDiscreteValue]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "discrete_values": "discreteValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteValues": "GsaDiscreteValuesCreateDiscreteValue", } @@ -77,16 +77,16 @@ class GsaDiscreteValuesReplaceDiscreteValuesInfo(ModelBase): def __init__( self, *, - discrete_values: "Union[List[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type]" = Unset, + discrete_values: "Union[list[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type]" = Unset, ) -> None: """GsaDiscreteValuesReplaceDiscreteValuesInfo - a model defined in Swagger Parameters ---------- - discrete_values: List[GsaDiscreteValuesCreateDiscreteValue], optional + discrete_values: list[GsaDiscreteValuesCreateDiscreteValue], optional """ self._discrete_values: Union[ - List[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type + list[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type ] = Unset if discrete_values is not Unset: @@ -95,31 +95,31 @@ def __init__( @property def discrete_values( self, - ) -> "Union[List[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type]": + ) -> "Union[list[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type]": """Gets the discrete_values of this GsaDiscreteValuesReplaceDiscreteValuesInfo. Returns ------- - Union[List[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type] + Union[list[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type] The discrete_values of this GsaDiscreteValuesReplaceDiscreteValuesInfo. """ return self._discrete_values @discrete_values.setter def discrete_values( - self, discrete_values: "Union[List[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type]" + self, discrete_values: "Union[list[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type]" ) -> None: """Sets the discrete_values of this GsaDiscreteValuesReplaceDiscreteValuesInfo. Parameters ---------- - discrete_values: Union[List[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type] + discrete_values: Union[list[GsaDiscreteValuesCreateDiscreteValue], None, Unset_Type] The discrete_values of this GsaDiscreteValuesReplaceDiscreteValuesInfo. """ self._discrete_values = discrete_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_update_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_update_discrete_value.py index 98a0ff7c..f8765ff7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_update_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_discrete_values_update_discrete_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaDiscreteValuesUpdateDiscreteValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_double_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_double_sorting_value.py index 210fe78c..3ac9b1f6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_double_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_double_sorting_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sorting_value import GsaSortingValue # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sorting_value_type import GsaSortingValueType @@ -54,26 +54,26 @@ class GsaDoubleSortingValue(GsaSortingValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortingValueType", "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def value(self, value: "Union[float, Unset_Type]") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_link_group_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_link_group_usage_data_modification_error_detail.py index 15457561..50af9f3c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_link_group_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_link_group_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaDynamicLinkGroupUsageDataModificationErrorDetail(GsaUsageDataModificati """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimNamedEntity", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.DYNAMICLINKGROUP, - referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaDynamicLinkGroupUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimNamedEntity], optional + referenced_by: list[GsaSlimNamedEntity], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] + referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_record_link_group.py index bb38320f..5f86331f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_dynamic_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_link_group import ( # noqa: F401 GsaRecordLinkGroup, @@ -58,16 +58,16 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_pairs": "list[GsaAttributeLinkPair]", "display_names": "dict(str, str)", "forbid_orphans": "bool", @@ -81,7 +81,7 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup): "reverse_display_names": "dict(str, str)", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_pairs": "attributePairs", "display_names": "displayNames", "forbid_orphans": "forbidOrphans", @@ -95,7 +95,7 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup): "reverse_display_names": "reverseDisplayNames", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referentialIntegrityModel": "GsaReferentialIntegrityModel", "attributePairs": "GsaAttributeLinkPair", } @@ -105,8 +105,8 @@ class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup): def __init__( self, *, - attribute_pairs: "List[GsaAttributeLinkPair]", - display_names: "Dict[str, str]", + attribute_pairs: "list[GsaAttributeLinkPair]", + display_names: "dict[str, str]", forbid_orphans: "bool", guid: "str", link_info: "GsaLinkInfo", @@ -115,14 +115,14 @@ def __init__( reverse_name: "str", type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC, identity: "Union[int, None, Unset_Type]" = Unset, - reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" = Unset, + reverse_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset, ) -> None: """GsaDynamicRecordLinkGroup - a model defined in Swagger Parameters ---------- - attribute_pairs: List[GsaAttributeLinkPair] - display_names: Dict[str, str] + attribute_pairs: list[GsaAttributeLinkPair] + display_names: dict[str, str] forbid_orphans: bool guid: str link_info: GsaLinkInfo @@ -131,7 +131,7 @@ def __init__( reverse_name: str type: GsaRecordLinkGroupType identity: int, optional - reverse_display_names: Dict[str, str], optional + reverse_display_names: dict[str, str], optional """ super().__init__( display_names=display_names, @@ -145,7 +145,7 @@ def __init__( ) self._forbid_orphans: bool self._referential_integrity_model: GsaReferentialIntegrityModel - self._attribute_pairs: List[GsaAttributeLinkPair] + self._attribute_pairs: list[GsaAttributeLinkPair] self.forbid_orphans = forbid_orphans self.referential_integrity_model = referential_integrity_model @@ -210,23 +210,23 @@ def referential_integrity_model( self._referential_integrity_model = referential_integrity_model @property - def attribute_pairs(self) -> "List[GsaAttributeLinkPair]": + def attribute_pairs(self) -> "list[GsaAttributeLinkPair]": """Gets the attribute_pairs of this GsaDynamicRecordLinkGroup. Returns ------- - List[GsaAttributeLinkPair] + list[GsaAttributeLinkPair] The attribute_pairs of this GsaDynamicRecordLinkGroup. """ return self._attribute_pairs @attribute_pairs.setter - def attribute_pairs(self, attribute_pairs: "List[GsaAttributeLinkPair]") -> None: + def attribute_pairs(self, attribute_pairs: "list[GsaAttributeLinkPair]") -> None: """Sets the attribute_pairs of this GsaDynamicRecordLinkGroup. Parameters ---------- - attribute_pairs: List[GsaAttributeLinkPair] + attribute_pairs: list[GsaAttributeLinkPair] The attribute_pairs of this GsaDynamicRecordLinkGroup. """ # Field is not nullable @@ -238,7 +238,7 @@ def attribute_pairs(self, attribute_pairs: "List[GsaAttributeLinkPair]") -> None self._attribute_pairs = attribute_pairs @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_enabled_licenses_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_enabled_licenses_info.py index d0a9e179..e84a586c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_enabled_licenses_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_enabled_licenses_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaEnabledLicensesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "is_flex_licensing_enabled": "bool", "mi_server_enabled": "bool", "ml_enabled": "bool", @@ -71,7 +71,7 @@ class GsaEnabledLicensesInfo(ModelBase): "expiry_date": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "is_flex_licensing_enabled": "isFlexLicensingEnabled", "mi_server_enabled": "miServerEnabled", "ml_enabled": "MLEnabled", @@ -82,7 +82,7 @@ class GsaEnabledLicensesInfo(ModelBase): "expiry_date": "expiryDate", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -373,7 +373,7 @@ def expiry_date(self, expiry_date: "Union[datetime, None, Unset_Type]") -> None: self._expiry_date = expiry_date @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_error_detail.py index 836bce0c..3e0e7f1e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaErrorDetail(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def reason(self, reason: "str") -> None: self._reason = reason @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exclude_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exclude_values_specifier.py index 4ee35844..b35f7e3a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exclude_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exclude_values_specifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_value_specifier import ( # noqa: F401 GsaValueSpecifier, @@ -56,28 +56,28 @@ class GsaExcludeValuesSpecifier(GsaValueSpecifier): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "filter_on": "GsaValueSpecifierType", "excluded_guids": "list[str]", "excluded_identities": "list[int]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "filter_on": "filterOn", "excluded_guids": "excludedGuids", "excluded_identities": "excludedIdentities", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -85,20 +85,20 @@ def __init__( self, *, filter_on: "GsaValueSpecifierType" = GsaValueSpecifierType.EXCLUDE, - excluded_guids: "Union[List[str], None, Unset_Type]" = Unset, - excluded_identities: "Union[List[int], None, Unset_Type]" = Unset, + excluded_guids: "Union[list[str], None, Unset_Type]" = Unset, + excluded_identities: "Union[list[int], None, Unset_Type]" = Unset, ) -> None: """GsaExcludeValuesSpecifier - a model defined in Swagger Parameters ---------- filter_on: GsaValueSpecifierType - excluded_guids: List[str], optional - excluded_identities: List[int], optional + excluded_guids: list[str], optional + excluded_identities: list[int], optional """ super().__init__(filter_on=filter_on) - self._excluded_identities: Union[List[int], None, Unset_Type] = Unset - self._excluded_guids: Union[List[str], None, Unset_Type] = Unset + self._excluded_identities: Union[list[int], None, Unset_Type] = Unset + self._excluded_guids: Union[list[str], None, Unset_Type] = Unset if excluded_identities is not Unset: self.excluded_identities = excluded_identities @@ -106,53 +106,53 @@ def __init__( self.excluded_guids = excluded_guids @property - def excluded_identities(self) -> "Union[List[int], None, Unset_Type]": + def excluded_identities(self) -> "Union[list[int], None, Unset_Type]": """Gets the excluded_identities of this GsaExcludeValuesSpecifier. Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The excluded_identities of this GsaExcludeValuesSpecifier. """ return self._excluded_identities @excluded_identities.setter def excluded_identities( - self, excluded_identities: "Union[List[int], None, Unset_Type]" + self, excluded_identities: "Union[list[int], None, Unset_Type]" ) -> None: """Sets the excluded_identities of this GsaExcludeValuesSpecifier. Parameters ---------- - excluded_identities: Union[List[int], None, Unset_Type] + excluded_identities: Union[list[int], None, Unset_Type] The excluded_identities of this GsaExcludeValuesSpecifier. """ self._excluded_identities = excluded_identities @property - def excluded_guids(self) -> "Union[List[str], None, Unset_Type]": + def excluded_guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the excluded_guids of this GsaExcludeValuesSpecifier. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The excluded_guids of this GsaExcludeValuesSpecifier. """ return self._excluded_guids @excluded_guids.setter - def excluded_guids(self, excluded_guids: "Union[List[str], None, Unset_Type]") -> None: + def excluded_guids(self, excluded_guids: "Union[list[str], None, Unset_Type]") -> None: """Sets the excluded_guids of this GsaExcludeValuesSpecifier. Parameters ---------- - excluded_guids: Union[List[str], None, Unset_Type] + excluded_guids: Union[list[str], None, Unset_Type] The excluded_guids of this GsaExcludeValuesSpecifier. """ self._excluded_guids = excluded_guids @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_export_failure.py index 918bf543..1aa9d5f3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_export_failure.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaExportFailure(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "failure_details": "str", "failure_reason": "str", "type": "GsaExportFailureType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "failure_details": "failureDetails", "failure_reason": "failureReason", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaExportFailureType", } @@ -196,7 +196,7 @@ def failure_reason(self, failure_reason: "str") -> None: self._failure_reason = failure_reason @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exporter_refetch_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exporter_refetch_info.py index 45e9e0d7..dc5bda64 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exporter_refetch_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_exporter_refetch_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,44 +51,44 @@ class GsaExporterRefetchInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "errors": "list[str]", "succeeded": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "errors": "errors", "succeeded": "succeeded", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - errors: "Union[List[str], None, Unset_Type]" = Unset, + errors: "Union[list[str], None, Unset_Type]" = Unset, succeeded: "Union[bool, Unset_Type]" = Unset, ) -> None: """GsaExporterRefetchInfo - a model defined in Swagger Parameters ---------- - errors: List[str], optional + errors: list[str], optional succeeded: bool, optional """ self._succeeded: Union[bool, Unset_Type] = Unset - self._errors: Union[List[str], None, Unset_Type] = Unset + self._errors: Union[list[str], None, Unset_Type] = Unset if succeeded is not Unset: self.succeeded = succeeded @@ -121,29 +121,29 @@ def succeeded(self, succeeded: "Union[bool, Unset_Type]") -> None: self._succeeded = succeeded @property - def errors(self) -> "Union[List[str], None, Unset_Type]": + def errors(self) -> "Union[list[str], None, Unset_Type]": """Gets the errors of this GsaExporterRefetchInfo. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The errors of this GsaExporterRefetchInfo. """ return self._errors @errors.setter - def errors(self, errors: "Union[List[str], None, Unset_Type]") -> None: + def errors(self, errors: "Union[list[str], None, Unset_Type]") -> None: """Sets the errors of this GsaExporterRefetchInfo. Parameters ---------- - errors: Union[List[str], None, Unset_Type] + errors: Union[list[str], None, Unset_Type] The errors of this GsaExporterRefetchInfo. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression.py index 690f3384..4b4dc5f8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaExpression(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_dependencies": "list[GsaSlimAttribute]", "constant_dependencies": "list[GsaSlimNamedEntity]", "guid": "str", @@ -70,7 +70,7 @@ class GsaExpression(ModelBase): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_dependencies": "attributeDependencies", "constant_dependencies": "constantDependencies", "guid": "guid", @@ -80,7 +80,7 @@ class GsaExpression(ModelBase): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", "attributeDependencies": "GsaSlimAttribute", "constantDependencies": "GsaSlimNamedEntity", @@ -92,11 +92,11 @@ class GsaExpression(ModelBase): def __init__( self, *, - attribute_dependencies: "List[GsaSlimAttribute]", - constant_dependencies: "List[GsaSlimNamedEntity]", + attribute_dependencies: "list[GsaSlimAttribute]", + constant_dependencies: "list[GsaSlimNamedEntity]", guid: "str", name: "str", - parameter_dependencies: "List[GsaSlimNamedEntity]", + parameter_dependencies: "list[GsaSlimNamedEntity]", value: "str", unit: "Union[GsaSlimUnit, Unset_Type]" = Unset, ) -> None: @@ -104,19 +104,19 @@ def __init__( Parameters ---------- - attribute_dependencies: List[GsaSlimAttribute] - constant_dependencies: List[GsaSlimNamedEntity] + attribute_dependencies: list[GsaSlimAttribute] + constant_dependencies: list[GsaSlimNamedEntity] guid: str name: str - parameter_dependencies: List[GsaSlimNamedEntity] + parameter_dependencies: list[GsaSlimNamedEntity] value: str unit: GsaSlimUnit, optional """ self._value: str self._unit: Union[GsaSlimUnit, Unset_Type] = Unset - self._attribute_dependencies: List[GsaSlimAttribute] - self._constant_dependencies: List[GsaSlimNamedEntity] - self._parameter_dependencies: List[GsaSlimNamedEntity] + self._attribute_dependencies: list[GsaSlimAttribute] + self._constant_dependencies: list[GsaSlimNamedEntity] + self._parameter_dependencies: list[GsaSlimNamedEntity] self._name: str self._guid: str @@ -183,23 +183,23 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @property - def attribute_dependencies(self) -> "List[GsaSlimAttribute]": + def attribute_dependencies(self) -> "list[GsaSlimAttribute]": """Gets the attribute_dependencies of this GsaExpression. Returns ------- - List[GsaSlimAttribute] + list[GsaSlimAttribute] The attribute_dependencies of this GsaExpression. """ return self._attribute_dependencies @attribute_dependencies.setter - def attribute_dependencies(self, attribute_dependencies: "List[GsaSlimAttribute]") -> None: + def attribute_dependencies(self, attribute_dependencies: "list[GsaSlimAttribute]") -> None: """Sets the attribute_dependencies of this GsaExpression. Parameters ---------- - attribute_dependencies: List[GsaSlimAttribute] + attribute_dependencies: list[GsaSlimAttribute] The attribute_dependencies of this GsaExpression. """ # Field is not nullable @@ -211,23 +211,23 @@ def attribute_dependencies(self, attribute_dependencies: "List[GsaSlimAttribute] self._attribute_dependencies = attribute_dependencies @property - def constant_dependencies(self) -> "List[GsaSlimNamedEntity]": + def constant_dependencies(self) -> "list[GsaSlimNamedEntity]": """Gets the constant_dependencies of this GsaExpression. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The constant_dependencies of this GsaExpression. """ return self._constant_dependencies @constant_dependencies.setter - def constant_dependencies(self, constant_dependencies: "List[GsaSlimNamedEntity]") -> None: + def constant_dependencies(self, constant_dependencies: "list[GsaSlimNamedEntity]") -> None: """Sets the constant_dependencies of this GsaExpression. Parameters ---------- - constant_dependencies: List[GsaSlimNamedEntity] + constant_dependencies: list[GsaSlimNamedEntity] The constant_dependencies of this GsaExpression. """ # Field is not nullable @@ -239,23 +239,23 @@ def constant_dependencies(self, constant_dependencies: "List[GsaSlimNamedEntity] self._constant_dependencies = constant_dependencies @property - def parameter_dependencies(self) -> "List[GsaSlimNamedEntity]": + def parameter_dependencies(self) -> "list[GsaSlimNamedEntity]": """Gets the parameter_dependencies of this GsaExpression. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The parameter_dependencies of this GsaExpression. """ return self._parameter_dependencies @parameter_dependencies.setter - def parameter_dependencies(self, parameter_dependencies: "List[GsaSlimNamedEntity]") -> None: + def parameter_dependencies(self, parameter_dependencies: "list[GsaSlimNamedEntity]") -> None: """Sets the parameter_dependencies of this GsaExpression. Parameters ---------- - parameter_dependencies: List[GsaSlimNamedEntity] + parameter_dependencies: list[GsaSlimNamedEntity] The parameter_dependencies of this GsaExpression. """ # Field is not nullable @@ -323,7 +323,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression_usage_data_modification_error_detail.py index 6a567442..3d2ea504 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expression_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaExpressionUsageDataModificationErrorDetail(GsaUsageDataModificationErro """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimNamedEntity", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.EXPRESSION, - referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaExpressionUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimNamedEntity], optional + referenced_by: list[GsaSlimNamedEntity], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the referenced_by of this GsaExpressionUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaExpressionUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaExpressionUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] + referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaExpressionUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expressions_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expressions_info.py index cc98662e..97bb53be 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expressions_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_expressions_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaExpressionsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "expressions": "list[GsaSlimExpression]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "expressions": "expressions", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "expressions": "GsaSlimExpression", } @@ -77,43 +77,43 @@ class GsaExpressionsInfo(ModelBase): def __init__( self, *, - expressions: "Union[List[GsaSlimExpression], None, Unset_Type]" = Unset, + expressions: "Union[list[GsaSlimExpression], None, Unset_Type]" = Unset, ) -> None: """GsaExpressionsInfo - a model defined in Swagger Parameters ---------- - expressions: List[GsaSlimExpression], optional + expressions: list[GsaSlimExpression], optional """ - self._expressions: Union[List[GsaSlimExpression], None, Unset_Type] = Unset + self._expressions: Union[list[GsaSlimExpression], None, Unset_Type] = Unset if expressions is not Unset: self.expressions = expressions @property - def expressions(self) -> "Union[List[GsaSlimExpression], None, Unset_Type]": + def expressions(self) -> "Union[list[GsaSlimExpression], None, Unset_Type]": """Gets the expressions of this GsaExpressionsInfo. Returns ------- - Union[List[GsaSlimExpression], None, Unset_Type] + Union[list[GsaSlimExpression], None, Unset_Type] The expressions of this GsaExpressionsInfo. """ return self._expressions @expressions.setter - def expressions(self, expressions: "Union[List[GsaSlimExpression], None, Unset_Type]") -> None: + def expressions(self, expressions: "Union[list[GsaSlimExpression], None, Unset_Type]") -> None: """Sets the expressions of this GsaExpressionsInfo. Parameters ---------- - expressions: Union[List[GsaSlimExpression], None, Unset_Type] + expressions: Union[list[GsaSlimExpression], None, Unset_Type] The expressions of this GsaExpressionsInfo. """ self._expressions = expressions @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_attribute.py index 50be4f28..75b6b5cb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaFileAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -77,7 +77,7 @@ class GsaFileAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaFileAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -115,7 +115,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -141,7 +141,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum.py index dca21d14..9fc5176f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,16 +56,16 @@ class GsaFileDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "content_is_in_search_index": "bool", "content_type": "str", "datum_type": "GsaDatumType", @@ -75,7 +75,7 @@ class GsaFileDatum(GsaApplicableDatum): "target": "GsaHyperlinkTarget", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "content_is_in_search_index": "contentIsInSearchIndex", "content_type": "contentType", "datum_type": "datumType", @@ -85,7 +85,7 @@ class GsaFileDatum(GsaApplicableDatum): "target": "target", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "target": "GsaHyperlinkTarget", } @@ -268,7 +268,7 @@ def content_is_in_search_index(self, content_is_in_search_index: "bool") -> None self._content_is_in_search_index = content_is_in_search_index @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_criterion.py index 1c205760..680d347a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaFileDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def value(self, value: "str") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_exists_criterion.py index b465d2f1..906ebf37 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaFileDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_header.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_header.py index 1efce4a4..fc7c7336 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_header.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_header.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaFileHeader(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "data_length": "int", "description": "str", "extension": "str", @@ -70,7 +70,7 @@ class GsaFileHeader(ModelBase): "path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "data_length": "dataLength", "description": "description", "extension": "extension", @@ -80,7 +80,7 @@ class GsaFileHeader(ModelBase): "path": "path", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -320,7 +320,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_prefix_datum_criterion.py index 68413cd0..5e426090 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_prefix_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_file_prefix_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaFilePrefixDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "prefix": "str", "type": "GsaDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "prefix": "prefix", "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def prefix(self, prefix: "str") -> None: self._prefix = prefix @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_files_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_files_info.py index feae255f..076f36dc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_files_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_files_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaFilesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "files": "list[GsaSlimFile]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "files": "files", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "files": "GsaSlimFile", } @@ -77,43 +77,43 @@ class GsaFilesInfo(ModelBase): def __init__( self, *, - files: "Union[List[GsaSlimFile], None, Unset_Type]" = Unset, + files: "Union[list[GsaSlimFile], None, Unset_Type]" = Unset, ) -> None: """GsaFilesInfo - a model defined in Swagger Parameters ---------- - files: List[GsaSlimFile], optional + files: list[GsaSlimFile], optional """ - self._files: Union[List[GsaSlimFile], None, Unset_Type] = Unset + self._files: Union[list[GsaSlimFile], None, Unset_Type] = Unset if files is not Unset: self.files = files @property - def files(self) -> "Union[List[GsaSlimFile], None, Unset_Type]": + def files(self) -> "Union[list[GsaSlimFile], None, Unset_Type]": """Gets the files of this GsaFilesInfo. Returns ------- - Union[List[GsaSlimFile], None, Unset_Type] + Union[list[GsaSlimFile], None, Unset_Type] The files of this GsaFilesInfo. """ return self._files @files.setter - def files(self, files: "Union[List[GsaSlimFile], None, Unset_Type]") -> None: + def files(self, files: "Union[list[GsaSlimFile], None, Unset_Type]") -> None: """Sets the files of this GsaFilesInfo. Parameters ---------- - files: Union[List[GsaSlimFile], None, Unset_Type] + files: Union[list[GsaSlimFile], None, Unset_Type] The files of this GsaFilesInfo. """ self._files = files @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_search_request.py index b716d368..dae9d698 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_search_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaFindSearchRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name_contains": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name_contains": "nameContains", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -111,7 +111,7 @@ def name_contains(self, name_contains: "Union[str, None, Unset_Type]") -> None: self._name_contains = name_contains @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_standard_names.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_standard_names.py index cf69b517..75206c0a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_standard_names.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_find_standard_names.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,67 +51,67 @@ class GsaFindStandardNames(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "names": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "names": "names", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - names: "Union[List[str], None, Unset_Type]" = Unset, + names: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaFindStandardNames - a model defined in Swagger Parameters ---------- - names: List[str], optional + names: list[str], optional """ - self._names: Union[List[str], None, Unset_Type] = Unset + self._names: Union[list[str], None, Unset_Type] = Unset if names is not Unset: self.names = names @property - def names(self) -> "Union[List[str], None, Unset_Type]": + def names(self) -> "Union[list[str], None, Unset_Type]": """Gets the names of this GsaFindStandardNames. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The names of this GsaFindStandardNames. """ return self._names @names.setter - def names(self, names: "Union[List[str], None, Unset_Type]") -> None: + def names(self, names: "Union[list[str], None, Unset_Type]") -> None: """Sets the names of this GsaFindStandardNames. Parameters ---------- - names: Union[List[str], None, Unset_Type] + names: Union[list[str], None, Unset_Type] The names of this GsaFindStandardNames. """ self._names = names @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation.py index fbde9adb..e53e8e6f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,28 +58,28 @@ class GsaFloatFunctionalAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "grid_graphs": "GsaFloatFunctionalGridGraphAggregation", "series_graphs": "GsaFloatFunctionalSeriesGraphAggregation", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "grid_graphs": "gridGraphs", "series_graphs": "seriesGraphs", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "seriesGraphs": "GsaFloatFunctionalSeriesGraphAggregation", "gridGraphs": "GsaFloatFunctionalGridGraphAggregation", } @@ -165,7 +165,7 @@ def grid_graphs( self._grid_graphs = grid_graphs @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation_datum_criterion.py index bfc17373..5ac98757 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,26 +58,26 @@ class GsaFloatFunctionalAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "number_of_parameter_values": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "number_of_parameter_values": "numberOfParameterValues", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def number_of_parameter_values( self._number_of_parameter_values = number_of_parameter_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute.py index 6b6986cf..090625a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaFloatFunctionalAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_parameters": "list[GsaFloatFunctionalAttributeParameter]", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_parameters": "attributeParameters", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -97,7 +97,7 @@ class GsaFloatFunctionalAttribute(GsaAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", "attributeParameters": "GsaFloatFunctionalAttributeParameter", } @@ -107,9 +107,9 @@ class GsaFloatFunctionalAttribute(GsaAttribute): def __init__( self, *, - attribute_parameters: "List[GsaFloatFunctionalAttributeParameter]", + attribute_parameters: "list[GsaFloatFunctionalAttributeParameter]", default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -126,9 +126,9 @@ def __init__( Parameters ---------- - attribute_parameters: List[GsaFloatFunctionalAttributeParameter] + attribute_parameters: list[GsaFloatFunctionalAttributeParameter] default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -155,7 +155,7 @@ def __init__( help_path=help_path, ) self._unit: Union[GsaSlimUnit, Unset_Type] = Unset - self._attribute_parameters: List[GsaFloatFunctionalAttributeParameter] + self._attribute_parameters: list[GsaFloatFunctionalAttributeParameter] self._is_range: bool if unit is not Unset: @@ -189,25 +189,25 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @property - def attribute_parameters(self) -> "List[GsaFloatFunctionalAttributeParameter]": + def attribute_parameters(self) -> "list[GsaFloatFunctionalAttributeParameter]": """Gets the attribute_parameters of this GsaFloatFunctionalAttribute. Returns ------- - List[GsaFloatFunctionalAttributeParameter] + list[GsaFloatFunctionalAttributeParameter] The attribute_parameters of this GsaFloatFunctionalAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "List[GsaFloatFunctionalAttributeParameter]" + self, attribute_parameters: "list[GsaFloatFunctionalAttributeParameter]" ) -> None: """Sets the attribute_parameters of this GsaFloatFunctionalAttribute. Parameters ---------- - attribute_parameters: List[GsaFloatFunctionalAttributeParameter] + attribute_parameters: list[GsaFloatFunctionalAttributeParameter] The attribute_parameters of this GsaFloatFunctionalAttribute. """ # Field is not nullable @@ -247,7 +247,7 @@ def is_range(self, is_range: "bool") -> None: self._is_range = is_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_discrete_parameter.py index bf101e2a..3a4810bc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_float_functional_attribute_parameter import ( # noqa: F401 GsaFloatFunctionalAttributeParameter, @@ -56,28 +56,28 @@ class GsaFloatFunctionalAttributeDiscreteParameter(GsaFloatFunctionalAttributePa """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", "default_value": "GsaSlimNamedEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultValue": "GsaSlimNamedEntity", } @@ -130,7 +130,7 @@ def default_value(self, default_value: "Union[GsaSlimNamedEntity, Unset_Type]") self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_numeric_parameter.py index bb63d2da..126becd9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_float_functional_attribute_parameter import ( # noqa: F401 GsaFloatFunctionalAttributeParameter, @@ -56,16 +56,16 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", "default_value": "float", @@ -73,7 +73,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar "scale_type": "GsaAttributeScaleType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "default_value": "defaultValue", @@ -81,7 +81,7 @@ class GsaFloatFunctionalAttributeNumericParameter(GsaFloatFunctionalAttributePar "scale_type": "scaleType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "interpolationMethod": "GsaAttributeInterpolationMethod", "scaleType": "GsaAttributeScaleType", } @@ -194,7 +194,7 @@ def scale_type(self, scale_type: "Union[GsaAttributeScaleType, Unset_Type]") -> self._scale_type = scale_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_parameter.py index a4ab7463..4dcc8ec5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_attribute_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaFloatFunctionalAttributeParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", "parameter": "GsaSlimNamedEntity", } @@ -160,7 +160,7 @@ def parameter(self, parameter: "GsaSlimNamedEntity") -> None: self._parameter = parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum.py index f752d59e..533cf84c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,18 +56,18 @@ class GsaFloatFunctionalDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "estimated": "bool", "graph_type": "GsaGraphType", @@ -79,7 +79,7 @@ class GsaFloatFunctionalDatum(GsaApplicableDatum): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "estimated": "estimated", "graph_type": "graphType", @@ -91,7 +91,7 @@ class GsaFloatFunctionalDatum(GsaApplicableDatum): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "graphType": "GsaGraphType", "unit": "GsaSlimUnit", "parameterSettings": "GsaFunctionalParameterSetting", @@ -113,7 +113,7 @@ def __init__( is_range: "bool", log_scale_on_y_axis: "bool", not_applicable: "str" = "applicable", - parameter_settings: "List[GsaFunctionalParameterSetting]", + parameter_settings: "list[GsaFunctionalParameterSetting]", show_as_table: "bool", unit: "Union[GsaSlimUnit, Unset_Type]" = Unset, ) -> None: @@ -127,7 +127,7 @@ def __init__( is_range: bool log_scale_on_y_axis: bool not_applicable: str - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] show_as_table: bool unit: GsaSlimUnit, optional """ @@ -138,7 +138,7 @@ def __init__( self._show_as_table: bool self._is_range: bool self._unit: Union[GsaSlimUnit, Unset_Type] = Unset - self._parameter_settings: List[GsaFunctionalParameterSetting] + self._parameter_settings: list[GsaFunctionalParameterSetting] self.graph_type = graph_type self.log_scale_on_y_axis = log_scale_on_y_axis @@ -315,23 +315,23 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @property - def parameter_settings(self) -> "List[GsaFunctionalParameterSetting]": + def parameter_settings(self) -> "list[GsaFunctionalParameterSetting]": """Gets the parameter_settings of this GsaFloatFunctionalDatum. Returns ------- - List[GsaFunctionalParameterSetting] + list[GsaFunctionalParameterSetting] The parameter_settings of this GsaFloatFunctionalDatum. """ return self._parameter_settings @parameter_settings.setter - def parameter_settings(self, parameter_settings: "List[GsaFunctionalParameterSetting]") -> None: + def parameter_settings(self, parameter_settings: "list[GsaFunctionalParameterSetting]") -> None: """Sets the parameter_settings of this GsaFloatFunctionalDatum. Parameters ---------- - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] The parameter_settings of this GsaFloatFunctionalDatum. """ # Field is not nullable @@ -343,7 +343,7 @@ def parameter_settings(self, parameter_settings: "List[GsaFunctionalParameterSet self._parameter_settings = parameter_settings @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_criterion.py index cea090c0..5726a900 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,30 +56,30 @@ class GsaFloatFunctionalDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "constraints": "list[GsaParameterConstraint]", "gte": "float", "lte": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "constraints": "constraints", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterConstraint", } @@ -89,7 +89,7 @@ def __init__( self, *, type: "GsaDatumCriterionType" = GsaDatumCriterionType.FLOATFUNCTIONALDATA, - constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" = Unset, + constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" = Unset, gte: "Union[float, None, Unset_Type]" = Unset, lte: "Union[float, None, Unset_Type]" = Unset, ) -> None: @@ -98,14 +98,14 @@ def __init__( Parameters ---------- type: GsaDatumCriterionType - constraints: List[GsaParameterConstraint], optional + constraints: list[GsaParameterConstraint], optional gte: float, optional lte: float, optional """ super().__init__(type=type) self._gte: Union[float, None, Unset_Type] = Unset self._lte: Union[float, None, Unset_Type] = Unset - self._constraints: Union[List[GsaParameterConstraint], None, Unset_Type] = Unset + self._constraints: Union[list[GsaParameterConstraint], None, Unset_Type] = Unset if gte is not Unset: self.gte = gte @@ -163,33 +163,33 @@ def lte(self, lte: "Union[float, None, Unset_Type]") -> None: self._lte = lte @property - def constraints(self) -> "Union[List[GsaParameterConstraint], None, Unset_Type]": + def constraints(self) -> "Union[list[GsaParameterConstraint], None, Unset_Type]": """Gets the constraints of this GsaFloatFunctionalDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. Returns ------- - Union[List[GsaParameterConstraint], None, Unset_Type] + Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaFloatFunctionalDatumCriterion. """ return self._constraints @constraints.setter def constraints( - self, constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" + self, constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GsaFloatFunctionalDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. Parameters ---------- - constraints: Union[List[GsaParameterConstraint], None, Unset_Type] + constraints: Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaFloatFunctionalDatumCriterion. """ self._constraints = constraints @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_exists_criterion.py index 86f64bf2..f18be2ad 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaFloatFunctionalDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_graph_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_graph_datum_criterion.py index a323a079..aa200bc7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_graph_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_graph_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,16 +56,16 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "default_x_axis_parameter_guid": "str", "default_x_axis_parameter_identity": "int", @@ -79,7 +79,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion): "x_axis_parameter_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "default_x_axis_parameter_guid": "defaultXAxisParameterGuid", "default_x_axis_parameter_identity": "defaultXAxisParameterIdentity", @@ -93,7 +93,7 @@ class GsaFloatFunctionalGraphDatumCriterion(GsaDatumCriterion): "x_axis_parameter_identity": "xAxisParameterIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -408,7 +408,7 @@ def is_series_graph(self, is_series_graph: "Union[bool, None, Unset_Type]") -> N self._is_series_graph = is_series_graph @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_datum.py index 4f02bd1b..e3424a51 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_type import GsaDatumType from ansys.grantami.serverapi_openapi.models.gsa_float_functional_datum import ( # noqa: F401 @@ -57,16 +57,16 @@ class GsaFloatFunctionalGridDatum(GsaFloatFunctionalDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "estimated": "bool", "graph": "GsaFloatGridGraph", @@ -79,7 +79,7 @@ class GsaFloatFunctionalGridDatum(GsaFloatFunctionalDatum): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "estimated": "estimated", "graph": "graph", @@ -92,7 +92,7 @@ class GsaFloatFunctionalGridDatum(GsaFloatFunctionalDatum): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "graph": "GsaFloatGridGraph", } @@ -108,7 +108,7 @@ def __init__( is_range: "bool", log_scale_on_y_axis: "bool", not_applicable: "str" = "applicable", - parameter_settings: "List[GsaFunctionalParameterSetting]", + parameter_settings: "list[GsaFunctionalParameterSetting]", show_as_table: "bool", unit: "Union[GsaSlimUnit, Unset_Type]" = Unset, ) -> None: @@ -123,7 +123,7 @@ def __init__( is_range: bool log_scale_on_y_axis: bool not_applicable: str - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] show_as_table: bool unit: GsaSlimUnit, optional """ @@ -171,7 +171,7 @@ def graph(self, graph: "GsaFloatGridGraph") -> None: self._graph = graph @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_graph_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_graph_aggregation.py index 4c528fae..6f6678dc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_graph_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_grid_graph_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaFloatFunctionalGridGraphAggregation(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "default_x_axis_parameter_guid_values": "list[GsaValueWithCountOfGuid]", "default_x_axis_parameter_identity_values": "list[GsaValueWithCountOfInt32]", @@ -69,7 +69,7 @@ class GsaFloatFunctionalGridGraphAggregation(ModelBase): "show_as_table_values": "list[GsaValueWithCountOfBoolean]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "default_x_axis_parameter_guid_values": "defaultXAxisParameterGuidValues", "default_x_axis_parameter_identity_values": "defaultXAxisParameterIdentityValues", @@ -78,7 +78,7 @@ class GsaFloatFunctionalGridGraphAggregation(ModelBase): "show_as_table_values": "showAsTableValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultXAxisParameterIdentityValues": "GsaValueWithCountOfInt32", "defaultXAxisParameterGuidValues": "GsaValueWithCountOfGuid", "showAsTableValues": "GsaValueWithCountOfBoolean", @@ -90,30 +90,30 @@ def __init__( self, *, count: "Union[int, Unset_Type]" = Unset, - default_x_axis_parameter_guid_values: "Union[List[GsaValueWithCountOfGuid], None, Unset_Type]" = Unset, - default_x_axis_parameter_identity_values: "Union[List[GsaValueWithCountOfInt32], None, Unset_Type]" = Unset, + default_x_axis_parameter_guid_values: "Union[list[GsaValueWithCountOfGuid], None, Unset_Type]" = Unset, + default_x_axis_parameter_identity_values: "Union[list[GsaValueWithCountOfInt32], None, Unset_Type]" = Unset, maximum_number_of_points: "Union[int, None, Unset_Type]" = Unset, minimum_number_of_points: "Union[int, None, Unset_Type]" = Unset, - show_as_table_values: "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]" = Unset, + show_as_table_values: "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]" = Unset, ) -> None: """GsaFloatFunctionalGridGraphAggregation - a model defined in Swagger Parameters ---------- count: int, optional - default_x_axis_parameter_guid_values: List[GsaValueWithCountOfGuid], optional - default_x_axis_parameter_identity_values: List[GsaValueWithCountOfInt32], optional + default_x_axis_parameter_guid_values: list[GsaValueWithCountOfGuid], optional + default_x_axis_parameter_identity_values: list[GsaValueWithCountOfInt32], optional maximum_number_of_points: int, optional minimum_number_of_points: int, optional - show_as_table_values: List[GsaValueWithCountOfBoolean], optional + show_as_table_values: list[GsaValueWithCountOfBoolean], optional """ self._default_x_axis_parameter_identity_values: Union[ - List[GsaValueWithCountOfInt32], None, Unset_Type + list[GsaValueWithCountOfInt32], None, Unset_Type ] = Unset self._default_x_axis_parameter_guid_values: Union[ - List[GsaValueWithCountOfGuid], None, Unset_Type + list[GsaValueWithCountOfGuid], None, Unset_Type ] = Unset - self._show_as_table_values: Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] = ( + self._show_as_table_values: Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] = ( Unset ) self._minimum_number_of_points: Union[int, None, Unset_Type] = Unset @@ -136,12 +136,12 @@ def __init__( @property def default_x_axis_parameter_identity_values( self, - ) -> "Union[List[GsaValueWithCountOfInt32], None, Unset_Type]": + ) -> "Union[list[GsaValueWithCountOfInt32], None, Unset_Type]": """Gets the default_x_axis_parameter_identity_values of this GsaFloatFunctionalGridGraphAggregation. Returns ------- - Union[List[GsaValueWithCountOfInt32], None, Unset_Type] + Union[list[GsaValueWithCountOfInt32], None, Unset_Type] The default_x_axis_parameter_identity_values of this GsaFloatFunctionalGridGraphAggregation. """ return self._default_x_axis_parameter_identity_values @@ -149,13 +149,13 @@ def default_x_axis_parameter_identity_values( @default_x_axis_parameter_identity_values.setter def default_x_axis_parameter_identity_values( self, - default_x_axis_parameter_identity_values: "Union[List[GsaValueWithCountOfInt32], None, Unset_Type]", + default_x_axis_parameter_identity_values: "Union[list[GsaValueWithCountOfInt32], None, Unset_Type]", ) -> None: """Sets the default_x_axis_parameter_identity_values of this GsaFloatFunctionalGridGraphAggregation. Parameters ---------- - default_x_axis_parameter_identity_values: Union[List[GsaValueWithCountOfInt32], None, Unset_Type] + default_x_axis_parameter_identity_values: Union[list[GsaValueWithCountOfInt32], None, Unset_Type] The default_x_axis_parameter_identity_values of this GsaFloatFunctionalGridGraphAggregation. """ self._default_x_axis_parameter_identity_values = default_x_axis_parameter_identity_values @@ -163,12 +163,12 @@ def default_x_axis_parameter_identity_values( @property def default_x_axis_parameter_guid_values( self, - ) -> "Union[List[GsaValueWithCountOfGuid], None, Unset_Type]": + ) -> "Union[list[GsaValueWithCountOfGuid], None, Unset_Type]": """Gets the default_x_axis_parameter_guid_values of this GsaFloatFunctionalGridGraphAggregation. Returns ------- - Union[List[GsaValueWithCountOfGuid], None, Unset_Type] + Union[list[GsaValueWithCountOfGuid], None, Unset_Type] The default_x_axis_parameter_guid_values of this GsaFloatFunctionalGridGraphAggregation. """ return self._default_x_axis_parameter_guid_values @@ -176,37 +176,37 @@ def default_x_axis_parameter_guid_values( @default_x_axis_parameter_guid_values.setter def default_x_axis_parameter_guid_values( self, - default_x_axis_parameter_guid_values: "Union[List[GsaValueWithCountOfGuid], None, Unset_Type]", + default_x_axis_parameter_guid_values: "Union[list[GsaValueWithCountOfGuid], None, Unset_Type]", ) -> None: """Sets the default_x_axis_parameter_guid_values of this GsaFloatFunctionalGridGraphAggregation. Parameters ---------- - default_x_axis_parameter_guid_values: Union[List[GsaValueWithCountOfGuid], None, Unset_Type] + default_x_axis_parameter_guid_values: Union[list[GsaValueWithCountOfGuid], None, Unset_Type] The default_x_axis_parameter_guid_values of this GsaFloatFunctionalGridGraphAggregation. """ self._default_x_axis_parameter_guid_values = default_x_axis_parameter_guid_values @property - def show_as_table_values(self) -> "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]": + def show_as_table_values(self) -> "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]": """Gets the show_as_table_values of this GsaFloatFunctionalGridGraphAggregation. Returns ------- - Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] + Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] The show_as_table_values of this GsaFloatFunctionalGridGraphAggregation. """ return self._show_as_table_values @show_as_table_values.setter def show_as_table_values( - self, show_as_table_values: "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]" + self, show_as_table_values: "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]" ) -> None: """Sets the show_as_table_values of this GsaFloatFunctionalGridGraphAggregation. Parameters ---------- - show_as_table_values: Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] + show_as_table_values: Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] The show_as_table_values of this GsaFloatFunctionalGridGraphAggregation. """ self._show_as_table_values = show_as_table_values @@ -287,7 +287,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_datum.py index 5ddff4b3..2d1449eb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_type import GsaDatumType from ansys.grantami.serverapi_openapi.models.gsa_float_functional_datum import ( # noqa: F401 @@ -57,16 +57,16 @@ class GsaFloatFunctionalSeriesDatum(GsaFloatFunctionalDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "estimated": "bool", "graph": "GsaFloatSeriesGraph", @@ -79,7 +79,7 @@ class GsaFloatFunctionalSeriesDatum(GsaFloatFunctionalDatum): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "estimated": "estimated", "graph": "graph", @@ -92,7 +92,7 @@ class GsaFloatFunctionalSeriesDatum(GsaFloatFunctionalDatum): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "graph": "GsaFloatSeriesGraph", } @@ -108,7 +108,7 @@ def __init__( is_range: "bool", log_scale_on_y_axis: "bool", not_applicable: "str" = "applicable", - parameter_settings: "List[GsaFunctionalParameterSetting]", + parameter_settings: "list[GsaFunctionalParameterSetting]", show_as_table: "bool", unit: "Union[GsaSlimUnit, Unset_Type]" = Unset, ) -> None: @@ -123,7 +123,7 @@ def __init__( is_range: bool log_scale_on_y_axis: bool not_applicable: str - parameter_settings: List[GsaFunctionalParameterSetting] + parameter_settings: list[GsaFunctionalParameterSetting] show_as_table: bool unit: GsaSlimUnit, optional """ @@ -171,7 +171,7 @@ def graph(self, graph: "GsaFloatSeriesGraph") -> None: self._graph = graph @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_graph_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_graph_aggregation.py index b199982e..6d88b640 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_graph_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_functional_series_graph_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaFloatFunctionalSeriesGraphAggregation(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "maximum_number_of_series": "int", "minimum_number_of_series": "int", @@ -69,7 +69,7 @@ class GsaFloatFunctionalSeriesGraphAggregation(ModelBase): "x_axis_parameter_identity_values": "list[GsaValueWithCountOfInt32]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "maximum_number_of_series": "maximumNumberOfSeries", "minimum_number_of_series": "minimumNumberOfSeries", @@ -78,7 +78,7 @@ class GsaFloatFunctionalSeriesGraphAggregation(ModelBase): "x_axis_parameter_identity_values": "xAxisParameterIdentityValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "xAxisParameterIdentityValues": "GsaValueWithCountOfInt32", "xAxisParameterGuidValues": "GsaValueWithCountOfGuid", "showAsTableValues": "GsaValueWithCountOfBoolean", @@ -92,9 +92,9 @@ def __init__( count: "Union[int, Unset_Type]" = Unset, maximum_number_of_series: "Union[int, None, Unset_Type]" = Unset, minimum_number_of_series: "Union[int, None, Unset_Type]" = Unset, - show_as_table_values: "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]" = Unset, - x_axis_parameter_guid_values: "Union[List[GsaValueWithCountOfGuid], None, Unset_Type]" = Unset, - x_axis_parameter_identity_values: "Union[List[GsaValueWithCountOfInt32], None, Unset_Type]" = Unset, + show_as_table_values: "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]" = Unset, + x_axis_parameter_guid_values: "Union[list[GsaValueWithCountOfGuid], None, Unset_Type]" = Unset, + x_axis_parameter_identity_values: "Union[list[GsaValueWithCountOfInt32], None, Unset_Type]" = Unset, ) -> None: """GsaFloatFunctionalSeriesGraphAggregation - a model defined in Swagger @@ -103,17 +103,17 @@ def __init__( count: int, optional maximum_number_of_series: int, optional minimum_number_of_series: int, optional - show_as_table_values: List[GsaValueWithCountOfBoolean], optional - x_axis_parameter_guid_values: List[GsaValueWithCountOfGuid], optional - x_axis_parameter_identity_values: List[GsaValueWithCountOfInt32], optional + show_as_table_values: list[GsaValueWithCountOfBoolean], optional + x_axis_parameter_guid_values: list[GsaValueWithCountOfGuid], optional + x_axis_parameter_identity_values: list[GsaValueWithCountOfInt32], optional """ self._x_axis_parameter_identity_values: Union[ - List[GsaValueWithCountOfInt32], None, Unset_Type + list[GsaValueWithCountOfInt32], None, Unset_Type ] = Unset self._x_axis_parameter_guid_values: Union[ - List[GsaValueWithCountOfGuid], None, Unset_Type + list[GsaValueWithCountOfGuid], None, Unset_Type ] = Unset - self._show_as_table_values: Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] = ( + self._show_as_table_values: Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] = ( Unset ) self._minimum_number_of_series: Union[int, None, Unset_Type] = Unset @@ -136,12 +136,12 @@ def __init__( @property def x_axis_parameter_identity_values( self, - ) -> "Union[List[GsaValueWithCountOfInt32], None, Unset_Type]": + ) -> "Union[list[GsaValueWithCountOfInt32], None, Unset_Type]": """Gets the x_axis_parameter_identity_values of this GsaFloatFunctionalSeriesGraphAggregation. Returns ------- - Union[List[GsaValueWithCountOfInt32], None, Unset_Type] + Union[list[GsaValueWithCountOfInt32], None, Unset_Type] The x_axis_parameter_identity_values of this GsaFloatFunctionalSeriesGraphAggregation. """ return self._x_axis_parameter_identity_values @@ -149,13 +149,13 @@ def x_axis_parameter_identity_values( @x_axis_parameter_identity_values.setter def x_axis_parameter_identity_values( self, - x_axis_parameter_identity_values: "Union[List[GsaValueWithCountOfInt32], None, Unset_Type]", + x_axis_parameter_identity_values: "Union[list[GsaValueWithCountOfInt32], None, Unset_Type]", ) -> None: """Sets the x_axis_parameter_identity_values of this GsaFloatFunctionalSeriesGraphAggregation. Parameters ---------- - x_axis_parameter_identity_values: Union[List[GsaValueWithCountOfInt32], None, Unset_Type] + x_axis_parameter_identity_values: Union[list[GsaValueWithCountOfInt32], None, Unset_Type] The x_axis_parameter_identity_values of this GsaFloatFunctionalSeriesGraphAggregation. """ self._x_axis_parameter_identity_values = x_axis_parameter_identity_values @@ -163,49 +163,49 @@ def x_axis_parameter_identity_values( @property def x_axis_parameter_guid_values( self, - ) -> "Union[List[GsaValueWithCountOfGuid], None, Unset_Type]": + ) -> "Union[list[GsaValueWithCountOfGuid], None, Unset_Type]": """Gets the x_axis_parameter_guid_values of this GsaFloatFunctionalSeriesGraphAggregation. Returns ------- - Union[List[GsaValueWithCountOfGuid], None, Unset_Type] + Union[list[GsaValueWithCountOfGuid], None, Unset_Type] The x_axis_parameter_guid_values of this GsaFloatFunctionalSeriesGraphAggregation. """ return self._x_axis_parameter_guid_values @x_axis_parameter_guid_values.setter def x_axis_parameter_guid_values( - self, x_axis_parameter_guid_values: "Union[List[GsaValueWithCountOfGuid], None, Unset_Type]" + self, x_axis_parameter_guid_values: "Union[list[GsaValueWithCountOfGuid], None, Unset_Type]" ) -> None: """Sets the x_axis_parameter_guid_values of this GsaFloatFunctionalSeriesGraphAggregation. Parameters ---------- - x_axis_parameter_guid_values: Union[List[GsaValueWithCountOfGuid], None, Unset_Type] + x_axis_parameter_guid_values: Union[list[GsaValueWithCountOfGuid], None, Unset_Type] The x_axis_parameter_guid_values of this GsaFloatFunctionalSeriesGraphAggregation. """ self._x_axis_parameter_guid_values = x_axis_parameter_guid_values @property - def show_as_table_values(self) -> "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]": + def show_as_table_values(self) -> "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]": """Gets the show_as_table_values of this GsaFloatFunctionalSeriesGraphAggregation. Returns ------- - Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] + Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] The show_as_table_values of this GsaFloatFunctionalSeriesGraphAggregation. """ return self._show_as_table_values @show_as_table_values.setter def show_as_table_values( - self, show_as_table_values: "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]" + self, show_as_table_values: "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]" ) -> None: """Sets the show_as_table_values of this GsaFloatFunctionalSeriesGraphAggregation. Parameters ---------- - show_as_table_values: Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] + show_as_table_values: Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] The show_as_table_values of this GsaFloatFunctionalSeriesGraphAggregation. """ self._show_as_table_values = show_as_table_values @@ -286,7 +286,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_graph.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_graph.py index 67f6c38b..82abe7ef 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_graph.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_graph.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_functional_type import GsaFunctionalType from ansys.grantami.serverapi_openapi.models.gsa_graph_type import GsaGraphType @@ -55,16 +55,16 @@ class GsaFloatGridGraph(GsaGridGraph): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "all_parameters": "list[GsaSlimParameter]", "default_x_axis_parameter": "GsaSlimParameter", "functional_type": "GsaFunctionalType", @@ -72,7 +72,7 @@ class GsaFloatGridGraph(GsaGridGraph): "points": "list[GsaFloatGridPoint]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "all_parameters": "allParameters", "default_x_axis_parameter": "defaultXAxisParameter", "functional_type": "functionalType", @@ -80,7 +80,7 @@ class GsaFloatGridGraph(GsaGridGraph): "points": "points", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "points": "GsaFloatGridPoint", } @@ -89,21 +89,21 @@ class GsaFloatGridGraph(GsaGridGraph): def __init__( self, *, - all_parameters: "List[GsaSlimParameter]", + all_parameters: "list[GsaSlimParameter]", default_x_axis_parameter: "GsaSlimParameter", functional_type: "GsaFunctionalType" = GsaFunctionalType.FLOAT, graph_type: "GsaGraphType" = GsaGraphType.GRID, - points: "List[GsaFloatGridPoint]", + points: "list[GsaFloatGridPoint]", ) -> None: """GsaFloatGridGraph - a model defined in Swagger Parameters ---------- - all_parameters: List[GsaSlimParameter] + all_parameters: list[GsaSlimParameter] default_x_axis_parameter: GsaSlimParameter functional_type: GsaFunctionalType graph_type: GsaGraphType - points: List[GsaFloatGridPoint] + points: list[GsaFloatGridPoint] """ super().__init__( all_parameters=all_parameters, @@ -111,28 +111,28 @@ def __init__( functional_type=functional_type, graph_type=graph_type, ) - self._points: List[GsaFloatGridPoint] + self._points: list[GsaFloatGridPoint] self.points = points @property - def points(self) -> "List[GsaFloatGridPoint]": + def points(self) -> "list[GsaFloatGridPoint]": """Gets the points of this GsaFloatGridGraph. Returns ------- - List[GsaFloatGridPoint] + list[GsaFloatGridPoint] The points of this GsaFloatGridGraph. """ return self._points @points.setter - def points(self, points: "List[GsaFloatGridPoint]") -> None: + def points(self, points: "list[GsaFloatGridPoint]") -> None: """Sets the points of this GsaFloatGridGraph. Parameters ---------- - points: List[GsaFloatGridPoint] + points: list[GsaFloatGridPoint] The points of this GsaFloatGridGraph. """ # Field is not nullable @@ -144,7 +144,7 @@ def points(self, points: "List[GsaFloatGridPoint]") -> None: self._points = points @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_point.py index 9b615ef9..ecf9d11e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_grid_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaFloatGridPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constraints": "list[GsaParameterWithDataValue]", "estimated": "bool", "high_value": "float", "low_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constraints": "constraints", "estimated": "estimated", "high_value": "highValue", "low_value": "lowValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterWithDataValue", } @@ -83,7 +83,7 @@ class GsaFloatGridPoint(ModelBase): def __init__( self, *, - constraints: "List[GsaParameterWithDataValue]", + constraints: "list[GsaParameterWithDataValue]", estimated: "bool", high_value: "float", low_value: "float", @@ -92,12 +92,12 @@ def __init__( Parameters ---------- - constraints: List[GsaParameterWithDataValue] + constraints: list[GsaParameterWithDataValue] estimated: bool high_value: float low_value: float """ - self._constraints: List[GsaParameterWithDataValue] + self._constraints: list[GsaParameterWithDataValue] self._low_value: float self._high_value: float self._estimated: bool @@ -108,23 +108,23 @@ def __init__( self.estimated = estimated @property - def constraints(self) -> "List[GsaParameterWithDataValue]": + def constraints(self) -> "list[GsaParameterWithDataValue]": """Gets the constraints of this GsaFloatGridPoint. Returns ------- - List[GsaParameterWithDataValue] + list[GsaParameterWithDataValue] The constraints of this GsaFloatGridPoint. """ return self._constraints @constraints.setter - def constraints(self, constraints: "List[GsaParameterWithDataValue]") -> None: + def constraints(self, constraints: "list[GsaParameterWithDataValue]") -> None: """Sets the constraints of this GsaFloatGridPoint. Parameters ---------- - constraints: List[GsaParameterWithDataValue] + constraints: list[GsaParameterWithDataValue] The constraints of this GsaFloatGridPoint. """ # Field is not nullable @@ -220,7 +220,7 @@ def estimated(self, estimated: "bool") -> None: self._estimated = estimated @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series.py index 741ca5e9..fd2db1bb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaFloatSeries(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constraints": "list[GsaParameterWithDataValue]", "graph_decoration": "GsaGraphDecorationType", "points": "list[GsaFloatSeriesPoint]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constraints": "constraints", "graph_decoration": "graphDecoration", "points": "points", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterWithDataValue", "points": "GsaFloatSeriesPoint", "graphDecoration": "GsaGraphDecorationType", @@ -83,20 +83,20 @@ class GsaFloatSeries(ModelBase): def __init__( self, *, - constraints: "List[GsaParameterWithDataValue]", + constraints: "list[GsaParameterWithDataValue]", graph_decoration: "GsaGraphDecorationType", - points: "List[GsaFloatSeriesPoint]", + points: "list[GsaFloatSeriesPoint]", ) -> None: """GsaFloatSeries - a model defined in Swagger Parameters ---------- - constraints: List[GsaParameterWithDataValue] + constraints: list[GsaParameterWithDataValue] graph_decoration: GsaGraphDecorationType - points: List[GsaFloatSeriesPoint] + points: list[GsaFloatSeriesPoint] """ - self._constraints: List[GsaParameterWithDataValue] - self._points: List[GsaFloatSeriesPoint] + self._constraints: list[GsaParameterWithDataValue] + self._points: list[GsaFloatSeriesPoint] self._graph_decoration: GsaGraphDecorationType self.constraints = constraints @@ -104,23 +104,23 @@ def __init__( self.graph_decoration = graph_decoration @property - def constraints(self) -> "List[GsaParameterWithDataValue]": + def constraints(self) -> "list[GsaParameterWithDataValue]": """Gets the constraints of this GsaFloatSeries. Returns ------- - List[GsaParameterWithDataValue] + list[GsaParameterWithDataValue] The constraints of this GsaFloatSeries. """ return self._constraints @constraints.setter - def constraints(self, constraints: "List[GsaParameterWithDataValue]") -> None: + def constraints(self, constraints: "list[GsaParameterWithDataValue]") -> None: """Sets the constraints of this GsaFloatSeries. Parameters ---------- - constraints: List[GsaParameterWithDataValue] + constraints: list[GsaParameterWithDataValue] The constraints of this GsaFloatSeries. """ # Field is not nullable @@ -132,23 +132,23 @@ def constraints(self, constraints: "List[GsaParameterWithDataValue]") -> None: self._constraints = constraints @property - def points(self) -> "List[GsaFloatSeriesPoint]": + def points(self) -> "list[GsaFloatSeriesPoint]": """Gets the points of this GsaFloatSeries. Returns ------- - List[GsaFloatSeriesPoint] + list[GsaFloatSeriesPoint] The points of this GsaFloatSeries. """ return self._points @points.setter - def points(self, points: "List[GsaFloatSeriesPoint]") -> None: + def points(self, points: "list[GsaFloatSeriesPoint]") -> None: """Sets the points of this GsaFloatSeries. Parameters ---------- - points: List[GsaFloatSeriesPoint] + points: list[GsaFloatSeriesPoint] The points of this GsaFloatSeries. """ # Field is not nullable @@ -188,7 +188,7 @@ def graph_decoration(self, graph_decoration: "GsaGraphDecorationType") -> None: self._graph_decoration = graph_decoration @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_graph.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_graph.py index 60f51333..014d58b4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_graph.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_graph.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_functional_type import GsaFunctionalType from ansys.grantami.serverapi_openapi.models.gsa_graph_type import GsaGraphType @@ -55,16 +55,16 @@ class GsaFloatSeriesGraph(GsaSeriesGraph): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constraint_parameters": "list[GsaSlimParameter]", "functional_type": "GsaFunctionalType", "graph_type": "GsaGraphType", @@ -73,7 +73,7 @@ class GsaFloatSeriesGraph(GsaSeriesGraph): "x_axis_parameter": "GsaSlimParameter", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constraint_parameters": "constraintParameters", "functional_type": "functionalType", "graph_type": "graphType", @@ -82,7 +82,7 @@ class GsaFloatSeriesGraph(GsaSeriesGraph): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "series": "GsaFloatSeries", } @@ -91,22 +91,22 @@ class GsaFloatSeriesGraph(GsaSeriesGraph): def __init__( self, *, - constraint_parameters: "List[GsaSlimParameter]", + constraint_parameters: "list[GsaSlimParameter]", functional_type: "GsaFunctionalType" = GsaFunctionalType.FLOAT, graph_type: "GsaGraphType" = GsaGraphType.SERIES, number_of_points: "int", - series: "List[GsaFloatSeries]", + series: "list[GsaFloatSeries]", x_axis_parameter: "GsaSlimParameter", ) -> None: """GsaFloatSeriesGraph - a model defined in Swagger Parameters ---------- - constraint_parameters: List[GsaSlimParameter] + constraint_parameters: list[GsaSlimParameter] functional_type: GsaFunctionalType graph_type: GsaGraphType number_of_points: int - series: List[GsaFloatSeries] + series: list[GsaFloatSeries] x_axis_parameter: GsaSlimParameter """ super().__init__( @@ -116,28 +116,28 @@ def __init__( number_of_points=number_of_points, x_axis_parameter=x_axis_parameter, ) - self._series: List[GsaFloatSeries] + self._series: list[GsaFloatSeries] self.series = series @property - def series(self) -> "List[GsaFloatSeries]": + def series(self) -> "list[GsaFloatSeries]": """Gets the series of this GsaFloatSeriesGraph. Returns ------- - List[GsaFloatSeries] + list[GsaFloatSeries] The series of this GsaFloatSeriesGraph. """ return self._series @series.setter - def series(self, series: "List[GsaFloatSeries]") -> None: + def series(self, series: "list[GsaFloatSeries]") -> None: """Sets the series of this GsaFloatSeriesGraph. Parameters ---------- - series: List[GsaFloatSeries] + series: list[GsaFloatSeries] The series of this GsaFloatSeriesGraph. """ # Field is not nullable @@ -149,7 +149,7 @@ def series(self, series: "List[GsaFloatSeries]") -> None: self._series = series @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_point.py index 1813eb10..79009573 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_float_series_point.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaFloatSeriesPoint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "estimated": "bool", "x_value": "float", "y_high_value": "float", "y_low_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "estimated": "estimated", "x_value": "xValue", "y_high_value": "yHighValue", "y_low_value": "yLowValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -218,7 +218,7 @@ def estimated(self, estimated: "bool") -> None: self._estimated = estimated @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folder.py index 18b2509d..5ddad816 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folder.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaFolder(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "parent_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "parent_guid": "parentGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -179,7 +179,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folders_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folders_info.py index b858a54e..4ca77901 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folders_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_folders_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaFoldersInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "folders": "list[GsaFolder]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "folders": "folders", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "folders": "GsaFolder", } @@ -77,43 +77,43 @@ class GsaFoldersInfo(ModelBase): def __init__( self, *, - folders: "Union[List[GsaFolder], None, Unset_Type]" = Unset, + folders: "Union[list[GsaFolder], None, Unset_Type]" = Unset, ) -> None: """GsaFoldersInfo - a model defined in Swagger Parameters ---------- - folders: List[GsaFolder], optional + folders: list[GsaFolder], optional """ - self._folders: Union[List[GsaFolder], None, Unset_Type] = Unset + self._folders: Union[list[GsaFolder], None, Unset_Type] = Unset if folders is not Unset: self.folders = folders @property - def folders(self) -> "Union[List[GsaFolder], None, Unset_Type]": + def folders(self) -> "Union[list[GsaFolder], None, Unset_Type]": """Gets the folders of this GsaFoldersInfo. Returns ------- - Union[List[GsaFolder], None, Unset_Type] + Union[list[GsaFolder], None, Unset_Type] The folders of this GsaFoldersInfo. """ return self._folders @folders.setter - def folders(self, folders: "Union[List[GsaFolder], None, Unset_Type]") -> None: + def folders(self, folders: "Union[list[GsaFolder], None, Unset_Type]") -> None: """Sets the folders of this GsaFoldersInfo. Parameters ---------- - folders: Union[List[GsaFolder], None, Unset_Type] + folders: Union[list[GsaFolder], None, Unset_Type] The folders of this GsaFoldersInfo. """ self._folders = folders @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation.py index 3ca3be60..11853ba7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation import GsaAggregation # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_type import GsaAggregationType @@ -54,28 +54,28 @@ class GsaFreeTextAggregation(GsaAggregation): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationType", "guid": "str", "terms": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", "terms": "terms", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -84,7 +84,7 @@ def __init__( *, type: "GsaAggregationType" = GsaAggregationType.TEXT, guid: "Union[str, Unset_Type]" = Unset, - terms: "Union[List[str], None, Unset_Type]" = Unset, + terms: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaFreeTextAggregation - a model defined in Swagger @@ -92,11 +92,11 @@ def __init__( ---------- type: GsaAggregationType guid: str, optional - terms: List[str], optional + terms: list[str], optional """ super().__init__(type=type) self._guid: Union[str, Unset_Type] = Unset - self._terms: Union[List[str], None, Unset_Type] = Unset + self._terms: Union[list[str], None, Unset_Type] = Unset if guid is not Unset: self.guid = guid @@ -131,31 +131,31 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @property - def terms(self) -> "Union[List[str], None, Unset_Type]": + def terms(self) -> "Union[list[str], None, Unset_Type]": """Gets the terms of this GsaFreeTextAggregation. The topmost terms in the specified attributes, across all relevant records. Due to how matches in multiple attributes are reconciled, we cannot easily provide a document count, nor can we guarantee that the terms are perfectly correctly ordered. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The terms of this GsaFreeTextAggregation. """ return self._terms @terms.setter - def terms(self, terms: "Union[List[str], None, Unset_Type]") -> None: + def terms(self, terms: "Union[list[str], None, Unset_Type]") -> None: """Sets the terms of this GsaFreeTextAggregation. The topmost terms in the specified attributes, across all relevant records. Due to how matches in multiple attributes are reconciled, we cannot easily provide a document count, nor can we guarantee that the terms are perfectly correctly ordered. Parameters ---------- - terms: Union[List[str], None, Unset_Type] + terms: Union[list[str], None, Unset_Type] The terms of this GsaFreeTextAggregation. """ self._terms = terms @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation_criterion.py index 14295b6c..5105670f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_aggregation_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_criterion import ( # noqa: F401 GsaAggregationCriterion, @@ -56,16 +56,16 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationType", "attributes": "GsaValueSpecifier", "criterion_guid": "str", @@ -74,7 +74,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion): "prefix": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attributes": "attributes", "criterion_guid": "criterionGuid", @@ -83,7 +83,7 @@ class GsaFreeTextAggregationCriterion(GsaAggregationCriterion): "prefix": "prefix", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaValueSpecifier", "localColumns": "GsaValueSpecifier", } @@ -256,7 +256,7 @@ def local_columns(self, local_columns: "Union[GsaValueSpecifier, Unset_Type]") - self._local_columns = local_columns @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_criterion.py index aec768fa..b66f47c2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,16 +54,16 @@ class GsaFreeTextCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "attribute_guids_to_boost": "list[GsaBoostByGuid]", "attribute_identities_to_boost": "list[GsaBoostByIdentity]", @@ -74,7 +74,7 @@ class GsaFreeTextCriterion(GsaCriterion): "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_guids_to_boost": "attributeGuidsToBoost", "attribute_identities_to_boost": "attributeIdentitiesToBoost", @@ -85,7 +85,7 @@ class GsaFreeTextCriterion(GsaCriterion): "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaValueSpecifier", "localColumns": "GsaValueSpecifier", "attributeIdentitiesToBoost": "GsaBoostByIdentity", @@ -100,11 +100,11 @@ def __init__( self, *, type: "GsaCriterionType" = GsaCriterionType.TEXT, - attribute_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" = Unset, - attribute_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" = Unset, + attribute_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" = Unset, + attribute_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" = Unset, attributes: "Union[GsaValueSpecifier, Unset_Type]" = Unset, - column_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" = Unset, - column_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" = Unset, + column_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" = Unset, + column_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" = Unset, local_columns: "Union[GsaValueSpecifier, Unset_Type]" = Unset, value: "Union[str, None, Unset_Type]" = Unset, ) -> None: @@ -113,11 +113,11 @@ def __init__( Parameters ---------- type: GsaCriterionType - attribute_guids_to_boost: List[GsaBoostByGuid], optional - attribute_identities_to_boost: List[GsaBoostByIdentity], optional + attribute_guids_to_boost: list[GsaBoostByGuid], optional + attribute_identities_to_boost: list[GsaBoostByIdentity], optional attributes: GsaValueSpecifier, optional - column_guids_to_boost: List[GsaBoostByGuid], optional - column_identities_to_boost: List[GsaBoostByIdentity], optional + column_guids_to_boost: list[GsaBoostByGuid], optional + column_identities_to_boost: list[GsaBoostByIdentity], optional local_columns: GsaValueSpecifier, optional value: str, optional """ @@ -125,12 +125,12 @@ def __init__( self._value: Union[str, None, Unset_Type] = Unset self._attributes: Union[GsaValueSpecifier, Unset_Type] = Unset self._local_columns: Union[GsaValueSpecifier, Unset_Type] = Unset - self._attribute_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] = ( + self._attribute_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] = ( Unset ) - self._attribute_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] = Unset - self._column_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] = Unset - self._column_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] = Unset + self._attribute_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] = Unset + self._column_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] = Unset + self._column_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] = Unset if value is not Unset: self.value = value @@ -220,103 +220,103 @@ def local_columns(self, local_columns: "Union[GsaValueSpecifier, Unset_Type]") - self._local_columns = local_columns @property - def attribute_identities_to_boost(self) -> "Union[List[GsaBoostByIdentity], None, Unset_Type]": + def attribute_identities_to_boost(self) -> "Union[list[GsaBoostByIdentity], None, Unset_Type]": """Gets the attribute_identities_to_boost of this GsaFreeTextCriterion. Returns ------- - Union[List[GsaBoostByIdentity], None, Unset_Type] + Union[list[GsaBoostByIdentity], None, Unset_Type] The attribute_identities_to_boost of this GsaFreeTextCriterion. """ return self._attribute_identities_to_boost @attribute_identities_to_boost.setter def attribute_identities_to_boost( - self, attribute_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" + self, attribute_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" ) -> None: """Sets the attribute_identities_to_boost of this GsaFreeTextCriterion. Parameters ---------- - attribute_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] + attribute_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] The attribute_identities_to_boost of this GsaFreeTextCriterion. """ self._attribute_identities_to_boost = attribute_identities_to_boost @property - def attribute_guids_to_boost(self) -> "Union[List[GsaBoostByGuid], None, Unset_Type]": + def attribute_guids_to_boost(self) -> "Union[list[GsaBoostByGuid], None, Unset_Type]": """Gets the attribute_guids_to_boost of this GsaFreeTextCriterion. Returns ------- - Union[List[GsaBoostByGuid], None, Unset_Type] + Union[list[GsaBoostByGuid], None, Unset_Type] The attribute_guids_to_boost of this GsaFreeTextCriterion. """ return self._attribute_guids_to_boost @attribute_guids_to_boost.setter def attribute_guids_to_boost( - self, attribute_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" + self, attribute_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" ) -> None: """Sets the attribute_guids_to_boost of this GsaFreeTextCriterion. Parameters ---------- - attribute_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] + attribute_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] The attribute_guids_to_boost of this GsaFreeTextCriterion. """ self._attribute_guids_to_boost = attribute_guids_to_boost @property - def column_identities_to_boost(self) -> "Union[List[GsaBoostByIdentity], None, Unset_Type]": + def column_identities_to_boost(self) -> "Union[list[GsaBoostByIdentity], None, Unset_Type]": """Gets the column_identities_to_boost of this GsaFreeTextCriterion. Returns ------- - Union[List[GsaBoostByIdentity], None, Unset_Type] + Union[list[GsaBoostByIdentity], None, Unset_Type] The column_identities_to_boost of this GsaFreeTextCriterion. """ return self._column_identities_to_boost @column_identities_to_boost.setter def column_identities_to_boost( - self, column_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" + self, column_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" ) -> None: """Sets the column_identities_to_boost of this GsaFreeTextCriterion. Parameters ---------- - column_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] + column_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] The column_identities_to_boost of this GsaFreeTextCriterion. """ self._column_identities_to_boost = column_identities_to_boost @property - def column_guids_to_boost(self) -> "Union[List[GsaBoostByGuid], None, Unset_Type]": + def column_guids_to_boost(self) -> "Union[list[GsaBoostByGuid], None, Unset_Type]": """Gets the column_guids_to_boost of this GsaFreeTextCriterion. Returns ------- - Union[List[GsaBoostByGuid], None, Unset_Type] + Union[list[GsaBoostByGuid], None, Unset_Type] The column_guids_to_boost of this GsaFreeTextCriterion. """ return self._column_guids_to_boost @column_guids_to_boost.setter def column_guids_to_boost( - self, column_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" + self, column_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" ) -> None: """Sets the column_guids_to_boost of this GsaFreeTextCriterion. Parameters ---------- - column_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] + column_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] The column_guids_to_boost of this GsaFreeTextCriterion. """ self._column_guids_to_boost = column_guids_to_boost @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_prefix_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_prefix_criterion.py index c30414a7..a54654cd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_prefix_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_free_text_prefix_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,16 +54,16 @@ class GsaFreeTextPrefixCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "prefix": "str", "type": "GsaCriterionType", "attribute_guids_to_boost": "list[GsaBoostByGuid]", @@ -74,7 +74,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion): "local_columns": "GsaValueSpecifier", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "prefix": "prefix", "type": "type", "attribute_guids_to_boost": "attributeGuidsToBoost", @@ -85,7 +85,7 @@ class GsaFreeTextPrefixCriterion(GsaCriterion): "local_columns": "localColumns", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaValueSpecifier", "localColumns": "GsaValueSpecifier", "attributeIdentitiesToBoost": "GsaBoostByIdentity", @@ -101,11 +101,11 @@ def __init__( *, prefix: "str", type: "GsaCriterionType" = GsaCriterionType.TEXTPREFIX, - attribute_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" = Unset, - attribute_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" = Unset, + attribute_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" = Unset, + attribute_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" = Unset, attributes: "Union[GsaValueSpecifier, Unset_Type]" = Unset, - column_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" = Unset, - column_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" = Unset, + column_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" = Unset, + column_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" = Unset, local_columns: "Union[GsaValueSpecifier, Unset_Type]" = Unset, ) -> None: """GsaFreeTextPrefixCriterion - a model defined in Swagger @@ -114,23 +114,23 @@ def __init__( ---------- prefix: str type: GsaCriterionType - attribute_guids_to_boost: List[GsaBoostByGuid], optional - attribute_identities_to_boost: List[GsaBoostByIdentity], optional + attribute_guids_to_boost: list[GsaBoostByGuid], optional + attribute_identities_to_boost: list[GsaBoostByIdentity], optional attributes: GsaValueSpecifier, optional - column_guids_to_boost: List[GsaBoostByGuid], optional - column_identities_to_boost: List[GsaBoostByIdentity], optional + column_guids_to_boost: list[GsaBoostByGuid], optional + column_identities_to_boost: list[GsaBoostByIdentity], optional local_columns: GsaValueSpecifier, optional """ super().__init__(type=type) self._prefix: str self._attributes: Union[GsaValueSpecifier, Unset_Type] = Unset self._local_columns: Union[GsaValueSpecifier, Unset_Type] = Unset - self._attribute_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] = ( + self._attribute_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] = ( Unset ) - self._attribute_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] = Unset - self._column_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] = Unset - self._column_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] = Unset + self._attribute_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] = Unset + self._column_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] = Unset + self._column_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] = Unset self.prefix = prefix if attributes is not Unset: @@ -225,103 +225,103 @@ def local_columns(self, local_columns: "Union[GsaValueSpecifier, Unset_Type]") - self._local_columns = local_columns @property - def attribute_identities_to_boost(self) -> "Union[List[GsaBoostByIdentity], None, Unset_Type]": + def attribute_identities_to_boost(self) -> "Union[list[GsaBoostByIdentity], None, Unset_Type]": """Gets the attribute_identities_to_boost of this GsaFreeTextPrefixCriterion. Returns ------- - Union[List[GsaBoostByIdentity], None, Unset_Type] + Union[list[GsaBoostByIdentity], None, Unset_Type] The attribute_identities_to_boost of this GsaFreeTextPrefixCriterion. """ return self._attribute_identities_to_boost @attribute_identities_to_boost.setter def attribute_identities_to_boost( - self, attribute_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" + self, attribute_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" ) -> None: """Sets the attribute_identities_to_boost of this GsaFreeTextPrefixCriterion. Parameters ---------- - attribute_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] + attribute_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] The attribute_identities_to_boost of this GsaFreeTextPrefixCriterion. """ self._attribute_identities_to_boost = attribute_identities_to_boost @property - def attribute_guids_to_boost(self) -> "Union[List[GsaBoostByGuid], None, Unset_Type]": + def attribute_guids_to_boost(self) -> "Union[list[GsaBoostByGuid], None, Unset_Type]": """Gets the attribute_guids_to_boost of this GsaFreeTextPrefixCriterion. Returns ------- - Union[List[GsaBoostByGuid], None, Unset_Type] + Union[list[GsaBoostByGuid], None, Unset_Type] The attribute_guids_to_boost of this GsaFreeTextPrefixCriterion. """ return self._attribute_guids_to_boost @attribute_guids_to_boost.setter def attribute_guids_to_boost( - self, attribute_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" + self, attribute_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" ) -> None: """Sets the attribute_guids_to_boost of this GsaFreeTextPrefixCriterion. Parameters ---------- - attribute_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] + attribute_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] The attribute_guids_to_boost of this GsaFreeTextPrefixCriterion. """ self._attribute_guids_to_boost = attribute_guids_to_boost @property - def column_identities_to_boost(self) -> "Union[List[GsaBoostByIdentity], None, Unset_Type]": + def column_identities_to_boost(self) -> "Union[list[GsaBoostByIdentity], None, Unset_Type]": """Gets the column_identities_to_boost of this GsaFreeTextPrefixCriterion. Returns ------- - Union[List[GsaBoostByIdentity], None, Unset_Type] + Union[list[GsaBoostByIdentity], None, Unset_Type] The column_identities_to_boost of this GsaFreeTextPrefixCriterion. """ return self._column_identities_to_boost @column_identities_to_boost.setter def column_identities_to_boost( - self, column_identities_to_boost: "Union[List[GsaBoostByIdentity], None, Unset_Type]" + self, column_identities_to_boost: "Union[list[GsaBoostByIdentity], None, Unset_Type]" ) -> None: """Sets the column_identities_to_boost of this GsaFreeTextPrefixCriterion. Parameters ---------- - column_identities_to_boost: Union[List[GsaBoostByIdentity], None, Unset_Type] + column_identities_to_boost: Union[list[GsaBoostByIdentity], None, Unset_Type] The column_identities_to_boost of this GsaFreeTextPrefixCriterion. """ self._column_identities_to_boost = column_identities_to_boost @property - def column_guids_to_boost(self) -> "Union[List[GsaBoostByGuid], None, Unset_Type]": + def column_guids_to_boost(self) -> "Union[list[GsaBoostByGuid], None, Unset_Type]": """Gets the column_guids_to_boost of this GsaFreeTextPrefixCriterion. Returns ------- - Union[List[GsaBoostByGuid], None, Unset_Type] + Union[list[GsaBoostByGuid], None, Unset_Type] The column_guids_to_boost of this GsaFreeTextPrefixCriterion. """ return self._column_guids_to_boost @column_guids_to_boost.setter def column_guids_to_boost( - self, column_guids_to_boost: "Union[List[GsaBoostByGuid], None, Unset_Type]" + self, column_guids_to_boost: "Union[list[GsaBoostByGuid], None, Unset_Type]" ) -> None: """Sets the column_guids_to_boost of this GsaFreeTextPrefixCriterion. Parameters ---------- - column_guids_to_boost: Union[List[GsaBoostByGuid], None, Unset_Type] + column_guids_to_boost: Union[list[GsaBoostByGuid], None, Unset_Type] The column_guids_to_boost of this GsaFreeTextPrefixCriterion. """ self._column_guids_to_boost = column_guids_to_boost @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_layout_section.py index 97ff38f7..cb04d32a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_layout_section.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_layout_section import ( # noqa: F401 GsaLayoutSection, @@ -58,16 +58,16 @@ class GsaFullLayoutSection(GsaLayoutSection): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", @@ -75,7 +75,7 @@ class GsaFullLayoutSection(GsaLayoutSection): "section_items": "list[GsaLayoutItem]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", @@ -83,7 +83,7 @@ class GsaFullLayoutSection(GsaLayoutSection): "section_items": "sectionItems", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "sectionItems": "GsaLayoutItem", } @@ -92,21 +92,21 @@ class GsaFullLayoutSection(GsaLayoutSection): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", section_detail_type: "GsaLayoutSectionDetailType" = GsaLayoutSectionDetailType.FULL, - section_items: "List[GsaLayoutItem]", + section_items: "list[GsaLayoutItem]", ) -> None: """GsaFullLayoutSection - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str section_detail_type: GsaLayoutSectionDetailType - section_items: List[GsaLayoutItem] + section_items: list[GsaLayoutItem] """ super().__init__( display_names=display_names, @@ -114,28 +114,28 @@ def __init__( name=name, section_detail_type=section_detail_type, ) - self._section_items: List[GsaLayoutItem] + self._section_items: list[GsaLayoutItem] self.section_items = section_items @property - def section_items(self) -> "List[GsaLayoutItem]": + def section_items(self) -> "list[GsaLayoutItem]": """Gets the section_items of this GsaFullLayoutSection. Returns ------- - List[GsaLayoutItem] + list[GsaLayoutItem] The section_items of this GsaFullLayoutSection. """ return self._section_items @section_items.setter - def section_items(self, section_items: "List[GsaLayoutItem]") -> None: + def section_items(self, section_items: "list[GsaLayoutItem]") -> None: """Sets the section_items of this GsaFullLayoutSection. Parameters ---------- - section_items: List[GsaLayoutItem] + section_items: list[GsaLayoutItem] The section_items of this GsaFullLayoutSection. """ # Field is not nullable @@ -147,7 +147,7 @@ def section_items(self, section_items: "List[GsaLayoutItem]") -> None: self._section_items = section_items @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_name_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_name_property.py index f5c52be8..355a27e4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_name_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_full_name_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaFullNameProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "full_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "full_name": "fullName", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def full_name(self, full_name: "Union[str, None, Unset_Type]") -> None: self._full_name = full_name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_datum_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_datum_parameter_info.py index 4d9f72e3..f0bab433 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_datum_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_datum_parameter_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaFunctionalDatumParameterInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_value": "GsaDataExportParameterValue", "default_value_defined_at": "GsaParameterSettingDefinedAt", "guid": "str", @@ -74,7 +74,7 @@ class GsaFunctionalDatumParameterInfo(ModelBase): "unit_symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_value": "defaultValue", "default_value_defined_at": "defaultValueDefinedAt", "guid": "guid", @@ -88,7 +88,7 @@ class GsaFunctionalDatumParameterInfo(ModelBase): "unit_symbol": "unitSymbol", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "scaleTypeDefinedAt": "GsaParameterSettingDefinedAt", "interpolationMethodDefinedAt": "GsaParameterSettingDefinedAt", "defaultValueDefinedAt": "GsaParameterSettingDefinedAt", @@ -449,7 +449,7 @@ def default_value( self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_parameter_setting.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_parameter_setting.py index c27287f7..145356b5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_parameter_setting.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_functional_parameter_setting.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaFunctionalParameterSetting(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_value": "GsaParameterDataValue", "interpolation_type": "GsaParameterInterpolationType", "parameter": "GsaSlimParameter", "scale_type": "GsaParameterScaleType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_value": "defaultValue", "interpolation_type": "interpolationType", "parameter": "parameter", "scale_type": "scaleType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameter": "GsaSlimParameter", "defaultValue": "GsaParameterDataValue", "scaleType": "GsaParameterScaleType", @@ -223,7 +223,7 @@ def interpolation_type(self, interpolation_type: "GsaParameterInterpolationType" self._interpolation_type = interpolation_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_generated_integration_schema_of_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_generated_integration_schema_of_object_identifier.py index 5b32a999..f9bfd8fb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_generated_integration_schema_of_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_generated_integration_schema_of_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaGeneratedIntegrationSchemaOfObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "schema": "GsaGuidOnlyIntegrationSchemaOfObjectIdentifier", "warnings": "list[GsaIntegrationSchemaGenerationErrorDetail]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "schema": "schema", "warnings": "warnings", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "warnings": "GsaIntegrationSchemaGenerationErrorDetail", "schema": "GsaGuidOnlyIntegrationSchemaOfObjectIdentifier", } @@ -81,16 +81,16 @@ def __init__( self, *, schema: "GsaGuidOnlyIntegrationSchemaOfObjectIdentifier", - warnings: "Union[List[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type]" = Unset, + warnings: "Union[list[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type]" = Unset, ) -> None: """GsaGeneratedIntegrationSchemaOfObjectIdentifier - a model defined in Swagger Parameters ---------- schema: GsaGuidOnlyIntegrationSchemaOfObjectIdentifier - warnings: List[GsaIntegrationSchemaGenerationErrorDetail], optional + warnings: list[GsaIntegrationSchemaGenerationErrorDetail], optional """ - self._warnings: Union[List[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type] = ( + self._warnings: Union[list[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type] = ( Unset ) self._schema: GsaGuidOnlyIntegrationSchemaOfObjectIdentifier @@ -102,25 +102,25 @@ def __init__( @property def warnings( self, - ) -> "Union[List[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type]": + ) -> "Union[list[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type]": """Gets the warnings of this GsaGeneratedIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type] + Union[list[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type] The warnings of this GsaGeneratedIntegrationSchemaOfObjectIdentifier. """ return self._warnings @warnings.setter def warnings( - self, warnings: "Union[List[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type]" + self, warnings: "Union[list[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type]" ) -> None: """Sets the warnings of this GsaGeneratedIntegrationSchemaOfObjectIdentifier. Parameters ---------- - warnings: Union[List[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type] + warnings: Union[list[GsaIntegrationSchemaGenerationErrorDetail], None, Unset_Type] The warnings of this GsaGeneratedIntegrationSchemaOfObjectIdentifier. """ self._warnings = warnings @@ -154,7 +154,7 @@ def schema(self, schema: "GsaGuidOnlyIntegrationSchemaOfObjectIdentifier") -> No self._schema = schema @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_response.py index 1c96cbd5..56ecfb9b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_response.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaGetJobsResponse(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "results": "list[GsaJob]", "total_result_count": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "results": "results", "total_result_count": "totalResultCount", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "results": "GsaJob", } @@ -79,18 +79,18 @@ class GsaGetJobsResponse(ModelBase): def __init__( self, *, - results: "Union[List[GsaJob], None, Unset_Type]" = Unset, + results: "Union[list[GsaJob], None, Unset_Type]" = Unset, total_result_count: "Union[int, Unset_Type]" = Unset, ) -> None: """GsaGetJobsResponse - a model defined in Swagger Parameters ---------- - results: List[GsaJob], optional + results: list[GsaJob], optional total_result_count: int, optional """ self._total_result_count: Union[int, Unset_Type] = Unset - self._results: Union[List[GsaJob], None, Unset_Type] = Unset + self._results: Union[list[GsaJob], None, Unset_Type] = Unset if total_result_count is not Unset: self.total_result_count = total_result_count @@ -123,29 +123,29 @@ def total_result_count(self, total_result_count: "Union[int, Unset_Type]") -> No self._total_result_count = total_result_count @property - def results(self) -> "Union[List[GsaJob], None, Unset_Type]": + def results(self) -> "Union[list[GsaJob], None, Unset_Type]": """Gets the results of this GsaGetJobsResponse. Returns ------- - Union[List[GsaJob], None, Unset_Type] + Union[list[GsaJob], None, Unset_Type] The results of this GsaGetJobsResponse. """ return self._results @results.setter - def results(self, results: "Union[List[GsaJob], None, Unset_Type]") -> None: + def results(self, results: "Union[list[GsaJob], None, Unset_Type]") -> None: """Sets the results of this GsaGetJobsResponse. Parameters ---------- - results: Union[List[GsaJob], None, Unset_Type] + results: Union[list[GsaJob], None, Unset_Type] The results of this GsaGetJobsResponse. """ self._results = results @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_summary_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_summary_response.py index f3b2004e..764f5e5f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_summary_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_jobs_summary_response.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaGetJobsSummaryResponse(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "jobs": "list[GsaJobTypeAndStatus]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "jobs": "jobs", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "jobs": "GsaJobTypeAndStatus", } @@ -77,43 +77,43 @@ class GsaGetJobsSummaryResponse(ModelBase): def __init__( self, *, - jobs: "Union[List[GsaJobTypeAndStatus], None, Unset_Type]" = Unset, + jobs: "Union[list[GsaJobTypeAndStatus], None, Unset_Type]" = Unset, ) -> None: """GsaGetJobsSummaryResponse - a model defined in Swagger Parameters ---------- - jobs: List[GsaJobTypeAndStatus], optional + jobs: list[GsaJobTypeAndStatus], optional """ - self._jobs: Union[List[GsaJobTypeAndStatus], None, Unset_Type] = Unset + self._jobs: Union[list[GsaJobTypeAndStatus], None, Unset_Type] = Unset if jobs is not Unset: self.jobs = jobs @property - def jobs(self) -> "Union[List[GsaJobTypeAndStatus], None, Unset_Type]": + def jobs(self) -> "Union[list[GsaJobTypeAndStatus], None, Unset_Type]": """Gets the jobs of this GsaGetJobsSummaryResponse. Returns ------- - Union[List[GsaJobTypeAndStatus], None, Unset_Type] + Union[list[GsaJobTypeAndStatus], None, Unset_Type] The jobs of this GsaGetJobsSummaryResponse. """ return self._jobs @jobs.setter - def jobs(self, jobs: "Union[List[GsaJobTypeAndStatus], None, Unset_Type]") -> None: + def jobs(self, jobs: "Union[list[GsaJobTypeAndStatus], None, Unset_Type]") -> None: """Sets the jobs of this GsaGetJobsSummaryResponse. Parameters ---------- - jobs: Union[List[GsaJobTypeAndStatus], None, Unset_Type] + jobs: Union[list[GsaJobTypeAndStatus], None, Unset_Type] The jobs of this GsaGetJobsSummaryResponse. """ self._jobs = jobs @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_modifiable_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_modifiable_record_version_control_exception.py index 005db466..bd05a122 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_modifiable_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_get_modifiable_record_version_control_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaGetModifiableRecordVersionControlException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaGetModifiableRecordVersionControlException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaVersionControlErrorDetail], optional + errors: list[GsaVersionControlErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,29 +153,29 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]": """Gets the errors of this GsaGetModifiableRecordVersionControlException. Returns ------- - Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaGetModifiableRecordVersionControlException. """ return self._errors @errors.setter - def errors(self, errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: + def errors(self, errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: """Sets the errors of this GsaGetModifiableRecordVersionControlException. Parameters ---------- - errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaGetModifiableRecordVersionControlException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_graph.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_graph.py index 5e7c43ee..fbe7204a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_graph.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_graph.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaGraph(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "graph_type": "GsaGraphType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "graph_type": "graphType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "graphType": "GsaGraphType", } @@ -125,7 +125,7 @@ def graph_type(self, graph_type: "GsaGraphType") -> None: self._graph_type = graph_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_grid_graph.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_grid_graph.py index 701bc08b..8e1522e8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_grid_graph.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_grid_graph.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_graph import GsaGraph # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_graph_type import GsaGraphType @@ -54,32 +54,32 @@ class GsaGridGraph(GsaGraph): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "all_parameters": "list[GsaSlimParameter]", "default_x_axis_parameter": "GsaSlimParameter", "functional_type": "GsaFunctionalType", "graph_type": "GsaGraphType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "all_parameters": "allParameters", "default_x_axis_parameter": "defaultXAxisParameter", "functional_type": "functionalType", "graph_type": "graphType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "functionalType": "GsaFunctionalType", "defaultXAxisParameter": "GsaSlimParameter", "allParameters": "GsaSlimParameter", @@ -95,7 +95,7 @@ class GsaGridGraph(GsaGraph): def __init__( self, *, - all_parameters: "List[GsaSlimParameter]", + all_parameters: "list[GsaSlimParameter]", default_x_axis_parameter: "GsaSlimParameter", functional_type: "GsaFunctionalType", graph_type: "GsaGraphType" = GsaGraphType.GRID, @@ -104,7 +104,7 @@ def __init__( Parameters ---------- - all_parameters: List[GsaSlimParameter] + all_parameters: list[GsaSlimParameter] default_x_axis_parameter: GsaSlimParameter functional_type: GsaFunctionalType graph_type: GsaGraphType @@ -112,7 +112,7 @@ def __init__( super().__init__(graph_type=graph_type) self._functional_type: GsaFunctionalType self._default_x_axis_parameter: GsaSlimParameter - self._all_parameters: List[GsaSlimParameter] + self._all_parameters: list[GsaSlimParameter] self.functional_type = functional_type self.default_x_axis_parameter = default_x_axis_parameter @@ -175,23 +175,23 @@ def default_x_axis_parameter(self, default_x_axis_parameter: "GsaSlimParameter") self._default_x_axis_parameter = default_x_axis_parameter @property - def all_parameters(self) -> "List[GsaSlimParameter]": + def all_parameters(self) -> "list[GsaSlimParameter]": """Gets the all_parameters of this GsaGridGraph. Returns ------- - List[GsaSlimParameter] + list[GsaSlimParameter] The all_parameters of this GsaGridGraph. """ return self._all_parameters @all_parameters.setter - def all_parameters(self, all_parameters: "List[GsaSlimParameter]") -> None: + def all_parameters(self, all_parameters: "list[GsaSlimParameter]") -> None: """Sets the all_parameters of this GsaGridGraph. Parameters ---------- - all_parameters: List[GsaSlimParameter] + all_parameters: list[GsaSlimParameter] The all_parameters of this GsaGridGraph. """ # Field is not nullable @@ -203,7 +203,7 @@ def all_parameters(self, all_parameters: "List[GsaSlimParameter]") -> None: self._all_parameters = all_parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_attribute.py index 2e2c836b..c2d81f6d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaGuidOnlyAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "discrete_type_guid": "str", @@ -74,7 +74,7 @@ class GsaGuidOnlyAttribute(ModelBase): "x_axis_parameter": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "discrete_type_guid": "discreteTypeGuid", @@ -88,7 +88,7 @@ class GsaGuidOnlyAttribute(ModelBase): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", "parameters": "GsaGuidOnlyIntegrationParameterInfo", "targetDatabase": "GsaObjectIdentifier", @@ -106,7 +106,7 @@ def __init__( graph_type: "Union[str, None, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, is_unitted: "Union[bool, None, Unset_Type]" = Unset, - parameters: "Union[List[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type]" = Unset, target_database: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, target_table: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, unit_symbol: "Union[str, None, Unset_Type]" = Unset, @@ -122,7 +122,7 @@ def __init__( graph_type: str, optional guid: str, optional is_unitted: bool, optional - parameters: List[GsaGuidOnlyIntegrationParameterInfo], optional + parameters: list[GsaGuidOnlyIntegrationParameterInfo], optional target_database: GsaObjectIdentifier, optional target_table: GsaObjectIdentifier, optional unit_symbol: str, optional @@ -134,7 +134,7 @@ def __init__( self._unit_symbol: Union[str, None, Unset_Type] = Unset self._is_unitted: Union[bool, None, Unset_Type] = Unset self._discrete_type_guid: Union[str, None, Unset_Type] = Unset - self._parameters: Union[List[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type] = Unset + self._parameters: Union[list[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type] = Unset self._target_database: Union[GsaObjectIdentifier, Unset_Type] = Unset self._target_table: Union[GsaObjectIdentifier, Unset_Type] = Unset self._graph_type: Union[str, None, Unset_Type] = Unset @@ -313,27 +313,27 @@ def discrete_type_guid(self, discrete_type_guid: "Union[str, None, Unset_Type]") self._discrete_type_guid = discrete_type_guid @property - def parameters(self) -> "Union[List[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type]": + def parameters(self) -> "Union[list[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type]": """Gets the parameters of this GsaGuidOnlyAttribute. A float functional attribute must define a list of parameters. Returns ------- - Union[List[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type] + Union[list[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type] The parameters of this GsaGuidOnlyAttribute. """ return self._parameters @parameters.setter def parameters( - self, parameters: "Union[List[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type]" + self, parameters: "Union[list[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type]" ) -> None: """Sets the parameters of this GsaGuidOnlyAttribute. A float functional attribute must define a list of parameters. Parameters ---------- - parameters: Union[List[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type] + parameters: Union[list[GsaGuidOnlyIntegrationParameterInfo], None, Unset_Type] The parameters of this GsaGuidOnlyAttribute. """ self._parameters = parameters @@ -437,7 +437,7 @@ def x_axis_parameter(self, x_axis_parameter: "Union[str, None, Unset_Type]") -> self._x_axis_parameter = x_axis_parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_discrete_type.py index aa8d14bc..c17da5ce 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_discrete_type.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaGuidOnlyDiscreteType(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "values": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "values": "values", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -81,7 +81,7 @@ def __init__( *, guid: "Union[str, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, - values: "Union[List[str], None, Unset_Type]" = Unset, + values: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaGuidOnlyDiscreteType - a model defined in Swagger @@ -89,11 +89,11 @@ def __init__( ---------- guid: str, optional name: str, optional - values: List[str], optional + values: list[str], optional """ self._guid: Union[str, Unset_Type] = Unset self._name: Union[str, None, Unset_Type] = Unset - self._values: Union[List[str], None, Unset_Type] = Unset + self._values: Union[list[str], None, Unset_Type] = Unset if guid is not Unset: self.guid = guid @@ -150,29 +150,29 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @property - def values(self) -> "Union[List[str], None, Unset_Type]": + def values(self) -> "Union[list[str], None, Unset_Type]": """Gets the values of this GsaGuidOnlyDiscreteType. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The values of this GsaGuidOnlyDiscreteType. """ return self._values @values.setter - def values(self, values: "Union[List[str], None, Unset_Type]") -> None: + def values(self, values: "Union[list[str], None, Unset_Type]") -> None: """Sets the values of this GsaGuidOnlyDiscreteType. Parameters ---------- - values: Union[List[str], None, Unset_Type] + values: Union[list[str], None, Unset_Type] The values of this GsaGuidOnlyDiscreteType. """ self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_parameter_info.py index caf2b7b6..6228c1db 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_parameter_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaGuidOnlyIntegrationParameterInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_value": "GsaDataExportParameterValue", "guid": "str", "interpolation_type": "GsaParameterInfoInterpolationType", @@ -70,7 +70,7 @@ class GsaGuidOnlyIntegrationParameterInfo(ModelBase): "unit_symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_value": "defaultValue", "guid": "guid", "interpolation_type": "interpolationType", @@ -80,7 +80,7 @@ class GsaGuidOnlyIntegrationParameterInfo(ModelBase): "unit_symbol": "unitSymbol", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "scaleType": "GsaParameterInfoScaleType", "interpolationType": "GsaParameterInfoInterpolationType", "parameterType": "GsaParameterInfoParameterType", @@ -311,7 +311,7 @@ def default_value( self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_schema_of_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_schema_of_object_identifier.py index 3f7a9d34..6e0b30fc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_schema_of_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_integration_schema_of_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaGuidOnlyIntegrationSchemaOfObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "access_control_category_values": "dict(str, list[str])", "attributes": "list[GsaGuidOnlyAttribute]", "discrete_types": "list[GsaGuidOnlyDiscreteType]", @@ -72,7 +72,7 @@ class GsaGuidOnlyIntegrationSchemaOfObjectIdentifier(ModelBase): "version": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "access_control_category_values": "accessControlCategoryValues", "attributes": "attributes", "discrete_types": "discreteTypes", @@ -84,7 +84,7 @@ class GsaGuidOnlyIntegrationSchemaOfObjectIdentifier(ModelBase): "version": "version", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaGuidOnlyAttribute", "layouts": "GsaGuidOnlyLayout", "discreteTypes": "GsaGuidOnlyDiscreteType", @@ -97,13 +97,13 @@ class GsaGuidOnlyIntegrationSchemaOfObjectIdentifier(ModelBase): def __init__( self, *, - access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]" = Unset, - attributes: "Union[List[GsaGuidOnlyAttribute], None, Unset_Type]" = Unset, - discrete_types: "Union[List[GsaGuidOnlyDiscreteType], None, Unset_Type]" = Unset, + access_control_category_values: "Union[dict[str, list[str]], None, Unset_Type]" = Unset, + attributes: "Union[list[GsaGuidOnlyAttribute], None, Unset_Type]" = Unset, + discrete_types: "Union[list[GsaGuidOnlyDiscreteType], None, Unset_Type]" = Unset, key: "Union[str, None, Unset_Type]" = Unset, - layouts: "Union[List[GsaGuidOnlyLayout], None, Unset_Type]" = Unset, + layouts: "Union[list[GsaGuidOnlyLayout], None, Unset_Type]" = Unset, security_groups: "Union[GsaSecurityGroups, Unset_Type]" = Unset, - sources: "Union[List[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type]" = Unset, + sources: "Union[list[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type]" = Unset, unit_system: "Union[str, None, Unset_Type]" = Unset, version: "Union[int, None, Unset_Type]" = Unset, ) -> None: @@ -111,24 +111,24 @@ def __init__( Parameters ---------- - access_control_category_values: Dict[str, List[str]], optional - attributes: List[GsaGuidOnlyAttribute], optional - discrete_types: List[GsaGuidOnlyDiscreteType], optional + access_control_category_values: dict[str, list[str]], optional + attributes: list[GsaGuidOnlyAttribute], optional + discrete_types: list[GsaGuidOnlyDiscreteType], optional key: str, optional - layouts: List[GsaGuidOnlyLayout], optional + layouts: list[GsaGuidOnlyLayout], optional security_groups: GsaSecurityGroups, optional - sources: List[GsaGuidOnlySourceOfObjectIdentifier], optional + sources: list[GsaGuidOnlySourceOfObjectIdentifier], optional unit_system: str, optional version: int, optional """ self._key: Union[str, None, Unset_Type] = Unset self._version: Union[int, None, Unset_Type] = Unset - self._attributes: Union[List[GsaGuidOnlyAttribute], None, Unset_Type] = Unset - self._layouts: Union[List[GsaGuidOnlyLayout], None, Unset_Type] = Unset + self._attributes: Union[list[GsaGuidOnlyAttribute], None, Unset_Type] = Unset + self._layouts: Union[list[GsaGuidOnlyLayout], None, Unset_Type] = Unset self._unit_system: Union[str, None, Unset_Type] = Unset - self._discrete_types: Union[List[GsaGuidOnlyDiscreteType], None, Unset_Type] = Unset - self._sources: Union[List[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type] = Unset - self._access_control_category_values: Union[Dict[str, List[str]], None, Unset_Type] = Unset + self._discrete_types: Union[list[GsaGuidOnlyDiscreteType], None, Unset_Type] = Unset + self._sources: Union[list[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type] = Unset + self._access_control_category_values: Union[dict[str, list[str]], None, Unset_Type] = Unset self._security_groups: Union[GsaSecurityGroups, Unset_Type] = Unset if key is not Unset: @@ -195,45 +195,45 @@ def version(self, version: "Union[int, None, Unset_Type]") -> None: self._version = version @property - def attributes(self) -> "Union[List[GsaGuidOnlyAttribute], None, Unset_Type]": + def attributes(self) -> "Union[list[GsaGuidOnlyAttribute], None, Unset_Type]": """Gets the attributes of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaGuidOnlyAttribute], None, Unset_Type] + Union[list[GsaGuidOnlyAttribute], None, Unset_Type] The attributes of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ return self._attributes @attributes.setter - def attributes(self, attributes: "Union[List[GsaGuidOnlyAttribute], None, Unset_Type]") -> None: + def attributes(self, attributes: "Union[list[GsaGuidOnlyAttribute], None, Unset_Type]") -> None: """Sets the attributes of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Parameters ---------- - attributes: Union[List[GsaGuidOnlyAttribute], None, Unset_Type] + attributes: Union[list[GsaGuidOnlyAttribute], None, Unset_Type] The attributes of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ self._attributes = attributes @property - def layouts(self) -> "Union[List[GsaGuidOnlyLayout], None, Unset_Type]": + def layouts(self) -> "Union[list[GsaGuidOnlyLayout], None, Unset_Type]": """Gets the layouts of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaGuidOnlyLayout], None, Unset_Type] + Union[list[GsaGuidOnlyLayout], None, Unset_Type] The layouts of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ return self._layouts @layouts.setter - def layouts(self, layouts: "Union[List[GsaGuidOnlyLayout], None, Unset_Type]") -> None: + def layouts(self, layouts: "Union[list[GsaGuidOnlyLayout], None, Unset_Type]") -> None: """Sets the layouts of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Parameters ---------- - layouts: Union[List[GsaGuidOnlyLayout], None, Unset_Type] + layouts: Union[list[GsaGuidOnlyLayout], None, Unset_Type] The layouts of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ self._layouts = layouts @@ -261,73 +261,73 @@ def unit_system(self, unit_system: "Union[str, None, Unset_Type]") -> None: self._unit_system = unit_system @property - def discrete_types(self) -> "Union[List[GsaGuidOnlyDiscreteType], None, Unset_Type]": + def discrete_types(self) -> "Union[list[GsaGuidOnlyDiscreteType], None, Unset_Type]": """Gets the discrete_types of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaGuidOnlyDiscreteType], None, Unset_Type] + Union[list[GsaGuidOnlyDiscreteType], None, Unset_Type] The discrete_types of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ return self._discrete_types @discrete_types.setter def discrete_types( - self, discrete_types: "Union[List[GsaGuidOnlyDiscreteType], None, Unset_Type]" + self, discrete_types: "Union[list[GsaGuidOnlyDiscreteType], None, Unset_Type]" ) -> None: """Sets the discrete_types of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Parameters ---------- - discrete_types: Union[List[GsaGuidOnlyDiscreteType], None, Unset_Type] + discrete_types: Union[list[GsaGuidOnlyDiscreteType], None, Unset_Type] The discrete_types of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ self._discrete_types = discrete_types @property - def sources(self) -> "Union[List[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type]": + def sources(self) -> "Union[list[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type]": """Gets the sources of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type] + Union[list[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type] The sources of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ return self._sources @sources.setter def sources( - self, sources: "Union[List[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type]" + self, sources: "Union[list[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type]" ) -> None: """Sets the sources of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Parameters ---------- - sources: Union[List[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type] + sources: Union[list[GsaGuidOnlySourceOfObjectIdentifier], None, Unset_Type] The sources of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ self._sources = sources @property - def access_control_category_values(self) -> "Union[Dict[str, List[str]], None, Unset_Type]": + def access_control_category_values(self) -> "Union[dict[str, list[str]], None, Unset_Type]": """Gets the access_control_category_values of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[Dict[str, List[str]], None, Unset_Type] + Union[dict[str, list[str]], None, Unset_Type] The access_control_category_values of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ return self._access_control_category_values @access_control_category_values.setter def access_control_category_values( - self, access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]" + self, access_control_category_values: "Union[dict[str, list[str]], None, Unset_Type]" ) -> None: """Sets the access_control_category_values of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. Parameters ---------- - access_control_category_values: Union[Dict[str, List[str]], None, Unset_Type] + access_control_category_values: Union[dict[str, list[str]], None, Unset_Type] The access_control_category_values of this GsaGuidOnlyIntegrationSchemaOfObjectIdentifier. """ self._access_control_category_values = access_control_category_values @@ -358,7 +358,7 @@ def security_groups(self, security_groups: "Union[GsaSecurityGroups, Unset_Type] self._security_groups = security_groups @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_layout.py index 592f51f4..4fa85a14 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_layout.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,44 +51,44 @@ class GsaGuidOnlyLayout(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_guids": "list[str]", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_guids": "attributeGuids", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - attribute_guids: "Union[List[str], None, Unset_Type]" = Unset, + attribute_guids: "Union[list[str], None, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaGuidOnlyLayout - a model defined in Swagger Parameters ---------- - attribute_guids: List[str], optional + attribute_guids: list[str], optional name: str, optional """ self._name: Union[str, None, Unset_Type] = Unset - self._attribute_guids: Union[List[str], None, Unset_Type] = Unset + self._attribute_guids: Union[list[str], None, Unset_Type] = Unset if name is not Unset: self.name = name @@ -118,29 +118,29 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @property - def attribute_guids(self) -> "Union[List[str], None, Unset_Type]": + def attribute_guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the attribute_guids of this GsaGuidOnlyLayout. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The attribute_guids of this GsaGuidOnlyLayout. """ return self._attribute_guids @attribute_guids.setter - def attribute_guids(self, attribute_guids: "Union[List[str], None, Unset_Type]") -> None: + def attribute_guids(self, attribute_guids: "Union[list[str], None, Unset_Type]") -> None: """Sets the attribute_guids of this GsaGuidOnlyLayout. Parameters ---------- - attribute_guids: Union[List[str], None, Unset_Type] + attribute_guids: Union[list[str], None, Unset_Type] The attribute_guids of this GsaGuidOnlyLayout. """ self._attribute_guids = attribute_guids @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_mapping_of_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_mapping_of_object_identifier.py index 9f2cf60d..8ae20cc6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_mapping_of_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_mapping_of_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaGuidOnlyMappingOfObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_source_type": "GsaLinkSourceType", "parameter_mappings": "list[GsaGuidOnlyMappingOfObjectIdentifier]", "source": "GsaObjectIdentifier", "target_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_source_type": "linkSourceType", "parameter_mappings": "parameterMappings", "source": "source", "target_guid": "targetGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "source": "GsaObjectIdentifier", "parameterMappings": "GsaGuidOnlyMappingOfObjectIdentifier", "linkSourceType": "GsaLinkSourceType", @@ -86,7 +86,7 @@ def __init__( self, *, link_source_type: "Union[GsaLinkSourceType, Unset_Type]" = Unset, - parameter_mappings: "Union[List[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type]" = Unset, + parameter_mappings: "Union[list[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type]" = Unset, source: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, target_guid: "Union[str, Unset_Type]" = Unset, ) -> None: @@ -95,14 +95,14 @@ def __init__( Parameters ---------- link_source_type: GsaLinkSourceType, optional - parameter_mappings: List[GsaGuidOnlyMappingOfObjectIdentifier], optional + parameter_mappings: list[GsaGuidOnlyMappingOfObjectIdentifier], optional source: GsaObjectIdentifier, optional target_guid: str, optional """ self._source: Union[GsaObjectIdentifier, Unset_Type] = Unset self._target_guid: Union[str, Unset_Type] = Unset self._parameter_mappings: Union[ - List[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type + list[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type ] = Unset self._link_source_type: Union[GsaLinkSourceType, Unset_Type] = Unset @@ -170,13 +170,13 @@ def target_guid(self, target_guid: "Union[str, Unset_Type]") -> None: @property def parameter_mappings( self, - ) -> "Union[List[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type]": + ) -> "Union[list[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type]": """Gets the parameter_mappings of this GsaGuidOnlyMappingOfObjectIdentifier. Any mapped parameters (float functional attributes only). The target parameters must be defined on the target integration attribute. Not every parameters from the source database needs to be mapped for each attribute. Returns ------- - Union[List[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type] + Union[list[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type] The parameter_mappings of this GsaGuidOnlyMappingOfObjectIdentifier. """ return self._parameter_mappings @@ -184,14 +184,14 @@ def parameter_mappings( @parameter_mappings.setter def parameter_mappings( self, - parameter_mappings: "Union[List[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type]", + parameter_mappings: "Union[list[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type]", ) -> None: """Sets the parameter_mappings of this GsaGuidOnlyMappingOfObjectIdentifier. Any mapped parameters (float functional attributes only). The target parameters must be defined on the target integration attribute. Not every parameters from the source database needs to be mapped for each attribute. Parameters ---------- - parameter_mappings: Union[List[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type] + parameter_mappings: Union[list[GsaGuidOnlyMappingOfObjectIdentifier], None, Unset_Type] The parameter_mappings of this GsaGuidOnlyMappingOfObjectIdentifier. """ self._parameter_mappings = parameter_mappings @@ -222,7 +222,7 @@ def link_source_type(self, link_source_type: "Union[GsaLinkSourceType, Unset_Typ self._link_source_type = link_source_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_source_of_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_source_of_object_identifier.py index 5c55bedc..ff497990 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_source_of_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_guid_only_source_of_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaGuidOnlySourceOfObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "mappings": "list[GsaGuidOnlyMappingOfObjectIdentifier]", "table": "GsaObjectIdentifier", "database": "GsaObjectIdentifier", "database_key": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "mappings": "mappings", "table": "table", "database": "database", "database_key": "databaseKey", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "database": "GsaObjectIdentifier", "table": "GsaObjectIdentifier", "mappings": "GsaGuidOnlyMappingOfObjectIdentifier", @@ -85,7 +85,7 @@ class GsaGuidOnlySourceOfObjectIdentifier(ModelBase): def __init__( self, *, - mappings: "List[GsaGuidOnlyMappingOfObjectIdentifier]", + mappings: "list[GsaGuidOnlyMappingOfObjectIdentifier]", table: "GsaObjectIdentifier", database: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, database_key: "Union[str, None, Unset_Type]" = Unset, @@ -94,7 +94,7 @@ def __init__( Parameters ---------- - mappings: List[GsaGuidOnlyMappingOfObjectIdentifier] + mappings: list[GsaGuidOnlyMappingOfObjectIdentifier] table: GsaObjectIdentifier database: GsaObjectIdentifier, optional database_key: str, optional @@ -102,7 +102,7 @@ def __init__( self._database: Union[GsaObjectIdentifier, Unset_Type] = Unset self._database_key: Union[str, None, Unset_Type] = Unset self._table: GsaObjectIdentifier - self._mappings: List[GsaGuidOnlyMappingOfObjectIdentifier] + self._mappings: list[GsaGuidOnlyMappingOfObjectIdentifier] if database is not Unset: self.database = database @@ -187,25 +187,25 @@ def table(self, table: "GsaObjectIdentifier") -> None: self._table = table @property - def mappings(self) -> "List[GsaGuidOnlyMappingOfObjectIdentifier]": + def mappings(self) -> "list[GsaGuidOnlyMappingOfObjectIdentifier]": """Gets the mappings of this GsaGuidOnlySourceOfObjectIdentifier. Mappings for items from this table to the integration schema attributes. Returns ------- - List[GsaGuidOnlyMappingOfObjectIdentifier] + list[GsaGuidOnlyMappingOfObjectIdentifier] The mappings of this GsaGuidOnlySourceOfObjectIdentifier. """ return self._mappings @mappings.setter - def mappings(self, mappings: "List[GsaGuidOnlyMappingOfObjectIdentifier]") -> None: + def mappings(self, mappings: "list[GsaGuidOnlyMappingOfObjectIdentifier]") -> None: """Sets the mappings of this GsaGuidOnlySourceOfObjectIdentifier. Mappings for items from this table to the integration schema attributes. Parameters ---------- - mappings: List[GsaGuidOnlyMappingOfObjectIdentifier] + mappings: list[GsaGuidOnlyMappingOfObjectIdentifier] The mappings of this GsaGuidOnlySourceOfObjectIdentifier. """ # Field is not nullable @@ -217,7 +217,7 @@ def mappings(self, mappings: "List[GsaGuidOnlyMappingOfObjectIdentifier]") -> No self._mappings = mappings @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram.py index 12dc13ff..81fc0c56 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaHistogram(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "buckets": "list[GsaHistogramBucket]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "buckets": "buckets", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "buckets": "GsaHistogramBucket", } @@ -77,43 +77,43 @@ class GsaHistogram(ModelBase): def __init__( self, *, - buckets: "Union[List[GsaHistogramBucket], None, Unset_Type]" = Unset, + buckets: "Union[list[GsaHistogramBucket], None, Unset_Type]" = Unset, ) -> None: """GsaHistogram - a model defined in Swagger Parameters ---------- - buckets: List[GsaHistogramBucket], optional + buckets: list[GsaHistogramBucket], optional """ - self._buckets: Union[List[GsaHistogramBucket], None, Unset_Type] = Unset + self._buckets: Union[list[GsaHistogramBucket], None, Unset_Type] = Unset if buckets is not Unset: self.buckets = buckets @property - def buckets(self) -> "Union[List[GsaHistogramBucket], None, Unset_Type]": + def buckets(self) -> "Union[list[GsaHistogramBucket], None, Unset_Type]": """Gets the buckets of this GsaHistogram. Returns ------- - Union[List[GsaHistogramBucket], None, Unset_Type] + Union[list[GsaHistogramBucket], None, Unset_Type] The buckets of this GsaHistogram. """ return self._buckets @buckets.setter - def buckets(self, buckets: "Union[List[GsaHistogramBucket], None, Unset_Type]") -> None: + def buckets(self, buckets: "Union[list[GsaHistogramBucket], None, Unset_Type]") -> None: """Sets the buckets of this GsaHistogram. Parameters ---------- - buckets: Union[List[GsaHistogramBucket], None, Unset_Type] + buckets: Union[list[GsaHistogramBucket], None, Unset_Type] The buckets of this GsaHistogram. """ self._buckets = buckets @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram_bucket.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram_bucket.py index eec2ca91..88b43a8d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram_bucket.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_histogram_bucket.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaHistogramBucket(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "lower": "float", "upper": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "lower": "lower", "upper": "upper", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -175,7 +175,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_attribute.py index 3ad58fe0..41e75472 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaHyperlinkAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -77,7 +77,7 @@ class GsaHyperlinkAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaHyperlinkAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -115,7 +115,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -141,7 +141,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum.py index 756d5ad0..36cd00d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,16 +56,16 @@ class GsaHyperlinkDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "address": "str", "datum_type": "GsaDatumType", "description": "str", @@ -73,7 +73,7 @@ class GsaHyperlinkDatum(GsaApplicableDatum): "target": "GsaHyperlinkTarget", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "address": "address", "datum_type": "datumType", "description": "description", @@ -81,7 +81,7 @@ class GsaHyperlinkDatum(GsaApplicableDatum): "target": "target", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "target": "GsaHyperlinkTarget", } @@ -200,7 +200,7 @@ def target(self, target: "GsaHyperlinkTarget") -> None: self._target = target @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_criterion.py index 712ff195..0273dffc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaHyperlinkDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def value(self, value: "str") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_exists_criterion.py index f6bdda0a..b44d05ab 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaHyperlinkDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_prefix_datum_criterion.py index 2dc7598c..372f6e77 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_prefix_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_hyperlink_prefix_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaHyperlinkPrefixDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "prefix": "str", "type": "GsaDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "prefix": "prefix", "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def prefix(self, prefix: "str") -> None: self._prefix = prefix @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_index_record_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_index_record_failure.py index a5fd587d..696d3852 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_index_record_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_index_record_failure.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaIndexRecordFailure(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "error": "str", "record_history_identity": "int", "record_name": "str", "record_was_oversized": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "error": "error", "record_history_identity": "recordHistoryIdentity", "record_name": "recordName", "record_was_oversized": "recordWasOversized", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -208,7 +208,7 @@ def record_was_oversized(self, record_was_oversized: "Union[bool, Unset_Type]") self._record_was_oversized = record_was_oversized @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation.py index 48f8bcee..855b16ed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,28 +58,28 @@ class GsaIntegerAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "maximum": "int", "minimum": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "maximum": "maximum", "minimum": "minimum", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -152,7 +152,7 @@ def maximum(self, maximum: "Union[int, None, Unset_Type]") -> None: self._maximum = maximum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation_datum_criterion.py index fecbd2ca..653b42ff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,24 +58,24 @@ class GsaIntegerAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -93,7 +93,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_attribute.py index b9e09e5f..57a8ecea 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaIntegerAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -78,7 +78,7 @@ class GsaIntegerAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -93,7 +93,7 @@ class GsaIntegerAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -101,7 +101,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -118,7 +118,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -178,7 +178,7 @@ def is_unique(self, is_unique: "bool") -> None: self._is_unique = is_unique @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum.py index 5ff6d894..0e9790a9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,28 +56,28 @@ class GsaIntegerDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "not_applicable": "str", "value": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def value(self, value: "int") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_criterion.py index 450e8777..394557a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaIntegerDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "gte": "int", "lte": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -154,7 +154,7 @@ def lte(self, lte: "Union[int, None, Unset_Type]") -> None: self._lte = lte @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_exists_criterion.py index d24a245d..c0442f14 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaIntegerDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py index 760f39c2..adbd972c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_fixed_width_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,28 +58,28 @@ class GsaIntegerFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatum """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "interval": "float", "offset": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "interval": "interval", "offset": "offset", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -162,7 +162,7 @@ def offset(self, offset: "Union[float, Unset_Type]") -> None: self._offset = offset @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation.py index a495332f..8e9ebdf0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaIntegerHistogramAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "histogram": "GsaHistogram", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "histogram": "histogram", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "histogram": "GsaHistogram", } @@ -128,7 +128,7 @@ def histogram(self, histogram: "Union[GsaHistogram, Unset_Type]") -> None: self._histogram = histogram @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation_datum_criterion.py index a1bb143c..b9b7a1d9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integer_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,26 +58,26 @@ class GsaIntegerHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion) """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "maximum_number_of_buckets": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "maximum_number_of_buckets": "maximumNumberOfBuckets", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def maximum_number_of_buckets( self._maximum_number_of_buckets = maximum_number_of_buckets @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_attribute.py index 4b4c8cf2..e949e2fd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaIntegrationAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "name": "str", "type": "GsaAttributeType", "discrete_type_guid": "str", @@ -76,7 +76,7 @@ class GsaIntegrationAttribute(ModelBase): "x_axis_parameter": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "name": "name", "type": "type", "discrete_type_guid": "discreteTypeGuid", @@ -92,7 +92,7 @@ class GsaIntegrationAttribute(ModelBase): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", "parameters": "GsaIntegrationParameterInfo", "targetDatabase": "GsaObjectIdentifier", @@ -112,7 +112,7 @@ def __init__( guid: "Union[str, None, Unset_Type]" = Unset, identity: "Union[int, Unset_Type]" = Unset, is_unitted: "Union[bool, None, Unset_Type]" = Unset, - parameters: "Union[List[GsaIntegrationParameterInfo], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaIntegrationParameterInfo], None, Unset_Type]" = Unset, target_database: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, target_table: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, unit_symbol: "Union[str, None, Unset_Type]" = Unset, @@ -130,7 +130,7 @@ def __init__( guid: str, optional identity: int, optional is_unitted: bool, optional - parameters: List[GsaIntegrationParameterInfo], optional + parameters: list[GsaIntegrationParameterInfo], optional target_database: GsaObjectIdentifier, optional target_table: GsaObjectIdentifier, optional unit_symbol: str, optional @@ -144,7 +144,7 @@ def __init__( self._is_unitted: Union[bool, None, Unset_Type] = Unset self._discrete_type_identity: Union[int, None, Unset_Type] = Unset self._discrete_type_guid: Union[str, None, Unset_Type] = Unset - self._parameters: Union[List[GsaIntegrationParameterInfo], None, Unset_Type] = Unset + self._parameters: Union[list[GsaIntegrationParameterInfo], None, Unset_Type] = Unset self._target_database: Union[GsaObjectIdentifier, Unset_Type] = Unset self._target_table: Union[GsaObjectIdentifier, Unset_Type] = Unset self._graph_type: Union[str, None, Unset_Type] = Unset @@ -375,27 +375,27 @@ def discrete_type_guid(self, discrete_type_guid: "Union[str, None, Unset_Type]") self._discrete_type_guid = discrete_type_guid @property - def parameters(self) -> "Union[List[GsaIntegrationParameterInfo], None, Unset_Type]": + def parameters(self) -> "Union[list[GsaIntegrationParameterInfo], None, Unset_Type]": """Gets the parameters of this GsaIntegrationAttribute. A float functional attribute must define a list of parameters. Returns ------- - Union[List[GsaIntegrationParameterInfo], None, Unset_Type] + Union[list[GsaIntegrationParameterInfo], None, Unset_Type] The parameters of this GsaIntegrationAttribute. """ return self._parameters @parameters.setter def parameters( - self, parameters: "Union[List[GsaIntegrationParameterInfo], None, Unset_Type]" + self, parameters: "Union[list[GsaIntegrationParameterInfo], None, Unset_Type]" ) -> None: """Sets the parameters of this GsaIntegrationAttribute. A float functional attribute must define a list of parameters. Parameters ---------- - parameters: Union[List[GsaIntegrationParameterInfo], None, Unset_Type] + parameters: Union[list[GsaIntegrationParameterInfo], None, Unset_Type] The parameters of this GsaIntegrationAttribute. """ self._parameters = parameters @@ -499,7 +499,7 @@ def x_axis_parameter(self, x_axis_parameter: "Union[str, None, Unset_Type]") -> self._x_axis_parameter = x_axis_parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_data_export_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_data_export_request.py index ac157b0c..55e62511 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_data_export_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_data_export_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaIntegrationDataExportRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_identities": "list[int]", "record_references": "list[GsaRecordReference]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_identities": "attributeIdentities", "record_references": "recordReferences", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "recordReferences": "GsaRecordReference", } @@ -79,42 +79,42 @@ class GsaIntegrationDataExportRequest(ModelBase): def __init__( self, *, - attribute_identities: "List[int]", - record_references: "List[GsaRecordReference]", + attribute_identities: "list[int]", + record_references: "list[GsaRecordReference]", ) -> None: """GsaIntegrationDataExportRequest - a model defined in Swagger Parameters ---------- - attribute_identities: List[int] - record_references: List[GsaRecordReference] + attribute_identities: list[int] + record_references: list[GsaRecordReference] """ - self._record_references: List[GsaRecordReference] - self._attribute_identities: List[int] + self._record_references: list[GsaRecordReference] + self._attribute_identities: list[int] self.record_references = record_references self.attribute_identities = attribute_identities @property - def record_references(self) -> "List[GsaRecordReference]": + def record_references(self) -> "list[GsaRecordReference]": """Gets the record_references of this GsaIntegrationDataExportRequest. A list of records to export. These are references to the underlying records in the source database Returns ------- - List[GsaRecordReference] + list[GsaRecordReference] The record_references of this GsaIntegrationDataExportRequest. """ return self._record_references @record_references.setter - def record_references(self, record_references: "List[GsaRecordReference]") -> None: + def record_references(self, record_references: "list[GsaRecordReference]") -> None: """Sets the record_references of this GsaIntegrationDataExportRequest. A list of records to export. These are references to the underlying records in the source database Parameters ---------- - record_references: List[GsaRecordReference] + record_references: list[GsaRecordReference] The record_references of this GsaIntegrationDataExportRequest. """ # Field is not nullable @@ -126,25 +126,25 @@ def record_references(self, record_references: "List[GsaRecordReference]") -> No self._record_references = record_references @property - def attribute_identities(self) -> "List[int]": + def attribute_identities(self) -> "list[int]": """Gets the attribute_identities of this GsaIntegrationDataExportRequest. A list of attribute to export. These are the attribute identities from the integration schema. Returns ------- - List[int] + list[int] The attribute_identities of this GsaIntegrationDataExportRequest. """ return self._attribute_identities @attribute_identities.setter - def attribute_identities(self, attribute_identities: "List[int]") -> None: + def attribute_identities(self, attribute_identities: "list[int]") -> None: """Sets the attribute_identities of this GsaIntegrationDataExportRequest. A list of attribute to export. These are the attribute identities from the integration schema. Parameters ---------- - attribute_identities: List[int] + attribute_identities: list[int] The attribute_identities of this GsaIntegrationDataExportRequest. """ # Field is not nullable @@ -156,7 +156,7 @@ def attribute_identities(self, attribute_identities: "List[int]") -> None: self._attribute_identities = attribute_identities @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_discrete_type.py index 73bdb207..9d042354 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_discrete_type.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaIntegrationDiscreteType(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "identity": "int", "name": "str", "values": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "identity": "identity", "name": "name", "values": "values", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -84,7 +84,7 @@ def __init__( guid: "Union[str, None, Unset_Type]" = Unset, identity: "Union[int, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, - values: "Union[List[str], None, Unset_Type]" = Unset, + values: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaIntegrationDiscreteType - a model defined in Swagger @@ -93,12 +93,12 @@ def __init__( guid: str, optional identity: int, optional name: str, optional - values: List[str], optional + values: list[str], optional """ self._identity: Union[int, Unset_Type] = Unset self._guid: Union[str, None, Unset_Type] = Unset self._name: Union[str, None, Unset_Type] = Unset - self._values: Union[List[str], None, Unset_Type] = Unset + self._values: Union[list[str], None, Unset_Type] = Unset if identity is not Unset: self.identity = identity @@ -179,29 +179,29 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @property - def values(self) -> "Union[List[str], None, Unset_Type]": + def values(self) -> "Union[list[str], None, Unset_Type]": """Gets the values of this GsaIntegrationDiscreteType. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The values of this GsaIntegrationDiscreteType. """ return self._values @values.setter - def values(self, values: "Union[List[str], None, Unset_Type]") -> None: + def values(self, values: "Union[list[str], None, Unset_Type]") -> None: """Sets the values of this GsaIntegrationDiscreteType. Parameters ---------- - values: Union[List[str], None, Unset_Type] + values: Union[list[str], None, Unset_Type] The values of this GsaIntegrationDiscreteType. """ self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_layout.py index 9332e995..4eacc6c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_layout.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,49 +51,49 @@ class GsaIntegrationLayout(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_guids": "list[str]", "attribute_identities": "list[int]", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_guids": "attributeGuids", "attribute_identities": "attributeIdentities", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - attribute_guids: "Union[List[str], None, Unset_Type]" = Unset, - attribute_identities: "Union[List[int], None, Unset_Type]" = Unset, + attribute_guids: "Union[list[str], None, Unset_Type]" = Unset, + attribute_identities: "Union[list[int], None, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaIntegrationLayout - a model defined in Swagger Parameters ---------- - attribute_guids: List[str], optional - attribute_identities: List[int], optional + attribute_guids: list[str], optional + attribute_identities: list[int], optional name: str, optional """ self._name: Union[str, None, Unset_Type] = Unset - self._attribute_identities: Union[List[int], None, Unset_Type] = Unset - self._attribute_guids: Union[List[str], None, Unset_Type] = Unset + self._attribute_identities: Union[list[int], None, Unset_Type] = Unset + self._attribute_guids: Union[list[str], None, Unset_Type] = Unset if name is not Unset: self.name = name @@ -125,53 +125,53 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @property - def attribute_identities(self) -> "Union[List[int], None, Unset_Type]": + def attribute_identities(self) -> "Union[list[int], None, Unset_Type]": """Gets the attribute_identities of this GsaIntegrationLayout. Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The attribute_identities of this GsaIntegrationLayout. """ return self._attribute_identities @attribute_identities.setter def attribute_identities( - self, attribute_identities: "Union[List[int], None, Unset_Type]" + self, attribute_identities: "Union[list[int], None, Unset_Type]" ) -> None: """Sets the attribute_identities of this GsaIntegrationLayout. Parameters ---------- - attribute_identities: Union[List[int], None, Unset_Type] + attribute_identities: Union[list[int], None, Unset_Type] The attribute_identities of this GsaIntegrationLayout. """ self._attribute_identities = attribute_identities @property - def attribute_guids(self) -> "Union[List[str], None, Unset_Type]": + def attribute_guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the attribute_guids of this GsaIntegrationLayout. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The attribute_guids of this GsaIntegrationLayout. """ return self._attribute_guids @attribute_guids.setter - def attribute_guids(self, attribute_guids: "Union[List[str], None, Unset_Type]") -> None: + def attribute_guids(self, attribute_guids: "Union[list[str], None, Unset_Type]") -> None: """Sets the attribute_guids of this GsaIntegrationLayout. Parameters ---------- - attribute_guids: Union[List[str], None, Unset_Type] + attribute_guids: Union[list[str], None, Unset_Type] The attribute_guids of this GsaIntegrationLayout. """ self._attribute_guids = attribute_guids @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_parameter_info.py index b4d6fade..3f3bd05b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_parameter_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaIntegrationParameterInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_value": "GsaDataExportParameterValue", "guid": "str", "identity": "int", @@ -71,7 +71,7 @@ class GsaIntegrationParameterInfo(ModelBase): "unit_symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_value": "defaultValue", "guid": "guid", "identity": "identity", @@ -82,7 +82,7 @@ class GsaIntegrationParameterInfo(ModelBase): "unit_symbol": "unitSymbol", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "scaleType": "GsaParameterInfoScaleType", "interpolationType": "GsaParameterInfoInterpolationType", "parameterType": "GsaParameterInfoParameterType", @@ -340,7 +340,7 @@ def default_value( self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_generation_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_generation_error_detail.py index 64cac074..21da5321 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_generation_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_generation_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaIntegrationSchemaGenerationErrorDetail(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def reason(self, reason: "str") -> None: self._reason = reason @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_of_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_of_object_identifier.py index 1d3e2d2a..815d58f4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_of_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_of_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaIntegrationSchemaOfObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "access_control_category_values": "dict(str, list[str])", "attributes": "list[GsaIntegrationAttribute]", "discrete_types": "list[GsaIntegrationDiscreteType]", @@ -72,7 +72,7 @@ class GsaIntegrationSchemaOfObjectIdentifier(ModelBase): "version": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "access_control_category_values": "accessControlCategoryValues", "attributes": "attributes", "discrete_types": "discreteTypes", @@ -84,7 +84,7 @@ class GsaIntegrationSchemaOfObjectIdentifier(ModelBase): "version": "version", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaIntegrationAttribute", "layouts": "GsaIntegrationLayout", "discreteTypes": "GsaIntegrationDiscreteType", @@ -97,13 +97,13 @@ class GsaIntegrationSchemaOfObjectIdentifier(ModelBase): def __init__( self, *, - access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]" = Unset, - attributes: "Union[List[GsaIntegrationAttribute], None, Unset_Type]" = Unset, - discrete_types: "Union[List[GsaIntegrationDiscreteType], None, Unset_Type]" = Unset, + access_control_category_values: "Union[dict[str, list[str]], None, Unset_Type]" = Unset, + attributes: "Union[list[GsaIntegrationAttribute], None, Unset_Type]" = Unset, + discrete_types: "Union[list[GsaIntegrationDiscreteType], None, Unset_Type]" = Unset, key: "Union[str, None, Unset_Type]" = Unset, - layouts: "Union[List[GsaIntegrationLayout], None, Unset_Type]" = Unset, + layouts: "Union[list[GsaIntegrationLayout], None, Unset_Type]" = Unset, security_groups: "Union[GsaSecurityGroups, Unset_Type]" = Unset, - sources: "Union[List[GsaSourceOfObjectIdentifier], None, Unset_Type]" = Unset, + sources: "Union[list[GsaSourceOfObjectIdentifier], None, Unset_Type]" = Unset, unit_system: "Union[str, None, Unset_Type]" = Unset, version: "Union[int, None, Unset_Type]" = Unset, ) -> None: @@ -111,24 +111,24 @@ def __init__( Parameters ---------- - access_control_category_values: Dict[str, List[str]], optional - attributes: List[GsaIntegrationAttribute], optional - discrete_types: List[GsaIntegrationDiscreteType], optional + access_control_category_values: dict[str, list[str]], optional + attributes: list[GsaIntegrationAttribute], optional + discrete_types: list[GsaIntegrationDiscreteType], optional key: str, optional - layouts: List[GsaIntegrationLayout], optional + layouts: list[GsaIntegrationLayout], optional security_groups: GsaSecurityGroups, optional - sources: List[GsaSourceOfObjectIdentifier], optional + sources: list[GsaSourceOfObjectIdentifier], optional unit_system: str, optional version: int, optional """ self._key: Union[str, None, Unset_Type] = Unset self._version: Union[int, None, Unset_Type] = Unset - self._attributes: Union[List[GsaIntegrationAttribute], None, Unset_Type] = Unset - self._layouts: Union[List[GsaIntegrationLayout], None, Unset_Type] = Unset + self._attributes: Union[list[GsaIntegrationAttribute], None, Unset_Type] = Unset + self._layouts: Union[list[GsaIntegrationLayout], None, Unset_Type] = Unset self._unit_system: Union[str, None, Unset_Type] = Unset - self._discrete_types: Union[List[GsaIntegrationDiscreteType], None, Unset_Type] = Unset - self._sources: Union[List[GsaSourceOfObjectIdentifier], None, Unset_Type] = Unset - self._access_control_category_values: Union[Dict[str, List[str]], None, Unset_Type] = Unset + self._discrete_types: Union[list[GsaIntegrationDiscreteType], None, Unset_Type] = Unset + self._sources: Union[list[GsaSourceOfObjectIdentifier], None, Unset_Type] = Unset + self._access_control_category_values: Union[dict[str, list[str]], None, Unset_Type] = Unset self._security_groups: Union[GsaSecurityGroups, Unset_Type] = Unset if key is not Unset: @@ -195,47 +195,47 @@ def version(self, version: "Union[int, None, Unset_Type]") -> None: self._version = version @property - def attributes(self) -> "Union[List[GsaIntegrationAttribute], None, Unset_Type]": + def attributes(self) -> "Union[list[GsaIntegrationAttribute], None, Unset_Type]": """Gets the attributes of this GsaIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaIntegrationAttribute], None, Unset_Type] + Union[list[GsaIntegrationAttribute], None, Unset_Type] The attributes of this GsaIntegrationSchemaOfObjectIdentifier. """ return self._attributes @attributes.setter def attributes( - self, attributes: "Union[List[GsaIntegrationAttribute], None, Unset_Type]" + self, attributes: "Union[list[GsaIntegrationAttribute], None, Unset_Type]" ) -> None: """Sets the attributes of this GsaIntegrationSchemaOfObjectIdentifier. Parameters ---------- - attributes: Union[List[GsaIntegrationAttribute], None, Unset_Type] + attributes: Union[list[GsaIntegrationAttribute], None, Unset_Type] The attributes of this GsaIntegrationSchemaOfObjectIdentifier. """ self._attributes = attributes @property - def layouts(self) -> "Union[List[GsaIntegrationLayout], None, Unset_Type]": + def layouts(self) -> "Union[list[GsaIntegrationLayout], None, Unset_Type]": """Gets the layouts of this GsaIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaIntegrationLayout], None, Unset_Type] + Union[list[GsaIntegrationLayout], None, Unset_Type] The layouts of this GsaIntegrationSchemaOfObjectIdentifier. """ return self._layouts @layouts.setter - def layouts(self, layouts: "Union[List[GsaIntegrationLayout], None, Unset_Type]") -> None: + def layouts(self, layouts: "Union[list[GsaIntegrationLayout], None, Unset_Type]") -> None: """Sets the layouts of this GsaIntegrationSchemaOfObjectIdentifier. Parameters ---------- - layouts: Union[List[GsaIntegrationLayout], None, Unset_Type] + layouts: Union[list[GsaIntegrationLayout], None, Unset_Type] The layouts of this GsaIntegrationSchemaOfObjectIdentifier. """ self._layouts = layouts @@ -263,73 +263,73 @@ def unit_system(self, unit_system: "Union[str, None, Unset_Type]") -> None: self._unit_system = unit_system @property - def discrete_types(self) -> "Union[List[GsaIntegrationDiscreteType], None, Unset_Type]": + def discrete_types(self) -> "Union[list[GsaIntegrationDiscreteType], None, Unset_Type]": """Gets the discrete_types of this GsaIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaIntegrationDiscreteType], None, Unset_Type] + Union[list[GsaIntegrationDiscreteType], None, Unset_Type] The discrete_types of this GsaIntegrationSchemaOfObjectIdentifier. """ return self._discrete_types @discrete_types.setter def discrete_types( - self, discrete_types: "Union[List[GsaIntegrationDiscreteType], None, Unset_Type]" + self, discrete_types: "Union[list[GsaIntegrationDiscreteType], None, Unset_Type]" ) -> None: """Sets the discrete_types of this GsaIntegrationSchemaOfObjectIdentifier. Parameters ---------- - discrete_types: Union[List[GsaIntegrationDiscreteType], None, Unset_Type] + discrete_types: Union[list[GsaIntegrationDiscreteType], None, Unset_Type] The discrete_types of this GsaIntegrationSchemaOfObjectIdentifier. """ self._discrete_types = discrete_types @property - def sources(self) -> "Union[List[GsaSourceOfObjectIdentifier], None, Unset_Type]": + def sources(self) -> "Union[list[GsaSourceOfObjectIdentifier], None, Unset_Type]": """Gets the sources of this GsaIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[List[GsaSourceOfObjectIdentifier], None, Unset_Type] + Union[list[GsaSourceOfObjectIdentifier], None, Unset_Type] The sources of this GsaIntegrationSchemaOfObjectIdentifier. """ return self._sources @sources.setter def sources( - self, sources: "Union[List[GsaSourceOfObjectIdentifier], None, Unset_Type]" + self, sources: "Union[list[GsaSourceOfObjectIdentifier], None, Unset_Type]" ) -> None: """Sets the sources of this GsaIntegrationSchemaOfObjectIdentifier. Parameters ---------- - sources: Union[List[GsaSourceOfObjectIdentifier], None, Unset_Type] + sources: Union[list[GsaSourceOfObjectIdentifier], None, Unset_Type] The sources of this GsaIntegrationSchemaOfObjectIdentifier. """ self._sources = sources @property - def access_control_category_values(self) -> "Union[Dict[str, List[str]], None, Unset_Type]": + def access_control_category_values(self) -> "Union[dict[str, list[str]], None, Unset_Type]": """Gets the access_control_category_values of this GsaIntegrationSchemaOfObjectIdentifier. Returns ------- - Union[Dict[str, List[str]], None, Unset_Type] + Union[dict[str, list[str]], None, Unset_Type] The access_control_category_values of this GsaIntegrationSchemaOfObjectIdentifier. """ return self._access_control_category_values @access_control_category_values.setter def access_control_category_values( - self, access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]" + self, access_control_category_values: "Union[dict[str, list[str]], None, Unset_Type]" ) -> None: """Sets the access_control_category_values of this GsaIntegrationSchemaOfObjectIdentifier. Parameters ---------- - access_control_category_values: Union[Dict[str, List[str]], None, Unset_Type] + access_control_category_values: Union[dict[str, list[str]], None, Unset_Type] The access_control_category_values of this GsaIntegrationSchemaOfObjectIdentifier. """ self._access_control_category_values = access_control_category_values @@ -360,7 +360,7 @@ def security_groups(self, security_groups: "Union[GsaSecurityGroups, Unset_Type] self._security_groups = security_groups @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_status.py index 7aa75c54..2b74c280 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_integration_schema_status.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaIntegrationSchemaStatus(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "errored_databases": "dict(str, str)", "loaded_database_index_statuses": "dict(str, GsaSearchIndexStatus)", "loaded_databases": "list[str]", @@ -75,7 +75,7 @@ class GsaIntegrationSchemaStatus(ModelBase): "search_index_up_to_date": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "errored_databases": "erroredDatabases", "loaded_database_index_statuses": "loadedDatabaseIndexStatuses", "loaded_databases": "loadedDatabases", @@ -90,7 +90,7 @@ class GsaIntegrationSchemaStatus(ModelBase): "search_index_up_to_date": "searchIndexUpToDate", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "loadedDatabaseIndexStatuses": "GsaSearchIndexStatus", "recordsThatFailedToIndex": "GsaIndexRecordFailure", } @@ -100,12 +100,12 @@ class GsaIntegrationSchemaStatus(ModelBase): def __init__( self, *, - errored_databases: "Union[Dict[str, str], None, Unset_Type]" = Unset, - loaded_database_index_statuses: "Union[Dict[str, GsaSearchIndexStatus], None, Unset_Type]" = Unset, - loaded_databases: "Union[List[str], None, Unset_Type]" = Unset, - loading_databases: "Union[List[str], None, Unset_Type]" = Unset, - not_loaded_databases: "Union[List[str], None, Unset_Type]" = Unset, - records_that_failed_to_index: "Union[List[GsaIndexRecordFailure], None, Unset_Type]" = Unset, + errored_databases: "Union[dict[str, str], None, Unset_Type]" = Unset, + loaded_database_index_statuses: "Union[dict[str, GsaSearchIndexStatus], None, Unset_Type]" = Unset, + loaded_databases: "Union[list[str], None, Unset_Type]" = Unset, + loading_databases: "Union[list[str], None, Unset_Type]" = Unset, + not_loaded_databases: "Union[list[str], None, Unset_Type]" = Unset, + records_that_failed_to_index: "Union[list[GsaIndexRecordFailure], None, Unset_Type]" = Unset, search_index_in_sync: "Union[bool, Unset_Type]" = Unset, search_index_is_read_only: "Union[bool, None, Unset_Type]" = Unset, search_index_location: "Union[str, None, Unset_Type]" = Unset, @@ -117,12 +117,12 @@ def __init__( Parameters ---------- - errored_databases: Dict[str, str], optional - loaded_database_index_statuses: Dict[str, GsaSearchIndexStatus], optional - loaded_databases: List[str], optional - loading_databases: List[str], optional - not_loaded_databases: List[str], optional - records_that_failed_to_index: List[GsaIndexRecordFailure], optional + errored_databases: dict[str, str], optional + loaded_database_index_statuses: dict[str, GsaSearchIndexStatus], optional + loaded_databases: list[str], optional + loading_databases: list[str], optional + not_loaded_databases: list[str], optional + records_that_failed_to_index: list[GsaIndexRecordFailure], optional search_index_in_sync: bool, optional search_index_is_read_only: bool, optional search_index_location: str, optional @@ -130,12 +130,12 @@ def __init__( search_index_unavailable: bool, optional search_index_up_to_date: bool, optional """ - self._loaded_databases: Union[List[str], None, Unset_Type] = Unset - self._loading_databases: Union[List[str], None, Unset_Type] = Unset - self._not_loaded_databases: Union[List[str], None, Unset_Type] = Unset - self._errored_databases: Union[Dict[str, str], None, Unset_Type] = Unset + self._loaded_databases: Union[list[str], None, Unset_Type] = Unset + self._loading_databases: Union[list[str], None, Unset_Type] = Unset + self._not_loaded_databases: Union[list[str], None, Unset_Type] = Unset + self._errored_databases: Union[dict[str, str], None, Unset_Type] = Unset self._loaded_database_index_statuses: Union[ - Dict[str, GsaSearchIndexStatus], None, Unset_Type + dict[str, GsaSearchIndexStatus], None, Unset_Type ] = Unset self._search_index_up_to_date: Union[bool, Unset_Type] = Unset self._search_index_out_of_date_duration: Union[str, None, Unset_Type] = Unset @@ -143,7 +143,7 @@ def __init__( self._search_index_location: Union[str, None, Unset_Type] = Unset self._search_index_is_read_only: Union[bool, None, Unset_Type] = Unset self._search_index_unavailable: Union[bool, None, Unset_Type] = Unset - self._records_that_failed_to_index: Union[List[GsaIndexRecordFailure], None, Unset_Type] = ( + self._records_that_failed_to_index: Union[list[GsaIndexRecordFailure], None, Unset_Type] = ( Unset ) @@ -173,101 +173,101 @@ def __init__( self.records_that_failed_to_index = records_that_failed_to_index @property - def loaded_databases(self) -> "Union[List[str], None, Unset_Type]": + def loaded_databases(self) -> "Union[list[str], None, Unset_Type]": """Gets the loaded_databases of this GsaIntegrationSchemaStatus. Loaded databases have been successfully indexed into the integration schema. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The loaded_databases of this GsaIntegrationSchemaStatus. """ return self._loaded_databases @loaded_databases.setter - def loaded_databases(self, loaded_databases: "Union[List[str], None, Unset_Type]") -> None: + def loaded_databases(self, loaded_databases: "Union[list[str], None, Unset_Type]") -> None: """Sets the loaded_databases of this GsaIntegrationSchemaStatus. Loaded databases have been successfully indexed into the integration schema. Parameters ---------- - loaded_databases: Union[List[str], None, Unset_Type] + loaded_databases: Union[list[str], None, Unset_Type] The loaded_databases of this GsaIntegrationSchemaStatus. """ self._loaded_databases = loaded_databases @property - def loading_databases(self) -> "Union[List[str], None, Unset_Type]": + def loading_databases(self) -> "Union[list[str], None, Unset_Type]": """Gets the loading_databases of this GsaIntegrationSchemaStatus. Databases which are in the process of loading. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The loading_databases of this GsaIntegrationSchemaStatus. """ return self._loading_databases @loading_databases.setter - def loading_databases(self, loading_databases: "Union[List[str], None, Unset_Type]") -> None: + def loading_databases(self, loading_databases: "Union[list[str], None, Unset_Type]") -> None: """Sets the loading_databases of this GsaIntegrationSchemaStatus. Databases which are in the process of loading. Parameters ---------- - loading_databases: Union[List[str], None, Unset_Type] + loading_databases: Union[list[str], None, Unset_Type] The loading_databases of this GsaIntegrationSchemaStatus. """ self._loading_databases = loading_databases @property - def not_loaded_databases(self) -> "Union[List[str], None, Unset_Type]": + def not_loaded_databases(self) -> "Union[list[str], None, Unset_Type]": """Gets the not_loaded_databases of this GsaIntegrationSchemaStatus. Databases that are referenced in the schema but that are not yet loaded. This could be because they are still queued for load in the MI system, or because they have not yet been added. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The not_loaded_databases of this GsaIntegrationSchemaStatus. """ return self._not_loaded_databases @not_loaded_databases.setter def not_loaded_databases( - self, not_loaded_databases: "Union[List[str], None, Unset_Type]" + self, not_loaded_databases: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the not_loaded_databases of this GsaIntegrationSchemaStatus. Databases that are referenced in the schema but that are not yet loaded. This could be because they are still queued for load in the MI system, or because they have not yet been added. Parameters ---------- - not_loaded_databases: Union[List[str], None, Unset_Type] + not_loaded_databases: Union[list[str], None, Unset_Type] The not_loaded_databases of this GsaIntegrationSchemaStatus. """ self._not_loaded_databases = not_loaded_databases @property - def errored_databases(self) -> "Union[Dict[str, str], None, Unset_Type]": + def errored_databases(self) -> "Union[dict[str, str], None, Unset_Type]": """Gets the errored_databases of this GsaIntegrationSchemaStatus. Databases that encountered an error while loading. These databases will not be available for searches. Returns ------- - Union[Dict[str, str], None, Unset_Type] + Union[dict[str, str], None, Unset_Type] The errored_databases of this GsaIntegrationSchemaStatus. """ return self._errored_databases @errored_databases.setter def errored_databases( - self, errored_databases: "Union[Dict[str, str], None, Unset_Type]" + self, errored_databases: "Union[dict[str, str], None, Unset_Type]" ) -> None: """Sets the errored_databases of this GsaIntegrationSchemaStatus. Databases that encountered an error while loading. These databases will not be available for searches. Parameters ---------- - errored_databases: Union[Dict[str, str], None, Unset_Type] + errored_databases: Union[dict[str, str], None, Unset_Type] The errored_databases of this GsaIntegrationSchemaStatus. """ self._errored_databases = errored_databases @@ -275,13 +275,13 @@ def errored_databases( @property def loaded_database_index_statuses( self, - ) -> "Union[Dict[str, GsaSearchIndexStatus], None, Unset_Type]": + ) -> "Union[dict[str, GsaSearchIndexStatus], None, Unset_Type]": """Gets the loaded_database_index_statuses of this GsaIntegrationSchemaStatus. Index information about all loaded databases, including the out of sync status. Returns ------- - Union[Dict[str, GsaSearchIndexStatus], None, Unset_Type] + Union[dict[str, GsaSearchIndexStatus], None, Unset_Type] The loaded_database_index_statuses of this GsaIntegrationSchemaStatus. """ return self._loaded_database_index_statuses @@ -289,14 +289,14 @@ def loaded_database_index_statuses( @loaded_database_index_statuses.setter def loaded_database_index_statuses( self, - loaded_database_index_statuses: "Union[Dict[str, GsaSearchIndexStatus], None, Unset_Type]", + loaded_database_index_statuses: "Union[dict[str, GsaSearchIndexStatus], None, Unset_Type]", ) -> None: """Sets the loaded_database_index_statuses of this GsaIntegrationSchemaStatus. Index information about all loaded databases, including the out of sync status. Parameters ---------- - loaded_database_index_statuses: Union[Dict[str, GsaSearchIndexStatus], None, Unset_Type] + loaded_database_index_statuses: Union[dict[str, GsaSearchIndexStatus], None, Unset_Type] The loaded_database_index_statuses of this GsaIntegrationSchemaStatus. """ self._loaded_database_index_statuses = loaded_database_index_statuses @@ -460,33 +460,33 @@ def search_index_unavailable( @property def records_that_failed_to_index( self, - ) -> "Union[List[GsaIndexRecordFailure], None, Unset_Type]": + ) -> "Union[list[GsaIndexRecordFailure], None, Unset_Type]": """Gets the records_that_failed_to_index of this GsaIntegrationSchemaStatus. Details of any records that failed to index. Returns ------- - Union[List[GsaIndexRecordFailure], None, Unset_Type] + Union[list[GsaIndexRecordFailure], None, Unset_Type] The records_that_failed_to_index of this GsaIntegrationSchemaStatus. """ return self._records_that_failed_to_index @records_that_failed_to_index.setter def records_that_failed_to_index( - self, records_that_failed_to_index: "Union[List[GsaIndexRecordFailure], None, Unset_Type]" + self, records_that_failed_to_index: "Union[list[GsaIndexRecordFailure], None, Unset_Type]" ) -> None: """Sets the records_that_failed_to_index of this GsaIntegrationSchemaStatus. Details of any records that failed to index. Parameters ---------- - records_that_failed_to_index: Union[List[GsaIndexRecordFailure], None, Unset_Type] + records_that_failed_to_index: Union[list[GsaIndexRecordFailure], None, Unset_Type] The records_that_failed_to_index of this GsaIntegrationSchemaStatus. """ self._records_that_failed_to_index = records_that_failed_to_index @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_parent_state_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_parent_state_error_detail.py index 1e408f59..50bfbff0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_parent_state_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_parent_state_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_version_control_error_detail import ( # noqa: F401 GsaVersionControlErrorDetail, @@ -55,26 +55,26 @@ class GsaInvalidParentStateErrorDetail(GsaVersionControlErrorDetail): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -94,7 +94,7 @@ def __init__( super().__init__(message=message, reason=reason) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_version_state_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_version_state_error_detail.py index 1a8a658f..e0d1902a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_version_state_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_invalid_version_state_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_version_control_error_detail import ( # noqa: F401 GsaVersionControlErrorDetail, @@ -55,28 +55,28 @@ class GsaInvalidVersionStateErrorDetail(GsaVersionControlErrorDetail): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "version_state": "GsaVersionState", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "version_state": "versionState", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "versionState": "GsaVersionState", } @@ -129,7 +129,7 @@ def version_state(self, version_state: "Union[GsaVersionState, Unset_Type]") -> self._version_state = version_state @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job.py index e2d28616..695989c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaJob(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "completion_date": "datetime", "description": "str", "execution_date": "datetime", @@ -78,7 +78,7 @@ class GsaJob(ModelBase): "type": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "completion_date": "completionDate", "description": "description", "execution_date": "executionDate", @@ -96,7 +96,7 @@ class GsaJob(ModelBase): "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "status": "GsaJobStatus", } @@ -109,16 +109,16 @@ def __init__( description: "Union[str, None, Unset_Type]" = Unset, execution_date: "Union[datetime, None, Unset_Type]" = Unset, id: "Union[str, Unset_Type]" = Unset, - input_file_ids: "Union[List[str], None, Unset_Type]" = Unset, - job_specific_outputs: "Union[Dict[str, object], None, Unset_Type]" = Unset, + input_file_ids: "Union[list[str], None, Unset_Type]" = Unset, + job_specific_outputs: "Union[dict[str, object], None, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, - output_file_names: "Union[List[str], None, Unset_Type]" = Unset, + output_file_names: "Union[list[str], None, Unset_Type]" = Unset, position: "Union[int, None, Unset_Type]" = Unset, scheduled_execution_date: "Union[datetime, None, Unset_Type]" = Unset, status: "Union[GsaJobStatus, Unset_Type]" = Unset, submission_date: "Union[datetime, None, Unset_Type]" = Unset, submitter_name: "Union[str, None, Unset_Type]" = Unset, - submitter_roles: "Union[List[str], None, Unset_Type]" = Unset, + submitter_roles: "Union[list[str], None, Unset_Type]" = Unset, type: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaJob - a model defined in Swagger @@ -129,16 +129,16 @@ def __init__( description: str, optional execution_date: datetime, optional id: str, optional - input_file_ids: List[str], optional - job_specific_outputs: Dict[str, object], optional + input_file_ids: list[str], optional + job_specific_outputs: dict[str, object], optional name: str, optional - output_file_names: List[str], optional + output_file_names: list[str], optional position: int, optional scheduled_execution_date: datetime, optional status: GsaJobStatus, optional submission_date: datetime, optional submitter_name: str, optional - submitter_roles: List[str], optional + submitter_roles: list[str], optional type: str, optional """ self._id: Union[str, Unset_Type] = Unset @@ -146,16 +146,16 @@ def __init__( self._description: Union[str, None, Unset_Type] = Unset self._type: Union[str, None, Unset_Type] = Unset self._submitter_name: Union[str, None, Unset_Type] = Unset - self._submitter_roles: Union[List[str], None, Unset_Type] = Unset + self._submitter_roles: Union[list[str], None, Unset_Type] = Unset self._submission_date: Union[datetime, None, Unset_Type] = Unset self._scheduled_execution_date: Union[datetime, None, Unset_Type] = Unset self._execution_date: Union[datetime, None, Unset_Type] = Unset self._completion_date: Union[datetime, None, Unset_Type] = Unset self._status: Union[GsaJobStatus, Unset_Type] = Unset - self._input_file_ids: Union[List[str], None, Unset_Type] = Unset - self._output_file_names: Union[List[str], None, Unset_Type] = Unset + self._input_file_ids: Union[list[str], None, Unset_Type] = Unset + self._output_file_names: Union[list[str], None, Unset_Type] = Unset self._position: Union[int, None, Unset_Type] = Unset - self._job_specific_outputs: Union[Dict[str, object], None, Unset_Type] = Unset + self._job_specific_outputs: Union[dict[str, object], None, Unset_Type] = Unset if id is not Unset: self.id = id @@ -302,23 +302,23 @@ def submitter_name(self, submitter_name: "Union[str, None, Unset_Type]") -> None self._submitter_name = submitter_name @property - def submitter_roles(self) -> "Union[List[str], None, Unset_Type]": + def submitter_roles(self) -> "Union[list[str], None, Unset_Type]": """Gets the submitter_roles of this GsaJob. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The submitter_roles of this GsaJob. """ return self._submitter_roles @submitter_roles.setter - def submitter_roles(self, submitter_roles: "Union[List[str], None, Unset_Type]") -> None: + def submitter_roles(self, submitter_roles: "Union[list[str], None, Unset_Type]") -> None: """Sets the submitter_roles of this GsaJob. Parameters ---------- - submitter_roles: Union[List[str], None, Unset_Type] + submitter_roles: Union[list[str], None, Unset_Type] The submitter_roles of this GsaJob. """ self._submitter_roles = submitter_roles @@ -439,45 +439,45 @@ def status(self, status: "Union[GsaJobStatus, Unset_Type]") -> None: self._status = status @property - def input_file_ids(self) -> "Union[List[str], None, Unset_Type]": + def input_file_ids(self) -> "Union[list[str], None, Unset_Type]": """Gets the input_file_ids of this GsaJob. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The input_file_ids of this GsaJob. """ return self._input_file_ids @input_file_ids.setter - def input_file_ids(self, input_file_ids: "Union[List[str], None, Unset_Type]") -> None: + def input_file_ids(self, input_file_ids: "Union[list[str], None, Unset_Type]") -> None: """Sets the input_file_ids of this GsaJob. Parameters ---------- - input_file_ids: Union[List[str], None, Unset_Type] + input_file_ids: Union[list[str], None, Unset_Type] The input_file_ids of this GsaJob. """ self._input_file_ids = input_file_ids @property - def output_file_names(self) -> "Union[List[str], None, Unset_Type]": + def output_file_names(self) -> "Union[list[str], None, Unset_Type]": """Gets the output_file_names of this GsaJob. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The output_file_names of this GsaJob. """ return self._output_file_names @output_file_names.setter - def output_file_names(self, output_file_names: "Union[List[str], None, Unset_Type]") -> None: + def output_file_names(self, output_file_names: "Union[list[str], None, Unset_Type]") -> None: """Sets the output_file_names of this GsaJob. Parameters ---------- - output_file_names: Union[List[str], None, Unset_Type] + output_file_names: Union[list[str], None, Unset_Type] The output_file_names of this GsaJob. """ self._output_file_names = output_file_names @@ -505,31 +505,31 @@ def position(self, position: "Union[int, None, Unset_Type]") -> None: self._position = position @property - def job_specific_outputs(self) -> "Union[Dict[str, object], None, Unset_Type]": + def job_specific_outputs(self) -> "Union[dict[str, object], None, Unset_Type]": """Gets the job_specific_outputs of this GsaJob. Returns ------- - Union[Dict[str, object], None, Unset_Type] + Union[dict[str, object], None, Unset_Type] The job_specific_outputs of this GsaJob. """ return self._job_specific_outputs @job_specific_outputs.setter def job_specific_outputs( - self, job_specific_outputs: "Union[Dict[str, object], None, Unset_Type]" + self, job_specific_outputs: "Union[dict[str, object], None, Unset_Type]" ) -> None: """Sets the job_specific_outputs of this GsaJob. Parameters ---------- - job_specific_outputs: Union[Dict[str, object], None, Unset_Type] + job_specific_outputs: Union[dict[str, object], None, Unset_Type] The job_specific_outputs of this GsaJob. """ self._job_specific_outputs = job_specific_outputs @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job_type_and_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job_type_and_status.py index df113d58..bdd2bd0f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job_type_and_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_job_type_and_status.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaJobTypeAndStatus(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "job_type": "str", "status": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "job_type": "jobType", "status": "status", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -140,7 +140,7 @@ def status(self, status: "Union[str, None, Unset_Type]") -> None: self._status = status @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_by_user_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_by_user_property.py index 8a6e2dd4..47192fcb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_by_user_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_by_user_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaLastModifiedByUserProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "last_modified_by_user": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "last_modified_by_user": "lastModifiedByUser", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def last_modified_by_user(self, last_modified_by_user: "Union[str, None, Unset_T self._last_modified_by_user = last_modified_by_user @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_date_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_date_property.py index 6ed7dcb0..feb8304e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_date_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_last_modified_date_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaLastModifiedDateProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "last_modified_date": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "last_modified_date": "lastModifiedDate", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def last_modified_date(self, last_modified_date: "Union[datetime, Unset_Type]") self._last_modified_date = last_modified_date @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout.py index 08d2f63e..0eefc394 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaLayout(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "applicable_applications": "list[str]", "display_names": "dict(str, str)", "guid": "str", @@ -68,7 +68,7 @@ class GsaLayout(ModelBase): "sections": "list[GsaLayoutSection]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "applicable_applications": "applicableApplications", "display_names": "displayNames", "guid": "guid", @@ -76,7 +76,7 @@ class GsaLayout(ModelBase): "sections": "sections", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "sections": "GsaLayoutSection", } @@ -85,25 +85,25 @@ class GsaLayout(ModelBase): def __init__( self, *, - applicable_applications: "List[str]", - display_names: "Dict[str, str]", + applicable_applications: "list[str]", + display_names: "dict[str, str]", guid: "str", name: "str", - sections: "List[GsaLayoutSection]", + sections: "list[GsaLayoutSection]", ) -> None: """GsaLayout - a model defined in Swagger Parameters ---------- - applicable_applications: List[str] - display_names: Dict[str, str] + applicable_applications: list[str] + display_names: dict[str, str] guid: str name: str - sections: List[GsaLayoutSection] + sections: list[GsaLayoutSection] """ - self._sections: List[GsaLayoutSection] - self._applicable_applications: List[str] - self._display_names: Dict[str, str] + self._sections: list[GsaLayoutSection] + self._applicable_applications: list[str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -114,23 +114,23 @@ def __init__( self.guid = guid @property - def sections(self) -> "List[GsaLayoutSection]": + def sections(self) -> "list[GsaLayoutSection]": """Gets the sections of this GsaLayout. Returns ------- - List[GsaLayoutSection] + list[GsaLayoutSection] The sections of this GsaLayout. """ return self._sections @sections.setter - def sections(self, sections: "List[GsaLayoutSection]") -> None: + def sections(self, sections: "list[GsaLayoutSection]") -> None: """Sets the sections of this GsaLayout. Parameters ---------- - sections: List[GsaLayoutSection] + sections: list[GsaLayoutSection] The sections of this GsaLayout. """ # Field is not nullable @@ -142,25 +142,25 @@ def sections(self, sections: "List[GsaLayoutSection]") -> None: self._sections = sections @property - def applicable_applications(self) -> "List[str]": + def applicable_applications(self) -> "list[str]": """Gets the applicable_applications of this GsaLayout. If there are no ApplicableApplications, the layout is applicable in all applications. Returns ------- - List[str] + list[str] The applicable_applications of this GsaLayout. """ return self._applicable_applications @applicable_applications.setter - def applicable_applications(self, applicable_applications: "List[str]") -> None: + def applicable_applications(self, applicable_applications: "list[str]") -> None: """Sets the applicable_applications of this GsaLayout. If there are no ApplicableApplications, the layout is applicable in all applications. Parameters ---------- - applicable_applications: List[str] + applicable_applications: list[str] The applicable_applications of this GsaLayout. """ # Field is not nullable @@ -172,23 +172,23 @@ def applicable_applications(self, applicable_applications: "List[str]") -> None: self._applicable_applications = applicable_applications @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaLayout. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaLayout. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaLayout. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaLayout. """ # Field is not nullable @@ -256,7 +256,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_attribute_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_attribute_item.py index 754f1680..9b885a06 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_attribute_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_attribute_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_layout_item import GsaLayoutItem # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_layout_item_type import GsaLayoutItemType @@ -54,16 +54,16 @@ class GsaLayoutAttributeItem(GsaLayoutItem): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_type": "GsaAttributeType", "guid": "str", "item_type": "GsaLayoutItemType", @@ -75,7 +75,7 @@ class GsaLayoutAttributeItem(GsaLayoutItem): "tabular_columns": "list[GsaLayoutTabularColumn]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_type": "attributeType", "guid": "guid", "item_type": "itemType", @@ -87,7 +87,7 @@ class GsaLayoutAttributeItem(GsaLayoutItem): "tabular_columns": "tabularColumns", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeType": "GsaAttributeType", "metaAttributes": "GsaLayoutAttributeItem", "tabularColumns": "GsaLayoutTabularColumn", @@ -105,8 +105,8 @@ def __init__( read_only: "bool", required: "bool", underlying_entity_guid: "str", - meta_attributes: "Union[List[GsaLayoutAttributeItem], None, Unset_Type]" = Unset, - tabular_columns: "Union[List[GsaLayoutTabularColumn], None, Unset_Type]" = Unset, + meta_attributes: "Union[list[GsaLayoutAttributeItem], None, Unset_Type]" = Unset, + tabular_columns: "Union[list[GsaLayoutTabularColumn], None, Unset_Type]" = Unset, ) -> None: """GsaLayoutAttributeItem - a model defined in Swagger @@ -119,8 +119,8 @@ def __init__( read_only: bool required: bool underlying_entity_guid: str - meta_attributes: List[GsaLayoutAttributeItem], optional - tabular_columns: List[GsaLayoutTabularColumn], optional + meta_attributes: list[GsaLayoutAttributeItem], optional + tabular_columns: list[GsaLayoutTabularColumn], optional """ super().__init__( guid=guid, item_type=item_type, name=name, underlying_entity_guid=underlying_entity_guid @@ -128,8 +128,8 @@ def __init__( self._attribute_type: GsaAttributeType self._required: bool self._read_only: bool - self._meta_attributes: Union[List[GsaLayoutAttributeItem], None, Unset_Type] = Unset - self._tabular_columns: Union[List[GsaLayoutTabularColumn], None, Unset_Type] = Unset + self._meta_attributes: Union[list[GsaLayoutAttributeItem], None, Unset_Type] = Unset + self._tabular_columns: Union[list[GsaLayoutTabularColumn], None, Unset_Type] = Unset self.attribute_type = attribute_type self.required = required @@ -224,55 +224,55 @@ def read_only(self, read_only: "bool") -> None: self._read_only = read_only @property - def meta_attributes(self) -> "Union[List[GsaLayoutAttributeItem], None, Unset_Type]": + def meta_attributes(self) -> "Union[list[GsaLayoutAttributeItem], None, Unset_Type]": """Gets the meta_attributes of this GsaLayoutAttributeItem. Returns ------- - Union[List[GsaLayoutAttributeItem], None, Unset_Type] + Union[list[GsaLayoutAttributeItem], None, Unset_Type] The meta_attributes of this GsaLayoutAttributeItem. """ return self._meta_attributes @meta_attributes.setter def meta_attributes( - self, meta_attributes: "Union[List[GsaLayoutAttributeItem], None, Unset_Type]" + self, meta_attributes: "Union[list[GsaLayoutAttributeItem], None, Unset_Type]" ) -> None: """Sets the meta_attributes of this GsaLayoutAttributeItem. Parameters ---------- - meta_attributes: Union[List[GsaLayoutAttributeItem], None, Unset_Type] + meta_attributes: Union[list[GsaLayoutAttributeItem], None, Unset_Type] The meta_attributes of this GsaLayoutAttributeItem. """ self._meta_attributes = meta_attributes @property - def tabular_columns(self) -> "Union[List[GsaLayoutTabularColumn], None, Unset_Type]": + def tabular_columns(self) -> "Union[list[GsaLayoutTabularColumn], None, Unset_Type]": """Gets the tabular_columns of this GsaLayoutAttributeItem. Returns ------- - Union[List[GsaLayoutTabularColumn], None, Unset_Type] + Union[list[GsaLayoutTabularColumn], None, Unset_Type] The tabular_columns of this GsaLayoutAttributeItem. """ return self._tabular_columns @tabular_columns.setter def tabular_columns( - self, tabular_columns: "Union[List[GsaLayoutTabularColumn], None, Unset_Type]" + self, tabular_columns: "Union[list[GsaLayoutTabularColumn], None, Unset_Type]" ) -> None: """Sets the tabular_columns of this GsaLayoutAttributeItem. Parameters ---------- - tabular_columns: Union[List[GsaLayoutTabularColumn], None, Unset_Type] + tabular_columns: Union[list[GsaLayoutTabularColumn], None, Unset_Type] The tabular_columns of this GsaLayoutAttributeItem. """ self._tabular_columns = tabular_columns @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_item.py index e6b6cc97..f342c51c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,32 +51,32 @@ class GsaLayoutItem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "item_type": "GsaLayoutItemType", "name": "str", "underlying_entity_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "item_type": "itemType", "name": "name", "underlying_entity_guid": "underlyingEntityGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "itemType": "GsaLayoutItemType", } @@ -227,7 +227,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_link_item.py index 07a38976..1275e7c1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_link_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_layout_item import GsaLayoutItem # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_layout_item_type import GsaLayoutItemType @@ -54,16 +54,16 @@ class GsaLayoutLinkItem(GsaLayoutItem): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "forwards": "bool", "guid": "str", "item_type": "GsaLayoutItemType", @@ -76,7 +76,7 @@ class GsaLayoutLinkItem(GsaLayoutItem): "target_database_version": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "forwards": "forwards", "guid": "guid", "item_type": "itemType", @@ -89,7 +89,7 @@ class GsaLayoutLinkItem(GsaLayoutItem): "target_database_version": "targetDatabaseVersion", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkType": "GsaLayoutItemLinkType", "nextLink": "GsaLayoutLinkItem", } @@ -307,7 +307,7 @@ def next_link(self, next_link: "Union[GsaLayoutLinkItem, Unset_Type]") -> None: self._next_link = next_link @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_section.py index e4baf48a..42b0887a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_section.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,32 +51,32 @@ class GsaLayoutSection(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", "section_detail_type": "GsaLayoutSectionDetailType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", "section_detail_type": "sectionDetailType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "sectionDetailType": "GsaLayoutSectionDetailType", } @@ -90,7 +90,7 @@ class GsaLayoutSection(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", section_detail_type: "GsaLayoutSectionDetailType", @@ -99,13 +99,13 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str section_detail_type: GsaLayoutSectionDetailType """ self._section_detail_type: GsaLayoutSectionDetailType - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -143,23 +143,23 @@ def section_detail_type(self, section_detail_type: "GsaLayoutSectionDetailType") self._section_detail_type = section_detail_type @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaLayoutSection. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaLayoutSection. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaLayoutSection. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaLayoutSection. """ # Field is not nullable @@ -227,7 +227,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_sections_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_sections_info.py index 0a8aa037..c308c5e3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_sections_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_sections_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaLayoutSectionsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "layout_sections": "list[GsaLayoutSection]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "layout_sections": "layoutSections", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "layoutSections": "GsaLayoutSection", } @@ -77,45 +77,45 @@ class GsaLayoutSectionsInfo(ModelBase): def __init__( self, *, - layout_sections: "Union[List[GsaLayoutSection], None, Unset_Type]" = Unset, + layout_sections: "Union[list[GsaLayoutSection], None, Unset_Type]" = Unset, ) -> None: """GsaLayoutSectionsInfo - a model defined in Swagger Parameters ---------- - layout_sections: List[GsaLayoutSection], optional + layout_sections: list[GsaLayoutSection], optional """ - self._layout_sections: Union[List[GsaLayoutSection], None, Unset_Type] = Unset + self._layout_sections: Union[list[GsaLayoutSection], None, Unset_Type] = Unset if layout_sections is not Unset: self.layout_sections = layout_sections @property - def layout_sections(self) -> "Union[List[GsaLayoutSection], None, Unset_Type]": + def layout_sections(self) -> "Union[list[GsaLayoutSection], None, Unset_Type]": """Gets the layout_sections of this GsaLayoutSectionsInfo. Returns ------- - Union[List[GsaLayoutSection], None, Unset_Type] + Union[list[GsaLayoutSection], None, Unset_Type] The layout_sections of this GsaLayoutSectionsInfo. """ return self._layout_sections @layout_sections.setter def layout_sections( - self, layout_sections: "Union[List[GsaLayoutSection], None, Unset_Type]" + self, layout_sections: "Union[list[GsaLayoutSection], None, Unset_Type]" ) -> None: """Sets the layout_sections of this GsaLayoutSectionsInfo. Parameters ---------- - layout_sections: Union[List[GsaLayoutSection], None, Unset_Type] + layout_sections: Union[list[GsaLayoutSection], None, Unset_Type] The layout_sections of this GsaLayoutSectionsInfo. """ self._layout_sections = layout_sections @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_tabular_column.py index cecf7d4d..a19b9dd4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layout_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaLayoutTabularColumn(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "guid": "str", "name": "str", "tabular_column_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "guid": "guid", "name": "name", "tabular_column_guid": "tabularColumnGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "columnType": "GsaTabularColumnDtoType", } @@ -220,7 +220,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layouts_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layouts_info.py index d5af6c31..14eb45b7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layouts_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_layouts_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaLayoutsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "layouts": "list[GsaSlimLayout]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "layouts": "layouts", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "layouts": "GsaSlimLayout", } @@ -77,43 +77,43 @@ class GsaLayoutsInfo(ModelBase): def __init__( self, *, - layouts: "Union[List[GsaSlimLayout], None, Unset_Type]" = Unset, + layouts: "Union[list[GsaSlimLayout], None, Unset_Type]" = Unset, ) -> None: """GsaLayoutsInfo - a model defined in Swagger Parameters ---------- - layouts: List[GsaSlimLayout], optional + layouts: list[GsaSlimLayout], optional """ - self._layouts: Union[List[GsaSlimLayout], None, Unset_Type] = Unset + self._layouts: Union[list[GsaSlimLayout], None, Unset_Type] = Unset if layouts is not Unset: self.layouts = layouts @property - def layouts(self) -> "Union[List[GsaSlimLayout], None, Unset_Type]": + def layouts(self) -> "Union[list[GsaSlimLayout], None, Unset_Type]": """Gets the layouts of this GsaLayoutsInfo. Returns ------- - Union[List[GsaSlimLayout], None, Unset_Type] + Union[list[GsaSlimLayout], None, Unset_Type] The layouts of this GsaLayoutsInfo. """ return self._layouts @layouts.setter - def layouts(self, layouts: "Union[List[GsaSlimLayout], None, Unset_Type]") -> None: + def layouts(self, layouts: "Union[list[GsaSlimLayout], None, Unset_Type]") -> None: """Sets the layouts of this GsaLayoutsInfo. Parameters ---------- - layouts: Union[List[GsaSlimLayout], None, Unset_Type] + layouts: Union[list[GsaSlimLayout], None, Unset_Type] The layouts of this GsaLayoutsInfo. """ self._layouts = layouts @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation.py index 8827419a..877d4e83 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaLinkAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "local_aggregations": "list[GsaLocalColumnAggregation]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "local_aggregations": "localAggregations", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localAggregations": "GsaLocalColumnAggregation", } @@ -87,47 +87,47 @@ def __init__( self, *, datum_type: "GsaAggregationDatumType" = GsaAggregationDatumType.LINK, - local_aggregations: "Union[List[GsaLocalColumnAggregation], None, Unset_Type]" = Unset, + local_aggregations: "Union[list[GsaLocalColumnAggregation], None, Unset_Type]" = Unset, ) -> None: """GsaLinkAggregation - a model defined in Swagger Parameters ---------- datum_type: GsaAggregationDatumType - local_aggregations: List[GsaLocalColumnAggregation], optional + local_aggregations: list[GsaLocalColumnAggregation], optional """ super().__init__(datum_type=datum_type) - self._local_aggregations: Union[List[GsaLocalColumnAggregation], None, Unset_Type] = Unset + self._local_aggregations: Union[list[GsaLocalColumnAggregation], None, Unset_Type] = Unset if local_aggregations is not Unset: self.local_aggregations = local_aggregations @property - def local_aggregations(self) -> "Union[List[GsaLocalColumnAggregation], None, Unset_Type]": + def local_aggregations(self) -> "Union[list[GsaLocalColumnAggregation], None, Unset_Type]": """Gets the local_aggregations of this GsaLinkAggregation. Returns ------- - Union[List[GsaLocalColumnAggregation], None, Unset_Type] + Union[list[GsaLocalColumnAggregation], None, Unset_Type] The local_aggregations of this GsaLinkAggregation. """ return self._local_aggregations @local_aggregations.setter def local_aggregations( - self, local_aggregations: "Union[List[GsaLocalColumnAggregation], None, Unset_Type]" + self, local_aggregations: "Union[list[GsaLocalColumnAggregation], None, Unset_Type]" ) -> None: """Sets the local_aggregations of this GsaLinkAggregation. Parameters ---------- - local_aggregations: Union[List[GsaLocalColumnAggregation], None, Unset_Type] + local_aggregations: Union[list[GsaLocalColumnAggregation], None, Unset_Type] The local_aggregations of this GsaLinkAggregation. """ self._local_aggregations = local_aggregations @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation_datum_criterion.py index e31f6a07..18c03b57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,26 +58,26 @@ class GsaLinkAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "local_aggregation_criteria": "list[GsaLocalColumnAggregationCriterion]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "local_aggregation_criteria": "localAggregationCriteria", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localAggregationCriteria": "GsaLocalColumnAggregationCriterion", } @@ -87,18 +87,18 @@ def __init__( self, *, type: "GsaAggregationDatumCriterionType" = GsaAggregationDatumCriterionType.LINK, - local_aggregation_criteria: "Union[List[GsaLocalColumnAggregationCriterion], None, Unset_Type]" = Unset, + local_aggregation_criteria: "Union[list[GsaLocalColumnAggregationCriterion], None, Unset_Type]" = Unset, ) -> None: """GsaLinkAggregationDatumCriterion - a model defined in Swagger Parameters ---------- type: GsaAggregationDatumCriterionType - local_aggregation_criteria: List[GsaLocalColumnAggregationCriterion], optional + local_aggregation_criteria: list[GsaLocalColumnAggregationCriterion], optional """ super().__init__(type=type) self._local_aggregation_criteria: Union[ - List[GsaLocalColumnAggregationCriterion], None, Unset_Type + list[GsaLocalColumnAggregationCriterion], None, Unset_Type ] = Unset if local_aggregation_criteria is not Unset: @@ -107,12 +107,12 @@ def __init__( @property def local_aggregation_criteria( self, - ) -> "Union[List[GsaLocalColumnAggregationCriterion], None, Unset_Type]": + ) -> "Union[list[GsaLocalColumnAggregationCriterion], None, Unset_Type]": """Gets the local_aggregation_criteria of this GsaLinkAggregationDatumCriterion. Returns ------- - Union[List[GsaLocalColumnAggregationCriterion], None, Unset_Type] + Union[list[GsaLocalColumnAggregationCriterion], None, Unset_Type] The local_aggregation_criteria of this GsaLinkAggregationDatumCriterion. """ return self._local_aggregation_criteria @@ -120,19 +120,19 @@ def local_aggregation_criteria( @local_aggregation_criteria.setter def local_aggregation_criteria( self, - local_aggregation_criteria: "Union[List[GsaLocalColumnAggregationCriterion], None, Unset_Type]", + local_aggregation_criteria: "Union[list[GsaLocalColumnAggregationCriterion], None, Unset_Type]", ) -> None: """Sets the local_aggregation_criteria of this GsaLinkAggregationDatumCriterion. Parameters ---------- - local_aggregation_criteria: Union[List[GsaLocalColumnAggregationCriterion], None, Unset_Type] + local_aggregation_criteria: Union[list[GsaLocalColumnAggregationCriterion], None, Unset_Type] The local_aggregation_criteria of this GsaLinkAggregationDatumCriterion. """ self._local_aggregation_criteria = local_aggregation_criteria @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_attribute_to_export.py index d74ef09b..3df2c07a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_attribute_to_export.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_to_export import ( # noqa: F401 GsaAttributeToExport, @@ -55,16 +55,16 @@ class GsaLinkAttributeToExport(GsaAttributeToExport): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_type": "str", "attributes": "list[GsaAttributeToExport]", "export_in_reversed_direction": "bool", @@ -80,7 +80,7 @@ class GsaLinkAttributeToExport(GsaAttributeToExport): "target_table_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_type": "attributeType", "attributes": "attributes", "export_in_reversed_direction": "exportInReversedDirection", @@ -96,7 +96,7 @@ class GsaLinkAttributeToExport(GsaAttributeToExport): "target_table_guid": "targetTableGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localData": "GsaSimpleAttributeToExport", "linkAttributeType": "GsaLinkAttributeType", "recordProperties": "GsaRecordProperty", @@ -111,15 +111,15 @@ def __init__( self, *, attribute_type: "str" = "link", - attributes: "Union[List[GsaAttributeToExport], None, Unset_Type]" = Unset, + attributes: "Union[list[GsaAttributeToExport], None, Unset_Type]" = Unset, export_in_reversed_direction: "Union[bool, Unset_Type]" = Unset, guid: "Union[str, None, Unset_Type]" = Unset, identity: "Union[int, None, Unset_Type]" = Unset, indirect_links_behavior: "Union[GsaIndirectLinks, Unset_Type]" = Unset, link_attribute_type: "Union[GsaLinkAttributeType, Unset_Type]" = Unset, linked_records_export_behavior: "Union[GsaLinkedRecordExportBehavior, Unset_Type]" = Unset, - local_data: "Union[List[GsaSimpleAttributeToExport], None, Unset_Type]" = Unset, - record_properties: "Union[List[GsaRecordProperty], None, Unset_Type]" = Unset, + local_data: "Union[list[GsaSimpleAttributeToExport], None, Unset_Type]" = Unset, + record_properties: "Union[list[GsaRecordProperty], None, Unset_Type]" = Unset, target_attribute_guid: "Union[str, None, Unset_Type]" = Unset, target_database_guid: "Union[str, None, Unset_Type]" = Unset, target_table_guid: "Union[str, None, Unset_Type]" = Unset, @@ -129,28 +129,28 @@ def __init__( Parameters ---------- attribute_type: str - attributes: List[GsaAttributeToExport], optional + attributes: list[GsaAttributeToExport], optional export_in_reversed_direction: bool, optional guid: str, optional identity: int, optional indirect_links_behavior: GsaIndirectLinks, optional link_attribute_type: GsaLinkAttributeType, optional linked_records_export_behavior: GsaLinkedRecordExportBehavior, optional - local_data: List[GsaSimpleAttributeToExport], optional - record_properties: List[GsaRecordProperty], optional + local_data: list[GsaSimpleAttributeToExport], optional + record_properties: list[GsaRecordProperty], optional target_attribute_guid: str, optional target_database_guid: str, optional target_table_guid: str, optional """ super().__init__(attribute_type=attribute_type, guid=guid, identity=identity) - self._local_data: Union[List[GsaSimpleAttributeToExport], None, Unset_Type] = Unset + self._local_data: Union[list[GsaSimpleAttributeToExport], None, Unset_Type] = Unset self._target_table_guid: Union[str, None, Unset_Type] = Unset self._target_database_guid: Union[str, None, Unset_Type] = Unset self._target_attribute_guid: Union[str, None, Unset_Type] = Unset self._link_attribute_type: Union[GsaLinkAttributeType, Unset_Type] = Unset self._export_in_reversed_direction: Union[bool, Unset_Type] = Unset - self._record_properties: Union[List[GsaRecordProperty], None, Unset_Type] = Unset - self._attributes: Union[List[GsaAttributeToExport], None, Unset_Type] = Unset + self._record_properties: Union[list[GsaRecordProperty], None, Unset_Type] = Unset + self._attributes: Union[list[GsaAttributeToExport], None, Unset_Type] = Unset self._linked_records_export_behavior: Union[GsaLinkedRecordExportBehavior, Unset_Type] = ( Unset ) @@ -178,27 +178,27 @@ def __init__( self.indirect_links_behavior = indirect_links_behavior @property - def local_data(self) -> "Union[List[GsaSimpleAttributeToExport], None, Unset_Type]": + def local_data(self) -> "Union[list[GsaSimpleAttributeToExport], None, Unset_Type]": """Gets the local_data of this GsaLinkAttributeToExport. The local columns to export. Reuse the attribute object here - but the 'attribute id' is now the column id. Returns ------- - Union[List[GsaSimpleAttributeToExport], None, Unset_Type] + Union[list[GsaSimpleAttributeToExport], None, Unset_Type] The local_data of this GsaLinkAttributeToExport. """ return self._local_data @local_data.setter def local_data( - self, local_data: "Union[List[GsaSimpleAttributeToExport], None, Unset_Type]" + self, local_data: "Union[list[GsaSimpleAttributeToExport], None, Unset_Type]" ) -> None: """Sets the local_data of this GsaLinkAttributeToExport. The local columns to export. Reuse the attribute object here - but the 'attribute id' is now the column id. Parameters ---------- - local_data: Union[List[GsaSimpleAttributeToExport], None, Unset_Type] + local_data: Union[list[GsaSimpleAttributeToExport], None, Unset_Type] The local_data of this GsaLinkAttributeToExport. """ self._local_data = local_data @@ -330,51 +330,51 @@ def export_in_reversed_direction( self._export_in_reversed_direction = export_in_reversed_direction @property - def record_properties(self) -> "Union[List[GsaRecordProperty], None, Unset_Type]": + def record_properties(self) -> "Union[list[GsaRecordProperty], None, Unset_Type]": """Gets the record_properties of this GsaLinkAttributeToExport. The properties to export on any linked records. Returns ------- - Union[List[GsaRecordProperty], None, Unset_Type] + Union[list[GsaRecordProperty], None, Unset_Type] The record_properties of this GsaLinkAttributeToExport. """ return self._record_properties @record_properties.setter def record_properties( - self, record_properties: "Union[List[GsaRecordProperty], None, Unset_Type]" + self, record_properties: "Union[list[GsaRecordProperty], None, Unset_Type]" ) -> None: """Sets the record_properties of this GsaLinkAttributeToExport. The properties to export on any linked records. Parameters ---------- - record_properties: Union[List[GsaRecordProperty], None, Unset_Type] + record_properties: Union[list[GsaRecordProperty], None, Unset_Type] The record_properties of this GsaLinkAttributeToExport. """ self._record_properties = record_properties @property - def attributes(self) -> "Union[List[GsaAttributeToExport], None, Unset_Type]": + def attributes(self) -> "Union[list[GsaAttributeToExport], None, Unset_Type]": """Gets the attributes of this GsaLinkAttributeToExport. The attributes to export on any linked records. Returns ------- - Union[List[GsaAttributeToExport], None, Unset_Type] + Union[list[GsaAttributeToExport], None, Unset_Type] The attributes of this GsaLinkAttributeToExport. """ return self._attributes @attributes.setter - def attributes(self, attributes: "Union[List[GsaAttributeToExport], None, Unset_Type]") -> None: + def attributes(self, attributes: "Union[list[GsaAttributeToExport], None, Unset_Type]") -> None: """Sets the attributes of this GsaLinkAttributeToExport. The attributes to export on any linked records. Parameters ---------- - attributes: Union[List[GsaAttributeToExport], None, Unset_Type] + attributes: Union[list[GsaAttributeToExport], None, Unset_Type] The attributes of this GsaLinkAttributeToExport. """ self._attributes = attributes @@ -436,7 +436,7 @@ def indirect_links_behavior( self._indirect_links_behavior = indirect_links_behavior @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_datum_criterion.py index 4bb9fb61..8a2945fa 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,16 +56,16 @@ class GsaLinkDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_datum_type": "GsaLinkAttributeType", "type": "GsaDatumCriterionType", "indirect_links": "GsaIndirectLinks", @@ -80,7 +80,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion): "target_table_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_datum_type": "linkDatumType", "type": "type", "indirect_links": "indirectLinks", @@ -95,7 +95,7 @@ class GsaLinkDatumCriterion(GsaDatumCriterion): "target_table_identity": "targetTableIdentity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localCriterion": "GsaCriterion", "linkDatumType": "GsaLinkAttributeType", "indirectLinks": "GsaIndirectLinks", @@ -453,7 +453,7 @@ def local_rows_behavior( self._local_rows_behavior = local_rows_behavior @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_exists_datum_criterion.py index 4e7afd97..1cbc396a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_exists_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_exists_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "target_database_key": "str", "type": "GsaAttributeType", "indirect_links": "GsaIndirectLinks", @@ -78,7 +78,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion): "target_table_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "target_database_key": "targetDatabaseKey", "type": "type", "indirect_links": "indirectLinks", @@ -91,7 +91,7 @@ class GsaLinkExistsDatumCriterion(GsaDatumExistsCriterion): "target_table_identity": "targetTableIdentity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkDatumType": "GsaLinkAttributeType", "indirectLinks": "GsaIndirectLinks", "localRowsBehavior": "GsaLocalRowsBehavior", @@ -390,7 +390,7 @@ def target_attribute_guid(self, target_attribute_guid: "Union[str, None, Unset_T self._target_attribute_guid = target_attribute_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_export_failure.py index 8e7e2ceb..e3a22ce0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_export_failure.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_export_failure import ( # noqa: F401 GsaExportFailure, @@ -56,30 +56,30 @@ class GsaLinkExportFailure(GsaExportFailure): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "failed_link": "GsaLinkReference", "failure_details": "str", "failure_reason": "str", "type": "GsaExportFailureType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "failed_link": "failedLink", "failure_details": "failureDetails", "failure_reason": "failureReason", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "failedLink": "GsaLinkReference", } @@ -136,7 +136,7 @@ def failed_link(self, failed_link: "GsaLinkReference") -> None: self._failed_link = failed_link @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_info.py index cdec0d61..15261047 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaLinkInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_source": "GsaLinkTarget", "link_target": "GsaLinkTarget", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_source": "linkSource", "link_target": "linkTarget", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkSource": "GsaLinkTarget", "linkTarget": "GsaLinkTarget", } @@ -153,7 +153,7 @@ def link_target(self, link_target: "GsaLinkTarget") -> None: self._link_target = link_target @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_reference.py index befafdad..65a6d0e5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_reference.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaLinkReference(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_type": "GsaLinkAttributeType", "link_guid": "str", "link_identity": "int", "target_database_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_type": "linkType", "link_guid": "linkGuid", "link_identity": "linkIdentity", "target_database_guid": "targetDatabaseGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkType": "GsaLinkAttributeType", } @@ -205,7 +205,7 @@ def link_type(self, link_type: "GsaLinkAttributeType") -> None: self._link_type = link_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_target.py index 69e57351..ec996cc2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_link_target.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaLinkTarget(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "database_version_guid": "str", "table_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "database_version_guid": "databaseVersionGuid", "table_guid": "tableGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -169,7 +169,7 @@ def table_guid(self, table_guid: "Union[str, None, Unset_Type]") -> None: self._table_guid = table_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_attribute_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_attribute_tabular_column.py index 589cf22d..bbea8252 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_attribute_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_attribute_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLinkedAttributeTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "display_names": "dict(str, str)", "guid": "str", @@ -80,7 +80,7 @@ class GsaLinkedAttributeTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "display_names": "displayNames", "guid": "guid", @@ -93,7 +93,7 @@ class GsaLinkedAttributeTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkedAttribute": "GsaSlimAttribute", } @@ -103,7 +103,7 @@ def __init__( self, *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LINKEDATTRIBUTE, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", linked_attribute: "GsaSlimAttribute", name: "str", @@ -118,7 +118,7 @@ def __init__( Parameters ---------- column_type: GsaTabularColumnDtoType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str linked_attribute: GsaSlimAttribute name: str @@ -172,7 +172,7 @@ def linked_attribute(self, linked_attribute: "GsaSlimAttribute") -> None: self._linked_attribute = linked_attribute @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_column_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_column_tabular_column.py index f41a2326..2737d771 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_column_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_column_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLinkedColumnTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "display_names": "dict(str, str)", "guid": "str", @@ -81,7 +81,7 @@ class GsaLinkedColumnTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "display_names": "displayNames", "guid": "guid", @@ -95,7 +95,7 @@ class GsaLinkedColumnTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkedAttribute": "GsaSlimAttribute", "linkedColumn": "GsaSlimNamedEntity", } @@ -106,7 +106,7 @@ def __init__( self, *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LINKEDCOLUMN, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", linked_attribute: "GsaSlimAttribute", linked_column: "GsaSlimNamedEntity", @@ -122,7 +122,7 @@ def __init__( Parameters ---------- column_type: GsaTabularColumnDtoType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str linked_attribute: GsaSlimAttribute linked_column: GsaSlimNamedEntity @@ -207,7 +207,7 @@ def linked_column(self, linked_column: "GsaSlimNamedEntity") -> None: self._linked_column = linked_column @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_export_behavior.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_export_behavior.py index 368c6dfc..fc6f4bf1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_export_behavior.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_export_behavior.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaLinkedRecordExportBehavior(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "linked_records_criterion": "GsaCriterion", "summary_roll_up_type": "GsaTabularColumnRollUpType", "tabular_row_behavior": "GsaTabularRowExportBehavior", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "linked_records_criterion": "linkedRecordsCriterion", "summary_roll_up_type": "summaryRollUpType", "tabular_row_behavior": "tabularRowBehavior", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "tabularRowBehavior": "GsaTabularRowExportBehavior", "summaryRollUpType": "GsaTabularColumnRollUpType", "linkedRecordsCriterion": "GsaCriterion", @@ -188,7 +188,7 @@ def linked_records_criterion( self._linked_records_criterion = linked_records_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_tabular_column.py index 2b0e0489..e603c8ec 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linked_record_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLinkedRecordTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "display_names": "dict(str, str)", "guid": "str", @@ -79,7 +79,7 @@ class GsaLinkedRecordTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaLinkedRecordTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LINKEDRECORD, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -113,7 +113,7 @@ def __init__( Parameters ---------- column_type: GsaTabularColumnDtoType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -135,7 +135,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linking_value_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linking_value_exists_datum_criterion.py index def27f90..b197370e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linking_value_exists_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_linking_value_exists_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "attribute_type": "GsaAttributeType", "inner_hits_identifier": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_type": "attributeType", "inner_hits_identifier": "innerHitsIdentifier", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeType": "GsaAttributeType", } @@ -158,7 +158,7 @@ def inner_hits_identifier(self, inner_hits_identifier: "Union[str, Unset_Type]") self._inner_hits_identifier = inner_hits_identifier @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_links_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_links_info.py index eec9c7b6..4613c982 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_links_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_links_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaLinksInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "links": "list[GsaResolvedLink]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "links": "links", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "links": "GsaResolvedLink", } @@ -77,36 +77,36 @@ class GsaLinksInfo(ModelBase): def __init__( self, *, - links: "List[GsaResolvedLink]", + links: "list[GsaResolvedLink]", ) -> None: """GsaLinksInfo - a model defined in Swagger Parameters ---------- - links: List[GsaResolvedLink] + links: list[GsaResolvedLink] """ - self._links: List[GsaResolvedLink] + self._links: list[GsaResolvedLink] self.links = links @property - def links(self) -> "List[GsaResolvedLink]": + def links(self) -> "list[GsaResolvedLink]": """Gets the links of this GsaLinksInfo. Returns ------- - List[GsaResolvedLink] + list[GsaResolvedLink] The links of this GsaLinksInfo. """ return self._links @links.setter - def links(self, links: "List[GsaResolvedLink]") -> None: + def links(self, links: "list[GsaResolvedLink]") -> None: """Sets the links of this GsaLinksInfo. Parameters ---------- - links: List[GsaResolvedLink] + links: list[GsaResolvedLink] The links of this GsaLinksInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def links(self, links: "List[GsaResolvedLink]") -> None: self._links = links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_boolean_criterion.py index 4105c097..22fae5a1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_boolean_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_boolean_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_list_criterion import ( # noqa: F401 GsaListCriterion, @@ -55,28 +55,28 @@ class GsaListBooleanCriterion(GsaListCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", "match_all": "list[GsaListCriterion]", "match_any": "list[GsaListCriterion]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "match_all": "matchAll", "match_any": "matchAny", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "matchAny": "GsaListCriterion", "matchAll": "GsaListCriterion", } @@ -87,20 +87,20 @@ def __init__( self, *, type: "str" = "listBoolean", - match_all: "Union[List[GsaListCriterion], None, Unset_Type]" = Unset, - match_any: "Union[List[GsaListCriterion], None, Unset_Type]" = Unset, + match_all: "Union[list[GsaListCriterion], None, Unset_Type]" = Unset, + match_any: "Union[list[GsaListCriterion], None, Unset_Type]" = Unset, ) -> None: """GsaListBooleanCriterion - a model defined in Swagger Parameters ---------- type: str - match_all: List[GsaListCriterion], optional - match_any: List[GsaListCriterion], optional + match_all: list[GsaListCriterion], optional + match_any: list[GsaListCriterion], optional """ super().__init__(type=type) - self._match_any: Union[List[GsaListCriterion], None, Unset_Type] = Unset - self._match_all: Union[List[GsaListCriterion], None, Unset_Type] = Unset + self._match_any: Union[list[GsaListCriterion], None, Unset_Type] = Unset + self._match_all: Union[list[GsaListCriterion], None, Unset_Type] = Unset if match_any is not Unset: self.match_any = match_any @@ -108,51 +108,51 @@ def __init__( self.match_all = match_all @property - def match_any(self) -> "Union[List[GsaListCriterion], None, Unset_Type]": + def match_any(self) -> "Union[list[GsaListCriterion], None, Unset_Type]": """Gets the match_any of this GsaListBooleanCriterion. Returns ------- - Union[List[GsaListCriterion], None, Unset_Type] + Union[list[GsaListCriterion], None, Unset_Type] The match_any of this GsaListBooleanCriterion. """ return self._match_any @match_any.setter - def match_any(self, match_any: "Union[List[GsaListCriterion], None, Unset_Type]") -> None: + def match_any(self, match_any: "Union[list[GsaListCriterion], None, Unset_Type]") -> None: """Sets the match_any of this GsaListBooleanCriterion. Parameters ---------- - match_any: Union[List[GsaListCriterion], None, Unset_Type] + match_any: Union[list[GsaListCriterion], None, Unset_Type] The match_any of this GsaListBooleanCriterion. """ self._match_any = match_any @property - def match_all(self) -> "Union[List[GsaListCriterion], None, Unset_Type]": + def match_all(self) -> "Union[list[GsaListCriterion], None, Unset_Type]": """Gets the match_all of this GsaListBooleanCriterion. Returns ------- - Union[List[GsaListCriterion], None, Unset_Type] + Union[list[GsaListCriterion], None, Unset_Type] The match_all of this GsaListBooleanCriterion. """ return self._match_all @match_all.setter - def match_all(self, match_all: "Union[List[GsaListCriterion], None, Unset_Type]") -> None: + def match_all(self, match_all: "Union[list[GsaListCriterion], None, Unset_Type]") -> None: """Sets the match_all of this GsaListBooleanCriterion. Parameters ---------- - match_all: Union[List[GsaListCriterion], None, Unset_Type] + match_all: Union[list[GsaListCriterion], None, Unset_Type] The match_all of this GsaListBooleanCriterion. """ self._match_all = match_all @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_criterion.py index e944a5a0..cb4dc8a4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaListCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator_value_class_map = { "listBoolean".lower(): "#/components/schemas/GsaListBooleanCriterion", @@ -123,7 +123,7 @@ def type(self, type: "str") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_item.py index f5e14ea3..0a62e3a1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_list_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaListItem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "record_history_guid": "str", "table_guid": "str", @@ -68,7 +68,7 @@ class GsaListItem(ModelBase): "record_version": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "record_history_guid": "recordHistoryGuid", "table_guid": "tableGuid", @@ -76,7 +76,7 @@ class GsaListItem(ModelBase): "record_version": "recordVersion", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -242,7 +242,7 @@ def table_guid(self, table_guid: "str") -> None: self._table_guid = table_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_paging_options.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_paging_options.py index 63aed608..2fe3d5d1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_paging_options.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_paging_options.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaListsPagingOptions(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "page_size": "int", "start_index": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "page_size": "pageSize", "start_index": "startIndex", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -144,7 +144,7 @@ def page_size(self, page_size: "Union[int, None, Unset_Type]") -> None: self._page_size = page_size @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_user_or_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_user_or_group.py index a03ea0f8..407d273c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_user_or_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_lists_user_or_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaListsUserOrGroup(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_name": "str", "identifier": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_name": "displayName", "identifier": "identifier", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -184,7 +184,7 @@ def name(self, name: "str") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation.py index a0c0d7e9..c892bddb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,32 +51,32 @@ class GsaLocalColumnAggregation(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_aggregation_type": "GsaLocalColumnAggregationType", "count": "int", "local_column_guid": "str", "local_column_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_aggregation_type": "localColumnAggregationType", "count": "count", "local_column_guid": "localColumnGuid", "local_column_identity": "localColumnIdentity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localColumnAggregationType": "GsaLocalColumnAggregationType", } @@ -227,7 +227,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_criterion.py index db18e801..77673897 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaLocalColumnAggregationCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_aggregation_criterion_type": "GsaLocalColumnAggregationType", "guid": "str", "identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_aggregation_criterion_type": "localColumnAggregationCriterionType", "guid": "guid", "identity": "identity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localColumnAggregationCriterionType": "GsaLocalColumnAggregationType", } @@ -189,7 +189,7 @@ def local_column_aggregation_criterion_type( self._local_column_aggregation_criterion_type = local_column_aggregation_criterion_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_exists_criterion.py index 94aee7a7..d3b29846 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_local_column_aggregation_criterion import ( # noqa: F401 GsaLocalColumnAggregationCriterion, @@ -58,30 +58,30 @@ class GsaLocalColumnAggregationExistsCriterion(GsaLocalColumnAggregationCriterio """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_aggregation_criterion_type": "GsaLocalColumnAggregationType", "guid": "str", "identity": "int", "inner_criterion": "GsaAggregationDatumExistsCriterion", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_aggregation_criterion_type": "localColumnAggregationCriterionType", "guid": "guid", "identity": "identity", "inner_criterion": "innerCriterion", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaAggregationDatumExistsCriterion", } @@ -142,7 +142,7 @@ def inner_criterion( self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_value_criterion.py index e80dabf9..b8e6508d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_value_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_aggregation_value_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_local_column_aggregation_criterion import ( # noqa: F401 GsaLocalColumnAggregationCriterion, @@ -58,30 +58,30 @@ class GsaLocalColumnAggregationValueCriterion(GsaLocalColumnAggregationCriterion """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_aggregation_criterion_type": "GsaLocalColumnAggregationType", "guid": "str", "identity": "int", "inner_criterion": "GsaAggregationDatumCriterion", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_aggregation_criterion_type": "localColumnAggregationCriterionType", "guid": "guid", "identity": "identity", "inner_criterion": "innerCriterion", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaAggregationDatumCriterion", } @@ -142,7 +142,7 @@ def inner_criterion( self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_criterion.py index d455c9a7..364ef52d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,32 +54,32 @@ class GsaLocalColumnCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_criterion_type": "GsaLocalColumnCriterionType", "type": "GsaCriterionType", "guid": "str", "identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_criterion_type": "localColumnCriterionType", "type": "type", "guid": "guid", "identity": "identity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "localColumnCriterionType": "GsaLocalColumnCriterionType", } @@ -194,7 +194,7 @@ def local_column_criterion_type( self._local_column_criterion_type = local_column_criterion_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_aggregation.py index 0d22f15f..ae41c14c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_local_column_aggregation import ( # noqa: F401 GsaLocalColumnAggregation, @@ -58,30 +58,30 @@ class GsaLocalColumnExistsAggregation(GsaLocalColumnAggregation): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_aggregation_type": "GsaLocalColumnAggregationType", "count": "int", "local_column_guid": "str", "local_column_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_aggregation_type": "localColumnAggregationType", "count": "count", "local_column_guid": "localColumnGuid", "local_column_identity": "localColumnIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -110,7 +110,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_criterion.py index a4e1ba0e..1522a27a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType from ansys.grantami.serverapi_openapi.models.gsa_local_column_criterion import ( # noqa: F401 @@ -59,16 +59,16 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "inner_criterion": "GsaDatumExistsCriterion", "local_column_criterion_type": "GsaLocalColumnCriterionType", "type": "GsaCriterionType", @@ -76,7 +76,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion): "identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "inner_criterion": "innerCriterion", "local_column_criterion_type": "localColumnCriterionType", "type": "type", @@ -84,7 +84,7 @@ class GsaLocalColumnExistsCriterion(GsaLocalColumnCriterion): "identity": "identity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaDatumExistsCriterion", } @@ -148,7 +148,7 @@ def inner_criterion(self, inner_criterion: "GsaDatumExistsCriterion") -> None: self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_matches_criterion.py index 295babb4..116f0979 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_matches_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_matches_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType from ansys.grantami.serverapi_openapi.models.gsa_local_column_criterion import ( # noqa: F401 @@ -59,16 +59,16 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "inner_criterion": "GsaDatumCriterion", "local_column_criterion_type": "GsaLocalColumnCriterionType", "type": "GsaCriterionType", @@ -76,7 +76,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion): "identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "inner_criterion": "innerCriterion", "local_column_criterion_type": "localColumnCriterionType", "type": "type", @@ -84,7 +84,7 @@ class GsaLocalColumnMatchesCriterion(GsaLocalColumnCriterion): "identity": "identity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaDatumCriterion", } @@ -148,7 +148,7 @@ def inner_criterion(self, inner_criterion: "GsaDatumCriterion") -> None: self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_not_applicable_criterion.py index 0d7a6c55..e62c5950 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_not_applicable_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_not_applicable_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType from ansys.grantami.serverapi_openapi.models.gsa_local_column_criterion import ( # noqa: F401 @@ -59,30 +59,30 @@ class GsaLocalColumnNotApplicableCriterion(GsaLocalColumnCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_criterion_type": "GsaLocalColumnCriterionType", "type": "GsaCriterionType", "guid": "str", "identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_criterion_type": "localColumnCriterionType", "type": "type", "guid": "guid", "identity": "identity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -111,7 +111,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_value_aggregation.py index cfd3c212..b676870a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_value_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_column_value_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_local_column_aggregation import ( # noqa: F401 GsaLocalColumnAggregation, @@ -58,16 +58,16 @@ class GsaLocalColumnValueAggregation(GsaLocalColumnAggregation): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "local_column_aggregation_type": "GsaLocalColumnAggregationType", "aggregation_datum": "GsaAggregationDatum", "count": "int", @@ -75,7 +75,7 @@ class GsaLocalColumnValueAggregation(GsaLocalColumnAggregation): "local_column_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "local_column_aggregation_type": "localColumnAggregationType", "aggregation_datum": "aggregationDatum", "count": "count", @@ -83,7 +83,7 @@ class GsaLocalColumnValueAggregation(GsaLocalColumnAggregation): "local_column_identity": "localColumnIdentity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "aggregationDatum": "GsaAggregationDatum", } @@ -147,7 +147,7 @@ def aggregation_datum( self._aggregation_datum = aggregation_datum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_date_time_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_date_time_tabular_column.py index bc23b615..fb33c7a9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_date_time_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_date_time_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalDateTimeTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalDateTimeTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalDateTimeTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALDATETIME, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_discrete_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_discrete_tabular_column.py index eed759fe..4729974d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_discrete_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_discrete_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalDiscreteTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "discrete_type": "GsaSlimNamedEntity", @@ -81,7 +81,7 @@ class GsaLocalDiscreteTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "discrete_type": "discreteType", @@ -95,7 +95,7 @@ class GsaLocalDiscreteTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "discreteType": "GsaSlimNamedEntity", } @@ -108,7 +108,7 @@ def __init__( column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALDISCRETE, default_threshold_type: "GsaAttributeThresholdType", discrete_type: "GsaSlimNamedEntity", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -124,7 +124,7 @@ def __init__( column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType discrete_type: GsaSlimNamedEntity - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -207,7 +207,7 @@ def discrete_type(self, discrete_type: "GsaSlimNamedEntity") -> None: self._discrete_type = discrete_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_file_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_file_tabular_column.py index 737faa8f..60834c34 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_file_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_file_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalFileTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalFileTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalFileTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALFILE, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_hyperlink_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_hyperlink_tabular_column.py index fd3b6202..d08544e9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_hyperlink_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_hyperlink_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalHyperlinkTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalHyperlinkTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalHyperlinkTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALHYPERLINK, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_integer_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_integer_tabular_column.py index 7d9251a7..6e7672d0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_integer_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_integer_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalIntegerTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalIntegerTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalIntegerTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALINTEGER, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_logical_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_logical_tabular_column.py index 6f603d9a..80060622 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_logical_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_logical_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalLogicalTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalLogicalTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalLogicalTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALLOGICAL, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_long_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_long_text_tabular_column.py index b745fcbf..4ce58ef6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_long_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_long_text_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalLongTextTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalLongTextTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalLongTextTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALLONGTEXT, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_picture_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_picture_tabular_column.py index fbc354ef..70d604dc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_picture_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_picture_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalPictureTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalPictureTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalPictureTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALPICTURE, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_point_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_point_tabular_column.py index 9dbd2b9b..793dc53b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_point_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_point_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalPointTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -81,7 +81,7 @@ class GsaLocalPointTabularColumn(GsaTabularColumn): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -95,7 +95,7 @@ class GsaLocalPointTabularColumn(GsaTabularColumn): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "unit": "GsaSlimUnit", } @@ -107,7 +107,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALPOINT, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -123,7 +123,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -205,7 +205,7 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_range_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_range_tabular_column.py index ab5c29e9..82120f1a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_range_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_range_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalRangeTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -81,7 +81,7 @@ class GsaLocalRangeTabularColumn(GsaTabularColumn): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -95,7 +95,7 @@ class GsaLocalRangeTabularColumn(GsaTabularColumn): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "unit": "GsaSlimUnit", } @@ -107,7 +107,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALRANGE, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -123,7 +123,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -205,7 +205,7 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_short_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_short_text_tabular_column.py index 76e6a236..dfdce2ed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_short_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_local_short_text_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaLocalShortTextTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaLocalShortTextTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -93,7 +93,7 @@ class GsaLocalShortTextTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -104,7 +104,7 @@ def __init__( *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.LOCALSHORTTEXT, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -119,7 +119,7 @@ def __init__( ---------- column_type: GsaTabularColumnDtoType default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -172,7 +172,7 @@ def default_threshold_type(self, default_threshold_type: "GsaAttributeThresholdT self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation.py index b80ce789..6b5a1689 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaLogicalAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "values": "list[GsaValueWithCountOfBoolean]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "values": "values", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "values": "GsaValueWithCountOfBoolean", } @@ -87,45 +87,45 @@ def __init__( self, *, datum_type: "GsaAggregationDatumType" = GsaAggregationDatumType.LOGICAL, - values: "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]" = Unset, + values: "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]" = Unset, ) -> None: """GsaLogicalAggregation - a model defined in Swagger Parameters ---------- datum_type: GsaAggregationDatumType - values: List[GsaValueWithCountOfBoolean], optional + values: list[GsaValueWithCountOfBoolean], optional """ super().__init__(datum_type=datum_type) - self._values: Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] = Unset + self._values: Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] = Unset if values is not Unset: self.values = values @property - def values(self) -> "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]": + def values(self) -> "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]": """Gets the values of this GsaLogicalAggregation. Returns ------- - Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] + Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] The values of this GsaLogicalAggregation. """ return self._values @values.setter - def values(self, values: "Union[List[GsaValueWithCountOfBoolean], None, Unset_Type]") -> None: + def values(self, values: "Union[list[GsaValueWithCountOfBoolean], None, Unset_Type]") -> None: """Sets the values of this GsaLogicalAggregation. Parameters ---------- - values: Union[List[GsaValueWithCountOfBoolean], None, Unset_Type] + values: Union[list[GsaValueWithCountOfBoolean], None, Unset_Type] The values of this GsaLogicalAggregation. """ self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation_datum_criterion.py index f90c72af..02e21442 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,24 +58,24 @@ class GsaLogicalAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -93,7 +93,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_attribute.py index 5488f43e..aa0a864d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaLogicalAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -77,7 +77,7 @@ class GsaLogicalAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaLogicalAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -115,7 +115,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -141,7 +141,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum.py index fabd0043..a247133e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,28 +56,28 @@ class GsaLogicalDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "not_applicable": "str", "value": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def value(self, value: "bool") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_criterion.py index 2b084e2d..cc6f0d7b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaLogicalDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def value(self, value: "bool") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_exists_criterion.py index e6e1d31f..b758db42 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_logical_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaLogicalDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_sorting_value.py index 9ef81e55..e4060ab2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_sorting_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sorting_value import GsaSortingValue # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sorting_value_type import GsaSortingValueType @@ -54,26 +54,26 @@ class GsaLongSortingValue(GsaSortingValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortingValueType", "value": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def value(self, value: "Union[int, Unset_Type]") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_attribute.py index c46f1c97..25470d42 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaLongTextAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -77,7 +77,7 @@ class GsaLongTextAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaLongTextAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -115,7 +115,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -141,7 +141,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum.py index 3df7a441..8f2b1945 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,28 +56,28 @@ class GsaLongTextDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "not_applicable": "str", "rich_text_value": "GsaRichTextValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "rich_text_value": "richTextValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "richTextValue": "GsaRichTextValue", } @@ -132,7 +132,7 @@ def rich_text_value(self, rich_text_value: "GsaRichTextValue") -> None: self._rich_text_value = rich_text_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_criterion.py index dab41cd6..c5457194 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaLongTextDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def value(self, value: "str") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_exists_criterion.py index 0aa012d7..905bf3b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaLongTextDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_prefix_datum_criterion.py index 38063c3b..dcc8daf5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_prefix_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_long_text_prefix_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaLongTextPrefixDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "prefix": "str", "type": "GsaDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "prefix": "prefix", "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def prefix(self, prefix: "str") -> None: self._prefix = prefix @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mapping_of_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mapping_of_object_identifier.py index d265089a..ad5f34cc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mapping_of_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mapping_of_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaMappingOfObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_source_type": "GsaLinkSourceType", "parameter_mappings": "list[GsaMappingOfObjectIdentifier]", "source": "GsaObjectIdentifier", @@ -68,7 +68,7 @@ class GsaMappingOfObjectIdentifier(ModelBase): "target_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_source_type": "linkSourceType", "parameter_mappings": "parameterMappings", "source": "source", @@ -76,7 +76,7 @@ class GsaMappingOfObjectIdentifier(ModelBase): "target_identity": "targetIdentity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "source": "GsaObjectIdentifier", "parameterMappings": "GsaMappingOfObjectIdentifier", "linkSourceType": "GsaLinkSourceType", @@ -88,7 +88,7 @@ def __init__( self, *, link_source_type: "Union[GsaLinkSourceType, Unset_Type]" = Unset, - parameter_mappings: "Union[List[GsaMappingOfObjectIdentifier], None, Unset_Type]" = Unset, + parameter_mappings: "Union[list[GsaMappingOfObjectIdentifier], None, Unset_Type]" = Unset, source: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, target_guid: "Union[str, Unset_Type]" = Unset, target_identity: "Union[int, Unset_Type]" = Unset, @@ -98,7 +98,7 @@ def __init__( Parameters ---------- link_source_type: GsaLinkSourceType, optional - parameter_mappings: List[GsaMappingOfObjectIdentifier], optional + parameter_mappings: list[GsaMappingOfObjectIdentifier], optional source: GsaObjectIdentifier, optional target_guid: str, optional target_identity: int, optional @@ -106,7 +106,7 @@ def __init__( self._source: Union[GsaObjectIdentifier, Unset_Type] = Unset self._target_identity: Union[int, Unset_Type] = Unset self._target_guid: Union[str, Unset_Type] = Unset - self._parameter_mappings: Union[List[GsaMappingOfObjectIdentifier], None, Unset_Type] = ( + self._parameter_mappings: Union[list[GsaMappingOfObjectIdentifier], None, Unset_Type] = ( Unset ) self._link_source_type: Union[GsaLinkSourceType, Unset_Type] = Unset @@ -202,27 +202,27 @@ def target_guid(self, target_guid: "Union[str, Unset_Type]") -> None: self._target_guid = target_guid @property - def parameter_mappings(self) -> "Union[List[GsaMappingOfObjectIdentifier], None, Unset_Type]": + def parameter_mappings(self) -> "Union[list[GsaMappingOfObjectIdentifier], None, Unset_Type]": """Gets the parameter_mappings of this GsaMappingOfObjectIdentifier. Any mapped parameters (float functional attributes only). The target parameters must be defined on the target integration attribute. Not every parameters from the source database needs to be mapped for each attribute. Returns ------- - Union[List[GsaMappingOfObjectIdentifier], None, Unset_Type] + Union[list[GsaMappingOfObjectIdentifier], None, Unset_Type] The parameter_mappings of this GsaMappingOfObjectIdentifier. """ return self._parameter_mappings @parameter_mappings.setter def parameter_mappings( - self, parameter_mappings: "Union[List[GsaMappingOfObjectIdentifier], None, Unset_Type]" + self, parameter_mappings: "Union[list[GsaMappingOfObjectIdentifier], None, Unset_Type]" ) -> None: """Sets the parameter_mappings of this GsaMappingOfObjectIdentifier. Any mapped parameters (float functional attributes only). The target parameters must be defined on the target integration attribute. Not every parameters from the source database needs to be mapped for each attribute. Parameters ---------- - parameter_mappings: Union[List[GsaMappingOfObjectIdentifier], None, Unset_Type] + parameter_mappings: Union[list[GsaMappingOfObjectIdentifier], None, Unset_Type] The parameter_mappings of this GsaMappingOfObjectIdentifier. """ self._parameter_mappings = parameter_mappings @@ -253,7 +253,7 @@ def link_source_type(self, link_source_type: "Union[GsaLinkSourceType, Unset_Typ self._link_source_type = link_source_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_content.py index eb4fede2..c00cd532 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaMathsContent(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_contents": "list[GsaParameterContent]", "transpose_axes": "bool", "use_logarithmic_scale": "bool", @@ -69,7 +69,7 @@ class GsaMathsContent(ModelBase): "free_parameter": "GsaSlimNamedEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_contents": "parameterContents", "transpose_axes": "transposeAxes", "use_logarithmic_scale": "useLogarithmicScale", @@ -78,7 +78,7 @@ class GsaMathsContent(ModelBase): "free_parameter": "freeParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "expression": "GsaSlimExpression", "freeParameter": "GsaSlimNamedEntity", "parameterContents": "GsaParameterContent", @@ -89,7 +89,7 @@ class GsaMathsContent(ModelBase): def __init__( self, *, - parameter_contents: "List[GsaParameterContent]", + parameter_contents: "list[GsaParameterContent]", transpose_axes: "bool", use_logarithmic_scale: "bool", curve_label: "Union[str, None, Unset_Type]" = Unset, @@ -100,7 +100,7 @@ def __init__( Parameters ---------- - parameter_contents: List[GsaParameterContent] + parameter_contents: list[GsaParameterContent] transpose_axes: bool use_logarithmic_scale: bool curve_label: str, optional @@ -112,7 +112,7 @@ def __init__( self._use_logarithmic_scale: bool self._expression: Union[GsaSlimExpression, Unset_Type] = Unset self._free_parameter: Union[GsaSlimNamedEntity, Unset_Type] = Unset - self._parameter_contents: List[GsaParameterContent] + self._parameter_contents: list[GsaParameterContent] if curve_label is not Unset: self.curve_label = curve_label @@ -253,23 +253,23 @@ def free_parameter(self, free_parameter: "Union[GsaSlimNamedEntity, Unset_Type]" self._free_parameter = free_parameter @property - def parameter_contents(self) -> "List[GsaParameterContent]": + def parameter_contents(self) -> "list[GsaParameterContent]": """Gets the parameter_contents of this GsaMathsContent. Returns ------- - List[GsaParameterContent] + list[GsaParameterContent] The parameter_contents of this GsaMathsContent. """ return self._parameter_contents @parameter_contents.setter - def parameter_contents(self, parameter_contents: "List[GsaParameterContent]") -> None: + def parameter_contents(self, parameter_contents: "list[GsaParameterContent]") -> None: """Sets the parameter_contents of this GsaMathsContent. Parameters ---------- - parameter_contents: List[GsaParameterContent] + parameter_contents: list[GsaParameterContent] The parameter_contents of this GsaMathsContent. """ # Field is not nullable @@ -281,7 +281,7 @@ def parameter_contents(self, parameter_contents: "List[GsaParameterContent]") -> self._parameter_contents = parameter_contents @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_attribute.py index 98ef7286..f91b4d1b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaMathsFunctionalAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "allow_all_compatible_expressions": "bool", "allow_anonymous_expressions": "bool", "allow_extrapolation": "bool", @@ -85,7 +85,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "allow_all_compatible_expressions": "allowAllCompatibleExpressions", "allow_anonymous_expressions": "allowAnonymousExpressions", "allow_extrapolation": "allowExtrapolation", @@ -107,7 +107,7 @@ class GsaMathsFunctionalAttribute(GsaAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", "attributeParameters": "GsaSlimNamedEntity", "expressions": "GsaSlimExpression", @@ -122,11 +122,11 @@ def __init__( allow_all_compatible_expressions: "bool", allow_anonymous_expressions: "bool", allow_extrapolation: "bool", - attribute_parameters: "List[GsaSlimNamedEntity]", + attribute_parameters: "list[GsaSlimNamedEntity]", default_content: "GsaMathsContent", default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", - expressions: "List[GsaSlimExpression]", + display_names: "dict[str, str]", + expressions: "list[GsaSlimExpression]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -146,11 +146,11 @@ def __init__( allow_all_compatible_expressions: bool allow_anonymous_expressions: bool allow_extrapolation: bool - attribute_parameters: List[GsaSlimNamedEntity] + attribute_parameters: list[GsaSlimNamedEntity] default_content: GsaMathsContent default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] - expressions: List[GsaSlimExpression] + display_names: dict[str, str] + expressions: list[GsaSlimExpression] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -177,8 +177,8 @@ def __init__( help_path=help_path, ) self._unit: Union[GsaSlimUnit, Unset_Type] = Unset - self._attribute_parameters: List[GsaSlimNamedEntity] - self._expressions: List[GsaSlimExpression] + self._attribute_parameters: list[GsaSlimNamedEntity] + self._expressions: list[GsaSlimExpression] self._allow_extrapolation: bool self._is_range: bool self._allow_all_compatible_expressions: bool @@ -221,23 +221,23 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @property - def attribute_parameters(self) -> "List[GsaSlimNamedEntity]": + def attribute_parameters(self) -> "list[GsaSlimNamedEntity]": """Gets the attribute_parameters of this GsaMathsFunctionalAttribute. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The attribute_parameters of this GsaMathsFunctionalAttribute. """ return self._attribute_parameters @attribute_parameters.setter - def attribute_parameters(self, attribute_parameters: "List[GsaSlimNamedEntity]") -> None: + def attribute_parameters(self, attribute_parameters: "list[GsaSlimNamedEntity]") -> None: """Sets the attribute_parameters of this GsaMathsFunctionalAttribute. Parameters ---------- - attribute_parameters: List[GsaSlimNamedEntity] + attribute_parameters: list[GsaSlimNamedEntity] The attribute_parameters of this GsaMathsFunctionalAttribute. """ # Field is not nullable @@ -249,23 +249,23 @@ def attribute_parameters(self, attribute_parameters: "List[GsaSlimNamedEntity]") self._attribute_parameters = attribute_parameters @property - def expressions(self) -> "List[GsaSlimExpression]": + def expressions(self) -> "list[GsaSlimExpression]": """Gets the expressions of this GsaMathsFunctionalAttribute. Returns ------- - List[GsaSlimExpression] + list[GsaSlimExpression] The expressions of this GsaMathsFunctionalAttribute. """ return self._expressions @expressions.setter - def expressions(self, expressions: "List[GsaSlimExpression]") -> None: + def expressions(self, expressions: "list[GsaSlimExpression]") -> None: """Sets the expressions of this GsaMathsFunctionalAttribute. Parameters ---------- - expressions: List[GsaSlimExpression] + expressions: list[GsaSlimExpression] The expressions of this GsaMathsFunctionalAttribute. """ # Field is not nullable @@ -421,7 +421,7 @@ def default_content(self, default_content: "GsaMathsContent") -> None: self._default_content = default_content @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_criterion.py index c3e5abf9..8170ad00 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,30 +56,30 @@ class GsaMathsFunctionalDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "constraints": "list[GsaParameterConstraint]", "gte": "float", "lte": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "constraints": "constraints", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "constraints": "GsaParameterConstraint", } @@ -89,7 +89,7 @@ def __init__( self, *, type: "GsaDatumCriterionType" = GsaDatumCriterionType.MATHSFUNCTIONAL, - constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" = Unset, + constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" = Unset, gte: "Union[float, None, Unset_Type]" = Unset, lte: "Union[float, None, Unset_Type]" = Unset, ) -> None: @@ -98,14 +98,14 @@ def __init__( Parameters ---------- type: GsaDatumCriterionType - constraints: List[GsaParameterConstraint], optional + constraints: list[GsaParameterConstraint], optional gte: float, optional lte: float, optional """ super().__init__(type=type) self._gte: Union[float, None, Unset_Type] = Unset self._lte: Union[float, None, Unset_Type] = Unset - self._constraints: Union[List[GsaParameterConstraint], None, Unset_Type] = Unset + self._constraints: Union[list[GsaParameterConstraint], None, Unset_Type] = Unset if gte is not Unset: self.gte = gte @@ -163,33 +163,33 @@ def lte(self, lte: "Union[float, None, Unset_Type]") -> None: self._lte = lte @property - def constraints(self) -> "Union[List[GsaParameterConstraint], None, Unset_Type]": + def constraints(self) -> "Union[list[GsaParameterConstraint], None, Unset_Type]": """Gets the constraints of this GsaMathsFunctionalDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. Returns ------- - Union[List[GsaParameterConstraint], None, Unset_Type] + Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaMathsFunctionalDatumCriterion. """ return self._constraints @constraints.setter def constraints( - self, constraints: "Union[List[GsaParameterConstraint], None, Unset_Type]" + self, constraints: "Union[list[GsaParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GsaMathsFunctionalDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. Parameters ---------- - constraints: Union[List[GsaParameterConstraint], None, Unset_Type] + constraints: Union[list[GsaParameterConstraint], None, Unset_Type] The constraints of this GsaMathsFunctionalDatumCriterion. """ self._constraints = constraints @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_exists_criterion.py index 2a7da9f1..9ce56a20 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_maths_functional_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaMathsFunctionalDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mi_version.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mi_version.py index d4bbdb91..c0ed005e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mi_version.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_mi_version.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaMiVersion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "binary_compatibility_version": "str", "major_minor_version": "str", "version": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "binary_compatibility_version": "binaryCompatibilityVersion", "major_minor_version": "majorMinorVersion", "version": "version", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -180,7 +180,7 @@ def major_minor_version(self, major_minor_version: "Union[str, Unset_Type]") -> self._major_minor_version = major_minor_version @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_file.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_file.py index 2d27f5ce..15da291c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_file.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_file.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaMoveFile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "folder_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "folder_guid": "folderGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def folder_guid(self, folder_guid: "str") -> None: self._folder_guid = folder_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_folder.py index cfa0e6a7..dd9c7c25 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_folder.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaMoveFolder(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parent_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parent_guid": "parentGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def parent_guid(self, parent_guid: "str") -> None: self._parent_guid = parent_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_record_history.py index 42f88500..25e9fffe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_move_record_history.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaMoveRecordHistory(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "new_parent": "GsaSlimRecordHistory", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "new_parent": "newParent", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "newParent": "GsaSlimRecordHistory", } @@ -116,7 +116,7 @@ def new_parent(self, new_parent: "Union[GsaSlimRecordHistory, Unset_Type]") -> N self._new_parent = new_parent @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_named_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_named_criterion.py index ed950a1c..d977607c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_named_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_named_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,28 +54,28 @@ class GsaNamedCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "inner_criterion": "GsaCriterion", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "inner_criterion": "innerCriterion", "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "innerCriterion": "GsaCriterion", } @@ -153,7 +153,7 @@ def inner_criterion(self, inner_criterion: "Union[GsaCriterion, Unset_Type]") -> self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_item.py index 55c7e6b3..e8ed910f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_new_layout_item import ( # noqa: F401 GsaNewLayoutItem, @@ -56,30 +56,30 @@ class GsaNewLayoutAssociationChainItem(GsaNewLayoutItem): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "association_chain_links": "list[GsaNewLayoutAssociationChainLink]", "association_chain_name": "str", "item_type": "GsaNewLayoutItemType", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "association_chain_links": "associationChainLinks", "association_chain_name": "associationChainName", "item_type": "itemType", "guid": "guid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "associationChainLinks": "GsaNewLayoutAssociationChainLink", } @@ -88,7 +88,7 @@ class GsaNewLayoutAssociationChainItem(GsaNewLayoutItem): def __init__( self, *, - association_chain_links: "List[GsaNewLayoutAssociationChainLink]", + association_chain_links: "list[GsaNewLayoutAssociationChainLink]", association_chain_name: "str", item_type: "GsaNewLayoutItemType" = GsaNewLayoutItemType.ASSOCIATIONCHAIN, guid: "Union[str, Unset_Type]" = Unset, @@ -97,14 +97,14 @@ def __init__( Parameters ---------- - association_chain_links: List[GsaNewLayoutAssociationChainLink] + association_chain_links: list[GsaNewLayoutAssociationChainLink] association_chain_name: str item_type: GsaNewLayoutItemType guid: str, optional """ super().__init__(item_type=item_type, guid=guid) self._association_chain_name: str - self._association_chain_links: List[GsaNewLayoutAssociationChainLink] + self._association_chain_links: list[GsaNewLayoutAssociationChainLink] self.association_chain_name = association_chain_name self.association_chain_links = association_chain_links @@ -138,25 +138,25 @@ def association_chain_name(self, association_chain_name: "str") -> None: self._association_chain_name = association_chain_name @property - def association_chain_links(self) -> "List[GsaNewLayoutAssociationChainLink]": + def association_chain_links(self) -> "list[GsaNewLayoutAssociationChainLink]": """Gets the association_chain_links of this GsaNewLayoutAssociationChainItem. Returns ------- - List[GsaNewLayoutAssociationChainLink] + list[GsaNewLayoutAssociationChainLink] The association_chain_links of this GsaNewLayoutAssociationChainItem. """ return self._association_chain_links @association_chain_links.setter def association_chain_links( - self, association_chain_links: "List[GsaNewLayoutAssociationChainLink]" + self, association_chain_links: "list[GsaNewLayoutAssociationChainLink]" ) -> None: """Sets the association_chain_links of this GsaNewLayoutAssociationChainItem. Parameters ---------- - association_chain_links: List[GsaNewLayoutAssociationChainLink] + association_chain_links: list[GsaNewLayoutAssociationChainLink] The association_chain_links of this GsaNewLayoutAssociationChainItem. """ # Field is not nullable @@ -168,7 +168,7 @@ def association_chain_links( self._association_chain_links = association_chain_links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_link.py index a4723803..c8288dff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_link.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_association_chain_link.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaNewLayoutAssociationChainLink(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "source_database_version_guid": "str", "tabular_attribute_guid": "str", "forwards": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "source_database_version_guid": "sourceDatabaseVersionGuid", "tabular_attribute_guid": "tabularAttributeGuid", "forwards": "forwards", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -184,7 +184,7 @@ def tabular_attribute_guid(self, tabular_attribute_guid: "str") -> None: self._tabular_attribute_guid = tabular_attribute_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_attribute_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_attribute_item.py index 25c9453f..97a94d1c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_attribute_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_attribute_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_new_layout_item import ( # noqa: F401 GsaNewLayoutItem, @@ -56,16 +56,16 @@ class GsaNewLayoutAttributeItem(GsaNewLayoutItem): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_guid": "str", "item_type": "GsaNewLayoutItemType", "guid": "str", @@ -75,7 +75,7 @@ class GsaNewLayoutAttributeItem(GsaNewLayoutItem): "tabular_column_guids": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_guid": "attributeGuid", "item_type": "itemType", "guid": "guid", @@ -85,7 +85,7 @@ class GsaNewLayoutAttributeItem(GsaNewLayoutItem): "tabular_column_guids": "tabularColumnGuids", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "metaAttributes": "GsaNewLayoutAttributeItem", } @@ -97,10 +97,10 @@ def __init__( attribute_guid: "str", item_type: "GsaNewLayoutItemType" = GsaNewLayoutItemType.ATTRIBUTE, guid: "Union[str, Unset_Type]" = Unset, - meta_attributes: "Union[List[GsaNewLayoutAttributeItem], None, Unset_Type]" = Unset, + meta_attributes: "Union[list[GsaNewLayoutAttributeItem], None, Unset_Type]" = Unset, read_only: "Union[bool, Unset_Type]" = Unset, required: "Union[bool, Unset_Type]" = Unset, - tabular_column_guids: "Union[List[str], None, Unset_Type]" = Unset, + tabular_column_guids: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaNewLayoutAttributeItem - a model defined in Swagger @@ -109,17 +109,17 @@ def __init__( attribute_guid: str item_type: GsaNewLayoutItemType guid: str, optional - meta_attributes: List[GsaNewLayoutAttributeItem], optional + meta_attributes: list[GsaNewLayoutAttributeItem], optional read_only: bool, optional required: bool, optional - tabular_column_guids: List[str], optional + tabular_column_guids: list[str], optional """ super().__init__(item_type=item_type, guid=guid) self._attribute_guid: str self._required: Union[bool, Unset_Type] = Unset self._read_only: Union[bool, Unset_Type] = Unset - self._meta_attributes: Union[List[GsaNewLayoutAttributeItem], None, Unset_Type] = Unset - self._tabular_column_guids: Union[List[str], None, Unset_Type] = Unset + self._meta_attributes: Union[list[GsaNewLayoutAttributeItem], None, Unset_Type] = Unset + self._tabular_column_guids: Union[list[str], None, Unset_Type] = Unset self.attribute_guid = attribute_guid if required is not Unset: @@ -210,55 +210,55 @@ def read_only(self, read_only: "Union[bool, Unset_Type]") -> None: self._read_only = read_only @property - def meta_attributes(self) -> "Union[List[GsaNewLayoutAttributeItem], None, Unset_Type]": + def meta_attributes(self) -> "Union[list[GsaNewLayoutAttributeItem], None, Unset_Type]": """Gets the meta_attributes of this GsaNewLayoutAttributeItem. Returns ------- - Union[List[GsaNewLayoutAttributeItem], None, Unset_Type] + Union[list[GsaNewLayoutAttributeItem], None, Unset_Type] The meta_attributes of this GsaNewLayoutAttributeItem. """ return self._meta_attributes @meta_attributes.setter def meta_attributes( - self, meta_attributes: "Union[List[GsaNewLayoutAttributeItem], None, Unset_Type]" + self, meta_attributes: "Union[list[GsaNewLayoutAttributeItem], None, Unset_Type]" ) -> None: """Sets the meta_attributes of this GsaNewLayoutAttributeItem. Parameters ---------- - meta_attributes: Union[List[GsaNewLayoutAttributeItem], None, Unset_Type] + meta_attributes: Union[list[GsaNewLayoutAttributeItem], None, Unset_Type] The meta_attributes of this GsaNewLayoutAttributeItem. """ self._meta_attributes = meta_attributes @property - def tabular_column_guids(self) -> "Union[List[str], None, Unset_Type]": + def tabular_column_guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the tabular_column_guids of this GsaNewLayoutAttributeItem. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The tabular_column_guids of this GsaNewLayoutAttributeItem. """ return self._tabular_column_guids @tabular_column_guids.setter def tabular_column_guids( - self, tabular_column_guids: "Union[List[str], None, Unset_Type]" + self, tabular_column_guids: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the tabular_column_guids of this GsaNewLayoutAttributeItem. Parameters ---------- - tabular_column_guids: Union[List[str], None, Unset_Type] + tabular_column_guids: Union[list[str], None, Unset_Type] The tabular_column_guids of this GsaNewLayoutAttributeItem. """ self._tabular_column_guids = tabular_column_guids @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_cross_database_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_cross_database_link_item.py index 602c2db2..a31e8b52 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_cross_database_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_cross_database_link_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_new_layout_item import ( # noqa: F401 GsaNewLayoutItem, @@ -56,16 +56,16 @@ class GsaNewLayoutCrossDatabaseLinkItem(GsaNewLayoutItem): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "item_type": "GsaNewLayoutItemType", "link_group_guid": "str", "source_database_guid": "str", @@ -73,7 +73,7 @@ class GsaNewLayoutCrossDatabaseLinkItem(GsaNewLayoutItem): "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "item_type": "itemType", "link_group_guid": "linkGroupGuid", "source_database_guid": "sourceDatabaseGuid", @@ -81,7 +81,7 @@ class GsaNewLayoutCrossDatabaseLinkItem(GsaNewLayoutItem): "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -198,7 +198,7 @@ def link_group_guid(self, link_group_guid: "str") -> None: self._link_group_guid = link_group_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_item.py index 6ea7ed66..aefe1787 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaNewLayoutItem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "item_type": "GsaNewLayoutItemType", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "item_type": "itemType", "guid": "guid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "itemType": "GsaNewLayoutItemType", } @@ -160,7 +160,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_record_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_record_link_item.py index 9e8a229d..b67111dc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_record_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_record_link_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_new_layout_item import ( # noqa: F401 GsaNewLayoutItem, @@ -56,30 +56,30 @@ class GsaNewLayoutRecordLinkItem(GsaNewLayoutItem): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "item_type": "GsaNewLayoutItemType", "link_group_guid": "str", "forwards": "bool", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "item_type": "itemType", "link_group_guid": "linkGroupGuid", "forwards": "forwards", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -161,7 +161,7 @@ def link_group_guid(self, link_group_guid: "str") -> None: self._link_group_guid = link_group_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_smart_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_smart_link_item.py index cbc3cf4b..6faf21bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_smart_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_new_layout_smart_link_item.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_new_layout_item import ( # noqa: F401 GsaNewLayoutItem, @@ -56,30 +56,30 @@ class GsaNewLayoutSmartLinkItem(GsaNewLayoutItem): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "item_type": "GsaNewLayoutItemType", "link_group_guid": "str", "forwards": "bool", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "item_type": "itemType", "link_group_guid": "linkGroupGuid", "forwards": "forwards", "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -164,7 +164,7 @@ def link_group_guid(self, link_group_guid: "str") -> None: self._link_group_guid = link_group_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_no_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_no_values_specifier.py index 479ec3bc..c7da2c34 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_no_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_no_values_specifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_value_specifier import ( # noqa: F401 GsaValueSpecifier, @@ -56,24 +56,24 @@ class GsaNoValuesSpecifier(GsaValueSpecifier): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "filter_on": "GsaValueSpecifierType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "filter_on": "filterOn", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(filter_on=filter_on) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_applicable_datum.py index c3707cca..caa95a57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_applicable_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum import GsaDatum # noqa: F401 @@ -53,24 +53,24 @@ class GsaNotApplicableDatum(GsaDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "not_applicable": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "not_applicable": "notApplicable", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -88,7 +88,7 @@ def __init__( super().__init__(not_applicable=not_applicable) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_the_latest_version_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_the_latest_version_error_detail.py index 4e0f91aa..0bcf285b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_the_latest_version_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_the_latest_version_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_version_control_error_detail import ( # noqa: F401 GsaVersionControlErrorDetail, @@ -55,28 +55,28 @@ class GsaNotTheLatestVersionErrorDetail(GsaVersionControlErrorDetail): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "newer_version": "GsaSlimRecordVersion", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "newer_version": "newerVersion", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "newerVersion": "GsaSlimRecordVersion", } @@ -129,7 +129,7 @@ def newer_version(self, newer_version: "Union[GsaSlimRecordVersion, Unset_Type]" self._newer_version = newer_version @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_versioned_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_versioned_error_detail.py index 5ada184b..aca2de4e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_versioned_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_not_versioned_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_version_control_error_detail import ( # noqa: F401 GsaVersionControlErrorDetail, @@ -55,26 +55,26 @@ class GsaNotVersionedErrorDetail(GsaVersionControlErrorDetail): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -94,7 +94,7 @@ def __init__( super().__init__(message=message, reason=reason) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter.py index 52196eca..decc0028 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter import GsaParameter # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType @@ -54,16 +54,16 @@ class GsaNumericParameter(GsaParameter): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_parameter_value_guid": "str", "display_names": "dict(str, str)", "guid": "str", @@ -77,7 +77,7 @@ class GsaNumericParameter(GsaParameter): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_parameter_value_guid": "defaultParameterValueGuid", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaNumericParameter(GsaParameter): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", "values": "GsaNumericParameterValue", "interpolationType": "GsaParameterInterpolationType", @@ -104,14 +104,14 @@ def __init__( self, *, default_parameter_value_guid: "str", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", interpolation_type: "GsaParameterInterpolationType", is_restricted: "bool", name: "str", scale_type: "GsaParameterScaleType", type: "GsaParameterType" = GsaParameterType.NUMERIC, - values: "List[GsaNumericParameterValue]", + values: "list[GsaNumericParameterValue]", help_path: "Union[str, None, Unset_Type]" = Unset, unit: "Union[GsaSlimUnit, Unset_Type]" = Unset, ) -> None: @@ -120,14 +120,14 @@ def __init__( Parameters ---------- default_parameter_value_guid: str - display_names: Dict[str, str] + display_names: dict[str, str] guid: str interpolation_type: GsaParameterInterpolationType is_restricted: bool name: str scale_type: GsaParameterScaleType type: GsaParameterType - values: List[GsaNumericParameterValue] + values: list[GsaNumericParameterValue] help_path: str, optional unit: GsaSlimUnit, optional """ @@ -141,7 +141,7 @@ def __init__( ) self._is_restricted: bool self._unit: Union[GsaSlimUnit, Unset_Type] = Unset - self._values: List[GsaNumericParameterValue] + self._values: list[GsaNumericParameterValue] self._interpolation_type: GsaParameterInterpolationType self._scale_type: GsaParameterScaleType @@ -206,23 +206,23 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @property - def values(self) -> "List[GsaNumericParameterValue]": + def values(self) -> "list[GsaNumericParameterValue]": """Gets the values of this GsaNumericParameter. Returns ------- - List[GsaNumericParameterValue] + list[GsaNumericParameterValue] The values of this GsaNumericParameter. """ return self._values @values.setter - def values(self, values: "List[GsaNumericParameterValue]") -> None: + def values(self, values: "list[GsaNumericParameterValue]") -> None: """Sets the values of this GsaNumericParameter. Parameters ---------- - values: List[GsaNumericParameterValue] + values: list[GsaNumericParameterValue] The values of this GsaNumericParameter. """ # Field is not nullable @@ -290,7 +290,7 @@ def scale_type(self, scale_type: "GsaParameterScaleType") -> None: self._scale_type = scale_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_constraint.py index d1d10239..bd633668 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_constraint.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_constraint import ( # noqa: F401 GsaParameterConstraint, @@ -58,16 +58,16 @@ class GsaNumericParameterConstraint(GsaParameterConstraint): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaObjectIdentifier", "type": "GsaParameterConstraintType", "gte": "float", @@ -75,7 +75,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint): "significant_figures": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "gte": "gte", @@ -83,7 +83,7 @@ class GsaNumericParameterConstraint(GsaParameterConstraint): "significant_figures": "significantFigures", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -185,7 +185,7 @@ def significant_figures(self, significant_figures: "Union[int, None, Unset_Type] self._significant_figures = significant_figures @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_content.py index c0415e03..cbc68bcd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_content import ( # noqa: F401 GsaParameterContent, @@ -56,30 +56,30 @@ class GsaNumericParameterContent(GsaParameterContent): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", "parameter_range": "GsaContinuousRange", "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "parameter_range": "parameterRange", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterRange": "GsaContinuousRange", } @@ -159,7 +159,7 @@ def parameter_range(self, parameter_range: "Union[GsaContinuousRange, Unset_Type self._parameter_range = parameter_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_data_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_data_value.py index 3fcddea8..272ca828 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_data_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_data_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_data_value import ( # noqa: F401 GsaParameterDataValue, @@ -56,30 +56,30 @@ class GsaNumericParameterDataValue(GsaParameterDataValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_type": "GsaParameterType", "parameter_value": "float", "name": "str", "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_type": "parameterType", "parameter_value": "parameterValue", "name": "name", "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", } @@ -189,7 +189,7 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_value.py index ba6063c3..ae321b18 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_numeric_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_value import ( # noqa: F401 GsaParameterValue, @@ -56,30 +56,30 @@ class GsaNumericParameterValue(GsaParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "type": "GsaParameterValueType", "value": "float", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "type": "type", "value": "value", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -159,7 +159,7 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_object_identifier.py index 81c9ed3d..44f3ca49 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "identity": "int", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "identity": "identity", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -175,7 +175,7 @@ def identity(self, identity: "Union[int, None, Unset_Type]") -> None: self._identity = identity @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_paging_options.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_paging_options.py index 1f64de1d..46300939 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_paging_options.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_paging_options.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaPagingOptions(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "keep_alive_in_minutes": "int", "page_number": "int", "page_size": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "keep_alive_in_minutes": "keepAliveInMinutes", "page_number": "pageNumber", "page_size": "pageSize", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -178,7 +178,7 @@ def page_number(self, page_number: "Union[int, None, Unset_Type]") -> None: self._page_number = page_number @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter.py index d49da22b..d3077aaf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_parameter_value_guid": "str", "display_names": "dict(str, str)", "guid": "str", @@ -71,7 +71,7 @@ class GsaParameter(ModelBase): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_parameter_value_guid": "defaultParameterValueGuid", "display_names": "displayNames", "guid": "guid", @@ -80,7 +80,7 @@ class GsaParameter(ModelBase): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", } @@ -95,7 +95,7 @@ def __init__( self, *, default_parameter_value_guid: "str", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", type: "GsaParameterType", @@ -106,7 +106,7 @@ def __init__( Parameters ---------- default_parameter_value_guid: str - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str type: GsaParameterType @@ -115,7 +115,7 @@ def __init__( self._type: GsaParameterType self._help_path: Union[str, None, Unset_Type] = Unset self._default_parameter_value_guid: str - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -208,23 +208,23 @@ def default_parameter_value_guid(self, default_parameter_value_guid: "str") -> N self._default_parameter_value_guid = default_parameter_value_guid @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaParameter. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaParameter. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaParameter. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaParameter. """ # Field is not nullable @@ -292,7 +292,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_constraint.py index 9c65f586..877b097b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_constraint.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaParameterConstraint(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaObjectIdentifier", "type": "GsaParameterConstraintType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameter": "GsaObjectIdentifier", "type": "GsaParameterConstraintType", } @@ -161,7 +161,7 @@ def type(self, type: "GsaParameterConstraintType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_content.py index 470e981f..c1e9f10d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaParameterContent(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", "parameter": "GsaSlimNamedEntity", } @@ -160,7 +160,7 @@ def parameter(self, parameter: "GsaSlimNamedEntity") -> None: self._parameter = parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_data_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_data_value.py index efed25ce..168d4fc1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_data_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_data_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaParameterDataValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_type": "parameterType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterType": "GsaParameterType", } @@ -125,7 +125,7 @@ def parameter_type(self, parameter_type: "GsaParameterType") -> None: self._parameter_type = parameter_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_deletion_exception.py index c0169fba..7177d9aa 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_deletion_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaParameterDeletionException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaParameterDeletionException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaDataModificationErrorDetail], optional + errors: list[GsaDataModificationErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,31 +153,31 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]": """Gets the errors of this GsaParameterDeletionException. Returns ------- - Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaParameterDeletionException. """ return self._errors @errors.setter def errors( - self, errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" + self, errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GsaParameterDeletionException. Parameters ---------- - errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaParameterDeletionException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_info.py index 2aabfe3e..413635b4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaParameterInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_value": "GsaDataExportParameterValue", "guid": "str", "identity": "int", @@ -71,7 +71,7 @@ class GsaParameterInfo(ModelBase): "unit_symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_value": "defaultValue", "guid": "guid", "identity": "identity", @@ -82,7 +82,7 @@ class GsaParameterInfo(ModelBase): "unit_symbol": "unitSymbol", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "scaleType": "GsaParameterInfoScaleType", "interpolationType": "GsaParameterInfoInterpolationType", "parameterType": "GsaParameterInfoParameterType", @@ -340,7 +340,7 @@ def default_value( self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value.py index bd170594..9ae4dd81 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaParameterValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "type": "GsaParameterValueType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterValueType", } @@ -159,7 +159,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value_deletion_exception.py index a46b3a07..9d59f489 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_value_deletion_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaParameterValueDeletionException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaParameterValueDeletionException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaDataModificationErrorDetail], optional + errors: list[GsaDataModificationErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,31 +153,31 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]": """Gets the errors of this GsaParameterValueDeletionException. Returns ------- - Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaParameterValueDeletionException. """ return self._errors @errors.setter def errors( - self, errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" + self, errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GsaParameterValueDeletionException. Parameters ---------- - errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaParameterValueDeletionException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_with_data_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_with_data_value.py index 893ed845..d5fdccc3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_with_data_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameter_with_data_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaParameterWithDataValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "parameter_data_value": "GsaParameterDataValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "parameter_data_value": "parameterDataValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameter": "GsaSlimNamedEntity", "parameterDataValue": "GsaParameterDataValue", } @@ -153,7 +153,7 @@ def parameter_data_value(self, parameter_data_value: "GsaParameterDataValue") -> self._parameter_data_value = parameter_data_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameters_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameters_info.py index 300966dd..218dc097 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameters_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_parameters_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaParametersInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameters": "list[GsaParameter]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameters": "parameters", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameters": "GsaParameter", } @@ -77,43 +77,43 @@ class GsaParametersInfo(ModelBase): def __init__( self, *, - parameters: "Union[List[GsaParameter], None, Unset_Type]" = Unset, + parameters: "Union[list[GsaParameter], None, Unset_Type]" = Unset, ) -> None: """GsaParametersInfo - a model defined in Swagger Parameters ---------- - parameters: List[GsaParameter], optional + parameters: list[GsaParameter], optional """ - self._parameters: Union[List[GsaParameter], None, Unset_Type] = Unset + self._parameters: Union[list[GsaParameter], None, Unset_Type] = Unset if parameters is not Unset: self.parameters = parameters @property - def parameters(self) -> "Union[List[GsaParameter], None, Unset_Type]": + def parameters(self) -> "Union[list[GsaParameter], None, Unset_Type]": """Gets the parameters of this GsaParametersInfo. Returns ------- - Union[List[GsaParameter], None, Unset_Type] + Union[list[GsaParameter], None, Unset_Type] The parameters of this GsaParametersInfo. """ return self._parameters @parameters.setter - def parameters(self, parameters: "Union[List[GsaParameter], None, Unset_Type]") -> None: + def parameters(self, parameters: "Union[list[GsaParameter], None, Unset_Type]") -> None: """Sets the parameters of this GsaParametersInfo. Parameters ---------- - parameters: Union[List[GsaParameter], None, Unset_Type] + parameters: Union[list[GsaParameter], None, Unset_Type] The parameters of this GsaParametersInfo. """ self._parameters = parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_attribute.py index c451c81a..f06832d1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaPictureAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -77,7 +77,7 @@ class GsaPictureAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaPictureAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -115,7 +115,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -141,7 +141,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum.py index 85a276fc..1089c46c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,26 +56,26 @@ class GsaPictureDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "not_applicable": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -95,7 +95,7 @@ def __init__( super().__init__(datum_type=datum_type, not_applicable=not_applicable) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_criterion.py index f5ef3324..135ee35c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,24 +56,24 @@ class GsaPictureDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_exists_criterion.py index 8eba1e63..e7c84ac3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_picture_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaPictureDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation.py index 954f5b5b..e21f43e3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,28 +58,28 @@ class GsaPointAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "maximum": "float", "minimum": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "maximum": "maximum", "minimum": "minimum", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -152,7 +152,7 @@ def maximum(self, maximum: "Union[float, None, Unset_Type]") -> None: self._maximum = maximum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation_datum_criterion.py index c9110152..e768dd83 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,24 +58,24 @@ class GsaPointAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -93,7 +93,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_attribute.py index 1233c645..be0858cb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaPointAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_parameters": "list[GsaSlimNamedEntity]", "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", @@ -80,7 +80,7 @@ class GsaPointAttribute(GsaAttribute): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_parameters": "attributeParameters", "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", @@ -97,7 +97,7 @@ class GsaPointAttribute(GsaAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", "attributeParameters": "GsaSlimNamedEntity", } @@ -107,9 +107,9 @@ class GsaPointAttribute(GsaAttribute): def __init__( self, *, - attribute_parameters: "List[GsaSlimNamedEntity]", + attribute_parameters: "list[GsaSlimNamedEntity]", default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -126,9 +126,9 @@ def __init__( Parameters ---------- - attribute_parameters: List[GsaSlimNamedEntity] + attribute_parameters: list[GsaSlimNamedEntity] default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -156,7 +156,7 @@ def __init__( ) self._unit: Union[GsaSlimUnit, Unset_Type] = Unset self._is_multi_valued: bool - self._attribute_parameters: List[GsaSlimNamedEntity] + self._attribute_parameters: list[GsaSlimNamedEntity] if unit is not Unset: self.unit = unit @@ -217,23 +217,23 @@ def is_multi_valued(self, is_multi_valued: "bool") -> None: self._is_multi_valued = is_multi_valued @property - def attribute_parameters(self) -> "List[GsaSlimNamedEntity]": + def attribute_parameters(self) -> "list[GsaSlimNamedEntity]": """Gets the attribute_parameters of this GsaPointAttribute. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The attribute_parameters of this GsaPointAttribute. """ return self._attribute_parameters @attribute_parameters.setter - def attribute_parameters(self, attribute_parameters: "List[GsaSlimNamedEntity]") -> None: + def attribute_parameters(self, attribute_parameters: "list[GsaSlimNamedEntity]") -> None: """Sets the attribute_parameters of this GsaPointAttribute. Parameters ---------- - attribute_parameters: List[GsaSlimNamedEntity] + attribute_parameters: list[GsaSlimNamedEntity] The attribute_parameters of this GsaPointAttribute. """ # Field is not nullable @@ -245,7 +245,7 @@ def attribute_parameters(self, attribute_parameters: "List[GsaSlimNamedEntity]") self._attribute_parameters = attribute_parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_data_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_data_value.py index 8c9cd80d..c83af6c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_data_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_data_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaPointDataValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameters_and_values": "list[GsaParameterWithDataValue]", "point_value": "float", "significant_figures_info": "GsaSignificantFiguresInfo", "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameters_and_values": "parametersAndValues", "point_value": "pointValue", "significant_figures_info": "significantFiguresInfo", "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", "significantFiguresInfo": "GsaSignificantFiguresInfo", "parametersAndValues": "GsaParameterWithDataValue", @@ -85,7 +85,7 @@ class GsaPointDataValue(ModelBase): def __init__( self, *, - parameters_and_values: "List[GsaParameterWithDataValue]", + parameters_and_values: "list[GsaParameterWithDataValue]", point_value: "float", significant_figures_info: "Union[GsaSignificantFiguresInfo, Unset_Type]" = Unset, unit: "Union[GsaSlimUnit, Unset_Type]" = Unset, @@ -94,7 +94,7 @@ def __init__( Parameters ---------- - parameters_and_values: List[GsaParameterWithDataValue] + parameters_and_values: list[GsaParameterWithDataValue] point_value: float significant_figures_info: GsaSignificantFiguresInfo, optional unit: GsaSlimUnit, optional @@ -102,7 +102,7 @@ def __init__( self._point_value: float self._unit: Union[GsaSlimUnit, Unset_Type] = Unset self._significant_figures_info: Union[GsaSignificantFiguresInfo, Unset_Type] = Unset - self._parameters_and_values: List[GsaParameterWithDataValue] + self._parameters_and_values: list[GsaParameterWithDataValue] self.point_value = point_value if unit is not Unset: @@ -192,25 +192,25 @@ def significant_figures_info( self._significant_figures_info = significant_figures_info @property - def parameters_and_values(self) -> "List[GsaParameterWithDataValue]": + def parameters_and_values(self) -> "list[GsaParameterWithDataValue]": """Gets the parameters_and_values of this GsaPointDataValue. Returns ------- - List[GsaParameterWithDataValue] + list[GsaParameterWithDataValue] The parameters_and_values of this GsaPointDataValue. """ return self._parameters_and_values @parameters_and_values.setter def parameters_and_values( - self, parameters_and_values: "List[GsaParameterWithDataValue]" + self, parameters_and_values: "list[GsaParameterWithDataValue]" ) -> None: """Sets the parameters_and_values of this GsaPointDataValue. Parameters ---------- - parameters_and_values: List[GsaParameterWithDataValue] + parameters_and_values: list[GsaParameterWithDataValue] The parameters_and_values of this GsaPointDataValue. """ # Field is not nullable @@ -222,7 +222,7 @@ def parameters_and_values( self._parameters_and_values = parameters_and_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum.py index 02432c03..5b13088b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,30 +56,30 @@ class GsaPointDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "estimated": "bool", "not_applicable": "str", "values": "list[GsaPointDataValue]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "estimated": "estimated", "not_applicable": "notApplicable", "values": "values", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "values": "GsaPointDataValue", } @@ -91,7 +91,7 @@ def __init__( datum_type: "GsaDatumType" = GsaDatumType.POINT, estimated: "bool", not_applicable: "str" = "applicable", - values: "List[GsaPointDataValue]", + values: "list[GsaPointDataValue]", ) -> None: """GsaPointDatum - a model defined in Swagger @@ -100,11 +100,11 @@ def __init__( datum_type: GsaDatumType estimated: bool not_applicable: str - values: List[GsaPointDataValue] + values: list[GsaPointDataValue] """ super().__init__(datum_type=datum_type, not_applicable=not_applicable) self._estimated: bool - self._values: List[GsaPointDataValue] + self._values: list[GsaPointDataValue] self.estimated = estimated self.values = values @@ -138,23 +138,23 @@ def estimated(self, estimated: "bool") -> None: self._estimated = estimated @property - def values(self) -> "List[GsaPointDataValue]": + def values(self) -> "list[GsaPointDataValue]": """Gets the values of this GsaPointDatum. Returns ------- - List[GsaPointDataValue] + list[GsaPointDataValue] The values of this GsaPointDatum. """ return self._values @values.setter - def values(self, values: "List[GsaPointDataValue]") -> None: + def values(self, values: "list[GsaPointDataValue]") -> None: """Sets the values of this GsaPointDatum. Parameters ---------- - values: List[GsaPointDataValue] + values: list[GsaPointDataValue] The values of this GsaPointDatum. """ # Field is not nullable @@ -166,7 +166,7 @@ def values(self, values: "List[GsaPointDataValue]") -> None: self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_criterion.py index 124b5517..08850d12 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaPointDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "gte": "float", "lte": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -154,7 +154,7 @@ def lte(self, lte: "Union[float, None, Unset_Type]") -> None: self._lte = lte @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_exists_criterion.py index 55ab9bc2..2f02ade8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaPointDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py index 4ac475ec..d1fce80c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_fixed_width_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,28 +58,28 @@ class GsaPointFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "interval": "float", "offset": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "interval": "interval", "offset": "offset", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -162,7 +162,7 @@ def offset(self, offset: "Union[float, Unset_Type]") -> None: self._offset = offset @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation.py index a27cd168..de8bb0ee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaPointHistogramAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "histogram": "GsaHistogram", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "histogram": "histogram", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "histogram": "GsaHistogram", } @@ -128,7 +128,7 @@ def histogram(self, histogram: "Union[GsaHistogram, Unset_Type]") -> None: self._histogram = histogram @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation_datum_criterion.py index de1bf730..5285e7f4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_point_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,26 +58,26 @@ class GsaPointHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "maximum_number_of_buckets": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "maximum_number_of_buckets": "maximumNumberOfBuckets", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def maximum_number_of_buckets( self._maximum_number_of_buckets = maximum_number_of_buckets @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_processing_config.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_processing_config.py index b7dfca93..a54e456d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_processing_config.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_processing_config.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaProcessingConfig(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "concurrency": "int", "polling_interval_in_milliseconds": "int", "purge_interval_in_milliseconds": "int", "purge_job_age_in_milliseconds": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "concurrency": "concurrency", "polling_interval_in_milliseconds": "pollingIntervalInMilliseconds", "purge_interval_in_milliseconds": "purgeIntervalInMilliseconds", "purge_job_age_in_milliseconds": "purgeJobAgeInMilliseconds", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -222,7 +222,7 @@ def concurrency(self, concurrency: "Union[int, Unset_Type]") -> None: self._concurrency = concurrency @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile.py index 64874f1b..ea0596e6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaProfile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "is_implicit": "bool", "key": "str", "name": "str", @@ -71,7 +71,7 @@ class GsaProfile(ModelBase): "homepage_url": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "is_implicit": "isImplicit", "key": "key", "name": "name", @@ -82,7 +82,7 @@ class GsaProfile(ModelBase): "homepage_url": "homepageUrl", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "profileTables": "GsaSlimProfileTable", } @@ -94,7 +94,7 @@ def __init__( is_implicit: "bool", key: "str", name: "str", - profile_tables: "List[GsaSlimProfileTable]", + profile_tables: "list[GsaSlimProfileTable]", description: "Union[str, None, Unset_Type]" = Unset, group_name: "Union[str, None, Unset_Type]" = Unset, guid: "Union[str, None, Unset_Type]" = Unset, @@ -107,7 +107,7 @@ def __init__( is_implicit: bool key: str name: str - profile_tables: List[GsaSlimProfileTable] + profile_tables: list[GsaSlimProfileTable] description: str, optional group_name: str, optional guid: str, optional @@ -115,7 +115,7 @@ def __init__( """ self._description: Union[str, None, Unset_Type] = Unset self._homepage_url: Union[str, None, Unset_Type] = Unset - self._profile_tables: List[GsaSlimProfileTable] + self._profile_tables: list[GsaSlimProfileTable] self._key: str self._guid: Union[str, None, Unset_Type] = Unset self._group_name: Union[str, None, Unset_Type] = Unset @@ -180,23 +180,23 @@ def homepage_url(self, homepage_url: "Union[str, None, Unset_Type]") -> None: self._homepage_url = homepage_url @property - def profile_tables(self) -> "List[GsaSlimProfileTable]": + def profile_tables(self) -> "list[GsaSlimProfileTable]": """Gets the profile_tables of this GsaProfile. Returns ------- - List[GsaSlimProfileTable] + list[GsaSlimProfileTable] The profile_tables of this GsaProfile. """ return self._profile_tables @profile_tables.setter - def profile_tables(self, profile_tables: "List[GsaSlimProfileTable]") -> None: + def profile_tables(self, profile_tables: "list[GsaSlimProfileTable]") -> None: """Sets the profile_tables of this GsaProfile. Parameters ---------- - profile_tables: List[GsaSlimProfileTable] + profile_tables: list[GsaSlimProfileTable] The profile_tables of this GsaProfile. """ # Field is not nullable @@ -340,7 +340,7 @@ def name(self, name: "str") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_table.py index 7b204ba5..51e683a9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaProfileTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "table_guid": "str", "database_fallback_hint": "str", @@ -72,7 +72,7 @@ class GsaProfileTable(ModelBase): "table_fallback_hint": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "table_guid": "tableGuid", "database_fallback_hint": "databaseFallbackHint", @@ -84,7 +84,7 @@ class GsaProfileTable(ModelBase): "table_fallback_hint": "tableFallbackHint", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -355,7 +355,7 @@ def table_fallback_hint(self, table_fallback_hint: "Union[str, None, Unset_Type] self._table_fallback_hint = table_fallback_hint @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_tables_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_tables_info.py index 89763d7a..aef01159 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_tables_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_profile_tables_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaProfileTablesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "profile_tables": "list[GsaSlimProfileTable]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "profile_tables": "profileTables", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "profileTables": "GsaSlimProfileTable", } @@ -77,45 +77,45 @@ class GsaProfileTablesInfo(ModelBase): def __init__( self, *, - profile_tables: "Union[List[GsaSlimProfileTable], None, Unset_Type]" = Unset, + profile_tables: "Union[list[GsaSlimProfileTable], None, Unset_Type]" = Unset, ) -> None: """GsaProfileTablesInfo - a model defined in Swagger Parameters ---------- - profile_tables: List[GsaSlimProfileTable], optional + profile_tables: list[GsaSlimProfileTable], optional """ - self._profile_tables: Union[List[GsaSlimProfileTable], None, Unset_Type] = Unset + self._profile_tables: Union[list[GsaSlimProfileTable], None, Unset_Type] = Unset if profile_tables is not Unset: self.profile_tables = profile_tables @property - def profile_tables(self) -> "Union[List[GsaSlimProfileTable], None, Unset_Type]": + def profile_tables(self) -> "Union[list[GsaSlimProfileTable], None, Unset_Type]": """Gets the profile_tables of this GsaProfileTablesInfo. Returns ------- - Union[List[GsaSlimProfileTable], None, Unset_Type] + Union[list[GsaSlimProfileTable], None, Unset_Type] The profile_tables of this GsaProfileTablesInfo. """ return self._profile_tables @profile_tables.setter def profile_tables( - self, profile_tables: "Union[List[GsaSlimProfileTable], None, Unset_Type]" + self, profile_tables: "Union[list[GsaSlimProfileTable], None, Unset_Type]" ) -> None: """Sets the profile_tables of this GsaProfileTablesInfo. Parameters ---------- - profile_tables: Union[List[GsaSlimProfileTable], None, Unset_Type] + profile_tables: Union[list[GsaSlimProfileTable], None, Unset_Type] The profile_tables of this GsaProfileTablesInfo. """ self._profile_tables = profile_tables @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_property.py index 03874cd8..ec185934 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaProperty(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "propertyName": "GsaRecordProperty", } @@ -142,7 +142,7 @@ def property_name(self, property_name: "GsaRecordProperty") -> None: self._property_name = property_name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute.py index b9cff450..096b3277 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaQueryAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_parameters": "list[GsaQuerySlimNamedEntity]", "data_rule": "GsaQueryDataRule", "default_threshold_type": "GsaAttributeThresholdType", @@ -76,7 +76,7 @@ class GsaQueryAttribute(ModelBase): "unit": "GsaQueryUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_parameters": "attributeParameters", "data_rule": "dataRule", "default_threshold_type": "defaultThresholdType", @@ -92,7 +92,7 @@ class GsaQueryAttribute(ModelBase): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", "defaultThresholdType": "GsaAttributeThresholdType", "info": "GsaQueryAttributeInfo", @@ -110,16 +110,16 @@ class GsaQueryAttribute(ModelBase): def __init__( self, *, - attribute_parameters: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, + attribute_parameters: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, data_rule: "Union[GsaQueryDataRule, Unset_Type]" = Unset, default_threshold_type: "Union[GsaAttributeThresholdType, Unset_Type]" = Unset, discrete_type: "Union[GsaQueryDiscreteType, Unset_Type]" = Unset, - expressions: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, + expressions: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, guid: "Union[str, None, Unset_Type]" = Unset, info: "Union[GsaQueryAttributeInfo, Unset_Type]" = Unset, is_hidden_from_search_criteria: "Union[bool, None, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, - tabular_columns: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, + tabular_columns: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, target: "Union[GsaQueryTabularAttributeTarget, Unset_Type]" = Unset, type: "Union[GsaAttributeType, Unset_Type]" = Unset, unit: "Union[GsaQueryUnit, Unset_Type]" = Unset, @@ -128,16 +128,16 @@ def __init__( Parameters ---------- - attribute_parameters: List[GsaQuerySlimNamedEntity], optional + attribute_parameters: list[GsaQuerySlimNamedEntity], optional data_rule: GsaQueryDataRule, optional default_threshold_type: GsaAttributeThresholdType, optional discrete_type: GsaQueryDiscreteType, optional - expressions: List[GsaQuerySlimNamedEntity], optional + expressions: list[GsaQuerySlimNamedEntity], optional guid: str, optional info: GsaQueryAttributeInfo, optional is_hidden_from_search_criteria: bool, optional name: str, optional - tabular_columns: List[GsaQuerySlimNamedEntity], optional + tabular_columns: list[GsaQuerySlimNamedEntity], optional target: GsaQueryTabularAttributeTarget, optional type: GsaAttributeType, optional unit: GsaQueryUnit, optional @@ -150,9 +150,9 @@ def __init__( self._discrete_type: Union[GsaQueryDiscreteType, Unset_Type] = Unset self._data_rule: Union[GsaQueryDataRule, Unset_Type] = Unset self._target: Union[GsaQueryTabularAttributeTarget, Unset_Type] = Unset - self._tabular_columns: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] = Unset - self._attribute_parameters: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] = Unset - self._expressions: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] = Unset + self._tabular_columns: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] = Unset + self._attribute_parameters: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] = Unset + self._expressions: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] = Unset self._name: Union[str, None, Unset_Type] = Unset self._guid: Union[str, None, Unset_Type] = Unset @@ -385,73 +385,73 @@ def target(self, target: "Union[GsaQueryTabularAttributeTarget, Unset_Type]") -> self._target = target @property - def tabular_columns(self) -> "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]": + def tabular_columns(self) -> "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]": """Gets the tabular_columns of this GsaQueryAttribute. Returns ------- - Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The tabular_columns of this GsaQueryAttribute. """ return self._tabular_columns @tabular_columns.setter def tabular_columns( - self, tabular_columns: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" + self, tabular_columns: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the tabular_columns of this GsaQueryAttribute. Parameters ---------- - tabular_columns: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + tabular_columns: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The tabular_columns of this GsaQueryAttribute. """ self._tabular_columns = tabular_columns @property - def attribute_parameters(self) -> "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]": + def attribute_parameters(self) -> "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]": """Gets the attribute_parameters of this GsaQueryAttribute. Returns ------- - Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The attribute_parameters of this GsaQueryAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" + self, attribute_parameters: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the attribute_parameters of this GsaQueryAttribute. Parameters ---------- - attribute_parameters: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + attribute_parameters: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The attribute_parameters of this GsaQueryAttribute. """ self._attribute_parameters = attribute_parameters @property - def expressions(self) -> "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]": + def expressions(self) -> "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]": """Gets the expressions of this GsaQueryAttribute. Returns ------- - Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The expressions of this GsaQueryAttribute. """ return self._expressions @expressions.setter def expressions( - self, expressions: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" + self, expressions: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the expressions of this GsaQueryAttribute. Parameters ---------- - expressions: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + expressions: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The expressions of this GsaQueryAttribute. """ self._expressions = expressions @@ -501,7 +501,7 @@ def guid(self, guid: "Union[str, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_filter.py index eb4e5fa3..e20e5f18 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_filter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_filter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaQueryAttributeFilter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "list[GsaAttributeType]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", } @@ -77,45 +77,45 @@ class GsaQueryAttributeFilter(ModelBase): def __init__( self, *, - type: "Union[List[GsaAttributeType], None, Unset_Type]" = Unset, + type: "Union[list[GsaAttributeType], None, Unset_Type]" = Unset, ) -> None: """GsaQueryAttributeFilter - a model defined in Swagger Parameters ---------- - type: List[GsaAttributeType], optional + type: list[GsaAttributeType], optional """ - self._type: Union[List[GsaAttributeType], None, Unset_Type] = Unset + self._type: Union[list[GsaAttributeType], None, Unset_Type] = Unset if type is not Unset: self.type = type @property - def type(self) -> "Union[List[GsaAttributeType], None, Unset_Type]": + def type(self) -> "Union[list[GsaAttributeType], None, Unset_Type]": """Gets the type of this GsaQueryAttributeFilter. Only include attributes of any of these types. Note that Tabular attributes have type: link. Returns ------- - Union[List[GsaAttributeType], None, Unset_Type] + Union[list[GsaAttributeType], None, Unset_Type] The type of this GsaQueryAttributeFilter. """ return self._type @type.setter - def type(self, type: "Union[List[GsaAttributeType], None, Unset_Type]") -> None: + def type(self, type: "Union[list[GsaAttributeType], None, Unset_Type]") -> None: """Sets the type of this GsaQueryAttributeFilter. Only include attributes of any of these types. Note that Tabular attributes have type: link. Parameters ---------- - type: Union[List[GsaAttributeType], None, Unset_Type] + type: Union[list[GsaAttributeType], None, Unset_Type] The type of this GsaQueryAttributeFilter. """ self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info.py index 40efefed..208399e6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaQueryAttributeInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "chartable": "bool", "ordered_meta_attributes": "list[GsaQuerySlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "chartable": "chartable", "ordered_meta_attributes": "orderedMetaAttributes", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "orderedMetaAttributes": "GsaQuerySlimNamedEntity", } @@ -80,17 +80,17 @@ def __init__( self, *, chartable: "Union[bool, None, Unset_Type]" = Unset, - ordered_meta_attributes: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, + ordered_meta_attributes: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaQueryAttributeInfo - a model defined in Swagger Parameters ---------- chartable: bool, optional - ordered_meta_attributes: List[GsaQuerySlimNamedEntity], optional + ordered_meta_attributes: list[GsaQuerySlimNamedEntity], optional """ self._chartable: Union[bool, None, Unset_Type] = Unset - self._ordered_meta_attributes: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] = ( + self._ordered_meta_attributes: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] = ( Unset ) @@ -122,31 +122,31 @@ def chartable(self, chartable: "Union[bool, None, Unset_Type]") -> None: self._chartable = chartable @property - def ordered_meta_attributes(self) -> "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]": + def ordered_meta_attributes(self) -> "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]": """Gets the ordered_meta_attributes of this GsaQueryAttributeInfo. Returns ------- - Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The ordered_meta_attributes of this GsaQueryAttributeInfo. """ return self._ordered_meta_attributes @ordered_meta_attributes.setter def ordered_meta_attributes( - self, ordered_meta_attributes: "Union[List[GsaQuerySlimNamedEntity], None, Unset_Type]" + self, ordered_meta_attributes: "Union[list[GsaQuerySlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the ordered_meta_attributes of this GsaQueryAttributeInfo. Parameters ---------- - ordered_meta_attributes: Union[List[GsaQuerySlimNamedEntity], None, Unset_Type] + ordered_meta_attributes: Union[list[GsaQuerySlimNamedEntity], None, Unset_Type] The ordered_meta_attributes of this GsaQueryAttributeInfo. """ self._ordered_meta_attributes = ordered_meta_attributes @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info_properties.py index 9765aee1..054c402b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_info_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaQueryAttributeInfoProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "chartable": "bool", "ordered_meta_attributes": "GsaQuerySlimNamedEntityProperties", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "chartable": "chartable", "ordered_meta_attributes": "orderedMetaAttributes", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "orderedMetaAttributes": "GsaQuerySlimNamedEntityProperties", } @@ -147,7 +147,7 @@ def ordered_meta_attributes( self._ordered_meta_attributes = ordered_meta_attributes @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_properties.py index fc4be86e..ed8c61e1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attribute_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaQueryAttributeProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_parameters": "GsaQuerySlimNamedEntityProperties", "data_rule": "GsaQueryDataRuleProperties", "default_threshold_type": "bool", @@ -76,7 +76,7 @@ class GsaQueryAttributeProperties(ModelBase): "unit": "GsaQueryUnitProperties", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_parameters": "attributeParameters", "data_rule": "dataRule", "default_threshold_type": "defaultThresholdType", @@ -92,7 +92,7 @@ class GsaQueryAttributeProperties(ModelBase): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "info": "GsaQueryAttributeInfoProperties", "unit": "GsaQueryUnitProperties", "discreteType": "GsaQueryDiscreteTypeProperties", @@ -504,7 +504,7 @@ def guid(self, guid: "Union[bool, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_info.py index 62661bd0..b3cbae33 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaQueryAttributesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attributes": "list[GsaQueryAttribute]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attributes": "attributes", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaQueryAttribute", } @@ -77,36 +77,36 @@ class GsaQueryAttributesInfo(ModelBase): def __init__( self, *, - attributes: "List[GsaQueryAttribute]", + attributes: "list[GsaQueryAttribute]", ) -> None: """GsaQueryAttributesInfo - a model defined in Swagger Parameters ---------- - attributes: List[GsaQueryAttribute] + attributes: list[GsaQueryAttribute] """ - self._attributes: List[GsaQueryAttribute] + self._attributes: list[GsaQueryAttribute] self.attributes = attributes @property - def attributes(self) -> "List[GsaQueryAttribute]": + def attributes(self) -> "list[GsaQueryAttribute]": """Gets the attributes of this GsaQueryAttributesInfo. Returns ------- - List[GsaQueryAttribute] + list[GsaQueryAttribute] The attributes of this GsaQueryAttributesInfo. """ return self._attributes @attributes.setter - def attributes(self, attributes: "List[GsaQueryAttribute]") -> None: + def attributes(self, attributes: "list[GsaQueryAttribute]") -> None: """Sets the attributes of this GsaQueryAttributesInfo. Parameters ---------- - attributes: List[GsaQueryAttribute] + attributes: list[GsaQueryAttribute] The attributes of this GsaQueryAttributesInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def attributes(self, attributes: "List[GsaQueryAttribute]") -> None: self._attributes = attributes @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_request.py index 5b60dafb..81234e39 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_attributes_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaQueryAttributesRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "properties": "GsaQueryAttributeProperties", "filter": "GsaQueryAttributeFilter", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "properties": "properties", "filter": "filter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "properties": "GsaQueryAttributeProperties", "filter": "GsaQueryAttributeFilter", } @@ -151,7 +151,7 @@ def filter(self, filter: "Union[GsaQueryAttributeFilter, Unset_Type]") -> None: self._filter = filter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule.py index 84ac003f..a411bacd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaQueryDataRule(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "guid": "str", "name": "str", "regular_expression": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "guid": "guid", "name": "name", "regular_expression": "regularExpression", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -198,7 +198,7 @@ def guid(self, guid: "Union[str, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule_properties.py index 6ac605b3..c43a31c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_data_rule_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaQueryDataRuleProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "bool", "guid": "bool", "name": "bool", "regular_expression": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "guid": "guid", "name": "name", "regular_expression": "regularExpression", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -198,7 +198,7 @@ def guid(self, guid: "Union[bool, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type.py index 9b6a57b4..6ee93ef1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaQueryDiscreteType(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "is_ordered": "bool", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "is_ordered": "isOrdered", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -169,7 +169,7 @@ def guid(self, guid: "Union[str, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type_properties.py index e9cb134e..ced45325 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_discrete_type_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaQueryDiscreteTypeProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "bool", "is_ordered": "bool", "name": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "is_ordered": "isOrdered", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -169,7 +169,7 @@ def guid(self, guid: "Union[bool, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity.py index 4d73061e..5997f594 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaQuerySlimNamedEntity(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -140,7 +140,7 @@ def guid(self, guid: "Union[str, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity_properties.py index 6b6f50f0..135e950d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_slim_named_entity_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaQuerySlimNamedEntityProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "bool", "name": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -140,7 +140,7 @@ def guid(self, guid: "Union[bool, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target.py index 7df53b86..3dad6ac3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaQueryTabularAttributeTarget(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "target_attribute_guid": "str", "target_database_guid": "str", "target_database_version_guid": "str", "target_table_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "target_attribute_guid": "targetAttributeGuid", "target_database_guid": "targetDatabaseGuid", "target_database_version_guid": "targetDatabaseVersionGuid", "target_table_guid": "targetTableGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -200,7 +200,7 @@ def target_attribute_guid(self, target_attribute_guid: "Union[str, None, Unset_T self._target_attribute_guid = target_attribute_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target_properties.py index 4b44aa42..d6f71fd1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_tabular_attribute_target_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaQueryTabularAttributeTargetProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "target_attribute_guid": "bool", "target_database_guid": "bool", "target_database_version_guid": "bool", "target_table_guid": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "target_attribute_guid": "targetAttributeGuid", "target_database_guid": "targetDatabaseGuid", "target_database_version_guid": "targetDatabaseVersionGuid", "target_table_guid": "targetTableGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -200,7 +200,7 @@ def target_attribute_guid(self, target_attribute_guid: "Union[bool, None, Unset_ self._target_attribute_guid = target_attribute_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit.py index 20a473a2..8e198e42 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaQueryUnit(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "equation": "str", "guid": "str", "name": "str", "symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "equation": "equation", "guid": "guid", "name": "name", "symbol": "symbol", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -198,7 +198,7 @@ def guid(self, guid: "Union[str, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit_properties.py index b1e28c12..af0a8d38 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_query_unit_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaQueryUnitProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "equation": "bool", "guid": "bool", "name": "bool", "symbol": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "equation": "equation", "guid": "guid", "name": "name", "symbol": "symbol", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -198,7 +198,7 @@ def guid(self, guid: "Union[bool, None, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation.py index 84ff1974..03b884c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,28 +58,28 @@ class GsaRangeAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "maximum": "float", "minimum": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "maximum": "maximum", "minimum": "minimum", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -152,7 +152,7 @@ def maximum(self, maximum: "Union[float, None, Unset_Type]") -> None: self._maximum = maximum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation_datum_criterion.py index 085f43e2..5069a783 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,24 +58,24 @@ class GsaRangeAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -93,7 +93,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_attribute.py index 4f18b8dc..33de8e96 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaRangeAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -78,7 +78,7 @@ class GsaRangeAttribute(GsaAttribute): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -93,7 +93,7 @@ class GsaRangeAttribute(GsaAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", } @@ -103,7 +103,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -120,7 +120,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -176,7 +176,7 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum.py index 5372a79f..77c22ef9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,16 +56,16 @@ class GsaRangeDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "estimated": "bool", "high_value": "float", @@ -78,7 +78,7 @@ class GsaRangeDatum(GsaApplicableDatum): "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "estimated": "estimated", "high_value": "highValue", @@ -91,7 +91,7 @@ class GsaRangeDatum(GsaApplicableDatum): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "lowValueSignificantFiguresInfo": "GsaSignificantFiguresInfo", "highValueSignificantFiguresInfo": "GsaSignificantFiguresInfo", "unit": "GsaSlimUnit", @@ -378,7 +378,7 @@ def unit(self, unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_criterion.py index 909f36b1..6972f8bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaRangeDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "gte": "float", "lte": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "gte": "gte", "lte": "lte", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -154,7 +154,7 @@ def lte(self, lte: "Union[float, None, Unset_Type]") -> None: self._lte = lte @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_exists_criterion.py index 6cf58e1f..695affb7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaRangeDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py index 82376043..e6b033fe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_fixed_width_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,28 +58,28 @@ class GsaRangeFixedWidthHistogramAggregationDatumCriterion(GsaAggregationDatumCr """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "interval": "float", "offset": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "interval": "interval", "offset": "offset", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -162,7 +162,7 @@ def offset(self, offset: "Union[float, Unset_Type]") -> None: self._offset = offset @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation.py index 1d6c1cac..13bbc0ee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaRangeHistogramAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "histogram": "GsaHistogram", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "histogram": "histogram", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "histogram": "GsaHistogram", } @@ -128,7 +128,7 @@ def histogram(self, histogram: "Union[GsaHistogram, Unset_Type]") -> None: self._histogram = histogram @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation_datum_criterion.py index 538f7143..613fb81b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_range_histogram_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,26 +58,26 @@ class GsaRangeHistogramAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "maximum_number_of_buckets": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "maximum_number_of_buckets": "maximumNumberOfBuckets", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def maximum_number_of_buckets( self._maximum_number_of_buckets = maximum_number_of_buckets @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_criterion.py index 7b3612e8..b3bd7426 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,28 +54,28 @@ class GsaRecordAncestorCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "ancestor_identity": "int", "direct_parent_only": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "ancestor_identity": "ancestorIdentity", "direct_parent_only": "directParentOnly", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -148,7 +148,7 @@ def direct_parent_only(self, direct_parent_only: "Union[bool, None, Unset_Type]" self._direct_parent_only = direct_parent_only @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_history_identities_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_history_identities_criterion.py index 875ead8f..f3245a47 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_history_identities_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_ancestor_history_identities_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,28 +54,28 @@ class GsaRecordAncestorHistoryIdentitiesCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "ancestor_history_identities": "list[int]", "database_key": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "ancestor_history_identities": "ancestorHistoryIdentities", "database_key": "databaseKey", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -83,7 +83,7 @@ def __init__( self, *, type: "GsaCriterionType" = GsaCriterionType.RECORDANCESTORIDENTITIES, - ancestor_history_identities: "Union[List[int], None, Unset_Type]" = Unset, + ancestor_history_identities: "Union[list[int], None, Unset_Type]" = Unset, database_key: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaRecordAncestorHistoryIdentitiesCriterion - a model defined in Swagger @@ -91,11 +91,11 @@ def __init__( Parameters ---------- type: GsaCriterionType - ancestor_history_identities: List[int], optional + ancestor_history_identities: list[int], optional database_key: str, optional """ super().__init__(type=type) - self._ancestor_history_identities: Union[List[int], None, Unset_Type] = Unset + self._ancestor_history_identities: Union[list[int], None, Unset_Type] = Unset self._database_key: Union[str, None, Unset_Type] = Unset if ancestor_history_identities is not Unset: @@ -104,25 +104,25 @@ def __init__( self.database_key = database_key @property - def ancestor_history_identities(self) -> "Union[List[int], None, Unset_Type]": + def ancestor_history_identities(self) -> "Union[list[int], None, Unset_Type]": """Gets the ancestor_history_identities of this GsaRecordAncestorHistoryIdentitiesCriterion. Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The ancestor_history_identities of this GsaRecordAncestorHistoryIdentitiesCriterion. """ return self._ancestor_history_identities @ancestor_history_identities.setter def ancestor_history_identities( - self, ancestor_history_identities: "Union[List[int], None, Unset_Type]" + self, ancestor_history_identities: "Union[list[int], None, Unset_Type]" ) -> None: """Sets the ancestor_history_identities of this GsaRecordAncestorHistoryIdentitiesCriterion. Parameters ---------- - ancestor_history_identities: Union[List[int], None, Unset_Type] + ancestor_history_identities: Union[list[int], None, Unset_Type] The ancestor_history_identities of this GsaRecordAncestorHistoryIdentitiesCriterion. """ self._ancestor_history_identities = ancestor_history_identities @@ -150,7 +150,7 @@ def database_key(self, database_key: "Union[str, None, Unset_Type]") -> None: self._database_key = database_key @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_color_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_color_property.py index 0c1cb064..0154aa49 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_color_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_color_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaRecordColorProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "record_color": "GsaRecordColor", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "record_color": "recordColor", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "recordColor": "GsaRecordColor", } @@ -124,7 +124,7 @@ def record_color(self, record_color: "Union[GsaRecordColor, Unset_Type]") -> Non self._record_color = record_color @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_export_failure.py index 6a7e6fe1..c6ff80f7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_export_failure.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_export_failure import ( # noqa: F401 GsaExportFailure, @@ -56,30 +56,30 @@ class GsaRecordExportFailure(GsaExportFailure): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "failed_records": "list[GsaRecordReference]", "failure_details": "str", "failure_reason": "str", "type": "GsaExportFailureType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "failed_records": "failedRecords", "failure_details": "failureDetails", "failure_reason": "failureReason", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "failedRecords": "GsaRecordReference", } @@ -88,7 +88,7 @@ class GsaRecordExportFailure(GsaExportFailure): def __init__( self, *, - failed_records: "List[GsaRecordReference]", + failed_records: "list[GsaRecordReference]", failure_details: "str", failure_reason: "str", type: "GsaExportFailureType" = GsaExportFailureType.RECORD, @@ -97,34 +97,34 @@ def __init__( Parameters ---------- - failed_records: List[GsaRecordReference] + failed_records: list[GsaRecordReference] failure_details: str failure_reason: str type: GsaExportFailureType """ super().__init__(failure_details=failure_details, failure_reason=failure_reason, type=type) - self._failed_records: List[GsaRecordReference] + self._failed_records: list[GsaRecordReference] self.failed_records = failed_records @property - def failed_records(self) -> "List[GsaRecordReference]": + def failed_records(self) -> "list[GsaRecordReference]": """Gets the failed_records of this GsaRecordExportFailure. Returns ------- - List[GsaRecordReference] + list[GsaRecordReference] The failed_records of this GsaRecordExportFailure. """ return self._failed_records @failed_records.setter - def failed_records(self, failed_records: "List[GsaRecordReference]") -> None: + def failed_records(self, failed_records: "list[GsaRecordReference]") -> None: """Sets the failed_records of this GsaRecordExportFailure. Parameters ---------- - failed_records: List[GsaRecordReference] + failed_records: list[GsaRecordReference] The failed_records of this GsaRecordExportFailure. """ # Field is not nullable @@ -136,7 +136,7 @@ def failed_records(self, failed_records: "List[GsaRecordReference]") -> None: self._failed_records = failed_records @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_guid_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_guid_property.py index e270e65d..374ba6ba 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_guid_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_guid_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaRecordGuidProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "record_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "record_guid": "recordGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def record_guid(self, record_guid: "Union[str, Unset_Type]") -> None: self._record_guid = record_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history.py index 17dc3222..56911678 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaRecordHistory(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "is_folder": "bool", "record_versions": "list[GsaSlimRecordVersion]", @@ -69,7 +69,7 @@ class GsaRecordHistory(ModelBase): "parent": "GsaSlimRecordHistory", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "is_folder": "isFolder", "record_versions": "recordVersions", @@ -78,7 +78,7 @@ class GsaRecordHistory(ModelBase): "parent": "parent", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "table": "GsaSlimTable", "parent": "GsaSlimRecordHistory", "recordVersions": "GsaSlimRecordVersion", @@ -92,8 +92,8 @@ def __init__( *, guid: "str", is_folder: "bool", - record_versions: "List[GsaSlimRecordVersion]", - subsets: "List[GsaSlimSubset]", + record_versions: "list[GsaSlimRecordVersion]", + subsets: "list[GsaSlimSubset]", table: "GsaSlimTable", parent: "Union[GsaSlimRecordHistory, Unset_Type]" = Unset, ) -> None: @@ -103,16 +103,16 @@ def __init__( ---------- guid: str is_folder: bool - record_versions: List[GsaSlimRecordVersion] - subsets: List[GsaSlimSubset] + record_versions: list[GsaSlimRecordVersion] + subsets: list[GsaSlimSubset] table: GsaSlimTable parent: GsaSlimRecordHistory, optional """ self._is_folder: bool self._table: GsaSlimTable self._parent: Union[GsaSlimRecordHistory, Unset_Type] = Unset - self._record_versions: List[GsaSlimRecordVersion] - self._subsets: List[GsaSlimSubset] + self._record_versions: list[GsaSlimRecordVersion] + self._subsets: list[GsaSlimSubset] self._guid: str self.is_folder = is_folder @@ -205,23 +205,23 @@ def parent(self, parent: "Union[GsaSlimRecordHistory, Unset_Type]") -> None: self._parent = parent @property - def record_versions(self) -> "List[GsaSlimRecordVersion]": + def record_versions(self) -> "list[GsaSlimRecordVersion]": """Gets the record_versions of this GsaRecordHistory. Returns ------- - List[GsaSlimRecordVersion] + list[GsaSlimRecordVersion] The record_versions of this GsaRecordHistory. """ return self._record_versions @record_versions.setter - def record_versions(self, record_versions: "List[GsaSlimRecordVersion]") -> None: + def record_versions(self, record_versions: "list[GsaSlimRecordVersion]") -> None: """Sets the record_versions of this GsaRecordHistory. Parameters ---------- - record_versions: List[GsaSlimRecordVersion] + record_versions: list[GsaSlimRecordVersion] The record_versions of this GsaRecordHistory. """ # Field is not nullable @@ -233,23 +233,23 @@ def record_versions(self, record_versions: "List[GsaSlimRecordVersion]") -> None self._record_versions = record_versions @property - def subsets(self) -> "List[GsaSlimSubset]": + def subsets(self) -> "list[GsaSlimSubset]": """Gets the subsets of this GsaRecordHistory. Returns ------- - List[GsaSlimSubset] + list[GsaSlimSubset] The subsets of this GsaRecordHistory. """ return self._subsets @subsets.setter - def subsets(self, subsets: "List[GsaSlimSubset]") -> None: + def subsets(self, subsets: "list[GsaSlimSubset]") -> None: """Sets the subsets of this GsaRecordHistory. Parameters ---------- - subsets: List[GsaSlimSubset] + subsets: list[GsaSlimSubset] The subsets of this GsaRecordHistory. """ # Field is not nullable @@ -289,7 +289,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_copy_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_copy_exception.py index b9de2108..f6c6c117 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_copy_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_copy_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaRecordHistoryCopyException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaRecordHistoryCopyException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaErrorDetail], optional + errors: list[GsaErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,29 +153,29 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaErrorDetail], None, Unset_Type]": """Gets the errors of this GsaRecordHistoryCopyException. Returns ------- - Union[List[GsaErrorDetail], None, Unset_Type] + Union[list[GsaErrorDetail], None, Unset_Type] The errors of this GsaRecordHistoryCopyException. """ return self._errors @errors.setter - def errors(self, errors: "Union[List[GsaErrorDetail], None, Unset_Type]") -> None: + def errors(self, errors: "Union[list[GsaErrorDetail], None, Unset_Type]") -> None: """Sets the errors of this GsaRecordHistoryCopyException. Parameters ---------- - errors: Union[List[GsaErrorDetail], None, Unset_Type] + errors: Union[list[GsaErrorDetail], None, Unset_Type] The errors of this GsaRecordHistoryCopyException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_guid_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_guid_property.py index 15c0abcb..c6dd9c4b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_guid_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_guid_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaRecordHistoryGuidProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "record_history_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "record_history_guid": "recordHistoryGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def record_history_guid(self, record_history_guid: "Union[str, Unset_Type]") -> self._record_history_guid = record_history_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_identity_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_identity_property.py index 0419799a..20db3cbe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_identity_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_identity_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaRecordHistoryIdentityProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "record_history_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "record_history_identity": "recordHistoryIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def record_history_identity(self, record_history_identity: "Union[int, Unset_Typ self._record_history_identity = record_history_identity @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_move_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_move_exception.py index 357542f2..c056b4bb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_move_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_history_move_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaRecordHistoryMoveException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaRecordHistoryMoveException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaErrorDetail], optional + errors: list[GsaErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,29 +153,29 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaErrorDetail], None, Unset_Type]": """Gets the errors of this GsaRecordHistoryMoveException. Returns ------- - Union[List[GsaErrorDetail], None, Unset_Type] + Union[list[GsaErrorDetail], None, Unset_Type] The errors of this GsaRecordHistoryMoveException. """ return self._errors @errors.setter - def errors(self, errors: "Union[List[GsaErrorDetail], None, Unset_Type]") -> None: + def errors(self, errors: "Union[list[GsaErrorDetail], None, Unset_Type]") -> None: """Sets the errors of this GsaRecordHistoryMoveException. Parameters ---------- - errors: Union[List[GsaErrorDetail], None, Unset_Type] + errors: Union[list[GsaErrorDetail], None, Unset_Type] The errors of this GsaRecordHistoryMoveException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_identity_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_identity_property.py index 80482cef..7ed20f82 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_identity_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_identity_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaRecordIdentityProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "record_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "record_identity": "recordIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def record_identity(self, record_identity: "Union[int, Unset_Type]") -> None: self._record_identity = record_identity @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_group.py index 1aad28a9..5093de8e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaRecordLinkGroup(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "link_info": "GsaLinkInfo", @@ -73,7 +73,7 @@ class GsaRecordLinkGroup(ModelBase): "reverse_display_names": "dict(str, str)", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "link_info": "linkInfo", @@ -84,7 +84,7 @@ class GsaRecordLinkGroup(ModelBase): "reverse_display_names": "reverseDisplayNames", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkInfo": "GsaLinkInfo", "type": "GsaRecordLinkGroupType", } @@ -100,34 +100,34 @@ class GsaRecordLinkGroup(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", link_info: "GsaLinkInfo", name: "str", reverse_name: "str", type: "GsaRecordLinkGroupType", identity: "Union[int, None, Unset_Type]" = Unset, - reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" = Unset, + reverse_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset, ) -> None: """GsaRecordLinkGroup - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str link_info: GsaLinkInfo name: str reverse_name: str type: GsaRecordLinkGroupType identity: int, optional - reverse_display_names: Dict[str, str], optional + reverse_display_names: dict[str, str], optional """ self._link_info: GsaLinkInfo self._identity: Union[int, None, Unset_Type] = Unset self._type: GsaRecordLinkGroupType self._reverse_name: str - self._reverse_display_names: Union[Dict[str, str], None, Unset_Type] = Unset - self._display_names: Dict[str, str] + self._reverse_display_names: Union[dict[str, str], None, Unset_Type] = Unset + self._display_names: dict[str, str] self._name: str self._guid: str @@ -249,47 +249,47 @@ def reverse_name(self, reverse_name: "str") -> None: self._reverse_name = reverse_name @property - def reverse_display_names(self) -> "Union[Dict[str, str], None, Unset_Type]": + def reverse_display_names(self) -> "Union[dict[str, str], None, Unset_Type]": """Gets the reverse_display_names of this GsaRecordLinkGroup. Returns ------- - Union[Dict[str, str], None, Unset_Type] + Union[dict[str, str], None, Unset_Type] The reverse_display_names of this GsaRecordLinkGroup. """ return self._reverse_display_names @reverse_display_names.setter def reverse_display_names( - self, reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" + self, reverse_display_names: "Union[dict[str, str], None, Unset_Type]" ) -> None: """Sets the reverse_display_names of this GsaRecordLinkGroup. Parameters ---------- - reverse_display_names: Union[Dict[str, str], None, Unset_Type] + reverse_display_names: Union[dict[str, str], None, Unset_Type] The reverse_display_names of this GsaRecordLinkGroup. """ self._reverse_display_names = reverse_display_names @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaRecordLinkGroup. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaRecordLinkGroup. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaRecordLinkGroup. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaRecordLinkGroup. """ # Field is not nullable @@ -357,7 +357,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_groups_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_groups_info.py index 3f07b129..e7fd66d1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_groups_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_link_groups_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaRecordLinkGroupsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "record_link_groups": "list[GsaSlimRecordLinkGroup]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "record_link_groups": "recordLinkGroups", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "recordLinkGroups": "GsaSlimRecordLinkGroup", } @@ -77,45 +77,45 @@ class GsaRecordLinkGroupsInfo(ModelBase): def __init__( self, *, - record_link_groups: "Union[List[GsaSlimRecordLinkGroup], None, Unset_Type]" = Unset, + record_link_groups: "Union[list[GsaSlimRecordLinkGroup], None, Unset_Type]" = Unset, ) -> None: """GsaRecordLinkGroupsInfo - a model defined in Swagger Parameters ---------- - record_link_groups: List[GsaSlimRecordLinkGroup], optional + record_link_groups: list[GsaSlimRecordLinkGroup], optional """ - self._record_link_groups: Union[List[GsaSlimRecordLinkGroup], None, Unset_Type] = Unset + self._record_link_groups: Union[list[GsaSlimRecordLinkGroup], None, Unset_Type] = Unset if record_link_groups is not Unset: self.record_link_groups = record_link_groups @property - def record_link_groups(self) -> "Union[List[GsaSlimRecordLinkGroup], None, Unset_Type]": + def record_link_groups(self) -> "Union[list[GsaSlimRecordLinkGroup], None, Unset_Type]": """Gets the record_link_groups of this GsaRecordLinkGroupsInfo. Returns ------- - Union[List[GsaSlimRecordLinkGroup], None, Unset_Type] + Union[list[GsaSlimRecordLinkGroup], None, Unset_Type] The record_link_groups of this GsaRecordLinkGroupsInfo. """ return self._record_link_groups @record_link_groups.setter def record_link_groups( - self, record_link_groups: "Union[List[GsaSlimRecordLinkGroup], None, Unset_Type]" + self, record_link_groups: "Union[list[GsaSlimRecordLinkGroup], None, Unset_Type]" ) -> None: """Sets the record_link_groups of this GsaRecordLinkGroupsInfo. Parameters ---------- - record_link_groups: Union[List[GsaSlimRecordLinkGroup], None, Unset_Type] + record_link_groups: Union[list[GsaSlimRecordLinkGroup], None, Unset_Type] The record_link_groups of this GsaRecordLinkGroupsInfo. """ self._record_link_groups = record_link_groups @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_header.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_header.py index c76832ac..5ef33626 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_header.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_header.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaRecordListHeader(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "awaiting_approval": "bool", "created_timestamp": "datetime", "created_user": "GsaListsUserOrGroup", @@ -79,7 +79,7 @@ class GsaRecordListHeader(ModelBase): "published_user": "GsaListsUserOrGroup", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "awaiting_approval": "awaitingApproval", "created_timestamp": "createdTimestamp", "created_user": "createdUser", @@ -98,7 +98,7 @@ class GsaRecordListHeader(ModelBase): "published_user": "publishedUser", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "createdUser": "GsaListsUserOrGroup", "lastModifiedUser": "GsaListsUserOrGroup", "publishedUser": "GsaListsUserOrGroup", @@ -117,7 +117,7 @@ def __init__( is_revision: "bool", last_modified_timestamp: "datetime", last_modified_user: "GsaListsUserOrGroup", - metadata: "Dict[str, Dict[str, object]]", + metadata: "dict[str, dict[str, object]]", name: "str", published: "bool", description: "Union[str, None, Unset_Type]" = Unset, @@ -138,7 +138,7 @@ def __init__( is_revision: bool last_modified_timestamp: datetime last_modified_user: GsaListsUserOrGroup - metadata: Dict[str, Dict[str, object]] + metadata: dict[str, dict[str, object]] name: str published: bool description: str, optional @@ -148,7 +148,7 @@ def __init__( published_user: GsaListsUserOrGroup, optional """ self._identifier: str - self._metadata: Dict[str, Dict[str, object]] + self._metadata: dict[str, dict[str, object]] self._parent_record_list_identifier: Union[str, None, Unset_Type] = Unset self._created_timestamp: datetime self._created_user: GsaListsUserOrGroup @@ -215,23 +215,23 @@ def identifier(self, identifier: "str") -> None: self._identifier = identifier @property - def metadata(self) -> "Dict[str, Dict[str, object]]": + def metadata(self) -> "dict[str, dict[str, object]]": """Gets the metadata of this GsaRecordListHeader. Returns ------- - Dict[str, Dict[str, object]] + dict[str, dict[str, object]] The metadata of this GsaRecordListHeader. """ return self._metadata @metadata.setter - def metadata(self, metadata: "Dict[str, Dict[str, object]]") -> None: + def metadata(self, metadata: "dict[str, dict[str, object]]") -> None: """Sets the metadata of this GsaRecordListHeader. Parameters ---------- - metadata: Dict[str, Dict[str, object]] + metadata: dict[str, dict[str, object]] The metadata of this GsaRecordListHeader. """ # Field is not nullable @@ -610,7 +610,7 @@ def internal_use(self, internal_use: "bool") -> None: self._internal_use = internal_use @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_headers_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_headers_info.py index f50f7560..d489aaa8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_headers_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_headers_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaRecordListHeadersInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "lists": "list[GsaRecordListHeader]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "lists": "lists", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "lists": "GsaRecordListHeader", } @@ -77,36 +77,36 @@ class GsaRecordListHeadersInfo(ModelBase): def __init__( self, *, - lists: "List[GsaRecordListHeader]", + lists: "list[GsaRecordListHeader]", ) -> None: """GsaRecordListHeadersInfo - a model defined in Swagger Parameters ---------- - lists: List[GsaRecordListHeader] + lists: list[GsaRecordListHeader] """ - self._lists: List[GsaRecordListHeader] + self._lists: list[GsaRecordListHeader] self.lists = lists @property - def lists(self) -> "List[GsaRecordListHeader]": + def lists(self) -> "list[GsaRecordListHeader]": """Gets the lists of this GsaRecordListHeadersInfo. Returns ------- - List[GsaRecordListHeader] + list[GsaRecordListHeader] The lists of this GsaRecordListHeadersInfo. """ return self._lists @lists.setter - def lists(self, lists: "List[GsaRecordListHeader]") -> None: + def lists(self, lists: "list[GsaRecordListHeader]") -> None: """Sets the lists of this GsaRecordListHeadersInfo. Parameters ---------- - lists: List[GsaRecordListHeader] + lists: list[GsaRecordListHeader] The lists of this GsaRecordListHeadersInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def lists(self, lists: "List[GsaRecordListHeader]") -> None: self._lists = lists @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_items_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_items_info.py index 18de2e6c..39c493c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_items_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_items_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaRecordListItemsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "items": "list[GsaListItem]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "items": "items", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "items": "GsaListItem", } @@ -77,36 +77,36 @@ class GsaRecordListItemsInfo(ModelBase): def __init__( self, *, - items: "List[GsaListItem]", + items: "list[GsaListItem]", ) -> None: """GsaRecordListItemsInfo - a model defined in Swagger Parameters ---------- - items: List[GsaListItem] + items: list[GsaListItem] """ - self._items: List[GsaListItem] + self._items: list[GsaListItem] self.items = items @property - def items(self) -> "List[GsaListItem]": + def items(self) -> "list[GsaListItem]": """Gets the items of this GsaRecordListItemsInfo. Returns ------- - List[GsaListItem] + list[GsaListItem] The items of this GsaRecordListItemsInfo. """ return self._items @items.setter - def items(self, items: "List[GsaListItem]") -> None: + def items(self, items: "list[GsaListItem]") -> None: """Sets the items of this GsaRecordListItemsInfo. Parameters ---------- - items: List[GsaListItem] + items: list[GsaListItem] The items of this GsaRecordListItemsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def items(self, items: "List[GsaListItem]") -> None: self._items = items @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_member_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_member_criterion.py index f852865f..f1218416 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_member_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_member_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,26 +54,26 @@ class GsaRecordListMemberCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "record_list_identifiers": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "record_list_identifiers": "recordListIdentifiers", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -81,47 +81,47 @@ def __init__( self, *, type: "GsaCriterionType" = GsaCriterionType.RECORDLISTMEMBER, - record_list_identifiers: "Union[List[str], None, Unset_Type]" = Unset, + record_list_identifiers: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaRecordListMemberCriterion - a model defined in Swagger Parameters ---------- type: GsaCriterionType - record_list_identifiers: List[str], optional + record_list_identifiers: list[str], optional """ super().__init__(type=type) - self._record_list_identifiers: Union[List[str], None, Unset_Type] = Unset + self._record_list_identifiers: Union[list[str], None, Unset_Type] = Unset if record_list_identifiers is not Unset: self.record_list_identifiers = record_list_identifiers @property - def record_list_identifiers(self) -> "Union[List[str], None, Unset_Type]": + def record_list_identifiers(self) -> "Union[list[str], None, Unset_Type]": """Gets the record_list_identifiers of this GsaRecordListMemberCriterion. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The record_list_identifiers of this GsaRecordListMemberCriterion. """ return self._record_list_identifiers @record_list_identifiers.setter def record_list_identifiers( - self, record_list_identifiers: "Union[List[str], None, Unset_Type]" + self, record_list_identifiers: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the record_list_identifiers of this GsaRecordListMemberCriterion. Parameters ---------- - record_list_identifiers: Union[List[str], None, Unset_Type] + record_list_identifiers: Union[list[str], None, Unset_Type] The record_list_identifiers of this GsaRecordListMemberCriterion. """ self._record_list_identifiers = record_list_identifiers @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_permission_flags.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_permission_flags.py index acbb0984..802d458c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_permission_flags.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_permission_flags.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaRecordListPermissionFlags(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "is_administrator": "bool", "is_curator": "bool", "is_owner": "bool", @@ -68,7 +68,7 @@ class GsaRecordListPermissionFlags(ModelBase): "is_subscribed": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "is_administrator": "isAdministrator", "is_curator": "isCurator", "is_owner": "isOwner", @@ -76,7 +76,7 @@ class GsaRecordListPermissionFlags(ModelBase): "is_subscribed": "isSubscribed", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -262,7 +262,7 @@ def is_publisher(self, is_publisher: "bool") -> None: self._is_publisher = is_publisher @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_criterion.py index 562e6fc3..0af3f76f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_list_criterion import ( # noqa: F401 GsaListCriterion, @@ -55,16 +55,16 @@ class GsaRecordListSearchCriterion(GsaListCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "str", "contains_records": "list[str]", "contains_records_in_databases": "list[str]", @@ -79,7 +79,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion): "user_role": "GsaUserRole", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "contains_records": "containsRecords", "contains_records_in_databases": "containsRecordsInDatabases", @@ -94,7 +94,7 @@ class GsaRecordListSearchCriterion(GsaListCriterion): "user_role": "userRole", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "userRole": "GsaUserRole", } @@ -104,10 +104,10 @@ def __init__( self, *, type: "str" = "recordList", - contains_records: "Union[List[str], None, Unset_Type]" = Unset, - contains_records_in_databases: "Union[List[str], None, Unset_Type]" = Unset, - contains_records_in_integration_schemas: "Union[List[str], None, Unset_Type]" = Unset, - contains_records_in_tables: "Union[List[str], None, Unset_Type]" = Unset, + contains_records: "Union[list[str], None, Unset_Type]" = Unset, + contains_records_in_databases: "Union[list[str], None, Unset_Type]" = Unset, + contains_records_in_integration_schemas: "Union[list[str], None, Unset_Type]" = Unset, + contains_records_in_tables: "Union[list[str], None, Unset_Type]" = Unset, is_awaiting_approval: "Union[bool, None, Unset_Type]" = Unset, is_internal_use: "Union[bool, None, Unset_Type]" = Unset, is_published: "Union[bool, None, Unset_Type]" = Unset, @@ -121,10 +121,10 @@ def __init__( Parameters ---------- type: str - contains_records: List[str], optional - contains_records_in_databases: List[str], optional - contains_records_in_integration_schemas: List[str], optional - contains_records_in_tables: List[str], optional + contains_records: list[str], optional + contains_records_in_databases: list[str], optional + contains_records_in_integration_schemas: list[str], optional + contains_records_in_tables: list[str], optional is_awaiting_approval: bool, optional is_internal_use: bool, optional is_published: bool, optional @@ -140,10 +140,10 @@ def __init__( self._is_awaiting_approval: Union[bool, None, Unset_Type] = Unset self._is_internal_use: Union[bool, None, Unset_Type] = Unset self._is_revision: Union[bool, None, Unset_Type] = Unset - self._contains_records_in_databases: Union[List[str], None, Unset_Type] = Unset - self._contains_records_in_integration_schemas: Union[List[str], None, Unset_Type] = Unset - self._contains_records_in_tables: Union[List[str], None, Unset_Type] = Unset - self._contains_records: Union[List[str], None, Unset_Type] = Unset + self._contains_records_in_databases: Union[list[str], None, Unset_Type] = Unset + self._contains_records_in_integration_schemas: Union[list[str], None, Unset_Type] = Unset + self._contains_records_in_tables: Union[list[str], None, Unset_Type] = Unset + self._contains_records: Union[list[str], None, Unset_Type] = Unset self._user_can_add_or_remove_items: Union[bool, None, Unset_Type] = Unset if name_contains is not Unset: @@ -307,103 +307,103 @@ def is_revision(self, is_revision: "Union[bool, None, Unset_Type]") -> None: self._is_revision = is_revision @property - def contains_records_in_databases(self) -> "Union[List[str], None, Unset_Type]": + def contains_records_in_databases(self) -> "Union[list[str], None, Unset_Type]": """Gets the contains_records_in_databases of this GsaRecordListSearchCriterion. Limits results to lists containing records in any of of the specified databases Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The contains_records_in_databases of this GsaRecordListSearchCriterion. """ return self._contains_records_in_databases @contains_records_in_databases.setter def contains_records_in_databases( - self, contains_records_in_databases: "Union[List[str], None, Unset_Type]" + self, contains_records_in_databases: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the contains_records_in_databases of this GsaRecordListSearchCriterion. Limits results to lists containing records in any of of the specified databases Parameters ---------- - contains_records_in_databases: Union[List[str], None, Unset_Type] + contains_records_in_databases: Union[list[str], None, Unset_Type] The contains_records_in_databases of this GsaRecordListSearchCriterion. """ self._contains_records_in_databases = contains_records_in_databases @property - def contains_records_in_integration_schemas(self) -> "Union[List[str], None, Unset_Type]": + def contains_records_in_integration_schemas(self) -> "Union[list[str], None, Unset_Type]": """Gets the contains_records_in_integration_schemas of this GsaRecordListSearchCriterion. Limits results to lists containing records in any of the specified integration schemas Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The contains_records_in_integration_schemas of this GsaRecordListSearchCriterion. """ return self._contains_records_in_integration_schemas @contains_records_in_integration_schemas.setter def contains_records_in_integration_schemas( - self, contains_records_in_integration_schemas: "Union[List[str], None, Unset_Type]" + self, contains_records_in_integration_schemas: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the contains_records_in_integration_schemas of this GsaRecordListSearchCriterion. Limits results to lists containing records in any of the specified integration schemas Parameters ---------- - contains_records_in_integration_schemas: Union[List[str], None, Unset_Type] + contains_records_in_integration_schemas: Union[list[str], None, Unset_Type] The contains_records_in_integration_schemas of this GsaRecordListSearchCriterion. """ self._contains_records_in_integration_schemas = contains_records_in_integration_schemas @property - def contains_records_in_tables(self) -> "Union[List[str], None, Unset_Type]": + def contains_records_in_tables(self) -> "Union[list[str], None, Unset_Type]": """Gets the contains_records_in_tables of this GsaRecordListSearchCriterion. Limits results to lists containing records in any of the specified tables Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The contains_records_in_tables of this GsaRecordListSearchCriterion. """ return self._contains_records_in_tables @contains_records_in_tables.setter def contains_records_in_tables( - self, contains_records_in_tables: "Union[List[str], None, Unset_Type]" + self, contains_records_in_tables: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the contains_records_in_tables of this GsaRecordListSearchCriterion. Limits results to lists containing records in any of the specified tables Parameters ---------- - contains_records_in_tables: Union[List[str], None, Unset_Type] + contains_records_in_tables: Union[list[str], None, Unset_Type] The contains_records_in_tables of this GsaRecordListSearchCriterion. """ self._contains_records_in_tables = contains_records_in_tables @property - def contains_records(self) -> "Union[List[str], None, Unset_Type]": + def contains_records(self) -> "Union[list[str], None, Unset_Type]": """Gets the contains_records of this GsaRecordListSearchCriterion. Limits results to lists containing any of the given records Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The contains_records of this GsaRecordListSearchCriterion. """ return self._contains_records @contains_records.setter - def contains_records(self, contains_records: "Union[List[str], None, Unset_Type]") -> None: + def contains_records(self, contains_records: "Union[list[str], None, Unset_Type]") -> None: """Sets the contains_records of this GsaRecordListSearchCriterion. Limits results to lists containing any of the given records Parameters ---------- - contains_records: Union[List[str], None, Unset_Type] + contains_records: Union[list[str], None, Unset_Type] The contains_records of this GsaRecordListSearchCriterion. """ self._contains_records = contains_records @@ -435,7 +435,7 @@ def user_can_add_or_remove_items( self._user_can_add_or_remove_items = user_can_add_or_remove_items @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_info.py index b47d2c38..b27d535f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaRecordListSearchInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "search_result_identifier": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "search_result_identifier": "searchResultIdentifier", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def search_result_identifier(self, search_result_identifier: "str") -> None: self._search_result_identifier = search_result_identifier @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_request.py index 95784bca..5ec8e234 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaRecordListSearchRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "search_criterion": "GsaListCriterion", "paging_options": "GsaListsPagingOptions", "response_options": "GsaResponseOptions", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "search_criterion": "searchCriterion", "paging_options": "pagingOptions", "response_options": "responseOptions", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "searchCriterion": "GsaListCriterion", "pagingOptions": "GsaListsPagingOptions", "responseOptions": "GsaResponseOptions", @@ -184,7 +184,7 @@ def response_options(self, response_options: "Union[GsaResponseOptions, Unset_Ty self._response_options = response_options @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_result.py index 128cd378..132add6e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_result.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaRecordListSearchResult(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "header": "GsaRecordListHeader", "items": "list[GsaListItem]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "header": "header", "items": "items", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "header": "GsaRecordListHeader", "items": "GsaListItem", } @@ -81,17 +81,17 @@ def __init__( self, *, header: "GsaRecordListHeader", - items: "List[GsaListItem]", + items: "list[GsaListItem]", ) -> None: """GsaRecordListSearchResult - a model defined in Swagger Parameters ---------- header: GsaRecordListHeader - items: List[GsaListItem] + items: list[GsaListItem] """ self._header: GsaRecordListHeader - self._items: List[GsaListItem] + self._items: list[GsaListItem] self.header = header self.items = items @@ -125,23 +125,23 @@ def header(self, header: "GsaRecordListHeader") -> None: self._header = header @property - def items(self) -> "List[GsaListItem]": + def items(self) -> "list[GsaListItem]": """Gets the items of this GsaRecordListSearchResult. Returns ------- - List[GsaListItem] + list[GsaListItem] The items of this GsaRecordListSearchResult. """ return self._items @items.setter - def items(self, items: "List[GsaListItem]") -> None: + def items(self, items: "list[GsaListItem]") -> None: """Sets the items of this GsaRecordListSearchResult. Parameters ---------- - items: List[GsaListItem] + items: list[GsaListItem] The items of this GsaRecordListSearchResult. """ # Field is not nullable @@ -153,7 +153,7 @@ def items(self, items: "List[GsaListItem]") -> None: self._items = items @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_results_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_results_info.py index f18283df..a5f9fd07 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_results_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_list_search_results_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaRecordListSearchResultsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "search_results": "list[GsaRecordListSearchResult]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "search_results": "searchResults", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "searchResults": "GsaRecordListSearchResult", } @@ -77,36 +77,36 @@ class GsaRecordListSearchResultsInfo(ModelBase): def __init__( self, *, - search_results: "List[GsaRecordListSearchResult]", + search_results: "list[GsaRecordListSearchResult]", ) -> None: """GsaRecordListSearchResultsInfo - a model defined in Swagger Parameters ---------- - search_results: List[GsaRecordListSearchResult] + search_results: list[GsaRecordListSearchResult] """ - self._search_results: List[GsaRecordListSearchResult] + self._search_results: list[GsaRecordListSearchResult] self.search_results = search_results @property - def search_results(self) -> "List[GsaRecordListSearchResult]": + def search_results(self) -> "list[GsaRecordListSearchResult]": """Gets the search_results of this GsaRecordListSearchResultsInfo. Returns ------- - List[GsaRecordListSearchResult] + list[GsaRecordListSearchResult] The search_results of this GsaRecordListSearchResultsInfo. """ return self._search_results @search_results.setter - def search_results(self, search_results: "List[GsaRecordListSearchResult]") -> None: + def search_results(self, search_results: "list[GsaRecordListSearchResult]") -> None: """Sets the search_results of this GsaRecordListSearchResultsInfo. Parameters ---------- - search_results: List[GsaRecordListSearchResult] + search_results: list[GsaRecordListSearchResult] The search_results of this GsaRecordListSearchResultsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def search_results(self, search_results: "List[GsaRecordListSearchResult]") -> N self._search_results = search_results @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_criterion.py index 59afea5c..8389c3ba 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,28 +54,28 @@ class GsaRecordPropertyCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "inner_criterion": "GsaDatumCriterion", "type": "GsaCriterionType", "_property": "GsaSearchableRecordProperty", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "inner_criterion": "innerCriterion", "type": "type", "_property": "property", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "property": "GsaSearchableRecordProperty", "innerCriterion": "GsaDatumCriterion", } @@ -159,7 +159,7 @@ def inner_criterion(self, inner_criterion: "GsaDatumCriterion") -> None: self._inner_criterion = inner_criterion @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_sort_criterion.py index 3a188460..bf4aa19b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_property_sort_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sort_criterion import ( # noqa: F401 GsaSortCriterion, @@ -56,30 +56,30 @@ class GsaRecordPropertySortCriterion(GsaSortCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortCriterionType", "_property": "GsaSearchableRecordProperty", "sort_direction": "GsaSortDirection", "sort_type": "GsaSortType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "_property": "property", "sort_direction": "sortDirection", "sort_type": "sortType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "property": "GsaSearchableRecordProperty", "sortType": "GsaSortType", } @@ -163,7 +163,7 @@ def sort_type(self, sort_type: "Union[GsaSortType, Unset_Type]") -> None: self._sort_type = sort_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference.py index 4a535d9f..32f3dfd0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaRecordReference(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_key": "str", "record_history_guid": "str", "record_history_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_key": "databaseKey", "record_history_guid": "recordHistoryGuid", "record_history_identity": "recordHistoryIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -176,7 +176,7 @@ def database_key(self, database_key: "str") -> None: self._database_key = database_key @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference_criterion.py index 0b7345bd..aca64b8b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_reference_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,16 +54,16 @@ class GsaRecordReferenceCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_key": "str", "type": "GsaCriterionType", "record_guid": "str", @@ -72,7 +72,7 @@ class GsaRecordReferenceCriterion(GsaCriterion): "record_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_key": "databaseKey", "type": "type", "record_guid": "recordGuid", @@ -81,7 +81,7 @@ class GsaRecordReferenceCriterion(GsaCriterion): "record_identity": "recordIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -242,7 +242,7 @@ def record_guid(self, record_guid: "Union[str, None, Unset_Type]") -> None: self._record_guid = record_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_subset_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_subset_criterion.py index 7f16d9a0..1482ce1a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_subset_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_subset_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,28 +54,28 @@ class GsaRecordSubsetCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "subset_guid": "str", "subset_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "subset_guid": "subsetGuid", "subset_identity": "subsetIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -148,7 +148,7 @@ def subset_guid(self, subset_guid: "Union[str, None, Unset_Type]") -> None: self._subset_guid = subset_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_type_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_type_property.py index a7a79291..12e0b225 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_type_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_type_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaRecordTypeProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "record_type": "GsaRecordType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "record_type": "recordType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "recordType": "GsaRecordType", } @@ -124,7 +124,7 @@ def record_type(self, record_type: "Union[GsaRecordType, Unset_Type]") -> None: self._record_type = record_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_version.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_version.py index d500eabe..13a5a27a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_version.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_version.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaRecordVersion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "created_by_user": "str", "created_date": "datetime", "database_key": "str", @@ -78,7 +78,7 @@ class GsaRecordVersion(ModelBase): "released_date": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "created_by_user": "createdByUser", "created_date": "createdDate", "database_key": "databaseKey", @@ -96,7 +96,7 @@ class GsaRecordVersion(ModelBase): "released_date": "releasedDate", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "recordHistory": "GsaSlimRecordHistory", "table": "GsaSlimTable", "recordType": "GsaRecordType", @@ -593,7 +593,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_with_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_with_data.py index 16d418b4..4d61d4e7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_with_data.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_record_with_data.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaRecordWithData(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_key": "str", "data": "list[GsaDataExportDatum]", "properties": "list[GsaProperty]", @@ -68,7 +68,7 @@ class GsaRecordWithData(ModelBase): "record_history_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_key": "databaseKey", "data": "data", "properties": "properties", @@ -76,7 +76,7 @@ class GsaRecordWithData(ModelBase): "record_history_identity": "recordHistoryIdentity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "data": "GsaDataExportDatum", "properties": "GsaProperty", } @@ -87,8 +87,8 @@ def __init__( self, *, database_key: "str", - data: "Union[List[GsaDataExportDatum], None, Unset_Type]" = Unset, - properties: "Union[List[GsaProperty], None, Unset_Type]" = Unset, + data: "Union[list[GsaDataExportDatum], None, Unset_Type]" = Unset, + properties: "Union[list[GsaProperty], None, Unset_Type]" = Unset, record_history_guid: "Union[str, None, Unset_Type]" = Unset, record_history_identity: "Union[int, Unset_Type]" = Unset, ) -> None: @@ -97,16 +97,16 @@ def __init__( Parameters ---------- database_key: str - data: List[GsaDataExportDatum], optional - properties: List[GsaProperty], optional + data: list[GsaDataExportDatum], optional + properties: list[GsaProperty], optional record_history_guid: str, optional record_history_identity: int, optional """ self._database_key: str self._record_history_identity: Union[int, Unset_Type] = Unset self._record_history_guid: Union[str, None, Unset_Type] = Unset - self._data: Union[List[GsaDataExportDatum], None, Unset_Type] = Unset - self._properties: Union[List[GsaProperty], None, Unset_Type] = Unset + self._data: Union[list[GsaDataExportDatum], None, Unset_Type] = Unset + self._properties: Union[list[GsaProperty], None, Unset_Type] = Unset self.database_key = database_key if record_history_identity is not Unset: @@ -194,51 +194,51 @@ def record_history_guid(self, record_history_guid: "Union[str, None, Unset_Type] self._record_history_guid = record_history_guid @property - def data(self) -> "Union[List[GsaDataExportDatum], None, Unset_Type]": + def data(self) -> "Union[list[GsaDataExportDatum], None, Unset_Type]": """Gets the data of this GsaRecordWithData. Returns ------- - Union[List[GsaDataExportDatum], None, Unset_Type] + Union[list[GsaDataExportDatum], None, Unset_Type] The data of this GsaRecordWithData. """ return self._data @data.setter - def data(self, data: "Union[List[GsaDataExportDatum], None, Unset_Type]") -> None: + def data(self, data: "Union[list[GsaDataExportDatum], None, Unset_Type]") -> None: """Sets the data of this GsaRecordWithData. Parameters ---------- - data: Union[List[GsaDataExportDatum], None, Unset_Type] + data: Union[list[GsaDataExportDatum], None, Unset_Type] The data of this GsaRecordWithData. """ self._data = data @property - def properties(self) -> "Union[List[GsaProperty], None, Unset_Type]": + def properties(self) -> "Union[list[GsaProperty], None, Unset_Type]": """Gets the properties of this GsaRecordWithData. Returns ------- - Union[List[GsaProperty], None, Unset_Type] + Union[list[GsaProperty], None, Unset_Type] The properties of this GsaRecordWithData. """ return self._properties @properties.setter - def properties(self, properties: "Union[List[GsaProperty], None, Unset_Type]") -> None: + def properties(self, properties: "Union[list[GsaProperty], None, Unset_Type]") -> None: """Sets the properties of this GsaRecordWithData. Parameters ---------- - properties: Union[List[GsaProperty], None, Unset_Type] + properties: Union[list[GsaProperty], None, Unset_Type] The properties of this GsaRecordWithData. """ self._properties = properties @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_record_version_control_exception.py index 9bf738b4..cfe320f1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_record_version_control_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaReleaseRecordVersionControlException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaReleaseRecordVersionControlException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaVersionControlErrorDetail], optional + errors: list[GsaVersionControlErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,29 +153,29 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]": """Gets the errors of this GsaReleaseRecordVersionControlException. Returns ------- - Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaReleaseRecordVersionControlException. """ return self._errors @errors.setter - def errors(self, errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: + def errors(self, errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: """Sets the errors of this GsaReleaseRecordVersionControlException. Parameters ---------- - errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaReleaseRecordVersionControlException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_table_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_table_version_control_exception.py index f48c4352..e2c0fd31 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_table_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_release_table_version_control_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaReleaseTableVersionControlException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaReleaseTableVersionControlException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaVersionControlErrorDetail], optional + errors: list[GsaVersionControlErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,29 +153,29 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]": """Gets the errors of this GsaReleaseTableVersionControlException. Returns ------- - Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaReleaseTableVersionControlException. """ return self._errors @errors.setter - def errors(self, errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: + def errors(self, errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: """Sets the errors of this GsaReleaseTableVersionControlException. Parameters ---------- - errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaReleaseTableVersionControlException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_released_date_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_released_date_property.py index 08c9751c..4d2bc33a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_released_date_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_released_date_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaReleasedDateProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "released_date": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "released_date": "releasedDate", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def released_date(self, released_date: "Union[datetime, None, Unset_Type]") -> N self._released_date = released_date @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_relevance_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_relevance_sort_criterion.py index 7b056b01..4ce4ebfc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_relevance_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_relevance_sort_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sort_criterion import ( # noqa: F401 GsaSortCriterion, @@ -56,26 +56,26 @@ class GsaRelevanceSortCriterion(GsaSortCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortCriterionType", "sort_direction": "GsaSortDirection", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "sort_direction": "sortDirection", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -95,7 +95,7 @@ def __init__( super().__init__(type=type, sort_direction=sort_direction) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_remove_record_history_from_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_remove_record_history_from_subset.py index 13c6cbc1..54a887c9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_remove_record_history_from_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_remove_record_history_from_subset.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaRemoveRecordHistoryFromSubset(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "record_history_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "record_history_guid": "recordHistoryGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def record_history_guid(self, record_history_guid: "str") -> None: self._record_history_guid = record_history_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_reorder_sections_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_reorder_sections_info.py index 3b0e7a9d..e1fe30fe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_reorder_sections_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_reorder_sections_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaReorderSectionsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "layout_sections": "list[GsaSlimEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "layout_sections": "layoutSections", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "layoutSections": "GsaSlimEntity", } @@ -77,36 +77,36 @@ class GsaReorderSectionsInfo(ModelBase): def __init__( self, *, - layout_sections: "List[GsaSlimEntity]", + layout_sections: "list[GsaSlimEntity]", ) -> None: """GsaReorderSectionsInfo - a model defined in Swagger Parameters ---------- - layout_sections: List[GsaSlimEntity] + layout_sections: list[GsaSlimEntity] """ - self._layout_sections: List[GsaSlimEntity] + self._layout_sections: list[GsaSlimEntity] self.layout_sections = layout_sections @property - def layout_sections(self) -> "List[GsaSlimEntity]": + def layout_sections(self) -> "list[GsaSlimEntity]": """Gets the layout_sections of this GsaReorderSectionsInfo. Returns ------- - List[GsaSlimEntity] + list[GsaSlimEntity] The layout_sections of this GsaReorderSectionsInfo. """ return self._layout_sections @layout_sections.setter - def layout_sections(self, layout_sections: "List[GsaSlimEntity]") -> None: + def layout_sections(self, layout_sections: "list[GsaSlimEntity]") -> None: """Sets the layout_sections of this GsaReorderSectionsInfo. Parameters ---------- - layout_sections: List[GsaSlimEntity] + layout_sections: list[GsaSlimEntity] The layout_sections of this GsaReorderSectionsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def layout_sections(self, layout_sections: "List[GsaSlimEntity]") -> None: self._layout_sections = layout_sections @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_string.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_string.py index 961872fb..abce1b43 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_string.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_string.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaReplacementString(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -184,7 +184,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_strings_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_strings_info.py index d9edb6b9..daf123a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_strings_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_replacement_strings_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaReplacementStringsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "replacement_strings": "list[GsaSlimReplacementString]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "replacement_strings": "replacementStrings", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "replacementStrings": "GsaSlimReplacementString", } @@ -77,36 +77,36 @@ class GsaReplacementStringsInfo(ModelBase): def __init__( self, *, - replacement_strings: "List[GsaSlimReplacementString]", + replacement_strings: "list[GsaSlimReplacementString]", ) -> None: """GsaReplacementStringsInfo - a model defined in Swagger Parameters ---------- - replacement_strings: List[GsaSlimReplacementString] + replacement_strings: list[GsaSlimReplacementString] """ - self._replacement_strings: List[GsaSlimReplacementString] + self._replacement_strings: list[GsaSlimReplacementString] self.replacement_strings = replacement_strings @property - def replacement_strings(self) -> "List[GsaSlimReplacementString]": + def replacement_strings(self) -> "list[GsaSlimReplacementString]": """Gets the replacement_strings of this GsaReplacementStringsInfo. Returns ------- - List[GsaSlimReplacementString] + list[GsaSlimReplacementString] The replacement_strings of this GsaReplacementStringsInfo. """ return self._replacement_strings @replacement_strings.setter - def replacement_strings(self, replacement_strings: "List[GsaSlimReplacementString]") -> None: + def replacement_strings(self, replacement_strings: "list[GsaSlimReplacementString]") -> None: """Sets the replacement_strings of this GsaReplacementStringsInfo. Parameters ---------- - replacement_strings: List[GsaSlimReplacementString] + replacement_strings: list[GsaSlimReplacementString] The replacement_strings of this GsaReplacementStringsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def replacement_strings(self, replacement_strings: "List[GsaSlimReplacementStrin self._replacement_strings = replacement_strings @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link.py index 9609e43f..61cbeae0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaResolvedLink(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "link_info": "GsaResolvedLinkInfo", @@ -71,7 +71,7 @@ class GsaResolvedLink(ModelBase): "reverse_display_names": "dict(str, str)", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "link_info": "linkInfo", @@ -82,7 +82,7 @@ class GsaResolvedLink(ModelBase): "reverse_display_names": "reverseDisplayNames", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaLinkAttributeType", "linkInfo": "GsaResolvedLinkInfo", } @@ -92,34 +92,34 @@ class GsaResolvedLink(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", link_info: "GsaResolvedLinkInfo", name: "str", reverse_name: "str", type: "GsaLinkAttributeType", identity: "Union[int, None, Unset_Type]" = Unset, - reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" = Unset, + reverse_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset, ) -> None: """GsaResolvedLink - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str link_info: GsaResolvedLinkInfo name: str reverse_name: str type: GsaLinkAttributeType identity: int, optional - reverse_display_names: Dict[str, str], optional + reverse_display_names: dict[str, str], optional """ self._identity: Union[int, None, Unset_Type] = Unset self._type: GsaLinkAttributeType self._reverse_name: str - self._reverse_display_names: Union[Dict[str, str], None, Unset_Type] = Unset + self._reverse_display_names: Union[dict[str, str], None, Unset_Type] = Unset self._link_info: GsaResolvedLinkInfo - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -213,25 +213,25 @@ def reverse_name(self, reverse_name: "str") -> None: self._reverse_name = reverse_name @property - def reverse_display_names(self) -> "Union[Dict[str, str], None, Unset_Type]": + def reverse_display_names(self) -> "Union[dict[str, str], None, Unset_Type]": """Gets the reverse_display_names of this GsaResolvedLink. Returns ------- - Union[Dict[str, str], None, Unset_Type] + Union[dict[str, str], None, Unset_Type] The reverse_display_names of this GsaResolvedLink. """ return self._reverse_display_names @reverse_display_names.setter def reverse_display_names( - self, reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" + self, reverse_display_names: "Union[dict[str, str], None, Unset_Type]" ) -> None: """Sets the reverse_display_names of this GsaResolvedLink. Parameters ---------- - reverse_display_names: Union[Dict[str, str], None, Unset_Type] + reverse_display_names: Union[dict[str, str], None, Unset_Type] The reverse_display_names of this GsaResolvedLink. """ self._reverse_display_names = reverse_display_names @@ -265,23 +265,23 @@ def link_info(self, link_info: "GsaResolvedLinkInfo") -> None: self._link_info = link_info @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaResolvedLink. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaResolvedLink. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaResolvedLink. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaResolvedLink. """ # Field is not nullable @@ -349,7 +349,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_info.py index ab72b280..bc3e10b7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaResolvedLinkInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "link_source": "GsaResolvedLinkTarget", "link_target": "GsaResolvedLinkTarget", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "link_source": "linkSource", "link_target": "linkTarget", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkSource": "GsaResolvedLinkTarget", "linkTarget": "GsaResolvedLinkTarget", } @@ -153,7 +153,7 @@ def link_target(self, link_target: "GsaResolvedLinkTarget") -> None: self._link_target = link_target @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_target.py index 091b0ea3..0e70f576 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resolved_link_target.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaResolvedLinkTarget(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "database_version_guid": "str", "table_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "database_version_guid": "databaseVersionGuid", "table_guid": "tableGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -184,7 +184,7 @@ def table_guid(self, table_guid: "str") -> None: self._table_guid = table_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_response_options.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_response_options.py index a08ce977..d920481c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_response_options.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_response_options.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaResponseOptions(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "include_record_list_items": "bool", "include_user_actions": "bool", "include_user_permissions": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "include_record_list_items": "includeRecordListItems", "include_user_actions": "includeUserActions", "include_user_permissions": "includeUserPermissions", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -180,7 +180,7 @@ def include_record_list_items( self._include_record_list_items = include_record_list_items @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resubmit_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resubmit_job_request.py index 80682a42..f4efc3c9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resubmit_job_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_resubmit_job_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaResubmitJobRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "name": "str", "scheduled_execution_date": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "name": "name", "scheduled_execution_date": "scheduledExecutionDate", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -171,7 +171,7 @@ def scheduled_execution_date( self._scheduled_execution_date = scheduled_execution_date @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rich_text_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rich_text_value.py index f3b53fcc..ff951c72 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rich_text_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rich_text_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaRichTextValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "text": "str", "type": "GsaRichTextType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "text": "text", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaRichTextType", } @@ -152,7 +152,7 @@ def type(self, type: "GsaRichTextType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_export_failure.py index d2026df6..95211fdb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_export_failure.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_export_failure import ( # noqa: F401 GsaExportFailure, @@ -56,30 +56,30 @@ class GsaRollupExportFailure(GsaExportFailure): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "failed_rollup": "GsaRollupReference", "failure_details": "str", "failure_reason": "str", "type": "GsaExportFailureType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "failed_rollup": "failedRollup", "failure_details": "failureDetails", "failure_reason": "failureReason", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "failedRollup": "GsaRollupReference", } @@ -136,7 +136,7 @@ def failed_rollup(self, failed_rollup: "GsaRollupReference") -> None: self._failed_rollup = failed_rollup @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_reference.py index daea5b8a..8e0e6def 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_rollup_reference.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaRollupReference(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_key": "str", "rollup_type": "GsaTabularColumnRollUpType", "attribute_guid": "str", "attribute_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_key": "databaseKey", "rollup_type": "rollupType", "attribute_guid": "attributeGuid", "attribute_identity": "attributeIdentity", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "rollupType": "GsaTabularColumnRollUpType", } @@ -210,7 +210,7 @@ def rollup_type(self, rollup_type: "GsaTabularColumnRollUpType") -> None: self._rollup_type = rollup_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_save_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_save_search_request.py index b5cdefcd..34ce5aa8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_save_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_save_search_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSaveSearchRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "detail": "GsaSearchDetail", "search_config": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "detail": "detail", "search_config": "searchConfig", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "detail": "GsaSearchDetail", } @@ -145,7 +145,7 @@ def detail(self, detail: "Union[GsaSearchDetail, Unset_Type]") -> None: self._detail = detail @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_cluster_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_cluster_status.py index 5ed4d86a..a4c85752 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_cluster_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_cluster_status.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaSearchClusterStatus(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "cluster_unavailable": "bool", "disk_status": "dict(str, GsaDiskStatus)", "disk_threshold": "str", "disk_threshold_max_headroom": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "cluster_unavailable": "clusterUnavailable", "disk_status": "diskStatus", "disk_threshold": "diskThreshold", "disk_threshold_max_headroom": "diskThresholdMaxHeadroom", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "diskStatus": "GsaDiskStatus", } @@ -84,7 +84,7 @@ def __init__( self, *, cluster_unavailable: "Union[bool, None, Unset_Type]" = Unset, - disk_status: "Union[Dict[str, GsaDiskStatus], None, Unset_Type]" = Unset, + disk_status: "Union[dict[str, GsaDiskStatus], None, Unset_Type]" = Unset, disk_threshold: "Union[str, None, Unset_Type]" = Unset, disk_threshold_max_headroom: "Union[str, None, Unset_Type]" = Unset, ) -> None: @@ -93,11 +93,11 @@ def __init__( Parameters ---------- cluster_unavailable: bool, optional - disk_status: Dict[str, GsaDiskStatus], optional + disk_status: dict[str, GsaDiskStatus], optional disk_threshold: str, optional disk_threshold_max_headroom: str, optional """ - self._disk_status: Union[Dict[str, GsaDiskStatus], None, Unset_Type] = Unset + self._disk_status: Union[dict[str, GsaDiskStatus], None, Unset_Type] = Unset self._disk_threshold: Union[str, None, Unset_Type] = Unset self._disk_threshold_max_headroom: Union[str, None, Unset_Type] = Unset self._cluster_unavailable: Union[bool, None, Unset_Type] = Unset @@ -112,25 +112,25 @@ def __init__( self.cluster_unavailable = cluster_unavailable @property - def disk_status(self) -> "Union[Dict[str, GsaDiskStatus], None, Unset_Type]": + def disk_status(self) -> "Union[dict[str, GsaDiskStatus], None, Unset_Type]": """Gets the disk_status of this GsaSearchClusterStatus. The status of the disk compared to the Elasticsearch space thresholds. Returns ------- - Union[Dict[str, GsaDiskStatus], None, Unset_Type] + Union[dict[str, GsaDiskStatus], None, Unset_Type] The disk_status of this GsaSearchClusterStatus. """ return self._disk_status @disk_status.setter - def disk_status(self, disk_status: "Union[Dict[str, GsaDiskStatus], None, Unset_Type]") -> None: + def disk_status(self, disk_status: "Union[dict[str, GsaDiskStatus], None, Unset_Type]") -> None: """Sets the disk_status of this GsaSearchClusterStatus. The status of the disk compared to the Elasticsearch space thresholds. Parameters ---------- - disk_status: Union[Dict[str, GsaDiskStatus], None, Unset_Type] + disk_status: Union[dict[str, GsaDiskStatus], None, Unset_Type] The disk_status of this GsaSearchClusterStatus. """ self._disk_status = disk_status @@ -210,7 +210,7 @@ def cluster_unavailable(self, cluster_unavailable: "Union[bool, None, Unset_Type self._cluster_unavailable = cluster_unavailable @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_detail.py index 94fd1c28..46b280b4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaSearchDetail(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "criteria": "str", "description": "str", "name": "str", "notes": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "criteria": "criteria", "description": "description", "name": "name", "notes": "notes", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -198,7 +198,7 @@ def criteria(self, criteria: "Union[str, None, Unset_Type]") -> None: self._criteria = criteria @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_index_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_index_status.py index b9eb2b03..d3cfda17 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_index_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_index_status.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSearchIndexStatus(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "records_that_failed_to_index": "list[GsaIndexRecordFailure]", "search_index_in_sync": "bool", "search_index_is_read_only": "bool", @@ -70,7 +70,7 @@ class GsaSearchIndexStatus(ModelBase): "search_index_up_to_date": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "records_that_failed_to_index": "recordsThatFailedToIndex", "search_index_in_sync": "searchIndexInSync", "search_index_is_read_only": "searchIndexIsReadOnly", @@ -80,7 +80,7 @@ class GsaSearchIndexStatus(ModelBase): "search_index_up_to_date": "searchIndexUpToDate", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "recordsThatFailedToIndex": "GsaIndexRecordFailure", } @@ -89,7 +89,7 @@ class GsaSearchIndexStatus(ModelBase): def __init__( self, *, - records_that_failed_to_index: "Union[List[GsaIndexRecordFailure], None, Unset_Type]" = Unset, + records_that_failed_to_index: "Union[list[GsaIndexRecordFailure], None, Unset_Type]" = Unset, search_index_in_sync: "Union[bool, Unset_Type]" = Unset, search_index_is_read_only: "Union[bool, None, Unset_Type]" = Unset, search_index_location: "Union[str, None, Unset_Type]" = Unset, @@ -101,7 +101,7 @@ def __init__( Parameters ---------- - records_that_failed_to_index: List[GsaIndexRecordFailure], optional + records_that_failed_to_index: list[GsaIndexRecordFailure], optional search_index_in_sync: bool, optional search_index_is_read_only: bool, optional search_index_location: str, optional @@ -115,7 +115,7 @@ def __init__( self._search_index_location: Union[str, None, Unset_Type] = Unset self._search_index_is_read_only: Union[bool, None, Unset_Type] = Unset self._search_index_unavailable: Union[bool, None, Unset_Type] = Unset - self._records_that_failed_to_index: Union[List[GsaIndexRecordFailure], None, Unset_Type] = ( + self._records_that_failed_to_index: Union[list[GsaIndexRecordFailure], None, Unset_Type] = ( Unset ) @@ -293,33 +293,33 @@ def search_index_unavailable( @property def records_that_failed_to_index( self, - ) -> "Union[List[GsaIndexRecordFailure], None, Unset_Type]": + ) -> "Union[list[GsaIndexRecordFailure], None, Unset_Type]": """Gets the records_that_failed_to_index of this GsaSearchIndexStatus. Details of any records that failed to index. Returns ------- - Union[List[GsaIndexRecordFailure], None, Unset_Type] + Union[list[GsaIndexRecordFailure], None, Unset_Type] The records_that_failed_to_index of this GsaSearchIndexStatus. """ return self._records_that_failed_to_index @records_that_failed_to_index.setter def records_that_failed_to_index( - self, records_that_failed_to_index: "Union[List[GsaIndexRecordFailure], None, Unset_Type]" + self, records_that_failed_to_index: "Union[list[GsaIndexRecordFailure], None, Unset_Type]" ) -> None: """Sets the records_that_failed_to_index of this GsaSearchIndexStatus. Details of any records that failed to index. Parameters ---------- - records_that_failed_to_index: Union[List[GsaIndexRecordFailure], None, Unset_Type] + records_that_failed_to_index: Union[list[GsaIndexRecordFailure], None, Unset_Type] The records_that_failed_to_index of this GsaSearchIndexStatus. """ self._records_that_failed_to_index = records_that_failed_to_index @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_mask_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_mask_usage_data_modification_error_detail.py index 6dff6042..ee6ace97 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_mask_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_mask_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaSearchMaskUsageDataModificationErrorDetail(GsaUsageDataModificationErro """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimNamedEntity", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.SEARCHMASK, - referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaSearchMaskUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimNamedEntity], optional + referenced_by: list[GsaSlimNamedEntity], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the referenced_by of this GsaSearchMaskUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaSearchMaskUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaSearchMaskUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] + referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaSearchMaskUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_request.py index f24d3a74..a732c7a7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaSearchRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "criterion": "GsaCriterion", "paging_options": "GsaPagingOptions", "sort_criteria": "list[GsaSortCriterion]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "criterion": "criterion", "paging_options": "pagingOptions", "sort_criteria": "sortCriteria", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "criterion": "GsaCriterion", "sortCriteria": "GsaSortCriterion", "pagingOptions": "GsaPagingOptions", @@ -85,7 +85,7 @@ def __init__( *, criterion: "Union[GsaCriterion, Unset_Type]" = Unset, paging_options: "Union[GsaPagingOptions, Unset_Type]" = Unset, - sort_criteria: "Union[List[GsaSortCriterion], None, Unset_Type]" = Unset, + sort_criteria: "Union[list[GsaSortCriterion], None, Unset_Type]" = Unset, ) -> None: """GsaSearchRequest - a model defined in Swagger @@ -93,10 +93,10 @@ def __init__( ---------- criterion: GsaCriterion, optional paging_options: GsaPagingOptions, optional - sort_criteria: List[GsaSortCriterion], optional + sort_criteria: list[GsaSortCriterion], optional """ self._criterion: Union[GsaCriterion, Unset_Type] = Unset - self._sort_criteria: Union[List[GsaSortCriterion], None, Unset_Type] = Unset + self._sort_criteria: Union[list[GsaSortCriterion], None, Unset_Type] = Unset self._paging_options: Union[GsaPagingOptions, Unset_Type] = Unset if criterion is not Unset: @@ -132,27 +132,27 @@ def criterion(self, criterion: "Union[GsaCriterion, Unset_Type]") -> None: self._criterion = criterion @property - def sort_criteria(self) -> "Union[List[GsaSortCriterion], None, Unset_Type]": + def sort_criteria(self) -> "Union[list[GsaSortCriterion], None, Unset_Type]": """Gets the sort_criteria of this GsaSearchRequest. An optional set of attribute based sort criteria. If none are provided, the results will be sorted in descending relevance order. Returns ------- - Union[List[GsaSortCriterion], None, Unset_Type] + Union[list[GsaSortCriterion], None, Unset_Type] The sort_criteria of this GsaSearchRequest. """ return self._sort_criteria @sort_criteria.setter def sort_criteria( - self, sort_criteria: "Union[List[GsaSortCriterion], None, Unset_Type]" + self, sort_criteria: "Union[list[GsaSortCriterion], None, Unset_Type]" ) -> None: """Sets the sort_criteria of this GsaSearchRequest. An optional set of attribute based sort criteria. If none are provided, the results will be sorted in descending relevance order. Parameters ---------- - sort_criteria: Union[List[GsaSortCriterion], None, Unset_Type] + sort_criteria: Union[list[GsaSortCriterion], None, Unset_Type] The sort_criteria of this GsaSearchRequest. """ self._sort_criteria = sort_criteria @@ -183,7 +183,7 @@ def paging_options(self, paging_options: "Union[GsaPagingOptions, Unset_Type]") self._paging_options = paging_options @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_response.py index d5e26d39..91fa9afb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_response.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaSearchResponse(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "results": "list[GsaSearchResult]", "search_identifier": "str", "total_result_count": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "results": "results", "search_identifier": "searchIdentifier", "total_result_count": "totalResultCount", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "results": "GsaSearchResult", } @@ -81,7 +81,7 @@ class GsaSearchResponse(ModelBase): def __init__( self, *, - results: "List[GsaSearchResult]", + results: "list[GsaSearchResult]", search_identifier: "Union[str, None, Unset_Type]" = Unset, total_result_count: "Union[int, Unset_Type]" = Unset, ) -> None: @@ -89,13 +89,13 @@ def __init__( Parameters ---------- - results: List[GsaSearchResult] + results: list[GsaSearchResult] search_identifier: str, optional total_result_count: int, optional """ self._search_identifier: Union[str, None, Unset_Type] = Unset self._total_result_count: Union[int, Unset_Type] = Unset - self._results: List[GsaSearchResult] + self._results: list[GsaSearchResult] if search_identifier is not Unset: self.search_identifier = search_identifier @@ -153,23 +153,23 @@ def total_result_count(self, total_result_count: "Union[int, Unset_Type]") -> No self._total_result_count = total_result_count @property - def results(self) -> "List[GsaSearchResult]": + def results(self) -> "list[GsaSearchResult]": """Gets the results of this GsaSearchResponse. Returns ------- - List[GsaSearchResult] + list[GsaSearchResult] The results of this GsaSearchResponse. """ return self._results @results.setter - def results(self, results: "List[GsaSearchResult]") -> None: + def results(self, results: "list[GsaSearchResult]") -> None: """Sets the results of this GsaSearchResponse. Parameters ---------- - results: List[GsaSearchResult] + results: list[GsaSearchResult] The results of this GsaSearchResponse. """ # Field is not nullable @@ -181,7 +181,7 @@ def results(self, results: "List[GsaSearchResult]") -> None: self._results = results @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_result.py index 35b663ea..19ac737b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_result.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSearchResult(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_key": "str", "cubic_spline_status": "str", "parent_identity": "int", @@ -80,7 +80,7 @@ class GsaSearchResult(ModelBase): "version_number": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_key": "databaseKey", "cubic_spline_status": "cubicSplineStatus", "parent_identity": "parentIdentity", @@ -100,7 +100,7 @@ class GsaSearchResult(ModelBase): "version_number": "versionNumber", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaRecordType", "sortingValue": "GsaSortingValue", } @@ -604,7 +604,7 @@ def sorting_value(self, sorting_value: "Union[GsaSortingValue, Unset_Type]") -> self._sorting_value = sorting_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_results_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_results_request.py index 5064d3ff..cd147e26 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_results_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_search_results_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaSearchResultsRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "page_number": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "page_number": "pageNumber", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def page_number(self, page_number: "Union[int, Unset_Type]") -> None: self._page_number = page_number @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_grouping.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_grouping.py index e478a563..042ca0f0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_grouping.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_grouping.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaSecurityAttributeGrouping(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "available_discrete_values": "list[GsaDiscreteValue]", "identity": "int", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "available_discrete_values": "availableDiscreteValues", "identity": "identity", "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "availableDiscreteValues": "GsaDiscreteValue", } @@ -81,7 +81,7 @@ class GsaSecurityAttributeGrouping(ModelBase): def __init__( self, *, - available_discrete_values: "Union[List[GsaDiscreteValue], None, Unset_Type]" = Unset, + available_discrete_values: "Union[list[GsaDiscreteValue], None, Unset_Type]" = Unset, identity: "Union[int, Unset_Type]" = Unset, name: "Union[str, None, Unset_Type]" = Unset, ) -> None: @@ -89,13 +89,13 @@ def __init__( Parameters ---------- - available_discrete_values: List[GsaDiscreteValue], optional + available_discrete_values: list[GsaDiscreteValue], optional identity: int, optional name: str, optional """ self._identity: Union[int, Unset_Type] = Unset self._name: Union[str, None, Unset_Type] = Unset - self._available_discrete_values: Union[List[GsaDiscreteValue], None, Unset_Type] = Unset + self._available_discrete_values: Union[list[GsaDiscreteValue], None, Unset_Type] = Unset if identity is not Unset: self.identity = identity @@ -152,31 +152,31 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @property - def available_discrete_values(self) -> "Union[List[GsaDiscreteValue], None, Unset_Type]": + def available_discrete_values(self) -> "Union[list[GsaDiscreteValue], None, Unset_Type]": """Gets the available_discrete_values of this GsaSecurityAttributeGrouping. Returns ------- - Union[List[GsaDiscreteValue], None, Unset_Type] + Union[list[GsaDiscreteValue], None, Unset_Type] The available_discrete_values of this GsaSecurityAttributeGrouping. """ return self._available_discrete_values @available_discrete_values.setter def available_discrete_values( - self, available_discrete_values: "Union[List[GsaDiscreteValue], None, Unset_Type]" + self, available_discrete_values: "Union[list[GsaDiscreteValue], None, Unset_Type]" ) -> None: """Sets the available_discrete_values of this GsaSecurityAttributeGrouping. Parameters ---------- - available_discrete_values: Union[List[GsaDiscreteValue], None, Unset_Type] + available_discrete_values: Union[list[GsaDiscreteValue], None, Unset_Type] The available_discrete_values of this GsaSecurityAttributeGrouping. """ self._available_discrete_values = available_discrete_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_usage_data_modification_error_detail.py index 9a9f4d31..ac899ea5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_attribute_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaSecurityAttributeUsageDataModificationErrorDetail(GsaUsageDataModificat """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimNamedEntity", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.SECURITYATTRIBUTE, - referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaSecurityAttributeUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimNamedEntity], optional + referenced_by: list[GsaSlimNamedEntity], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the referenced_by of this GsaSecurityAttributeUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaSecurityAttributeUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaSecurityAttributeUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] + referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaSecurityAttributeUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_groups.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_groups.py index c03be50a..c6c7c8f3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_groups.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_security_groups.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSecurityGroups(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "admin_group": "str", "read_group": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "admin_group": "adminGroup", "read_group": "readGroup", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -144,7 +144,7 @@ def admin_group(self, admin_group: "Union[str, None, Unset_Type]") -> None: self._admin_group = admin_group @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_selection_search.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_selection_search.py index 2508c5ab..54163ed6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_selection_search.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_selection_search.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSelectionSearch(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "created_timestamp": "datetime", "created_user_or_group": "GsaUserOrGroup", "criteria": "str", @@ -74,7 +74,7 @@ class GsaSelectionSearch(ModelBase): "search_identifier": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "created_timestamp": "createdTimestamp", "created_user_or_group": "createdUserOrGroup", "criteria": "criteria", @@ -88,7 +88,7 @@ class GsaSelectionSearch(ModelBase): "search_identifier": "searchIdentifier", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "createdUserOrGroup": "GsaUserOrGroup", "lastModifiedUserOrGroup": "GsaUserOrGroup", } @@ -101,7 +101,7 @@ def __init__( created_timestamp: "Union[datetime, Unset_Type]" = Unset, created_user_or_group: "Union[GsaUserOrGroup, Unset_Type]" = Unset, criteria: "Union[str, None, Unset_Type]" = Unset, - current_user_access_info: "Union[Dict[str, Dict[str, bool]], None, Unset_Type]" = Unset, + current_user_access_info: "Union[dict[str, dict[str, bool]], None, Unset_Type]" = Unset, description: "Union[str, None, Unset_Type]" = Unset, explore_config: "Union[str, None, Unset_Type]" = Unset, last_modified_timestamp: "Union[datetime, Unset_Type]" = Unset, @@ -117,7 +117,7 @@ def __init__( created_timestamp: datetime, optional created_user_or_group: GsaUserOrGroup, optional criteria: str, optional - current_user_access_info: Dict[str, Dict[str, bool]], optional + current_user_access_info: dict[str, dict[str, bool]], optional description: str, optional explore_config: str, optional last_modified_timestamp: datetime, optional @@ -130,7 +130,7 @@ def __init__( self._name: Union[str, None, Unset_Type] = Unset self._description: Union[str, None, Unset_Type] = Unset self._notes: Union[str, None, Unset_Type] = Unset - self._current_user_access_info: Union[Dict[str, Dict[str, bool]], None, Unset_Type] = Unset + self._current_user_access_info: Union[dict[str, dict[str, bool]], None, Unset_Type] = Unset self._criteria: Union[str, None, Unset_Type] = Unset self._explore_config: Union[str, None, Unset_Type] = Unset self._created_timestamp: Union[datetime, Unset_Type] = Unset @@ -253,25 +253,25 @@ def notes(self, notes: "Union[str, None, Unset_Type]") -> None: self._notes = notes @property - def current_user_access_info(self) -> "Union[Dict[str, Dict[str, bool]], None, Unset_Type]": + def current_user_access_info(self) -> "Union[dict[str, dict[str, bool]], None, Unset_Type]": """Gets the current_user_access_info of this GsaSelectionSearch. Returns ------- - Union[Dict[str, Dict[str, bool]], None, Unset_Type] + Union[dict[str, dict[str, bool]], None, Unset_Type] The current_user_access_info of this GsaSelectionSearch. """ return self._current_user_access_info @current_user_access_info.setter def current_user_access_info( - self, current_user_access_info: "Union[Dict[str, Dict[str, bool]], None, Unset_Type]" + self, current_user_access_info: "Union[dict[str, dict[str, bool]], None, Unset_Type]" ) -> None: """Sets the current_user_access_info of this GsaSelectionSearch. Parameters ---------- - current_user_access_info: Union[Dict[str, Dict[str, bool]], None, Unset_Type] + current_user_access_info: Union[dict[str, dict[str, bool]], None, Unset_Type] The current_user_access_info of this GsaSelectionSearch. """ self._current_user_access_info = current_user_access_info @@ -427,7 +427,7 @@ def last_modified_user_or_group( self._last_modified_user_or_group = last_modified_user_or_group @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_series_graph.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_series_graph.py index 2d5ff2a6..c9fe4642 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_series_graph.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_series_graph.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_graph import GsaGraph # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_graph_type import GsaGraphType @@ -54,18 +54,18 @@ class GsaSeriesGraph(GsaGraph): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "constraint_parameters": "list[GsaSlimParameter]", "functional_type": "GsaFunctionalType", "graph_type": "GsaGraphType", @@ -73,7 +73,7 @@ class GsaSeriesGraph(GsaGraph): "x_axis_parameter": "GsaSlimParameter", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "constraint_parameters": "constraintParameters", "functional_type": "functionalType", "graph_type": "graphType", @@ -81,7 +81,7 @@ class GsaSeriesGraph(GsaGraph): "x_axis_parameter": "xAxisParameter", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "functionalType": "GsaFunctionalType", "xAxisParameter": "GsaSlimParameter", "constraintParameters": "GsaSlimParameter", @@ -97,7 +97,7 @@ class GsaSeriesGraph(GsaGraph): def __init__( self, *, - constraint_parameters: "List[GsaSlimParameter]", + constraint_parameters: "list[GsaSlimParameter]", functional_type: "GsaFunctionalType", graph_type: "GsaGraphType" = GsaGraphType.SERIES, number_of_points: "int", @@ -107,7 +107,7 @@ def __init__( Parameters ---------- - constraint_parameters: List[GsaSlimParameter] + constraint_parameters: list[GsaSlimParameter] functional_type: GsaFunctionalType graph_type: GsaGraphType number_of_points: int @@ -116,7 +116,7 @@ def __init__( super().__init__(graph_type=graph_type) self._functional_type: GsaFunctionalType self._x_axis_parameter: GsaSlimParameter - self._constraint_parameters: List[GsaSlimParameter] + self._constraint_parameters: list[GsaSlimParameter] self._number_of_points: int self.functional_type = functional_type @@ -181,23 +181,23 @@ def x_axis_parameter(self, x_axis_parameter: "GsaSlimParameter") -> None: self._x_axis_parameter = x_axis_parameter @property - def constraint_parameters(self) -> "List[GsaSlimParameter]": + def constraint_parameters(self) -> "list[GsaSlimParameter]": """Gets the constraint_parameters of this GsaSeriesGraph. Returns ------- - List[GsaSlimParameter] + list[GsaSlimParameter] The constraint_parameters of this GsaSeriesGraph. """ return self._constraint_parameters @constraint_parameters.setter - def constraint_parameters(self, constraint_parameters: "List[GsaSlimParameter]") -> None: + def constraint_parameters(self, constraint_parameters: "list[GsaSlimParameter]") -> None: """Sets the constraint_parameters of this GsaSeriesGraph. Parameters ---------- - constraint_parameters: List[GsaSlimParameter] + constraint_parameters: list[GsaSlimParameter] The constraint_parameters of this GsaSeriesGraph. """ # Field is not nullable @@ -237,7 +237,7 @@ def number_of_points(self, number_of_points: "int") -> None: self._number_of_points = number_of_points @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_date_time_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_date_time_datum.py index cfb1be3c..f171b5e3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_date_time_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_date_time_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,26 +54,26 @@ class GsaSetDateTimeDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "set_datum_type": "GsaSetDatumType", "value": "datetime", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "set_datum_type": "setDatumType", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -124,7 +124,7 @@ def value(self, value: "datetime") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_datum.py index d1361e84..8f4b1b78 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSetDatum(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "set_datum_type": "GsaSetDatumType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "set_datum_type": "setDatumType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "setDatumType": "GsaSetDatumType", } @@ -133,7 +133,7 @@ def set_datum_type(self, set_datum_type: "GsaSetDatumType") -> None: self._set_datum_type = set_datum_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_datum.py index ef92e291..b7ec6800 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,26 +54,26 @@ class GsaSetDiscreteDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "discrete_values": "list[GsaSlimEntity]", "set_datum_type": "GsaSetDatumType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "discrete_values": "discreteValues", "set_datum_type": "setDatumType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "discreteValues": "GsaSlimEntity", } @@ -82,39 +82,39 @@ class GsaSetDiscreteDatum(GsaSetDatum): def __init__( self, *, - discrete_values: "List[GsaSlimEntity]", + discrete_values: "list[GsaSlimEntity]", set_datum_type: "GsaSetDatumType" = GsaSetDatumType.DISCRETE, ) -> None: """GsaSetDiscreteDatum - a model defined in Swagger Parameters ---------- - discrete_values: List[GsaSlimEntity] + discrete_values: list[GsaSlimEntity] set_datum_type: GsaSetDatumType """ super().__init__(set_datum_type=set_datum_type) - self._discrete_values: List[GsaSlimEntity] + self._discrete_values: list[GsaSlimEntity] self.discrete_values = discrete_values @property - def discrete_values(self) -> "List[GsaSlimEntity]": + def discrete_values(self) -> "list[GsaSlimEntity]": """Gets the discrete_values of this GsaSetDiscreteDatum. Returns ------- - List[GsaSlimEntity] + list[GsaSlimEntity] The discrete_values of this GsaSetDiscreteDatum. """ return self._discrete_values @discrete_values.setter - def discrete_values(self, discrete_values: "List[GsaSlimEntity]") -> None: + def discrete_values(self, discrete_values: "list[GsaSlimEntity]") -> None: """Sets the discrete_values of this GsaSetDiscreteDatum. Parameters ---------- - discrete_values: List[GsaSlimEntity] + discrete_values: list[GsaSlimEntity] The discrete_values of this GsaSetDiscreteDatum. """ # Field is not nullable @@ -126,7 +126,7 @@ def discrete_values(self, discrete_values: "List[GsaSlimEntity]") -> None: self._discrete_values = discrete_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_parameter_value.py index 1abd0c58..21bf7507 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_discrete_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_set_parameter_value import ( # noqa: F401 @@ -56,26 +56,26 @@ class GsaSetDiscreteParameterValue(GsaSetParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_type": "GsaParameterType", "parameter_value": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_type": "parameterType", "parameter_value": "parameterValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValue": "GsaSlimEntity", } @@ -128,7 +128,7 @@ def parameter_value(self, parameter_value: "GsaSlimEntity") -> None: self._parameter_value = parameter_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_hyperlink_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_hyperlink_datum.py index d5310a05..526369b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_hyperlink_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_hyperlink_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,30 +54,30 @@ class GsaSetHyperlinkDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "address": "str", "description": "str", "set_datum_type": "GsaSetDatumType", "target": "GsaHyperlinkTarget", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "address": "address", "description": "description", "set_datum_type": "setDatumType", "target": "target", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "target": "GsaHyperlinkTarget", } @@ -194,7 +194,7 @@ def target(self, target: "GsaHyperlinkTarget") -> None: self._target = target @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_integer_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_integer_datum.py index a00f67a7..d4c1879c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_integer_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_integer_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,26 +54,26 @@ class GsaSetIntegerDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "set_datum_type": "GsaSetDatumType", "value": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "set_datum_type": "setDatumType", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -124,7 +124,7 @@ def value(self, value: "int") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_logical_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_logical_datum.py index de6c8019..567fcd4c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_logical_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_logical_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,26 +54,26 @@ class GsaSetLogicalDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "set_datum_type": "GsaSetDatumType", "value": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "set_datum_type": "setDatumType", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -124,7 +124,7 @@ def value(self, value: "bool") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_long_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_long_text_datum.py index c96d243d..213eadec 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_long_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_long_text_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,26 +54,26 @@ class GsaSetLongTextDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "rich_text_value": "GsaRichTextValue", "set_datum_type": "GsaSetDatumType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "rich_text_value": "richTextValue", "set_datum_type": "setDatumType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "richTextValue": "GsaRichTextValue", } @@ -126,7 +126,7 @@ def rich_text_value(self, rich_text_value: "GsaRichTextValue") -> None: self._rich_text_value = rich_text_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_numeric_parameter_value.py index 3c4be272..3f050e4d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_numeric_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_numeric_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_set_parameter_value import ( # noqa: F401 @@ -56,26 +56,26 @@ class GsaSetNumericParameterValue(GsaSetParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_type": "GsaParameterType", "parameter_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_type": "parameterType", "parameter_value": "parameterValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def parameter_value(self, parameter_value: "float") -> None: self._parameter_value = parameter_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_value.py index 8f8ebe83..84a17bf4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSetParameterValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_type": "parameterType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterType": "GsaParameterType", } @@ -125,7 +125,7 @@ def parameter_type(self, parameter_type: "GsaParameterType") -> None: self._parameter_type = parameter_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_with_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_with_value.py index c3b0d551..94e930ee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_with_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_parameter_with_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSetParameterWithValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "parameter_value": "GsaSetParameterValue", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "parameter_value": "parameterValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameter": "GsaSlimEntity", "parameterValue": "GsaSetParameterValue", } @@ -153,7 +153,7 @@ def parameter_value(self, parameter_value: "GsaSetParameterValue") -> None: self._parameter_value = parameter_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum.py index 0ea81db0..de6a56e8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,28 +54,28 @@ class GsaSetPointDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "estimated": "bool", "set_datum_type": "GsaSetDatumType", "values": "list[GsaSetPointDatumValue]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "estimated": "estimated", "set_datum_type": "setDatumType", "values": "values", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "values": "GsaSetPointDatumValue", } @@ -86,7 +86,7 @@ def __init__( *, estimated: "bool", set_datum_type: "GsaSetDatumType" = GsaSetDatumType.POINT, - values: "List[GsaSetPointDatumValue]", + values: "list[GsaSetPointDatumValue]", ) -> None: """GsaSetPointDatum - a model defined in Swagger @@ -94,11 +94,11 @@ def __init__( ---------- estimated: bool set_datum_type: GsaSetDatumType - values: List[GsaSetPointDatumValue] + values: list[GsaSetPointDatumValue] """ super().__init__(set_datum_type=set_datum_type) self._estimated: bool - self._values: List[GsaSetPointDatumValue] + self._values: list[GsaSetPointDatumValue] self.estimated = estimated self.values = values @@ -132,23 +132,23 @@ def estimated(self, estimated: "bool") -> None: self._estimated = estimated @property - def values(self) -> "List[GsaSetPointDatumValue]": + def values(self) -> "list[GsaSetPointDatumValue]": """Gets the values of this GsaSetPointDatum. Returns ------- - List[GsaSetPointDatumValue] + list[GsaSetPointDatumValue] The values of this GsaSetPointDatum. """ return self._values @values.setter - def values(self, values: "List[GsaSetPointDatumValue]") -> None: + def values(self, values: "list[GsaSetPointDatumValue]") -> None: """Sets the values of this GsaSetPointDatum. Parameters ---------- - values: List[GsaSetPointDatumValue] + values: list[GsaSetPointDatumValue] The values of this GsaSetPointDatum. """ # Field is not nullable @@ -160,7 +160,7 @@ def values(self, values: "List[GsaSetPointDatumValue]") -> None: self._values = values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum_value.py index 17594d43..b1e13224 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_point_datum_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSetPointDatumValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "point_value": "float", "parameters_and_values": "list[GsaSetParameterWithValue]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "point_value": "pointValue", "parameters_and_values": "parametersAndValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parametersAndValues": "GsaSetParameterWithValue", } @@ -80,17 +80,17 @@ def __init__( self, *, point_value: "float", - parameters_and_values: "Union[List[GsaSetParameterWithValue], None, Unset_Type]" = Unset, + parameters_and_values: "Union[list[GsaSetParameterWithValue], None, Unset_Type]" = Unset, ) -> None: """GsaSetPointDatumValue - a model defined in Swagger Parameters ---------- point_value: float - parameters_and_values: List[GsaSetParameterWithValue], optional + parameters_and_values: list[GsaSetParameterWithValue], optional """ self._point_value: float - self._parameters_and_values: Union[List[GsaSetParameterWithValue], None, Unset_Type] = Unset + self._parameters_and_values: Union[list[GsaSetParameterWithValue], None, Unset_Type] = Unset self.point_value = point_value if parameters_and_values is not Unset: @@ -125,31 +125,31 @@ def point_value(self, point_value: "float") -> None: self._point_value = point_value @property - def parameters_and_values(self) -> "Union[List[GsaSetParameterWithValue], None, Unset_Type]": + def parameters_and_values(self) -> "Union[list[GsaSetParameterWithValue], None, Unset_Type]": """Gets the parameters_and_values of this GsaSetPointDatumValue. Returns ------- - Union[List[GsaSetParameterWithValue], None, Unset_Type] + Union[list[GsaSetParameterWithValue], None, Unset_Type] The parameters_and_values of this GsaSetPointDatumValue. """ return self._parameters_and_values @parameters_and_values.setter def parameters_and_values( - self, parameters_and_values: "Union[List[GsaSetParameterWithValue], None, Unset_Type]" + self, parameters_and_values: "Union[list[GsaSetParameterWithValue], None, Unset_Type]" ) -> None: """Sets the parameters_and_values of this GsaSetPointDatumValue. Parameters ---------- - parameters_and_values: Union[List[GsaSetParameterWithValue], None, Unset_Type] + parameters_and_values: Union[list[GsaSetParameterWithValue], None, Unset_Type] The parameters_and_values of this GsaSetPointDatumValue. """ self._parameters_and_values = parameters_and_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_range_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_range_datum.py index 40235145..d365b65c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_range_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_range_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,16 +54,16 @@ class GsaSetRangeDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "estimated": "bool", "high_value": "float", "high_value_is_inclusive": "bool", @@ -72,7 +72,7 @@ class GsaSetRangeDatum(GsaSetDatum): "set_datum_type": "GsaSetDatumType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "estimated": "estimated", "high_value": "highValue", "high_value_is_inclusive": "highValueIsInclusive", @@ -81,7 +81,7 @@ class GsaSetRangeDatum(GsaSetDatum): "set_datum_type": "setDatumType", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -260,7 +260,7 @@ def estimated(self, estimated: "bool") -> None: self._estimated = estimated @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_short_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_short_text_datum.py index dc3c1848..1ecd2698 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_short_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_short_text_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,26 +54,26 @@ class GsaSetShortTextDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "set_datum_type": "GsaSetDatumType", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "set_datum_type": "setDatumType", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -124,7 +124,7 @@ def value(self, value: "str") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum.py index 0bda8400..3dbf4fc7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum import GsaSetDatum # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_set_datum_type import GsaSetDatumType @@ -54,26 +54,26 @@ class GsaSetTabularDatum(GsaSetDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "rows": "list[GsaSetTabularDatumRow]", "set_datum_type": "GsaSetDatumType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "rows": "rows", "set_datum_type": "setDatumType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "rows": "GsaSetTabularDatumRow", } @@ -82,39 +82,39 @@ class GsaSetTabularDatum(GsaSetDatum): def __init__( self, *, - rows: "List[GsaSetTabularDatumRow]", + rows: "list[GsaSetTabularDatumRow]", set_datum_type: "GsaSetDatumType" = GsaSetDatumType.TABULAR, ) -> None: """GsaSetTabularDatum - a model defined in Swagger Parameters ---------- - rows: List[GsaSetTabularDatumRow] + rows: list[GsaSetTabularDatumRow] set_datum_type: GsaSetDatumType """ super().__init__(set_datum_type=set_datum_type) - self._rows: List[GsaSetTabularDatumRow] + self._rows: list[GsaSetTabularDatumRow] self.rows = rows @property - def rows(self) -> "List[GsaSetTabularDatumRow]": + def rows(self) -> "list[GsaSetTabularDatumRow]": """Gets the rows of this GsaSetTabularDatum. Returns ------- - List[GsaSetTabularDatumRow] + list[GsaSetTabularDatumRow] The rows of this GsaSetTabularDatum. """ return self._rows @rows.setter - def rows(self, rows: "List[GsaSetTabularDatumRow]") -> None: + def rows(self, rows: "list[GsaSetTabularDatumRow]") -> None: """Sets the rows of this GsaSetTabularDatum. Parameters ---------- - rows: List[GsaSetTabularDatumRow] + rows: list[GsaSetTabularDatumRow] The rows of this GsaSetTabularDatum. """ # Field is not nullable @@ -126,7 +126,7 @@ def rows(self, rows: "List[GsaSetTabularDatumRow]") -> None: self._rows = rows @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum_row.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum_row.py index 19a38564..bba1b3ae 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum_row.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_set_tabular_datum_row.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSetTabularDatumRow(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "linking_value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "linking_value": "linkingValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -140,7 +140,7 @@ def linking_value(self, linking_value: "Union[str, None, Unset_Type]") -> None: self._linking_value = linking_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_name_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_name_property.py index c4fb9008..4e5c8881 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_name_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_name_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaShortNameProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "short_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "short_name": "shortName", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def short_name(self, short_name: "Union[str, None, Unset_Type]") -> None: self._short_name = short_name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation.py index 79222530..a8a3da9a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum import ( # noqa: F401 GsaAggregationDatum, @@ -58,26 +58,26 @@ class GsaShortTextAggregation(GsaAggregationDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaAggregationDatumType", "terms": "list[GsaTermWithCount]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "terms": "terms", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "terms": "GsaTermWithCount", } @@ -87,45 +87,45 @@ def __init__( self, *, datum_type: "GsaAggregationDatumType" = GsaAggregationDatumType.SHORTTEXT, - terms: "Union[List[GsaTermWithCount], None, Unset_Type]" = Unset, + terms: "Union[list[GsaTermWithCount], None, Unset_Type]" = Unset, ) -> None: """GsaShortTextAggregation - a model defined in Swagger Parameters ---------- datum_type: GsaAggregationDatumType - terms: List[GsaTermWithCount], optional + terms: list[GsaTermWithCount], optional """ super().__init__(datum_type=datum_type) - self._terms: Union[List[GsaTermWithCount], None, Unset_Type] = Unset + self._terms: Union[list[GsaTermWithCount], None, Unset_Type] = Unset if terms is not Unset: self.terms = terms @property - def terms(self) -> "Union[List[GsaTermWithCount], None, Unset_Type]": + def terms(self) -> "Union[list[GsaTermWithCount], None, Unset_Type]": """Gets the terms of this GsaShortTextAggregation. Returns ------- - Union[List[GsaTermWithCount], None, Unset_Type] + Union[list[GsaTermWithCount], None, Unset_Type] The terms of this GsaShortTextAggregation. """ return self._terms @terms.setter - def terms(self, terms: "Union[List[GsaTermWithCount], None, Unset_Type]") -> None: + def terms(self, terms: "Union[list[GsaTermWithCount], None, Unset_Type]") -> None: """Sets the terms of this GsaShortTextAggregation. Parameters ---------- - terms: Union[List[GsaTermWithCount], None, Unset_Type] + terms: Union[list[GsaTermWithCount], None, Unset_Type] The terms of this GsaShortTextAggregation. """ self._terms = terms @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation_datum_criterion.py index 7935f2cb..a8dc6a3f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_aggregation_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_aggregation_datum_criterion import ( # noqa: F401 GsaAggregationDatumCriterion, @@ -58,28 +58,28 @@ class GsaShortTextAggregationDatumCriterion(GsaAggregationDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAggregationDatumCriterionType", "number_of_terms": "int", "prefix": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "number_of_terms": "numberOfTerms", "prefix": "prefix", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -159,7 +159,7 @@ def prefix(self, prefix: "Union[str, None, Unset_Type]") -> None: self._prefix = prefix @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_attribute.py index 79dd833b..46646c44 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaShortTextAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_names": "dict(str, str)", "guid": "str", @@ -79,7 +79,7 @@ class GsaShortTextAttribute(GsaAttribute): "help_path": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_names": "displayNames", "guid": "guid", @@ -95,7 +95,7 @@ class GsaShortTextAttribute(GsaAttribute): "help_path": "helpPath", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "dataRule": "GsaSlimNamedEntity", } @@ -105,7 +105,7 @@ def __init__( self, *, default_threshold_type: "GsaAttributeThresholdType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", @@ -123,7 +123,7 @@ def __init__( Parameters ---------- default_threshold_type: GsaAttributeThresholdType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool @@ -212,7 +212,7 @@ def data_rule(self, data_rule: "Union[GsaSlimNamedEntity, Unset_Type]") -> None: self._data_rule = data_rule @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum.py index 77197fc7..d029258e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,28 +56,28 @@ class GsaShortTextDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "not_applicable": "str", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def value(self, value: "str") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_criterion.py index 5c1c4f35..c8758038 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,28 +56,28 @@ class GsaShortTextDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaDatumCriterionType", "value": "str", "text_match_behavior": "GsaTextMatchBehavior", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", "text_match_behavior": "textMatchBehavior", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "textMatchBehavior": "GsaTextMatchBehavior", } @@ -162,7 +162,7 @@ def text_match_behavior( self._text_match_behavior = text_match_behavior @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_exists_criterion.py index 13495dd9..32b36bc1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaShortTextDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_prefix_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_prefix_datum_criterion.py index 677c41bf..9e7b9570 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_prefix_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_short_text_prefix_datum_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_datum_criterion import ( # noqa: F401 GsaDatumCriterion, @@ -56,26 +56,26 @@ class GsaShortTextPrefixDatumCriterion(GsaDatumCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "prefix": "str", "type": "GsaDatumCriterionType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "prefix": "prefix", "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -126,7 +126,7 @@ def prefix(self, prefix: "str") -> None: self._prefix = prefix @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_significant_figures_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_significant_figures_info.py index 0906c221..8bf89cbf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_significant_figures_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_significant_figures_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaSignificantFiguresInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "entered_value": "float", "significant_figures": "int", "entered_unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "entered_value": "enteredValue", "significant_figures": "significantFigures", "entered_unit": "enteredUnit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "enteredUnit": "GsaSlimUnit", } @@ -184,7 +184,7 @@ def entered_unit(self, entered_unit: "Union[GsaSlimUnit, Unset_Type]") -> None: self._entered_unit = entered_unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_simple_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_simple_attribute_to_export.py index f81fe849..086fd8c3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_simple_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_simple_attribute_to_export.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_to_export import ( # noqa: F401 GsaAttributeToExport, @@ -55,16 +55,16 @@ class GsaSimpleAttributeToExport(GsaAttributeToExport): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attribute_type": "str", "guid": "str", "identity": "int", @@ -72,7 +72,7 @@ class GsaSimpleAttributeToExport(GsaAttributeToExport): "summary_roll_up_type": "GsaTabularColumnRollUpType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attribute_type": "attributeType", "guid": "guid", "identity": "identity", @@ -80,7 +80,7 @@ class GsaSimpleAttributeToExport(GsaAttributeToExport): "summary_roll_up_type": "summaryRollUpType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "rollUpType": "GsaTabularColumnRollUpType", "summaryRollUpType": "GsaTabularColumnRollUpType", } @@ -168,7 +168,7 @@ def summary_roll_up_type( self._summary_roll_up_type = summary_roll_up_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_attribute.py index ff11b954..73da4efd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSlimAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "is_hidden_from_search_criteria": "bool", @@ -70,7 +70,7 @@ class GsaSlimAttribute(ModelBase): "about_attribute": "GsaSlimTypedAttribute", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -80,7 +80,7 @@ class GsaSlimAttribute(ModelBase): "about_attribute": "aboutAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", "aboutAttribute": "GsaSlimTypedAttribute", "table": "GsaSlimEntity", @@ -91,7 +91,7 @@ class GsaSlimAttribute(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", is_hidden_from_search_criteria: "bool", name: "str", @@ -103,7 +103,7 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str is_hidden_from_search_criteria: bool name: str @@ -115,7 +115,7 @@ def __init__( self._about_attribute: Union[GsaSlimTypedAttribute, Unset_Type] = Unset self._is_hidden_from_search_criteria: bool self._table: GsaSlimEntity - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -244,23 +244,23 @@ def table(self, table: "GsaSlimEntity") -> None: self._table = table @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSlimAttribute. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSlimAttribute. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSlimAttribute. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSlimAttribute. """ # Field is not nullable @@ -328,7 +328,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_configuration.py index 714b8680..a6c25d36 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_configuration.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSlimConfiguration(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_constant.py index f1a7b930..607e32fc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_constant.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSlimConstant(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_database.py index b9043b02..9b0a02f4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_database.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSlimDatabase(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "is_locked": "bool", "is_read_only": "bool", "key": "str", @@ -74,7 +74,7 @@ class GsaSlimDatabase(ModelBase): "version_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "is_locked": "isLocked", "is_read_only": "isReadOnly", "key": "key", @@ -88,7 +88,7 @@ class GsaSlimDatabase(ModelBase): "version_guid": "versionGuid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "status": "GsaDatabaseStatus", } @@ -425,7 +425,7 @@ def schema_version(self, schema_version: "Union[str, None, Unset_Type]") -> None self._schema_version = schema_version @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_entity.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_entity.py index 0832c4ed..cb3e65bb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_entity.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_entity.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaSlimEntity(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_expression.py index d5c2ffbd..c72c6f36 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_expression.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSlimExpression(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_file.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_file.py index ca9ee5c4..a9087061 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_file.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_file.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSlimFile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout.py index 2cb34a63..b036b493 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,35 +51,35 @@ class GsaSlimLayout(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", ) -> None: @@ -87,11 +87,11 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str """ - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -100,23 +100,23 @@ def __init__( self.guid = guid @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSlimLayout. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSlimLayout. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSlimLayout. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSlimLayout. """ # Field is not nullable @@ -184,7 +184,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout_section.py index 3cbdf4c4..68f6e0ca 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_layout_section.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_layout_section import ( # noqa: F401 GsaLayoutSection, @@ -58,37 +58,37 @@ class GsaSlimLayoutSection(GsaLayoutSection): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", "section_detail_type": "GsaLayoutSectionDetailType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", "section_detail_type": "sectionDetailType", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", section_detail_type: "GsaLayoutSectionDetailType" = GsaLayoutSectionDetailType.SLIM, @@ -97,7 +97,7 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str section_detail_type: GsaLayoutSectionDetailType @@ -110,7 +110,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_entity.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_entity.py index 3a49ffa0..a14f726a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_entity.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_entity.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSlimNamedEntity(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_unit.py index f69b91cf..29d56f04 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_named_unit.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaSlimNamedUnit(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "symbol": "str", "relative_symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "symbol": "symbol", "relative_symbol": "relativeSymbol", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -213,7 +213,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_objects.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_objects.py index bd8270fc..4c862ac0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_objects.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_objects.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaSlimObjects(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attributes": "list[GsaSlimAttribute]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attributes": "attributes", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaSlimAttribute", } @@ -77,43 +77,43 @@ class GsaSlimObjects(ModelBase): def __init__( self, *, - attributes: "Union[List[GsaSlimAttribute], None, Unset_Type]" = Unset, + attributes: "Union[list[GsaSlimAttribute], None, Unset_Type]" = Unset, ) -> None: """GsaSlimObjects - a model defined in Swagger Parameters ---------- - attributes: List[GsaSlimAttribute], optional + attributes: list[GsaSlimAttribute], optional """ - self._attributes: Union[List[GsaSlimAttribute], None, Unset_Type] = Unset + self._attributes: Union[list[GsaSlimAttribute], None, Unset_Type] = Unset if attributes is not Unset: self.attributes = attributes @property - def attributes(self) -> "Union[List[GsaSlimAttribute], None, Unset_Type]": + def attributes(self) -> "Union[list[GsaSlimAttribute], None, Unset_Type]": """Gets the attributes of this GsaSlimObjects. Returns ------- - Union[List[GsaSlimAttribute], None, Unset_Type] + Union[list[GsaSlimAttribute], None, Unset_Type] The attributes of this GsaSlimObjects. """ return self._attributes @attributes.setter - def attributes(self, attributes: "Union[List[GsaSlimAttribute], None, Unset_Type]") -> None: + def attributes(self, attributes: "Union[list[GsaSlimAttribute], None, Unset_Type]") -> None: """Sets the attributes of this GsaSlimObjects. Parameters ---------- - attributes: Union[List[GsaSlimAttribute], None, Unset_Type] + attributes: Union[list[GsaSlimAttribute], None, Unset_Type] The attributes of this GsaSlimObjects. """ self._attributes = attributes @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_parameter.py index c84e3d63..390962b9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaSlimParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", } @@ -83,7 +83,7 @@ class GsaSlimParameter(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", type: "GsaParameterType", @@ -92,13 +92,13 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str type: GsaParameterType """ self._type: GsaParameterType - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -136,23 +136,23 @@ def type(self, type: "GsaParameterType") -> None: self._type = type @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSlimParameter. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSlimParameter. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSlimParameter. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSlimParameter. """ # Field is not nullable @@ -220,7 +220,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile.py index d01ef939..9b5f87ba 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSlimProfile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "is_implicit": "bool", "key": "str", "name": "str", @@ -68,7 +68,7 @@ class GsaSlimProfile(ModelBase): "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "is_implicit": "isImplicit", "key": "key", "name": "name", @@ -76,7 +76,7 @@ class GsaSlimProfile(ModelBase): "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -246,7 +246,7 @@ def name(self, name: "str") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile_table.py index 1ff192bc..3418c0a5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_profile_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSlimProfileTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "table_guid": "str", "database_fallback_hint": "str", @@ -68,7 +68,7 @@ class GsaSlimProfileTable(ModelBase): "table_fallback_hint": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "table_guid": "tableGuid", "database_fallback_hint": "databaseFallbackHint", @@ -76,7 +76,7 @@ class GsaSlimProfileTable(ModelBase): "table_fallback_hint": "tableFallbackHint", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -239,7 +239,7 @@ def table_fallback_hint(self, table_fallback_hint: "Union[str, None, Unset_Type] self._table_fallback_hint = table_fallback_hint @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_history.py index f1ed11ce..062583ee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_history.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaSlimRecordHistory(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -116,7 +116,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_link_group.py index 22ac16f2..32a9ea00 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSlimRecordLinkGroup(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", @@ -70,7 +70,7 @@ class GsaSlimRecordLinkGroup(ModelBase): "reverse_display_names": "dict(str, str)", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", @@ -80,7 +80,7 @@ class GsaSlimRecordLinkGroup(ModelBase): "reverse_display_names": "reverseDisplayNames", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaRecordLinkGroupType", } @@ -89,31 +89,31 @@ class GsaSlimRecordLinkGroup(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", reverse_name: "str", type: "GsaRecordLinkGroupType", identity: "Union[int, None, Unset_Type]" = Unset, - reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" = Unset, + reverse_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset, ) -> None: """GsaSlimRecordLinkGroup - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str reverse_name: str type: GsaRecordLinkGroupType identity: int, optional - reverse_display_names: Dict[str, str], optional + reverse_display_names: dict[str, str], optional """ self._identity: Union[int, None, Unset_Type] = Unset self._type: GsaRecordLinkGroupType self._reverse_name: str - self._reverse_display_names: Union[Dict[str, str], None, Unset_Type] = Unset - self._display_names: Dict[str, str] + self._reverse_display_names: Union[dict[str, str], None, Unset_Type] = Unset + self._display_names: dict[str, str] self._name: str self._guid: str @@ -206,47 +206,47 @@ def reverse_name(self, reverse_name: "str") -> None: self._reverse_name = reverse_name @property - def reverse_display_names(self) -> "Union[Dict[str, str], None, Unset_Type]": + def reverse_display_names(self) -> "Union[dict[str, str], None, Unset_Type]": """Gets the reverse_display_names of this GsaSlimRecordLinkGroup. Returns ------- - Union[Dict[str, str], None, Unset_Type] + Union[dict[str, str], None, Unset_Type] The reverse_display_names of this GsaSlimRecordLinkGroup. """ return self._reverse_display_names @reverse_display_names.setter def reverse_display_names( - self, reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" + self, reverse_display_names: "Union[dict[str, str], None, Unset_Type]" ) -> None: """Sets the reverse_display_names of this GsaSlimRecordLinkGroup. Parameters ---------- - reverse_display_names: Union[Dict[str, str], None, Unset_Type] + reverse_display_names: Union[dict[str, str], None, Unset_Type] The reverse_display_names of this GsaSlimRecordLinkGroup. """ self._reverse_display_names = reverse_display_names @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSlimRecordLinkGroup. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSlimRecordLinkGroup. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSlimRecordLinkGroup. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSlimRecordLinkGroup. """ # Field is not nullable @@ -314,7 +314,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_version.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_version.py index e178ddf4..0b53df57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_version.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_record_version.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaSlimRecordVersion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "version_number": "int", "version_state": "GsaVersionState", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "version_number": "versionNumber", "version_state": "versionState", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "versionState": "GsaVersionState", } @@ -220,7 +220,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_replacement_string.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_replacement_string.py index ab5b80d3..ab44acb9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_replacement_string.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_replacement_string.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSlimReplacementString(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -150,7 +150,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_subset.py index 2e7ede18..46dd6fcf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_subset.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,35 +51,35 @@ class GsaSlimSubset(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", ) -> None: @@ -87,11 +87,11 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str """ - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -100,23 +100,23 @@ def __init__( self.guid = guid @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSlimSubset. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSlimSubset. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSlimSubset. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSlimSubset. """ # Field is not nullable @@ -184,7 +184,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_table.py index ad08d13e..90d64f3e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaSlimTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "is_hidden_from_browse": "bool", @@ -70,7 +70,7 @@ class GsaSlimTable(ModelBase): "table_types": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "is_hidden_from_browse": "isHiddenFromBrowse", @@ -80,38 +80,38 @@ class GsaSlimTable(ModelBase): "table_types": "tableTypes", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", is_hidden_from_browse: "bool", is_hidden_from_search: "bool", is_versioned: "bool", name: "str", - table_types: "List[str]", + table_types: "list[str]", ) -> None: """GsaSlimTable - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str is_hidden_from_browse: bool is_hidden_from_search: bool is_versioned: bool name: str - table_types: List[str] + table_types: list[str] """ self._is_hidden_from_browse: bool self._is_hidden_from_search: bool self._is_versioned: bool - self._table_types: List[str] - self._display_names: Dict[str, str] + self._table_types: list[str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -208,23 +208,23 @@ def is_versioned(self, is_versioned: "bool") -> None: self._is_versioned = is_versioned @property - def table_types(self) -> "List[str]": + def table_types(self) -> "list[str]": """Gets the table_types of this GsaSlimTable. Returns ------- - List[str] + list[str] The table_types of this GsaSlimTable. """ return self._table_types @table_types.setter - def table_types(self, table_types: "List[str]") -> None: + def table_types(self, table_types: "list[str]") -> None: """Sets the table_types of this GsaSlimTable. Parameters ---------- - table_types: List[str] + table_types: list[str] The table_types of this GsaSlimTable. """ # Field is not nullable @@ -236,23 +236,23 @@ def table_types(self, table_types: "List[str]") -> None: self._table_types = table_types @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSlimTable. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSlimTable. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSlimTable. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSlimTable. """ # Field is not nullable @@ -320,7 +320,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_typed_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_typed_attribute.py index e8e6b644..faac7dd3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_typed_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_typed_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaSlimTypedAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", } @@ -186,7 +186,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit.py index 330157b5..8711f41b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaSlimUnit(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "symbol": "str", "relative_symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "symbol": "symbol", "relative_symbol": "relativeSymbol", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -179,7 +179,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit_system.py index c5bbd0be..17fa0d80 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_slim_unit_system.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,35 +51,35 @@ class GsaSlimUnitSystem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", ) -> None: @@ -87,11 +87,11 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str """ - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -100,23 +100,23 @@ def __init__( self.guid = guid @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSlimUnitSystem. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSlimUnitSystem. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSlimUnitSystem. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSlimUnitSystem. """ # Field is not nullable @@ -184,7 +184,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sort_criterion.py index c9696888..0f85a94f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sort_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaSortCriterion(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortCriterionType", "sort_direction": "GsaSortDirection", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "sort_direction": "sortDirection", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "sortDirection": "GsaSortDirection", "type": "GsaSortCriterionType", } @@ -159,7 +159,7 @@ def type(self, type: "GsaSortCriterionType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sorting_value.py index 5c838378..9f5ea4cf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_sorting_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaSortingValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortingValueType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaSortingValueType", } @@ -126,7 +126,7 @@ def type(self, type: "GsaSortingValueType") -> None: self._type = type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_source_of_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_source_of_object_identifier.py index e99fb269..4c251da7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_source_of_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_source_of_object_identifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaSourceOfObjectIdentifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "mappings": "list[GsaMappingOfObjectIdentifier]", "table": "GsaObjectIdentifier", "database": "GsaObjectIdentifier", "database_key": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "mappings": "mappings", "table": "table", "database": "database", "database_key": "databaseKey", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "database": "GsaObjectIdentifier", "table": "GsaObjectIdentifier", "mappings": "GsaMappingOfObjectIdentifier", @@ -85,7 +85,7 @@ class GsaSourceOfObjectIdentifier(ModelBase): def __init__( self, *, - mappings: "List[GsaMappingOfObjectIdentifier]", + mappings: "list[GsaMappingOfObjectIdentifier]", table: "GsaObjectIdentifier", database: "Union[GsaObjectIdentifier, Unset_Type]" = Unset, database_key: "Union[str, None, Unset_Type]" = Unset, @@ -94,7 +94,7 @@ def __init__( Parameters ---------- - mappings: List[GsaMappingOfObjectIdentifier] + mappings: list[GsaMappingOfObjectIdentifier] table: GsaObjectIdentifier database: GsaObjectIdentifier, optional database_key: str, optional @@ -102,7 +102,7 @@ def __init__( self._database: Union[GsaObjectIdentifier, Unset_Type] = Unset self._database_key: Union[str, None, Unset_Type] = Unset self._table: GsaObjectIdentifier - self._mappings: List[GsaMappingOfObjectIdentifier] + self._mappings: list[GsaMappingOfObjectIdentifier] if database is not Unset: self.database = database @@ -187,25 +187,25 @@ def table(self, table: "GsaObjectIdentifier") -> None: self._table = table @property - def mappings(self) -> "List[GsaMappingOfObjectIdentifier]": + def mappings(self) -> "list[GsaMappingOfObjectIdentifier]": """Gets the mappings of this GsaSourceOfObjectIdentifier. Mappings for items from this table to the integration schema attributes. Returns ------- - List[GsaMappingOfObjectIdentifier] + list[GsaMappingOfObjectIdentifier] The mappings of this GsaSourceOfObjectIdentifier. """ return self._mappings @mappings.setter - def mappings(self, mappings: "List[GsaMappingOfObjectIdentifier]") -> None: + def mappings(self, mappings: "list[GsaMappingOfObjectIdentifier]") -> None: """Sets the mappings of this GsaSourceOfObjectIdentifier. Mappings for items from this table to the integration schema attributes. Parameters ---------- - mappings: List[GsaMappingOfObjectIdentifier] + mappings: list[GsaMappingOfObjectIdentifier] The mappings of this GsaSourceOfObjectIdentifier. """ # Field is not nullable @@ -217,7 +217,7 @@ def mappings(self, mappings: "List[GsaMappingOfObjectIdentifier]") -> None: self._mappings = mappings @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_specific_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_specific_values_specifier.py index 133c9df0..dfb1dc29 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_specific_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_specific_values_specifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_value_specifier import ( # noqa: F401 GsaValueSpecifier, @@ -56,28 +56,28 @@ class GsaSpecificValuesSpecifier(GsaValueSpecifier): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "filter_on": "GsaValueSpecifierType", "guids": "list[str]", "identities": "list[int]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "filter_on": "filterOn", "guids": "guids", "identities": "identities", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -85,20 +85,20 @@ def __init__( self, *, filter_on: "GsaValueSpecifierType" = GsaValueSpecifierType.SPECIFIC, - guids: "Union[List[str], None, Unset_Type]" = Unset, - identities: "Union[List[int], None, Unset_Type]" = Unset, + guids: "Union[list[str], None, Unset_Type]" = Unset, + identities: "Union[list[int], None, Unset_Type]" = Unset, ) -> None: """GsaSpecificValuesSpecifier - a model defined in Swagger Parameters ---------- filter_on: GsaValueSpecifierType - guids: List[str], optional - identities: List[int], optional + guids: list[str], optional + identities: list[int], optional """ super().__init__(filter_on=filter_on) - self._identities: Union[List[int], None, Unset_Type] = Unset - self._guids: Union[List[str], None, Unset_Type] = Unset + self._identities: Union[list[int], None, Unset_Type] = Unset + self._guids: Union[list[str], None, Unset_Type] = Unset if identities is not Unset: self.identities = identities @@ -106,51 +106,51 @@ def __init__( self.guids = guids @property - def identities(self) -> "Union[List[int], None, Unset_Type]": + def identities(self) -> "Union[list[int], None, Unset_Type]": """Gets the identities of this GsaSpecificValuesSpecifier. Returns ------- - Union[List[int], None, Unset_Type] + Union[list[int], None, Unset_Type] The identities of this GsaSpecificValuesSpecifier. """ return self._identities @identities.setter - def identities(self, identities: "Union[List[int], None, Unset_Type]") -> None: + def identities(self, identities: "Union[list[int], None, Unset_Type]") -> None: """Sets the identities of this GsaSpecificValuesSpecifier. Parameters ---------- - identities: Union[List[int], None, Unset_Type] + identities: Union[list[int], None, Unset_Type] The identities of this GsaSpecificValuesSpecifier. """ self._identities = identities @property - def guids(self) -> "Union[List[str], None, Unset_Type]": + def guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the guids of this GsaSpecificValuesSpecifier. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The guids of this GsaSpecificValuesSpecifier. """ return self._guids @guids.setter - def guids(self, guids: "Union[List[str], None, Unset_Type]") -> None: + def guids(self, guids: "Union[list[str], None, Unset_Type]") -> None: """Sets the guids of this GsaSpecificValuesSpecifier. Parameters ---------- - guids: Union[List[str], None, Unset_Type] + guids: Union[list[str], None, Unset_Type] The guids of this GsaSpecificValuesSpecifier. """ self._guids = guids @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_name.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_name.py index edba2f68..2d06ab41 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_name.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_name.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaStandardName(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "database_guid": "str", "database_key": "str", "database_version_guid": "str", @@ -72,7 +72,7 @@ class GsaStandardName(ModelBase): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "database_guid": "databaseGuid", "database_key": "databaseKey", "database_version_guid": "databaseVersionGuid", @@ -84,7 +84,7 @@ class GsaStandardName(ModelBase): "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "mappedAttributes": "GsaSlimAttribute", "mappedParameters": "GsaSlimNamedEntity", "mappedRecordLinkGroups": "GsaSlimNamedEntity", @@ -100,10 +100,10 @@ def __init__( database_key: "str", database_version_guid: "str", guid: "str", - mapped_attributes: "List[GsaSlimAttribute]", - mapped_cross_database_record_link_groups: "List[GsaSlimNamedEntity]", - mapped_parameters: "List[GsaSlimNamedEntity]", - mapped_record_link_groups: "List[GsaSlimNamedEntity]", + mapped_attributes: "list[GsaSlimAttribute]", + mapped_cross_database_record_link_groups: "list[GsaSlimNamedEntity]", + mapped_parameters: "list[GsaSlimNamedEntity]", + mapped_record_link_groups: "list[GsaSlimNamedEntity]", name: "str", ) -> None: """GsaStandardName - a model defined in Swagger @@ -114,16 +114,16 @@ def __init__( database_key: str database_version_guid: str guid: str - mapped_attributes: List[GsaSlimAttribute] - mapped_cross_database_record_link_groups: List[GsaSlimNamedEntity] - mapped_parameters: List[GsaSlimNamedEntity] - mapped_record_link_groups: List[GsaSlimNamedEntity] + mapped_attributes: list[GsaSlimAttribute] + mapped_cross_database_record_link_groups: list[GsaSlimNamedEntity] + mapped_parameters: list[GsaSlimNamedEntity] + mapped_record_link_groups: list[GsaSlimNamedEntity] name: str """ - self._mapped_attributes: List[GsaSlimAttribute] - self._mapped_parameters: List[GsaSlimNamedEntity] - self._mapped_record_link_groups: List[GsaSlimNamedEntity] - self._mapped_cross_database_record_link_groups: List[GsaSlimNamedEntity] + self._mapped_attributes: list[GsaSlimAttribute] + self._mapped_parameters: list[GsaSlimNamedEntity] + self._mapped_record_link_groups: list[GsaSlimNamedEntity] + self._mapped_cross_database_record_link_groups: list[GsaSlimNamedEntity] self._database_key: str self._database_guid: str self._database_version_guid: str @@ -141,23 +141,23 @@ def __init__( self.guid = guid @property - def mapped_attributes(self) -> "List[GsaSlimAttribute]": + def mapped_attributes(self) -> "list[GsaSlimAttribute]": """Gets the mapped_attributes of this GsaStandardName. Returns ------- - List[GsaSlimAttribute] + list[GsaSlimAttribute] The mapped_attributes of this GsaStandardName. """ return self._mapped_attributes @mapped_attributes.setter - def mapped_attributes(self, mapped_attributes: "List[GsaSlimAttribute]") -> None: + def mapped_attributes(self, mapped_attributes: "list[GsaSlimAttribute]") -> None: """Sets the mapped_attributes of this GsaStandardName. Parameters ---------- - mapped_attributes: List[GsaSlimAttribute] + mapped_attributes: list[GsaSlimAttribute] The mapped_attributes of this GsaStandardName. """ # Field is not nullable @@ -169,23 +169,23 @@ def mapped_attributes(self, mapped_attributes: "List[GsaSlimAttribute]") -> None self._mapped_attributes = mapped_attributes @property - def mapped_parameters(self) -> "List[GsaSlimNamedEntity]": + def mapped_parameters(self) -> "list[GsaSlimNamedEntity]": """Gets the mapped_parameters of this GsaStandardName. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The mapped_parameters of this GsaStandardName. """ return self._mapped_parameters @mapped_parameters.setter - def mapped_parameters(self, mapped_parameters: "List[GsaSlimNamedEntity]") -> None: + def mapped_parameters(self, mapped_parameters: "list[GsaSlimNamedEntity]") -> None: """Sets the mapped_parameters of this GsaStandardName. Parameters ---------- - mapped_parameters: List[GsaSlimNamedEntity] + mapped_parameters: list[GsaSlimNamedEntity] The mapped_parameters of this GsaStandardName. """ # Field is not nullable @@ -197,25 +197,25 @@ def mapped_parameters(self, mapped_parameters: "List[GsaSlimNamedEntity]") -> No self._mapped_parameters = mapped_parameters @property - def mapped_record_link_groups(self) -> "List[GsaSlimNamedEntity]": + def mapped_record_link_groups(self) -> "list[GsaSlimNamedEntity]": """Gets the mapped_record_link_groups of this GsaStandardName. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The mapped_record_link_groups of this GsaStandardName. """ return self._mapped_record_link_groups @mapped_record_link_groups.setter def mapped_record_link_groups( - self, mapped_record_link_groups: "List[GsaSlimNamedEntity]" + self, mapped_record_link_groups: "list[GsaSlimNamedEntity]" ) -> None: """Sets the mapped_record_link_groups of this GsaStandardName. Parameters ---------- - mapped_record_link_groups: List[GsaSlimNamedEntity] + mapped_record_link_groups: list[GsaSlimNamedEntity] The mapped_record_link_groups of this GsaStandardName. """ # Field is not nullable @@ -227,25 +227,25 @@ def mapped_record_link_groups( self._mapped_record_link_groups = mapped_record_link_groups @property - def mapped_cross_database_record_link_groups(self) -> "List[GsaSlimNamedEntity]": + def mapped_cross_database_record_link_groups(self) -> "list[GsaSlimNamedEntity]": """Gets the mapped_cross_database_record_link_groups of this GsaStandardName. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The mapped_cross_database_record_link_groups of this GsaStandardName. """ return self._mapped_cross_database_record_link_groups @mapped_cross_database_record_link_groups.setter def mapped_cross_database_record_link_groups( - self, mapped_cross_database_record_link_groups: "List[GsaSlimNamedEntity]" + self, mapped_cross_database_record_link_groups: "list[GsaSlimNamedEntity]" ) -> None: """Sets the mapped_cross_database_record_link_groups of this GsaStandardName. Parameters ---------- - mapped_cross_database_record_link_groups: List[GsaSlimNamedEntity] + mapped_cross_database_record_link_groups: list[GsaSlimNamedEntity] The mapped_cross_database_record_link_groups of this GsaStandardName. """ # Field is not nullable @@ -401,7 +401,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_names_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_names_info.py index 6377b8e5..214312ba 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_names_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_standard_names_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaStandardNamesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "standard_names": "list[GsaStandardName]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "standard_names": "standardNames", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "standardNames": "GsaStandardName", } @@ -77,45 +77,45 @@ class GsaStandardNamesInfo(ModelBase): def __init__( self, *, - standard_names: "Union[List[GsaStandardName], None, Unset_Type]" = Unset, + standard_names: "Union[list[GsaStandardName], None, Unset_Type]" = Unset, ) -> None: """GsaStandardNamesInfo - a model defined in Swagger Parameters ---------- - standard_names: List[GsaStandardName], optional + standard_names: list[GsaStandardName], optional """ - self._standard_names: Union[List[GsaStandardName], None, Unset_Type] = Unset + self._standard_names: Union[list[GsaStandardName], None, Unset_Type] = Unset if standard_names is not Unset: self.standard_names = standard_names @property - def standard_names(self) -> "Union[List[GsaStandardName], None, Unset_Type]": + def standard_names(self) -> "Union[list[GsaStandardName], None, Unset_Type]": """Gets the standard_names of this GsaStandardNamesInfo. Returns ------- - Union[List[GsaStandardName], None, Unset_Type] + Union[list[GsaStandardName], None, Unset_Type] The standard_names of this GsaStandardNamesInfo. """ return self._standard_names @standard_names.setter def standard_names( - self, standard_names: "Union[List[GsaStandardName], None, Unset_Type]" + self, standard_names: "Union[list[GsaStandardName], None, Unset_Type]" ) -> None: """Sets the standard_names of this GsaStandardNamesInfo. Parameters ---------- - standard_names: Union[List[GsaStandardName], None, Unset_Type] + standard_names: Union[list[GsaStandardName], None, Unset_Type] The standard_names of this GsaStandardNamesInfo. """ self._standard_names = standard_names @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_static_record_link_group.py index 91262a94..6b6dc740 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_static_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_static_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_link_group import ( # noqa: F401 GsaRecordLinkGroup, @@ -58,16 +58,16 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "include_indirect_links": "bool", @@ -79,7 +79,7 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup): "reverse_display_names": "dict(str, str)", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "include_indirect_links": "includeIndirectLinks", @@ -91,14 +91,14 @@ class GsaStaticRecordLinkGroup(GsaRecordLinkGroup): "reverse_display_names": "reverseDisplayNames", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", include_indirect_links: "bool", link_info: "GsaLinkInfo", @@ -106,13 +106,13 @@ def __init__( reverse_name: "str", type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC, identity: "Union[int, None, Unset_Type]" = Unset, - reverse_display_names: "Union[Dict[str, str], None, Unset_Type]" = Unset, + reverse_display_names: "Union[dict[str, str], None, Unset_Type]" = Unset, ) -> None: """GsaStaticRecordLinkGroup - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str include_indirect_links: bool link_info: GsaLinkInfo @@ -120,7 +120,7 @@ def __init__( reverse_name: str type: GsaRecordLinkGroupType identity: int, optional - reverse_display_names: Dict[str, str], optional + reverse_display_names: dict[str, str], optional """ super().__init__( display_names=display_names, @@ -165,7 +165,7 @@ def include_indirect_links(self, include_indirect_links: "bool") -> None: self._include_indirect_links = include_indirect_links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_string_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_string_sorting_value.py index fa83889b..51a54b13 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_string_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_string_sorting_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sorting_value import GsaSortingValue # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_sorting_value_type import GsaSortingValueType @@ -54,26 +54,26 @@ class GsaStringSortingValue(GsaSortingValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaSortingValueType", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def value(self, value: "Union[str, None, Unset_Type]") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subset.py index 885f5378..bf12b5c3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subset.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaSubset(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", "associated_layout": "GsaSlimLayout", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", "associated_layout": "associatedLayout", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "associatedLayout": "GsaSlimLayout", } @@ -83,7 +83,7 @@ class GsaSubset(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", associated_layout: "Union[GsaSlimLayout, Unset_Type]" = Unset, @@ -92,13 +92,13 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str associated_layout: GsaSlimLayout, optional """ self._associated_layout: Union[GsaSlimLayout, Unset_Type] = Unset - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -134,23 +134,23 @@ def associated_layout(self, associated_layout: "Union[GsaSlimLayout, Unset_Type] self._associated_layout = associated_layout @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaSubset. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaSubset. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaSubset. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaSubset. """ # Field is not nullable @@ -218,7 +218,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subsets_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subsets_info.py index 702fda7f..c850fd8c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subsets_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_subsets_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaSubsetsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "subsets": "list[GsaSlimSubset]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "subsets": "subsets", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "subsets": "GsaSlimSubset", } @@ -77,43 +77,43 @@ class GsaSubsetsInfo(ModelBase): def __init__( self, *, - subsets: "Union[List[GsaSlimSubset], None, Unset_Type]" = Unset, + subsets: "Union[list[GsaSlimSubset], None, Unset_Type]" = Unset, ) -> None: """GsaSubsetsInfo - a model defined in Swagger Parameters ---------- - subsets: List[GsaSlimSubset], optional + subsets: list[GsaSlimSubset], optional """ - self._subsets: Union[List[GsaSlimSubset], None, Unset_Type] = Unset + self._subsets: Union[list[GsaSlimSubset], None, Unset_Type] = Unset if subsets is not Unset: self.subsets = subsets @property - def subsets(self) -> "Union[List[GsaSlimSubset], None, Unset_Type]": + def subsets(self) -> "Union[list[GsaSlimSubset], None, Unset_Type]": """Gets the subsets of this GsaSubsetsInfo. Returns ------- - Union[List[GsaSlimSubset], None, Unset_Type] + Union[list[GsaSlimSubset], None, Unset_Type] The subsets of this GsaSubsetsInfo. """ return self._subsets @subsets.setter - def subsets(self, subsets: "Union[List[GsaSlimSubset], None, Unset_Type]") -> None: + def subsets(self, subsets: "Union[list[GsaSlimSubset], None, Unset_Type]") -> None: """Sets the subsets of this GsaSubsetsInfo. Parameters ---------- - subsets: Union[List[GsaSlimSubset], None, Unset_Type] + subsets: Union[list[GsaSlimSubset], None, Unset_Type] The subsets of this GsaSubsetsInfo. """ self._subsets = subsets @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table.py index fc2c31e3..aba308bc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "is_hidden_from_browse": "bool", @@ -75,7 +75,7 @@ class GsaTable(ModelBase): "default_subset": "GsaSlimSubset", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "is_hidden_from_browse": "isHiddenFromBrowse", @@ -90,7 +90,7 @@ class GsaTable(ModelBase): "default_subset": "defaultSubset", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultSubset": "GsaSlimSubset", "subsets": "GsaSlimSubset", "defaultLayout": "GsaSlimLayout", @@ -103,15 +103,15 @@ class GsaTable(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", is_hidden_from_browse: "bool", is_hidden_from_search: "bool", is_versioned: "bool", - layouts: "List[GsaSlimLayout]", + layouts: "list[GsaSlimLayout]", name: "str", - subsets: "List[GsaSlimSubset]", - table_types: "List[str]", + subsets: "list[GsaSlimSubset]", + table_types: "list[str]", version_state: "GsaVersionState", default_layout: "Union[GsaSlimLayout, Unset_Type]" = Unset, default_subset: "Union[GsaSlimSubset, Unset_Type]" = Unset, @@ -120,29 +120,29 @@ def __init__( Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str is_hidden_from_browse: bool is_hidden_from_search: bool is_versioned: bool - layouts: List[GsaSlimLayout] + layouts: list[GsaSlimLayout] name: str - subsets: List[GsaSlimSubset] - table_types: List[str] + subsets: list[GsaSlimSubset] + table_types: list[str] version_state: GsaVersionState default_layout: GsaSlimLayout, optional default_subset: GsaSlimSubset, optional """ self._default_subset: Union[GsaSlimSubset, Unset_Type] = Unset - self._subsets: List[GsaSlimSubset] + self._subsets: list[GsaSlimSubset] self._default_layout: Union[GsaSlimLayout, Unset_Type] = Unset - self._layouts: List[GsaSlimLayout] + self._layouts: list[GsaSlimLayout] self._version_state: GsaVersionState self._is_hidden_from_browse: bool self._is_hidden_from_search: bool self._is_versioned: bool - self._table_types: List[str] - self._display_names: Dict[str, str] + self._table_types: list[str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -187,23 +187,23 @@ def default_subset(self, default_subset: "Union[GsaSlimSubset, Unset_Type]") -> self._default_subset = default_subset @property - def subsets(self) -> "List[GsaSlimSubset]": + def subsets(self) -> "list[GsaSlimSubset]": """Gets the subsets of this GsaTable. Returns ------- - List[GsaSlimSubset] + list[GsaSlimSubset] The subsets of this GsaTable. """ return self._subsets @subsets.setter - def subsets(self, subsets: "List[GsaSlimSubset]") -> None: + def subsets(self, subsets: "list[GsaSlimSubset]") -> None: """Sets the subsets of this GsaTable. Parameters ---------- - subsets: List[GsaSlimSubset] + subsets: list[GsaSlimSubset] The subsets of this GsaTable. """ # Field is not nullable @@ -240,23 +240,23 @@ def default_layout(self, default_layout: "Union[GsaSlimLayout, Unset_Type]") -> self._default_layout = default_layout @property - def layouts(self) -> "List[GsaSlimLayout]": + def layouts(self) -> "list[GsaSlimLayout]": """Gets the layouts of this GsaTable. Returns ------- - List[GsaSlimLayout] + list[GsaSlimLayout] The layouts of this GsaTable. """ return self._layouts @layouts.setter - def layouts(self, layouts: "List[GsaSlimLayout]") -> None: + def layouts(self, layouts: "list[GsaSlimLayout]") -> None: """Sets the layouts of this GsaTable. Parameters ---------- - layouts: List[GsaSlimLayout] + layouts: list[GsaSlimLayout] The layouts of this GsaTable. """ # Field is not nullable @@ -380,23 +380,23 @@ def is_versioned(self, is_versioned: "bool") -> None: self._is_versioned = is_versioned @property - def table_types(self) -> "List[str]": + def table_types(self) -> "list[str]": """Gets the table_types of this GsaTable. Returns ------- - List[str] + list[str] The table_types of this GsaTable. """ return self._table_types @table_types.setter - def table_types(self, table_types: "List[str]") -> None: + def table_types(self, table_types: "list[str]") -> None: """Sets the table_types of this GsaTable. Parameters ---------- - table_types: List[str] + table_types: list[str] The table_types of this GsaTable. """ # Field is not nullable @@ -408,23 +408,23 @@ def table_types(self, table_types: "List[str]") -> None: self._table_types = table_types @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaTable. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaTable. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaTable. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaTable. """ # Field is not nullable @@ -492,7 +492,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_deletion_exception.py index 30120393..77b8e976 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_deletion_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaTableDeletionException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaTableDeletionException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaDataModificationErrorDetail], optional + errors: list[GsaDataModificationErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,31 +153,31 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]": """Gets the errors of this GsaTableDeletionException. Returns ------- - Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaTableDeletionException. """ return self._errors @errors.setter def errors( - self, errors: "Union[List[GsaDataModificationErrorDetail], None, Unset_Type]" + self, errors: "Union[list[GsaDataModificationErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GsaTableDeletionException. Parameters ---------- - errors: Union[List[GsaDataModificationErrorDetail], None, Unset_Type] + errors: Union[list[GsaDataModificationErrorDetail], None, Unset_Type] The errors of this GsaTableDeletionException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_guid_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_guid_property.py index 0d016ac4..6de9fa65 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_guid_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_guid_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaTableGuidProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "table_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "table_guid": "tableGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def table_guid(self, table_guid: "Union[str, Unset_Type]") -> None: self._table_guid = table_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_identity_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_identity_property.py index 3ba436aa..46123136 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_identity_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_identity_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaTableIdentityProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "table_identity": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "table_identity": "tableIdentity", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def table_identity(self, table_identity: "Union[int, Unset_Type]") -> None: self._table_identity = table_identity @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_name_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_name_property.py index 59a63552..a07ecf0a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_name_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_table_name_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaTableNameProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "table_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "table_name": "tableName", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -119,7 +119,7 @@ def table_name(self, table_name: "Union[str, None, Unset_Type]") -> None: self._table_name = table_name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tables_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tables_info.py index 9d3c16f3..184aaec7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tables_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tables_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaTablesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "tables": "list[GsaSlimTable]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "tables": "tables", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "tables": "GsaSlimTable", } @@ -77,43 +77,43 @@ class GsaTablesInfo(ModelBase): def __init__( self, *, - tables: "Union[List[GsaSlimTable], None, Unset_Type]" = Unset, + tables: "Union[list[GsaSlimTable], None, Unset_Type]" = Unset, ) -> None: """GsaTablesInfo - a model defined in Swagger Parameters ---------- - tables: List[GsaSlimTable], optional + tables: list[GsaSlimTable], optional """ - self._tables: Union[List[GsaSlimTable], None, Unset_Type] = Unset + self._tables: Union[list[GsaSlimTable], None, Unset_Type] = Unset if tables is not Unset: self.tables = tables @property - def tables(self) -> "Union[List[GsaSlimTable], None, Unset_Type]": + def tables(self) -> "Union[list[GsaSlimTable], None, Unset_Type]": """Gets the tables of this GsaTablesInfo. Returns ------- - Union[List[GsaSlimTable], None, Unset_Type] + Union[list[GsaSlimTable], None, Unset_Type] The tables of this GsaTablesInfo. """ return self._tables @tables.setter - def tables(self, tables: "Union[List[GsaSlimTable], None, Unset_Type]") -> None: + def tables(self, tables: "Union[list[GsaSlimTable], None, Unset_Type]") -> None: """Sets the tables of this GsaTablesInfo. Parameters ---------- - tables: Union[List[GsaSlimTable], None, Unset_Type] + tables: Union[list[GsaSlimTable], None, Unset_Type] The tables of this GsaTablesInfo. """ self._tables = tables @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute.py index b82ae9f6..89962a2d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute import GsaAttribute # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType @@ -54,16 +54,16 @@ class GsaTabularAttribute(GsaAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_threshold_type": "GsaAttributeThresholdType", "display_full_table": "bool", "display_names": "dict(str, str)", @@ -82,7 +82,7 @@ class GsaTabularAttribute(GsaAttribute): "target": "GsaTabularAttributeTarget", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_threshold_type": "defaultThresholdType", "display_full_table": "displayFullTable", "display_names": "displayNames", @@ -101,7 +101,7 @@ class GsaTabularAttribute(GsaAttribute): "target": "target", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "target": "GsaTabularAttributeTarget", "tabularColumns": "GsaTabularColumn", } @@ -113,7 +113,7 @@ def __init__( *, default_threshold_type: "GsaAttributeThresholdType", display_full_table: "bool", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", display_summary_row_inline: "bool", guid: "str", hide_unlinked_rows: "bool", @@ -121,7 +121,7 @@ def __init__( is_hidden_from_search_criteria: "bool", name: "str", table: "GsaSlimEntity", - tabular_columns: "List[GsaTabularColumn]", + tabular_columns: "list[GsaTabularColumn]", type: "GsaAttributeType" = GsaAttributeType.LINK, about_attribute: "Union[GsaSlimTypedAttribute, Unset_Type]" = Unset, axis_name: "Union[str, None, Unset_Type]" = Unset, @@ -134,7 +134,7 @@ def __init__( ---------- default_threshold_type: GsaAttributeThresholdType display_full_table: bool - display_names: Dict[str, str] + display_names: dict[str, str] display_summary_row_inline: bool guid: str hide_unlinked_rows: bool @@ -142,7 +142,7 @@ def __init__( is_hidden_from_search_criteria: bool name: str table: GsaSlimEntity - tabular_columns: List[GsaTabularColumn] + tabular_columns: list[GsaTabularColumn] type: GsaAttributeType about_attribute: GsaSlimTypedAttribute, optional axis_name: str, optional @@ -166,7 +166,7 @@ def __init__( self._display_summary_row_inline: bool self._hide_unlinked_rows: bool self._target: Union[GsaTabularAttributeTarget, Unset_Type] = Unset - self._tabular_columns: List[GsaTabularColumn] + self._tabular_columns: list[GsaTabularColumn] self.display_full_table = display_full_table self.display_summary_row_inline = display_summary_row_inline @@ -285,23 +285,23 @@ def target(self, target: "Union[GsaTabularAttributeTarget, Unset_Type]") -> None self._target = target @property - def tabular_columns(self) -> "List[GsaTabularColumn]": + def tabular_columns(self) -> "list[GsaTabularColumn]": """Gets the tabular_columns of this GsaTabularAttribute. Returns ------- - List[GsaTabularColumn] + list[GsaTabularColumn] The tabular_columns of this GsaTabularAttribute. """ return self._tabular_columns @tabular_columns.setter - def tabular_columns(self, tabular_columns: "List[GsaTabularColumn]") -> None: + def tabular_columns(self, tabular_columns: "list[GsaTabularColumn]") -> None: """Sets the tabular_columns of this GsaTabularAttribute. Parameters ---------- - tabular_columns: List[GsaTabularColumn] + tabular_columns: list[GsaTabularColumn] The tabular_columns of this GsaTabularAttribute. """ # Field is not nullable @@ -313,7 +313,7 @@ def tabular_columns(self, tabular_columns: "List[GsaTabularColumn]") -> None: self._tabular_columns = tabular_columns @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_target.py index 6b97eca9..dd8e3cb1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_target.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaTabularAttributeTarget(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "target_attribute_guid": "str", "target_database_guid": "str", "target_database_version_guid": "str", "target_table_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "target_attribute_guid": "targetAttributeGuid", "target_database_guid": "targetDatabaseGuid", "target_database_version_guid": "targetDatabaseVersionGuid", "target_table_guid": "targetTableGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -212,7 +212,7 @@ def target_attribute_guid(self, target_attribute_guid: "Union[str, Unset_Type]") self._target_attribute_guid = target_attribute_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_usage_data_modification_error_detail.py index 7bc0ca0c..79624b34 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaTabularAttributeUsageDataModificationErrorDetail(GsaUsageDataModificati """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimAttribute]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimAttribute", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.TABULARATTRIBUTE, - referenced_by: "Union[List[GsaSlimAttribute], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimAttribute], None, Unset_Type]" = Unset, ) -> None: """GsaTabularAttributeUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimAttribute], optional + referenced_by: list[GsaSlimAttribute], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimAttribute], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimAttribute], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimAttribute], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimAttribute], None, Unset_Type]": """Gets the referenced_by of this GsaTabularAttributeUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimAttribute], None, Unset_Type] + Union[list[GsaSlimAttribute], None, Unset_Type] The referenced_by of this GsaTabularAttributeUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimAttribute], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimAttribute], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaTabularAttributeUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimAttribute], None, Unset_Type] + referenced_by: Union[list[GsaSlimAttribute], None, Unset_Type] The referenced_by of this GsaTabularAttributeUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_with_columns.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_with_columns.py index 542f97ef..85355cf4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_with_columns.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_attribute_with_columns.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaTabularAttributeWithColumns(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "columns": "list[GsaSlimNamedEntity]", "tabular_attribute": "GsaSlimAttribute", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "columns": "columns", "tabular_attribute": "tabularAttribute", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "tabularAttribute": "GsaSlimAttribute", "columns": "GsaSlimNamedEntity", } @@ -80,18 +80,18 @@ class GsaTabularAttributeWithColumns(ModelBase): def __init__( self, *, - columns: "List[GsaSlimNamedEntity]", + columns: "list[GsaSlimNamedEntity]", tabular_attribute: "GsaSlimAttribute", ) -> None: """GsaTabularAttributeWithColumns - a model defined in Swagger Parameters ---------- - columns: List[GsaSlimNamedEntity] + columns: list[GsaSlimNamedEntity] tabular_attribute: GsaSlimAttribute """ self._tabular_attribute: GsaSlimAttribute - self._columns: List[GsaSlimNamedEntity] + self._columns: list[GsaSlimNamedEntity] self.tabular_attribute = tabular_attribute self.columns = columns @@ -125,23 +125,23 @@ def tabular_attribute(self, tabular_attribute: "GsaSlimAttribute") -> None: self._tabular_attribute = tabular_attribute @property - def columns(self) -> "List[GsaSlimNamedEntity]": + def columns(self) -> "list[GsaSlimNamedEntity]": """Gets the columns of this GsaTabularAttributeWithColumns. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The columns of this GsaTabularAttributeWithColumns. """ return self._columns @columns.setter - def columns(self, columns: "List[GsaSlimNamedEntity]") -> None: + def columns(self, columns: "list[GsaSlimNamedEntity]") -> None: """Sets the columns of this GsaTabularAttributeWithColumns. Parameters ---------- - columns: List[GsaSlimNamedEntity] + columns: list[GsaSlimNamedEntity] The columns of this GsaTabularAttributeWithColumns. """ # Field is not nullable @@ -153,7 +153,7 @@ def columns(self, columns: "List[GsaSlimNamedEntity]") -> None: self._columns = columns @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_column.py index 48beb114..3a946c7d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaTabularColumn(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "display_names": "dict(str, str)", "guid": "str", @@ -74,7 +74,7 @@ class GsaTabularColumn(ModelBase): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "display_names": "displayNames", "guid": "guid", @@ -86,7 +86,7 @@ class GsaTabularColumn(ModelBase): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "columnType": "GsaTabularColumnDtoType", "rollUpType": "GsaTabularColumnRollUpType", "summaryRowRollUpType": "GsaTabularColumnRollUpType", @@ -116,7 +116,7 @@ def __init__( self, *, column_type: "GsaTabularColumnDtoType", - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -130,7 +130,7 @@ def __init__( Parameters ---------- column_type: GsaTabularColumnDtoType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -145,7 +145,7 @@ def __init__( self._summary_row_text: str self._roll_up_type: GsaTabularColumnRollUpType self._summary_row_roll_up_type: GsaTabularColumnRollUpType - self._display_names: Dict[str, str] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -330,23 +330,23 @@ def summary_row_roll_up_type( self._summary_row_roll_up_type = summary_row_roll_up_type @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaTabularColumn. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaTabularColumn. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaTabularColumn. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaTabularColumn. """ # Field is not nullable @@ -414,7 +414,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum.py index be4f9565..ee80f6d3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_applicable_datum import ( # noqa: F401 GsaApplicableDatum, @@ -56,30 +56,30 @@ class GsaTabularDatum(GsaApplicableDatum): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "datum_type": "GsaDatumType", "not_applicable": "str", "rows": "list[GsaTabularDatumRow]", "summary_row": "GsaTabularDatumSummaryRow", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "datum_type": "datumType", "not_applicable": "notApplicable", "rows": "rows", "summary_row": "summaryRow", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "rows": "GsaTabularDatumRow", "summaryRow": "GsaTabularDatumSummaryRow", } @@ -91,7 +91,7 @@ def __init__( *, datum_type: "GsaDatumType" = GsaDatumType.TABULAR, not_applicable: "str" = "applicable", - rows: "List[GsaTabularDatumRow]", + rows: "list[GsaTabularDatumRow]", summary_row: "Union[GsaTabularDatumSummaryRow, Unset_Type]" = Unset, ) -> None: """GsaTabularDatum - a model defined in Swagger @@ -100,11 +100,11 @@ def __init__( ---------- datum_type: GsaDatumType not_applicable: str - rows: List[GsaTabularDatumRow] + rows: list[GsaTabularDatumRow] summary_row: GsaTabularDatumSummaryRow, optional """ super().__init__(datum_type=datum_type, not_applicable=not_applicable) - self._rows: List[GsaTabularDatumRow] + self._rows: list[GsaTabularDatumRow] self._summary_row: Union[GsaTabularDatumSummaryRow, Unset_Type] = Unset self.rows = rows @@ -112,23 +112,23 @@ def __init__( self.summary_row = summary_row @property - def rows(self) -> "List[GsaTabularDatumRow]": + def rows(self) -> "list[GsaTabularDatumRow]": """Gets the rows of this GsaTabularDatum. Returns ------- - List[GsaTabularDatumRow] + list[GsaTabularDatumRow] The rows of this GsaTabularDatum. """ return self._rows @rows.setter - def rows(self, rows: "List[GsaTabularDatumRow]") -> None: + def rows(self, rows: "list[GsaTabularDatumRow]") -> None: """Sets the rows of this GsaTabularDatum. Parameters ---------- - rows: List[GsaTabularDatumRow] + rows: list[GsaTabularDatumRow] The rows of this GsaTabularDatum. """ # Field is not nullable @@ -165,7 +165,7 @@ def summary_row(self, summary_row: "Union[GsaTabularDatumSummaryRow, Unset_Type] self._summary_row = summary_row @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_cell.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_cell.py index dca540b2..97c2a72a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_cell.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_cell.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaTabularDatumCell(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column": "GsaSlimEntity", "cell_datum": "GsaDatum", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column": "column", "cell_datum": "cellDatum", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "column": "GsaSlimEntity", "cellDatum": "GsaDatum", } @@ -151,7 +151,7 @@ def cell_datum(self, cell_datum: "Union[GsaDatum, Unset_Type]") -> None: self._cell_datum = cell_datum @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_exists_criterion.py index a5ed663a..678b1f2a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_exists_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_datum_exists_criterion import ( # noqa: F401 @@ -56,24 +56,24 @@ class GsaTabularDatumExistsCriterion(GsaDatumExistsCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -91,7 +91,7 @@ def __init__( super().__init__(type=type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_rollup_cell.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_rollup_cell.py index 187ab357..48e008e5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_rollup_cell.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_rollup_cell.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaTabularDatumRollupCell(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_guid": "str", "datum_rollup": "GsaDatumRollup", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_guid": "columnGuid", "datum_rollup": "datumRollup", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "datumRollup": "GsaDatumRollup", } @@ -150,7 +150,7 @@ def datum_rollup(self, datum_rollup: "Union[GsaDatumRollup, Unset_Type]") -> Non self._datum_rollup = datum_rollup @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_row.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_row.py index 4c9d0027..a5cc5b0c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_row.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_row.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaTabularDatumRow(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "cells": "list[GsaTabularDatumCell]", "guid": "str", "linking_value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "cells": "cells", "guid": "guid", "linking_value": "linkingValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "cells": "GsaTabularDatumCell", } @@ -81,7 +81,7 @@ class GsaTabularDatumRow(ModelBase): def __init__( self, *, - cells: "List[GsaTabularDatumCell]", + cells: "list[GsaTabularDatumCell]", guid: "str", linking_value: "Union[str, None, Unset_Type]" = Unset, ) -> None: @@ -89,12 +89,12 @@ def __init__( Parameters ---------- - cells: List[GsaTabularDatumCell] + cells: list[GsaTabularDatumCell] guid: str linking_value: str, optional """ self._guid: str - self._cells: List[GsaTabularDatumCell] + self._cells: list[GsaTabularDatumCell] self._linking_value: Union[str, None, Unset_Type] = Unset self.guid = guid @@ -131,23 +131,23 @@ def guid(self, guid: "str") -> None: self._guid = guid @property - def cells(self) -> "List[GsaTabularDatumCell]": + def cells(self) -> "list[GsaTabularDatumCell]": """Gets the cells of this GsaTabularDatumRow. Returns ------- - List[GsaTabularDatumCell] + list[GsaTabularDatumCell] The cells of this GsaTabularDatumRow. """ return self._cells @cells.setter - def cells(self, cells: "List[GsaTabularDatumCell]") -> None: + def cells(self, cells: "list[GsaTabularDatumCell]") -> None: """Sets the cells of this GsaTabularDatumRow. Parameters ---------- - cells: List[GsaTabularDatumCell] + cells: list[GsaTabularDatumCell] The cells of this GsaTabularDatumRow. """ # Field is not nullable @@ -181,7 +181,7 @@ def linking_value(self, linking_value: "Union[str, None, Unset_Type]") -> None: self._linking_value = linking_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_summary_row.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_summary_row.py index 15cfab3a..6d183e27 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_summary_row.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_datum_summary_row.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaTabularDatumSummaryRow(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "cells": "list[GsaTabularDatumRollupCell]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "cells": "cells", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "cells": "GsaTabularDatumRollupCell", } @@ -77,36 +77,36 @@ class GsaTabularDatumSummaryRow(ModelBase): def __init__( self, *, - cells: "List[GsaTabularDatumRollupCell]", + cells: "list[GsaTabularDatumRollupCell]", ) -> None: """GsaTabularDatumSummaryRow - a model defined in Swagger Parameters ---------- - cells: List[GsaTabularDatumRollupCell] + cells: list[GsaTabularDatumRollupCell] """ - self._cells: List[GsaTabularDatumRollupCell] + self._cells: list[GsaTabularDatumRollupCell] self.cells = cells @property - def cells(self) -> "List[GsaTabularDatumRollupCell]": + def cells(self) -> "list[GsaTabularDatumRollupCell]": """Gets the cells of this GsaTabularDatumSummaryRow. Returns ------- - List[GsaTabularDatumRollupCell] + list[GsaTabularDatumRollupCell] The cells of this GsaTabularDatumSummaryRow. """ return self._cells @cells.setter - def cells(self, cells: "List[GsaTabularDatumRollupCell]") -> None: + def cells(self, cells: "list[GsaTabularDatumRollupCell]") -> None: """Sets the cells of this GsaTabularDatumSummaryRow. Parameters ---------- - cells: List[GsaTabularDatumRollupCell] + cells: list[GsaTabularDatumRollupCell] The cells of this GsaTabularDatumSummaryRow. """ # Field is not nullable @@ -118,7 +118,7 @@ def cells(self, cells: "List[GsaTabularDatumRollupCell]") -> None: self._cells = cells @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_linking_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_linking_value_criterion.py index 8885d1ea..38facf64 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_linking_value_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_tabular_linking_value_criterion.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion import GsaCriterion # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_criterion_type import GsaCriterionType @@ -54,28 +54,28 @@ class GsaTabularLinkingValueCriterion(GsaCriterion): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaCriterionType", "values": "list[str]", "linking_value_match_behavior": "GsaLinkingValueMatchBehavior", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "values": "values", "linking_value_match_behavior": "linkingValueMatchBehavior", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkingValueMatchBehavior": "GsaLinkingValueMatchBehavior", } @@ -85,7 +85,7 @@ def __init__( self, *, type: "GsaCriterionType" = GsaCriterionType.TABULARLINKINGVALUE, - values: "List[str]", + values: "list[str]", linking_value_match_behavior: "Union[GsaLinkingValueMatchBehavior, Unset_Type]" = Unset, ) -> None: """GsaTabularLinkingValueCriterion - a model defined in Swagger @@ -93,11 +93,11 @@ def __init__( Parameters ---------- type: GsaCriterionType - values: List[str] + values: list[str] linking_value_match_behavior: GsaLinkingValueMatchBehavior, optional """ super().__init__(type=type) - self._values: List[str] + self._values: list[str] self._linking_value_match_behavior: Union[GsaLinkingValueMatchBehavior, Unset_Type] = Unset self.values = values @@ -105,23 +105,23 @@ def __init__( self.linking_value_match_behavior = linking_value_match_behavior @property - def values(self) -> "List[str]": + def values(self) -> "list[str]": """Gets the values of this GsaTabularLinkingValueCriterion. Returns ------- - List[str] + list[str] The values of this GsaTabularLinkingValueCriterion. """ return self._values @values.setter - def values(self, values: "List[str]") -> None: + def values(self, values: "list[str]") -> None: """Sets the values of this GsaTabularLinkingValueCriterion. Parameters ---------- - values: List[str] + values: list[str] The values of this GsaTabularLinkingValueCriterion. """ # Field is not nullable @@ -160,7 +160,7 @@ def linking_value_match_behavior( self._linking_value_match_behavior = linking_value_match_behavior @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_term_with_count.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_term_with_count.py index bf6f4e6d..7d618fce 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_term_with_count.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_term_with_count.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaTermWithCount(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "term": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "term": "term", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -143,7 +143,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unavailable_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unavailable_tabular_column.py index c311d086..80ab8917 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unavailable_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unavailable_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column import ( # noqa: F401 GsaTabularColumn, @@ -58,16 +58,16 @@ class GsaUnavailableTabularColumn(GsaTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "display_names": "dict(str, str)", "guid": "str", @@ -79,7 +79,7 @@ class GsaUnavailableTabularColumn(GsaTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "display_names": "displayNames", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUnavailableTabularColumn(GsaTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( self, *, column_type: "GsaTabularColumnDtoType" = GsaTabularColumnDtoType.UNAVAILABLE, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", roll_up_type: "GsaTabularColumnRollUpType", @@ -113,7 +113,7 @@ def __init__( Parameters ---------- column_type: GsaTabularColumnDtoType - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str roll_up_type: GsaTabularColumnRollUpType @@ -135,7 +135,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit.py index 31e8dcda..63042d83 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUnit(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "symbol": "str", @@ -68,7 +68,7 @@ class GsaUnit(ModelBase): "relative_symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "symbol": "symbol", @@ -76,7 +76,7 @@ class GsaUnit(ModelBase): "relative_symbol": "relativeSymbol", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -242,7 +242,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalent.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalent.py index 229bbff7..5f49790f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalent.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalent.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUnitEquivalent(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "equivalent_unit": "GsaUnit", "unit": "GsaUnit", "unit_system": "GsaUnitSystem", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "equivalent_unit": "equivalentUnit", "unit": "unit", "unit_system": "unitSystem", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaUnit", "unitSystem": "GsaUnitSystem", "equivalentUnit": "GsaUnit", @@ -188,7 +188,7 @@ def equivalent_unit(self, equivalent_unit: "GsaUnit") -> None: self._equivalent_unit = equivalent_unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalents_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalents_info.py index b7011e97..98a6c21f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalents_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_equivalents_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaUnitEquivalentsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "unit_equivalents": "list[GsaUnitEquivalent]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "unit_equivalents": "unitEquivalents", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unitEquivalents": "GsaUnitEquivalent", } @@ -77,45 +77,45 @@ class GsaUnitEquivalentsInfo(ModelBase): def __init__( self, *, - unit_equivalents: "Union[List[GsaUnitEquivalent], None, Unset_Type]" = Unset, + unit_equivalents: "Union[list[GsaUnitEquivalent], None, Unset_Type]" = Unset, ) -> None: """GsaUnitEquivalentsInfo - a model defined in Swagger Parameters ---------- - unit_equivalents: List[GsaUnitEquivalent], optional + unit_equivalents: list[GsaUnitEquivalent], optional """ - self._unit_equivalents: Union[List[GsaUnitEquivalent], None, Unset_Type] = Unset + self._unit_equivalents: Union[list[GsaUnitEquivalent], None, Unset_Type] = Unset if unit_equivalents is not Unset: self.unit_equivalents = unit_equivalents @property - def unit_equivalents(self) -> "Union[List[GsaUnitEquivalent], None, Unset_Type]": + def unit_equivalents(self) -> "Union[list[GsaUnitEquivalent], None, Unset_Type]": """Gets the unit_equivalents of this GsaUnitEquivalentsInfo. Returns ------- - Union[List[GsaUnitEquivalent], None, Unset_Type] + Union[list[GsaUnitEquivalent], None, Unset_Type] The unit_equivalents of this GsaUnitEquivalentsInfo. """ return self._unit_equivalents @unit_equivalents.setter def unit_equivalents( - self, unit_equivalents: "Union[List[GsaUnitEquivalent], None, Unset_Type]" + self, unit_equivalents: "Union[list[GsaUnitEquivalent], None, Unset_Type]" ) -> None: """Sets the unit_equivalents of this GsaUnitEquivalentsInfo. Parameters ---------- - unit_equivalents: Union[List[GsaUnitEquivalent], None, Unset_Type] + unit_equivalents: Union[list[GsaUnitEquivalent], None, Unset_Type] The unit_equivalents of this GsaUnitEquivalentsInfo. """ self._unit_equivalents = unit_equivalents @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_mapping.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_mapping.py index f82b6906..1a9923e7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_mapping.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_mapping.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaUnitMapping(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "equivalent_unit": "GsaSlimUnit", "unit": "GsaSlimUnit", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "equivalent_unit": "equivalentUnit", "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimUnit", "equivalentUnit": "GsaSlimUnit", } @@ -153,7 +153,7 @@ def equivalent_unit(self, equivalent_unit: "GsaSlimUnit") -> None: self._equivalent_unit = equivalent_unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_system.py index 66198213..b79aa954 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_system.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUnitSystem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", "name": "str", "unit_mappings": "list[GsaUnitMapping]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_names": "displayNames", "guid": "guid", "name": "name", "unit_mappings": "unitMappings", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unitMappings": "GsaUnitMapping", } @@ -83,22 +83,22 @@ class GsaUnitSystem(ModelBase): def __init__( self, *, - display_names: "Dict[str, str]", + display_names: "dict[str, str]", guid: "str", name: "str", - unit_mappings: "List[GsaUnitMapping]", + unit_mappings: "list[GsaUnitMapping]", ) -> None: """GsaUnitSystem - a model defined in Swagger Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] guid: str name: str - unit_mappings: List[GsaUnitMapping] + unit_mappings: list[GsaUnitMapping] """ - self._unit_mappings: List[GsaUnitMapping] - self._display_names: Dict[str, str] + self._unit_mappings: list[GsaUnitMapping] + self._display_names: dict[str, str] self._name: str self._guid: str @@ -108,23 +108,23 @@ def __init__( self.guid = guid @property - def unit_mappings(self) -> "List[GsaUnitMapping]": + def unit_mappings(self) -> "list[GsaUnitMapping]": """Gets the unit_mappings of this GsaUnitSystem. Returns ------- - List[GsaUnitMapping] + list[GsaUnitMapping] The unit_mappings of this GsaUnitSystem. """ return self._unit_mappings @unit_mappings.setter - def unit_mappings(self, unit_mappings: "List[GsaUnitMapping]") -> None: + def unit_mappings(self, unit_mappings: "list[GsaUnitMapping]") -> None: """Sets the unit_mappings of this GsaUnitSystem. Parameters ---------- - unit_mappings: List[GsaUnitMapping] + unit_mappings: list[GsaUnitMapping] The unit_mappings of this GsaUnitSystem. """ # Field is not nullable @@ -136,23 +136,23 @@ def unit_mappings(self, unit_mappings: "List[GsaUnitMapping]") -> None: self._unit_mappings = unit_mappings @property - def display_names(self) -> "Dict[str, str]": + def display_names(self) -> "dict[str, str]": """Gets the display_names of this GsaUnitSystem. Returns ------- - Dict[str, str] + dict[str, str] The display_names of this GsaUnitSystem. """ return self._display_names @display_names.setter - def display_names(self, display_names: "Dict[str, str]") -> None: + def display_names(self, display_names: "dict[str, str]") -> None: """Sets the display_names of this GsaUnitSystem. Parameters ---------- - display_names: Dict[str, str] + display_names: dict[str, str] The display_names of this GsaUnitSystem. """ # Field is not nullable @@ -220,7 +220,7 @@ def guid(self, guid: "str") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_systems_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_systems_info.py index a78e17c7..d42e6fd4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_systems_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_systems_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaUnitSystemsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "unit_systems": "list[GsaSlimUnitSystem]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "unit_systems": "unitSystems", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unitSystems": "GsaSlimUnitSystem", } @@ -77,45 +77,45 @@ class GsaUnitSystemsInfo(ModelBase): def __init__( self, *, - unit_systems: "Union[List[GsaSlimUnitSystem], None, Unset_Type]" = Unset, + unit_systems: "Union[list[GsaSlimUnitSystem], None, Unset_Type]" = Unset, ) -> None: """GsaUnitSystemsInfo - a model defined in Swagger Parameters ---------- - unit_systems: List[GsaSlimUnitSystem], optional + unit_systems: list[GsaSlimUnitSystem], optional """ - self._unit_systems: Union[List[GsaSlimUnitSystem], None, Unset_Type] = Unset + self._unit_systems: Union[list[GsaSlimUnitSystem], None, Unset_Type] = Unset if unit_systems is not Unset: self.unit_systems = unit_systems @property - def unit_systems(self) -> "Union[List[GsaSlimUnitSystem], None, Unset_Type]": + def unit_systems(self) -> "Union[list[GsaSlimUnitSystem], None, Unset_Type]": """Gets the unit_systems of this GsaUnitSystemsInfo. Returns ------- - Union[List[GsaSlimUnitSystem], None, Unset_Type] + Union[list[GsaSlimUnitSystem], None, Unset_Type] The unit_systems of this GsaUnitSystemsInfo. """ return self._unit_systems @unit_systems.setter def unit_systems( - self, unit_systems: "Union[List[GsaSlimUnitSystem], None, Unset_Type]" + self, unit_systems: "Union[list[GsaSlimUnitSystem], None, Unset_Type]" ) -> None: """Sets the unit_systems of this GsaUnitSystemsInfo. Parameters ---------- - unit_systems: Union[List[GsaSlimUnitSystem], None, Unset_Type] + unit_systems: Union[list[GsaSlimUnitSystem], None, Unset_Type] The unit_systems of this GsaUnitSystemsInfo. """ self._unit_systems = unit_systems @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_usage.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_usage.py index 1f845b8e..ad45a911 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_usage.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_unit_usage.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUnitUsage(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "attributes": "list[GsaSlimNamedEntity]", "constants": "list[GsaSlimNamedEntity]", "expressions": "list[GsaSlimNamedEntity]", @@ -68,7 +68,7 @@ class GsaUnitUsage(ModelBase): "units": "list[GsaSlimUnit]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "attributes": "attributes", "constants": "constants", "expressions": "expressions", @@ -76,7 +76,7 @@ class GsaUnitUsage(ModelBase): "units": "units", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributes": "GsaSlimNamedEntity", "parameters": "GsaSlimNamedEntity", "constants": "GsaSlimNamedEntity", @@ -89,27 +89,27 @@ class GsaUnitUsage(ModelBase): def __init__( self, *, - attributes: "List[GsaSlimNamedEntity]", - constants: "List[GsaSlimNamedEntity]", - expressions: "List[GsaSlimNamedEntity]", - parameters: "List[GsaSlimNamedEntity]", - units: "List[GsaSlimUnit]", + attributes: "list[GsaSlimNamedEntity]", + constants: "list[GsaSlimNamedEntity]", + expressions: "list[GsaSlimNamedEntity]", + parameters: "list[GsaSlimNamedEntity]", + units: "list[GsaSlimUnit]", ) -> None: """GsaUnitUsage - a model defined in Swagger Parameters ---------- - attributes: List[GsaSlimNamedEntity] - constants: List[GsaSlimNamedEntity] - expressions: List[GsaSlimNamedEntity] - parameters: List[GsaSlimNamedEntity] - units: List[GsaSlimUnit] + attributes: list[GsaSlimNamedEntity] + constants: list[GsaSlimNamedEntity] + expressions: list[GsaSlimNamedEntity] + parameters: list[GsaSlimNamedEntity] + units: list[GsaSlimUnit] """ - self._attributes: List[GsaSlimNamedEntity] - self._parameters: List[GsaSlimNamedEntity] - self._constants: List[GsaSlimNamedEntity] - self._expressions: List[GsaSlimNamedEntity] - self._units: List[GsaSlimUnit] + self._attributes: list[GsaSlimNamedEntity] + self._parameters: list[GsaSlimNamedEntity] + self._constants: list[GsaSlimNamedEntity] + self._expressions: list[GsaSlimNamedEntity] + self._units: list[GsaSlimUnit] self.attributes = attributes self.parameters = parameters @@ -118,23 +118,23 @@ def __init__( self.units = units @property - def attributes(self) -> "List[GsaSlimNamedEntity]": + def attributes(self) -> "list[GsaSlimNamedEntity]": """Gets the attributes of this GsaUnitUsage. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The attributes of this GsaUnitUsage. """ return self._attributes @attributes.setter - def attributes(self, attributes: "List[GsaSlimNamedEntity]") -> None: + def attributes(self, attributes: "list[GsaSlimNamedEntity]") -> None: """Sets the attributes of this GsaUnitUsage. Parameters ---------- - attributes: List[GsaSlimNamedEntity] + attributes: list[GsaSlimNamedEntity] The attributes of this GsaUnitUsage. """ # Field is not nullable @@ -146,23 +146,23 @@ def attributes(self, attributes: "List[GsaSlimNamedEntity]") -> None: self._attributes = attributes @property - def parameters(self) -> "List[GsaSlimNamedEntity]": + def parameters(self) -> "list[GsaSlimNamedEntity]": """Gets the parameters of this GsaUnitUsage. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The parameters of this GsaUnitUsage. """ return self._parameters @parameters.setter - def parameters(self, parameters: "List[GsaSlimNamedEntity]") -> None: + def parameters(self, parameters: "list[GsaSlimNamedEntity]") -> None: """Sets the parameters of this GsaUnitUsage. Parameters ---------- - parameters: List[GsaSlimNamedEntity] + parameters: list[GsaSlimNamedEntity] The parameters of this GsaUnitUsage. """ # Field is not nullable @@ -174,23 +174,23 @@ def parameters(self, parameters: "List[GsaSlimNamedEntity]") -> None: self._parameters = parameters @property - def constants(self) -> "List[GsaSlimNamedEntity]": + def constants(self) -> "list[GsaSlimNamedEntity]": """Gets the constants of this GsaUnitUsage. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The constants of this GsaUnitUsage. """ return self._constants @constants.setter - def constants(self, constants: "List[GsaSlimNamedEntity]") -> None: + def constants(self, constants: "list[GsaSlimNamedEntity]") -> None: """Sets the constants of this GsaUnitUsage. Parameters ---------- - constants: List[GsaSlimNamedEntity] + constants: list[GsaSlimNamedEntity] The constants of this GsaUnitUsage. """ # Field is not nullable @@ -202,23 +202,23 @@ def constants(self, constants: "List[GsaSlimNamedEntity]") -> None: self._constants = constants @property - def expressions(self) -> "List[GsaSlimNamedEntity]": + def expressions(self) -> "list[GsaSlimNamedEntity]": """Gets the expressions of this GsaUnitUsage. Returns ------- - List[GsaSlimNamedEntity] + list[GsaSlimNamedEntity] The expressions of this GsaUnitUsage. """ return self._expressions @expressions.setter - def expressions(self, expressions: "List[GsaSlimNamedEntity]") -> None: + def expressions(self, expressions: "list[GsaSlimNamedEntity]") -> None: """Sets the expressions of this GsaUnitUsage. Parameters ---------- - expressions: List[GsaSlimNamedEntity] + expressions: list[GsaSlimNamedEntity] The expressions of this GsaUnitUsage. """ # Field is not nullable @@ -230,23 +230,23 @@ def expressions(self, expressions: "List[GsaSlimNamedEntity]") -> None: self._expressions = expressions @property - def units(self) -> "List[GsaSlimUnit]": + def units(self) -> "list[GsaSlimUnit]": """Gets the units of this GsaUnitUsage. Returns ------- - List[GsaSlimUnit] + list[GsaSlimUnit] The units of this GsaUnitUsage. """ return self._units @units.setter - def units(self, units: "List[GsaSlimUnit]") -> None: + def units(self, units: "list[GsaSlimUnit]") -> None: """Sets the units of this GsaUnitUsage. Parameters ---------- - units: List[GsaSlimUnit] + units: list[GsaSlimUnit] The units of this GsaUnitUsage. """ # Field is not nullable @@ -258,7 +258,7 @@ def units(self, units: "List[GsaSlimUnit]") -> None: self._units = units @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_units_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_units_info.py index db9da894..e1e78196 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_units_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_units_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaUnitsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "units": "list[GsaSlimNamedUnit]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "units": "units", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "units": "GsaSlimNamedUnit", } @@ -77,43 +77,43 @@ class GsaUnitsInfo(ModelBase): def __init__( self, *, - units: "Union[List[GsaSlimNamedUnit], None, Unset_Type]" = Unset, + units: "Union[list[GsaSlimNamedUnit], None, Unset_Type]" = Unset, ) -> None: """GsaUnitsInfo - a model defined in Swagger Parameters ---------- - units: List[GsaSlimNamedUnit], optional + units: list[GsaSlimNamedUnit], optional """ - self._units: Union[List[GsaSlimNamedUnit], None, Unset_Type] = Unset + self._units: Union[list[GsaSlimNamedUnit], None, Unset_Type] = Unset if units is not Unset: self.units = units @property - def units(self) -> "Union[List[GsaSlimNamedUnit], None, Unset_Type]": + def units(self) -> "Union[list[GsaSlimNamedUnit], None, Unset_Type]": """Gets the units of this GsaUnitsInfo. Returns ------- - Union[List[GsaSlimNamedUnit], None, Unset_Type] + Union[list[GsaSlimNamedUnit], None, Unset_Type] The units of this GsaUnitsInfo. """ return self._units @units.setter - def units(self, units: "Union[List[GsaSlimNamedUnit], None, Unset_Type]") -> None: + def units(self, units: "Union[list[GsaSlimNamedUnit], None, Unset_Type]") -> None: """Sets the units of this GsaUnitsInfo. Parameters ---------- - units: Union[List[GsaSlimNamedUnit], None, Unset_Type] + units: Union[list[GsaSlimNamedUnit], None, Unset_Type] The units of this GsaUnitsInfo. """ self._units = units @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_all_profiles_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_all_profiles_info.py index b853eb43..ae5cd339 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_all_profiles_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_all_profiles_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaUpdateAllProfilesInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_profile": "GsaUpdateDefaultProfile", "profiles": "list[GsaSlimEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_profile": "defaultProfile", "profiles": "profiles", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "profiles": "GsaSlimEntity", "defaultProfile": "GsaUpdateDefaultProfile", } @@ -81,16 +81,16 @@ def __init__( self, *, default_profile: "Union[GsaUpdateDefaultProfile, Unset_Type]" = Unset, - profiles: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + profiles: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, ) -> None: """GsaUpdateAllProfilesInfo - a model defined in Swagger Parameters ---------- default_profile: GsaUpdateDefaultProfile, optional - profiles: List[GsaSlimEntity], optional + profiles: list[GsaSlimEntity], optional """ - self._profiles: Union[List[GsaSlimEntity], None, Unset_Type] = Unset + self._profiles: Union[list[GsaSlimEntity], None, Unset_Type] = Unset self._default_profile: Union[GsaUpdateDefaultProfile, Unset_Type] = Unset if profiles is not Unset: @@ -99,23 +99,23 @@ def __init__( self.default_profile = default_profile @property - def profiles(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def profiles(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the profiles of this GsaUpdateAllProfilesInfo. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The profiles of this GsaUpdateAllProfilesInfo. """ return self._profiles @profiles.setter - def profiles(self, profiles: "Union[List[GsaSlimEntity], None, Unset_Type]") -> None: + def profiles(self, profiles: "Union[list[GsaSlimEntity], None, Unset_Type]") -> None: """Sets the profiles of this GsaUpdateAllProfilesInfo. Parameters ---------- - profiles: Union[List[GsaSlimEntity], None, Unset_Type] + profiles: Union[list[GsaSlimEntity], None, Unset_Type] The profiles of this GsaUpdateAllProfilesInfo. """ self._profiles = profiles @@ -148,7 +148,7 @@ def default_profile( self._default_profile = default_profile @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_attribute.py index 3f4c0c1f..c485dfee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaUpdateAttribute(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -73,7 +73,7 @@ class GsaUpdateAttribute(ModelBase): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -84,7 +84,7 @@ class GsaUpdateAttribute(ModelBase): "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaAttributeType", "defaultThresholdType": "GsaAttributeThresholdType", "aboutAttribute": "GsaSlimEntity", @@ -361,7 +361,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_configuration.py index ee4b8f4b..e327dd2b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_configuration.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUpdateConfiguration(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "guid": "str", "name": "str", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "guid": "guid", "name": "name", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -207,7 +207,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_constant.py index c5665408..b180718d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_constant.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUpdateConstant(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "unit_guid": "str", "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "unit_guid": "unitGuid", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -207,7 +207,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_continuous_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_continuous_range.py index fb68e559..ba5c04c1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_continuous_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_continuous_range.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaUpdateContinuousRange(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "high_value": "float", "low_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "high_value": "highValue", "low_value": "lowValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -140,7 +140,7 @@ def high_value(self, high_value: "Union[float, None, Unset_Type]") -> None: self._high_value = high_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_cross_database_record_link_group.py index 4659e2f4..2fc4cf89 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_cross_database_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_cross_database_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_link_group_type import ( GsaRecordLinkGroupType, @@ -58,16 +58,16 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaRecordLinkGroupType", "guid": "str", "include_indirect_links": "bool", @@ -75,7 +75,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup): "reverse_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", "include_indirect_links": "includeIndirectLinks", @@ -83,7 +83,7 @@ class GsaUpdateCrossDatabaseRecordLinkGroup(GsaUpdateRecordLinkGroup): "reverse_name": "reverseName", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -138,7 +138,7 @@ def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type self._include_indirect_links = include_indirect_links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_data_rule.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_data_rule.py index 122703aa..d5aaab48 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_data_rule.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_data_rule.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUpdateDataRule(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "guid": "str", "name": "str", "regular_expression": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "guid": "guid", "name": "name", "regular_expression": "regularExpression", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -210,7 +210,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_database.py index e1a9ebfb..8e2cd855 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_database.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUpdateDatabase(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "additional_sql_parameters": "str", "author": "str", "company": "str", @@ -80,7 +80,7 @@ class GsaUpdateDatabase(ModelBase): "version_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "additional_sql_parameters": "additionalSqlParameters", "author": "author", "company": "company", @@ -100,7 +100,7 @@ class GsaUpdateDatabase(ModelBase): "version_guid": "versionGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -628,7 +628,7 @@ def loading_order(self, loading_order: "Union[int, Unset_Type]") -> None: self._loading_order = loading_order @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_date_time_attribute.py index d16b4ead..2e655e0c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_date_time_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -76,7 +76,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -87,7 +87,7 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_default_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_default_profile.py index e9af12b4..a3a1c8a9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_default_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_default_profile.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaUpdateDefaultProfile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "key": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "key": "key", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -118,7 +118,7 @@ def key(self, key: "str") -> None: self._key = key @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_attribute.py index c638d261..c887271e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -77,7 +77,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -89,7 +89,7 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -161,7 +161,7 @@ def is_multi_valued(self, is_multi_valued: "Union[bool, Unset_Type]") -> None: self._is_multi_valued = is_multi_valued @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute.py index 85c6843a..5a13203b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "attribute_parameters": "list[GsaUpdateDiscreteFunctionalAttributeParameter]", @@ -77,7 +77,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "attribute_parameters": "attributeParameters", @@ -89,7 +89,7 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "attributeParameters": "GsaUpdateDiscreteFunctionalAttributeParameter", } @@ -100,7 +100,7 @@ def __init__( *, type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL, about_attribute: "Union[GsaSlimEntity, Unset_Type]" = Unset, - attribute_parameters: "Union[List[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type]" = Unset, + attribute_parameters: "Union[list[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type]" = Unset, axis_name: "Union[str, None, Unset_Type]" = Unset, default_threshold_type: "Union[GsaAttributeThresholdType, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, @@ -114,7 +114,7 @@ def __init__( ---------- type: GsaAttributeType about_attribute: GsaSlimEntity, optional - attribute_parameters: List[GsaUpdateDiscreteFunctionalAttributeParameter], optional + attribute_parameters: list[GsaUpdateDiscreteFunctionalAttributeParameter], optional axis_name: str, optional default_threshold_type: GsaAttributeThresholdType, optional guid: str, optional @@ -133,7 +133,7 @@ def __init__( name=name, ) self._attribute_parameters: Union[ - List[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type + list[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type ] = Unset if attribute_parameters is not Unset: @@ -142,12 +142,12 @@ def __init__( @property def attribute_parameters( self, - ) -> "Union[List[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type]": + ) -> "Union[list[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type]": """Gets the attribute_parameters of this GsaUpdateDiscreteFunctionalAttribute. Returns ------- - Union[List[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type] + Union[list[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type] The attribute_parameters of this GsaUpdateDiscreteFunctionalAttribute. """ return self._attribute_parameters @@ -155,13 +155,13 @@ def attribute_parameters( @attribute_parameters.setter def attribute_parameters( self, - attribute_parameters: "Union[List[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type]", + attribute_parameters: "Union[list[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type]", ) -> None: """Sets the attribute_parameters of this GsaUpdateDiscreteFunctionalAttribute. Parameters ---------- - attribute_parameters: Union[List[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type] + attribute_parameters: Union[list[GsaUpdateDiscreteFunctionalAttributeParameter], Unset_Type] The attribute_parameters of this GsaUpdateDiscreteFunctionalAttribute. """ # Field is not nullable @@ -170,7 +170,7 @@ def attribute_parameters( self._attribute_parameters = attribute_parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_discrete_parameter.py index e7952624..ac4964d2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_discrete_functional_attribute_parameter import ( # noqa: F401 @@ -58,28 +58,28 @@ class GsaUpdateDiscreteFunctionalAttributeDiscreteParameter( """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_guid": "str", "type": "GsaParameterType", "default_value": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_guid": "parameterGuid", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultValue": "GsaSlimEntity", } @@ -132,7 +132,7 @@ def default_value(self, default_value: "Union[GsaSlimEntity, Unset_Type]") -> No self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_numeric_parameter.py index 07cfac91..1d73afb9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_discrete_functional_attribute_parameter import ( # noqa: F401 @@ -58,28 +58,28 @@ class GsaUpdateDiscreteFunctionalAttributeNumericParameter( """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_guid": "str", "type": "GsaParameterType", "default_value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_guid": "parameterGuid", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -127,7 +127,7 @@ def default_value(self, default_value: "Union[float, None, Unset_Type]") -> None self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_parameter.py index 24e4fad6..ae04f29f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_functional_attribute_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateDiscreteFunctionalAttributeParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_guid": "str", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_guid": "parameterGuid", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", } @@ -159,7 +159,7 @@ def parameter_guid(self, parameter_guid: "str") -> None: self._parameter_guid = parameter_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter.py index 502009ad..58d5c349 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_parameter import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterType", "default_parameter_value_guid": "str", "guid": "str", @@ -73,7 +73,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "default_parameter_value_guid": "defaultParameterValueGuid", "guid": "guid", @@ -81,7 +81,7 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -113,7 +113,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_content.py index 8534b6c0..c18010d5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_parameter_content import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaUpdateDiscreteParameterContent(GsaUpdateParameterContent): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "parameter_range": "GsaUpdateDiscreteRange", "parameter_value": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "parameter_range": "parameterRange", "parameter_value": "parameterValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValue": "GsaSlimEntity", "parameterRange": "GsaUpdateDiscreteRange", } @@ -163,7 +163,7 @@ def parameter_range(self, parameter_range: "Union[GsaUpdateDiscreteRange, Unset_ self._parameter_range = parameter_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_value.py index 9551b172..de9500ed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_value_type import GsaParameterValueType from ansys.grantami.serverapi_openapi.models.gsa_update_parameter_value import ( # noqa: F401 @@ -56,28 +56,28 @@ class GsaUpdateDiscreteParameterValue(GsaUpdateParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterValueType", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def name(self, name: "Union[str, Unset_Type]") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_range.py index 080b4a04..6f97cdb9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_range.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaUpdateDiscreteRange(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_values": "list[GsaSlimEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_values": "parameterValues", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterValues": "GsaSlimEntity", } @@ -77,36 +77,36 @@ class GsaUpdateDiscreteRange(ModelBase): def __init__( self, *, - parameter_values: "List[GsaSlimEntity]", + parameter_values: "list[GsaSlimEntity]", ) -> None: """GsaUpdateDiscreteRange - a model defined in Swagger Parameters ---------- - parameter_values: List[GsaSlimEntity] + parameter_values: list[GsaSlimEntity] """ - self._parameter_values: List[GsaSlimEntity] + self._parameter_values: list[GsaSlimEntity] self.parameter_values = parameter_values @property - def parameter_values(self) -> "List[GsaSlimEntity]": + def parameter_values(self) -> "list[GsaSlimEntity]": """Gets the parameter_values of this GsaUpdateDiscreteRange. Returns ------- - List[GsaSlimEntity] + list[GsaSlimEntity] The parameter_values of this GsaUpdateDiscreteRange. """ return self._parameter_values @parameter_values.setter - def parameter_values(self, parameter_values: "List[GsaSlimEntity]") -> None: + def parameter_values(self, parameter_values: "list[GsaSlimEntity]") -> None: """Sets the parameter_values of this GsaUpdateDiscreteRange. Parameters ---------- - parameter_values: List[GsaSlimEntity] + parameter_values: list[GsaSlimEntity] The parameter_values of this GsaUpdateDiscreteRange. """ # Field is not nullable @@ -118,7 +118,7 @@ def parameter_values(self, parameter_values: "List[GsaSlimEntity]") -> None: self._parameter_values = parameter_values @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_type.py index f5241bd7..ce41fe8a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_discrete_type.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateDiscreteType(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "is_ordered": "bool", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "is_ordered": "isOrdered", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -178,7 +178,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_dynamic_record_link_group.py index cea3bb97..1a7c4778 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_dynamic_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_dynamic_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_link_group_type import ( GsaRecordLinkGroupType, @@ -58,16 +58,16 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaRecordLinkGroupType", "attribute_pairs": "list[GsaCreateAttributeLinkPair]", "forbid_orphans": "bool", @@ -77,7 +77,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup): "reverse_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "attribute_pairs": "attributePairs", "forbid_orphans": "forbidOrphans", @@ -87,7 +87,7 @@ class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup): "reverse_name": "reverseName", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referentialIntegrityModel": "GsaReferentialIntegrityModel", "attributePairs": "GsaCreateAttributeLinkPair", } @@ -98,7 +98,7 @@ def __init__( self, *, type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC, - attribute_pairs: "Union[List[GsaCreateAttributeLinkPair], Unset_Type]" = Unset, + attribute_pairs: "Union[list[GsaCreateAttributeLinkPair], Unset_Type]" = Unset, forbid_orphans: "Union[bool, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, name: "Union[str, Unset_Type]" = Unset, @@ -110,7 +110,7 @@ def __init__( Parameters ---------- type: GsaRecordLinkGroupType - attribute_pairs: List[GsaCreateAttributeLinkPair], optional + attribute_pairs: list[GsaCreateAttributeLinkPair], optional forbid_orphans: bool, optional guid: str, optional name: str, optional @@ -120,7 +120,7 @@ def __init__( super().__init__(type=type, guid=guid, name=name, reverse_name=reverse_name) self._forbid_orphans: Union[bool, Unset_Type] = Unset self._referential_integrity_model: Union[GsaReferentialIntegrityModel, Unset_Type] = Unset - self._attribute_pairs: Union[List[GsaCreateAttributeLinkPair], Unset_Type] = Unset + self._attribute_pairs: Union[list[GsaCreateAttributeLinkPair], Unset_Type] = Unset if forbid_orphans is not Unset: self.forbid_orphans = forbid_orphans @@ -182,25 +182,25 @@ def referential_integrity_model( self._referential_integrity_model = referential_integrity_model @property - def attribute_pairs(self) -> "Union[List[GsaCreateAttributeLinkPair], Unset_Type]": + def attribute_pairs(self) -> "Union[list[GsaCreateAttributeLinkPair], Unset_Type]": """Gets the attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. Returns ------- - Union[List[GsaCreateAttributeLinkPair], Unset_Type] + Union[list[GsaCreateAttributeLinkPair], Unset_Type] The attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. """ return self._attribute_pairs @attribute_pairs.setter def attribute_pairs( - self, attribute_pairs: "Union[List[GsaCreateAttributeLinkPair], Unset_Type]" + self, attribute_pairs: "Union[list[GsaCreateAttributeLinkPair], Unset_Type]" ) -> None: """Sets the attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. Parameters ---------- - attribute_pairs: Union[List[GsaCreateAttributeLinkPair], Unset_Type] + attribute_pairs: Union[list[GsaCreateAttributeLinkPair], Unset_Type] The attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. """ # Field is not nullable @@ -209,7 +209,7 @@ def attribute_pairs( self._attribute_pairs = attribute_pairs @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_expression.py index 908180a2..e794e737 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_expression.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUpdateExpression(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "unit": "GsaSlimEntity", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "unit": "unit", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", } @@ -212,7 +212,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file.py index 8477914b..49b5e54c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateFile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -175,7 +175,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file_attribute.py index 2145f89e..e86de198 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_file_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -76,7 +76,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -87,7 +87,7 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute.py index e8785e1c..92ba6ec1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "attribute_parameters": "list[GsaUpdateFloatFunctionalAttributeParameter]", @@ -79,7 +79,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "attribute_parameters": "attributeParameters", @@ -93,7 +93,7 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "attributeParameters": "GsaUpdateFloatFunctionalAttributeParameter", } @@ -105,7 +105,7 @@ def __init__( *, type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL, about_attribute: "Union[GsaSlimEntity, Unset_Type]" = Unset, - attribute_parameters: "Union[List[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type]" = Unset, + attribute_parameters: "Union[list[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type]" = Unset, axis_name: "Union[str, None, Unset_Type]" = Unset, default_threshold_type: "Union[GsaAttributeThresholdType, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, @@ -121,7 +121,7 @@ def __init__( ---------- type: GsaAttributeType about_attribute: GsaSlimEntity, optional - attribute_parameters: List[GsaUpdateFloatFunctionalAttributeParameter], optional + attribute_parameters: list[GsaUpdateFloatFunctionalAttributeParameter], optional axis_name: str, optional default_threshold_type: GsaAttributeThresholdType, optional guid: str, optional @@ -143,7 +143,7 @@ def __init__( ) self._unit: Union[GsaSlimEntity, Unset_Type] = Unset self._attribute_parameters: Union[ - List[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type + list[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type ] = Unset self._is_range: Union[bool, Unset_Type] = Unset @@ -182,12 +182,12 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: @property def attribute_parameters( self, - ) -> "Union[List[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type]": + ) -> "Union[list[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type]": """Gets the attribute_parameters of this GsaUpdateFloatFunctionalAttribute. Returns ------- - Union[List[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type] + Union[list[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type] The attribute_parameters of this GsaUpdateFloatFunctionalAttribute. """ return self._attribute_parameters @@ -195,13 +195,13 @@ def attribute_parameters( @attribute_parameters.setter def attribute_parameters( self, - attribute_parameters: "Union[List[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type]", + attribute_parameters: "Union[list[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type]", ) -> None: """Sets the attribute_parameters of this GsaUpdateFloatFunctionalAttribute. Parameters ---------- - attribute_parameters: Union[List[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type] + attribute_parameters: Union[list[GsaUpdateFloatFunctionalAttributeParameter], Unset_Type] The attribute_parameters of this GsaUpdateFloatFunctionalAttribute. """ # Field is not nullable @@ -235,7 +235,7 @@ def is_range(self, is_range: "Union[bool, Unset_Type]") -> None: self._is_range = is_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_discrete_parameter.py index 93159b99..6009d28c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_discrete_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_float_functional_attribute_parameter import ( # noqa: F401 @@ -58,28 +58,28 @@ class GsaUpdateFloatFunctionalAttributeDiscreteParameter( """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_guid": "str", "type": "GsaParameterType", "default_value": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_guid": "parameterGuid", "type": "type", "default_value": "defaultValue", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultValue": "GsaSlimEntity", } @@ -132,7 +132,7 @@ def default_value(self, default_value: "Union[GsaSlimEntity, Unset_Type]") -> No self._default_value = default_value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_numeric_parameter.py index 5513fc19..753f690b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_float_functional_attribute_parameter import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_guid": "str", "type": "GsaParameterType", "default_value": "float", @@ -73,7 +73,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional "scale_type": "GsaAttributeScaleType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_guid": "parameterGuid", "type": "type", "default_value": "defaultValue", @@ -81,7 +81,7 @@ class GsaUpdateFloatFunctionalAttributeNumericParameter(GsaUpdateFloatFunctional "scale_type": "scaleType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "interpolationMethod": "GsaAttributeInterpolationMethod", "scaleType": "GsaAttributeScaleType", } @@ -194,7 +194,7 @@ def scale_type(self, scale_type: "Union[GsaAttributeScaleType, Unset_Type]") -> self._scale_type = scale_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_parameter.py index 8f5f5830..99fa69fd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_float_functional_attribute_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateFloatFunctionalAttributeParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter_guid": "str", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter_guid": "parameterGuid", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", } @@ -159,7 +159,7 @@ def parameter_guid(self, parameter_guid: "str") -> None: self._parameter_guid = parameter_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_folder.py index 8f929410..82e62839 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_folder.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaUpdateFolder(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_hyperlink_attribute.py index 7f7631a7..db363242 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_hyperlink_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -76,7 +76,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -87,7 +87,7 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_integer_attribute.py index fa9aca89..74de02a1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_integer_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -77,7 +77,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -89,7 +89,7 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -163,7 +163,7 @@ def is_unique(self, is_unique: "Union[bool, Unset_Type]") -> None: self._is_unique = is_unique @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_job_request.py index 663be16a..b0e4be22 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_job_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_job_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUpdateJobRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "name": "str", "scheduled_execution_date": "datetime", "status": "GsaJobStatus", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "name": "name", "scheduled_execution_date": "scheduledExecutionDate", "status": "status", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "status": "GsaJobStatus", } @@ -205,7 +205,7 @@ def status(self, status: "Union[GsaJobStatus, Unset_Type]") -> None: self._status = status @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_layout.py index f79b1140..4ba8f129 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_layout.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,35 +51,35 @@ class GsaUpdateLayout(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "applicable_applications": "list[str]", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "applicable_applications": "applicableApplications", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - applicable_applications: "Union[List[str], None, Unset_Type]" = Unset, + applicable_applications: "Union[list[str], None, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, name: "Union[str, Unset_Type]" = Unset, ) -> None: @@ -87,11 +87,11 @@ def __init__( Parameters ---------- - applicable_applications: List[str], optional + applicable_applications: list[str], optional guid: str, optional name: str, optional """ - self._applicable_applications: Union[List[str], None, Unset_Type] = Unset + self._applicable_applications: Union[list[str], None, Unset_Type] = Unset self._name: Union[str, Unset_Type] = Unset self._guid: Union[str, Unset_Type] = Unset @@ -103,27 +103,27 @@ def __init__( self.guid = guid @property - def applicable_applications(self) -> "Union[List[str], None, Unset_Type]": + def applicable_applications(self) -> "Union[list[str], None, Unset_Type]": """Gets the applicable_applications of this GsaUpdateLayout. If there are no ApplicableApplications, the layout is applicable in all applications. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The applicable_applications of this GsaUpdateLayout. """ return self._applicable_applications @applicable_applications.setter def applicable_applications( - self, applicable_applications: "Union[List[str], None, Unset_Type]" + self, applicable_applications: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the applicable_applications of this GsaUpdateLayout. If there are no ApplicableApplications, the layout is applicable in all applications. Parameters ---------- - applicable_applications: Union[List[str], None, Unset_Type] + applicable_applications: Union[list[str], None, Unset_Type] The applicable_applications of this GsaUpdateLayout. """ self._applicable_applications = applicable_applications @@ -179,7 +179,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_attribute_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_attribute_tabular_column.py index 8cc7058d..a41f57e2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_attribute_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_attribute_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLinkedAttributeTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "guid": "str", "linked_attribute": "GsaSlimEntity", @@ -79,7 +79,7 @@ class GsaUpdateLinkedAttributeTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "guid": "guid", "linked_attribute": "linkedAttribute", @@ -91,7 +91,7 @@ class GsaUpdateLinkedAttributeTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkedAttribute": "GsaSlimEntity", } @@ -165,7 +165,7 @@ def linked_attribute(self, linked_attribute: "Union[GsaSlimEntity, Unset_Type]") self._linked_attribute = linked_attribute @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_column_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_column_tabular_column.py index cd49d1ee..95ba7ab3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_column_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_column_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLinkedColumnTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "guid": "str", "linked_column": "GsaSlimEntity", @@ -79,7 +79,7 @@ class GsaUpdateLinkedColumnTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "guid": "guid", "linked_column": "linkedColumn", @@ -91,7 +91,7 @@ class GsaUpdateLinkedColumnTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "linkedColumn": "GsaSlimEntity", } @@ -165,7 +165,7 @@ def linked_column(self, linked_column: "Union[GsaSlimEntity, Unset_Type]") -> No self._linked_column = linked_column @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_record_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_record_tabular_column.py index 99df656d..b2d6cbe3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_record_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_linked_record_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLinkedRecordTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "guid": "str", "name": "str", @@ -78,7 +78,7 @@ class GsaUpdateLinkedRecordTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "guid": "guid", "name": "name", @@ -89,7 +89,7 @@ class GsaUpdateLinkedRecordTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -130,7 +130,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_date_time_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_date_time_tabular_column.py index 7854b52a..bbd3fb66 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_date_time_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_date_time_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalDateTimeTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalDateTimeTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalDateTimeTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_discrete_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_discrete_tabular_column.py index 527a56c0..fc74426c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_discrete_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_discrete_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalDiscreteTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "discrete_type": "GsaSlimEntity", @@ -80,7 +80,7 @@ class GsaUpdateLocalDiscreteTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "discrete_type": "discreteType", @@ -93,7 +93,7 @@ class GsaUpdateLocalDiscreteTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "discreteType": "GsaSlimEntity", } @@ -200,7 +200,7 @@ def discrete_type(self, discrete_type: "Union[GsaSlimEntity, Unset_Type]") -> No self._discrete_type = discrete_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_file_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_file_tabular_column.py index 329491ca..030979da 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_file_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_file_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalFileTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalFileTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalFileTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_hyperlink_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_hyperlink_tabular_column.py index 09242540..dc5c9c16 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_hyperlink_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_hyperlink_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalHyperlinkTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalHyperlinkTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalHyperlinkTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_integer_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_integer_tabular_column.py index 8b15f6e0..62c38f0b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_integer_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_integer_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalIntegerTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalIntegerTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalIntegerTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_logical_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_logical_tabular_column.py index ea2f5629..8d65cd37 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_logical_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_logical_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalLogicalTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalLogicalTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalLogicalTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_long_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_long_text_tabular_column.py index bdf19549..0c18816a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_long_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_long_text_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalLongTextTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalLongTextTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalLongTextTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_picture_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_picture_tabular_column.py index c0eace75..b85054cc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_picture_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_picture_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalPictureTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalPictureTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalPictureTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_point_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_point_tabular_column.py index 4bdd3608..5274aa90 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_point_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_point_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalPointTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -80,7 +80,7 @@ class GsaUpdateLocalPointTabularColumn(GsaUpdateTabularColumn): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -93,7 +93,7 @@ class GsaUpdateLocalPointTabularColumn(GsaUpdateTabularColumn): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "unit": "GsaSlimEntity", } @@ -200,7 +200,7 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_range_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_range_tabular_column.py index c2a6d89d..b06186bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_range_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_range_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalRangeTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -80,7 +80,7 @@ class GsaUpdateLocalRangeTabularColumn(GsaUpdateTabularColumn): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -93,7 +93,7 @@ class GsaUpdateLocalRangeTabularColumn(GsaUpdateTabularColumn): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", "unit": "GsaSlimEntity", } @@ -200,7 +200,7 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_short_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_short_text_tabular_column.py index 7157feca..5fc34d82 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_short_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_local_short_text_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_tabular_column_dto_type import ( GsaTabularColumnDtoType, @@ -58,16 +58,16 @@ class GsaUpdateLocalShortTextTabularColumn(GsaUpdateTabularColumn): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "default_threshold_type": "GsaAttributeThresholdType", "guid": "str", @@ -79,7 +79,7 @@ class GsaUpdateLocalShortTextTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "default_threshold_type": "defaultThresholdType", "guid": "guid", @@ -91,7 +91,7 @@ class GsaUpdateLocalShortTextTabularColumn(GsaUpdateTabularColumn): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "defaultThresholdType": "GsaAttributeThresholdType", } @@ -167,7 +167,7 @@ def default_threshold_type( self._default_threshold_type = default_threshold_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_logical_attribute.py index ecb77ea2..45da18f4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_logical_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -76,7 +76,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -87,7 +87,7 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_long_text_attribute.py index f03dc954..eaafdffb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_long_text_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -76,7 +76,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -87,7 +87,7 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_content.py index 60628bfa..334f0edb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUpdateMathsContent(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "curve_label": "str", "expression": "GsaSlimEntity", "free_parameter": "GsaSlimEntity", @@ -69,7 +69,7 @@ class GsaUpdateMathsContent(ModelBase): "use_logarithmic_scale": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "curve_label": "curveLabel", "expression": "expression", "free_parameter": "freeParameter", @@ -78,7 +78,7 @@ class GsaUpdateMathsContent(ModelBase): "use_logarithmic_scale": "useLogarithmicScale", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "expression": "GsaSlimEntity", "freeParameter": "GsaSlimEntity", "parameterContents": "GsaUpdateParameterContent", @@ -92,7 +92,7 @@ def __init__( curve_label: "Union[str, None, Unset_Type]" = Unset, expression: "Union[GsaSlimEntity, Unset_Type]" = Unset, free_parameter: "Union[GsaSlimEntity, Unset_Type]" = Unset, - parameter_contents: "Union[List[GsaUpdateParameterContent], Unset_Type]" = Unset, + parameter_contents: "Union[list[GsaUpdateParameterContent], Unset_Type]" = Unset, transpose_axes: "Union[bool, Unset_Type]" = Unset, use_logarithmic_scale: "Union[bool, Unset_Type]" = Unset, ) -> None: @@ -103,7 +103,7 @@ def __init__( curve_label: str, optional expression: GsaSlimEntity, optional free_parameter: GsaSlimEntity, optional - parameter_contents: List[GsaUpdateParameterContent], optional + parameter_contents: list[GsaUpdateParameterContent], optional transpose_axes: bool, optional use_logarithmic_scale: bool, optional """ @@ -112,7 +112,7 @@ def __init__( self._use_logarithmic_scale: Union[bool, Unset_Type] = Unset self._expression: Union[GsaSlimEntity, Unset_Type] = Unset self._free_parameter: Union[GsaSlimEntity, Unset_Type] = Unset - self._parameter_contents: Union[List[GsaUpdateParameterContent], Unset_Type] = Unset + self._parameter_contents: Union[list[GsaUpdateParameterContent], Unset_Type] = Unset if curve_label is not Unset: self.curve_label = curve_label @@ -250,25 +250,25 @@ def free_parameter(self, free_parameter: "Union[GsaSlimEntity, Unset_Type]") -> self._free_parameter = free_parameter @property - def parameter_contents(self) -> "Union[List[GsaUpdateParameterContent], Unset_Type]": + def parameter_contents(self) -> "Union[list[GsaUpdateParameterContent], Unset_Type]": """Gets the parameter_contents of this GsaUpdateMathsContent. Returns ------- - Union[List[GsaUpdateParameterContent], Unset_Type] + Union[list[GsaUpdateParameterContent], Unset_Type] The parameter_contents of this GsaUpdateMathsContent. """ return self._parameter_contents @parameter_contents.setter def parameter_contents( - self, parameter_contents: "Union[List[GsaUpdateParameterContent], Unset_Type]" + self, parameter_contents: "Union[list[GsaUpdateParameterContent], Unset_Type]" ) -> None: """Sets the parameter_contents of this GsaUpdateMathsContent. Parameters ---------- - parameter_contents: Union[List[GsaUpdateParameterContent], Unset_Type] + parameter_contents: Union[list[GsaUpdateParameterContent], Unset_Type] The parameter_contents of this GsaUpdateMathsContent. """ # Field is not nullable @@ -277,7 +277,7 @@ def parameter_contents( self._parameter_contents = parameter_contents @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_functional_attribute.py index 49e45481..f46130b9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_maths_functional_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "allow_all_compatible_expressions": "bool", @@ -84,7 +84,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "allow_all_compatible_expressions": "allowAllCompatibleExpressions", @@ -103,7 +103,7 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "attributeParameters": "GsaSlimEntity", "expressions": "GsaSlimEntity", @@ -120,11 +120,11 @@ def __init__( allow_all_compatible_expressions: "Union[bool, Unset_Type]" = Unset, allow_anonymous_expressions: "Union[bool, Unset_Type]" = Unset, allow_extrapolation: "Union[bool, Unset_Type]" = Unset, - attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, axis_name: "Union[str, None, Unset_Type]" = Unset, default_content: "Union[GsaUpdateMathsContent, Unset_Type]" = Unset, default_threshold_type: "Union[GsaAttributeThresholdType, Unset_Type]" = Unset, - expressions: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + expressions: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, help_path: "Union[str, None, Unset_Type]" = Unset, is_hidden_from_search_criteria: "Union[bool, None, Unset_Type]" = Unset, @@ -141,11 +141,11 @@ def __init__( allow_all_compatible_expressions: bool, optional allow_anonymous_expressions: bool, optional allow_extrapolation: bool, optional - attribute_parameters: List[GsaSlimEntity], optional + attribute_parameters: list[GsaSlimEntity], optional axis_name: str, optional default_content: GsaUpdateMathsContent, optional default_threshold_type: GsaAttributeThresholdType, optional - expressions: List[GsaSlimEntity], optional + expressions: list[GsaSlimEntity], optional guid: str, optional help_path: str, optional is_hidden_from_search_criteria: bool, optional @@ -164,8 +164,8 @@ def __init__( name=name, ) self._unit: Union[GsaSlimEntity, Unset_Type] = Unset - self._attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] = Unset - self._expressions: Union[List[GsaSlimEntity], None, Unset_Type] = Unset + self._attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] = Unset + self._expressions: Union[list[GsaSlimEntity], None, Unset_Type] = Unset self._allow_extrapolation: Union[bool, Unset_Type] = Unset self._is_range: Union[bool, Unset_Type] = Unset self._default_content: Union[GsaUpdateMathsContent, Unset_Type] = Unset @@ -215,47 +215,47 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @property - def attribute_parameters(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def attribute_parameters(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the attribute_parameters of this GsaUpdateMathsFunctionalAttribute. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaUpdateMathsFunctionalAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the attribute_parameters of this GsaUpdateMathsFunctionalAttribute. Parameters ---------- - attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] + attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaUpdateMathsFunctionalAttribute. """ self._attribute_parameters = attribute_parameters @property - def expressions(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def expressions(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the expressions of this GsaUpdateMathsFunctionalAttribute. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The expressions of this GsaUpdateMathsFunctionalAttribute. """ return self._expressions @expressions.setter - def expressions(self, expressions: "Union[List[GsaSlimEntity], None, Unset_Type]") -> None: + def expressions(self, expressions: "Union[list[GsaSlimEntity], None, Unset_Type]") -> None: """Sets the expressions of this GsaUpdateMathsFunctionalAttribute. Parameters ---------- - expressions: Union[List[GsaSlimEntity], None, Unset_Type] + expressions: Union[list[GsaSlimEntity], None, Unset_Type] The expressions of this GsaUpdateMathsFunctionalAttribute. """ self._expressions = expressions @@ -392,7 +392,7 @@ def allow_anonymous_expressions( self._allow_anonymous_expressions = allow_anonymous_expressions @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter.py index c12286e4..ca7417a6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_parameter import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateNumericParameter(GsaUpdateParameter): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterType", "default_parameter_value_guid": "str", "guid": "str", @@ -76,7 +76,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "default_parameter_value_guid": "defaultParameterValueGuid", "guid": "guid", @@ -87,7 +87,7 @@ class GsaUpdateNumericParameter(GsaUpdateParameter): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "interpolationType": "GsaParameterInterpolationType", "scaleType": "GsaParameterScaleType", @@ -216,7 +216,7 @@ def scale_type(self, scale_type: "Union[GsaParameterScaleType, Unset_Type]") -> self._scale_type = scale_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_content.py index 33622c15..37d33f1c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_type import GsaParameterType from ansys.grantami.serverapi_openapi.models.gsa_update_parameter_content import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaUpdateNumericParameterContent(GsaUpdateParameterContent): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", "parameter_range": "GsaUpdateContinuousRange", "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", "parameter_range": "parameterRange", "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "parameterRange": "GsaUpdateContinuousRange", } @@ -161,7 +161,7 @@ def parameter_range( self._parameter_range = parameter_range @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_value.py index 5ee4e15f..7b7a95c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_numeric_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_parameter_value_type import GsaParameterValueType from ansys.grantami.serverapi_openapi.models.gsa_update_parameter_value import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaUpdateNumericParameterValue(GsaUpdateParameterValue): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterValueType", "guid": "str", "name": "str", "value": "float", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", "name": "name", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -157,7 +157,7 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter.py index 43edc57b..1e32c3d2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaUpdateParameter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterType", "default_parameter_value_guid": "str", "guid": "str", @@ -70,7 +70,7 @@ class GsaUpdateParameter(ModelBase): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "default_parameter_value_guid": "defaultParameterValueGuid", "guid": "guid", @@ -78,7 +78,7 @@ class GsaUpdateParameter(ModelBase): "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", } @@ -252,7 +252,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_content.py index 5316df83..e0f7434a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_content.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateParameterContent(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "parameter": "GsaSlimEntity", "type": "GsaParameterType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "parameter": "parameter", "type": "type", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterType", "parameter": "GsaSlimEntity", } @@ -160,7 +160,7 @@ def parameter(self, parameter: "GsaSlimEntity") -> None: self._parameter = parameter @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_value.py index a380f78c..876b10d9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_parameter_value.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateParameterValue(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaParameterValueType", "guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaParameterValueType", } @@ -157,7 +157,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_picture_attribute.py index 9664f158..4523ef61 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_picture_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -76,7 +76,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -87,7 +87,7 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -128,7 +128,7 @@ def __init__( ) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_point_attribute.py index 51939bcc..8bdcbbdf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_point_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "attribute_parameters": "list[GsaSlimEntity]", @@ -79,7 +79,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "attribute_parameters": "attributeParameters", @@ -93,7 +93,7 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", "attributeParameters": "GsaSlimEntity", } @@ -105,7 +105,7 @@ def __init__( *, type: "GsaAttributeType" = GsaAttributeType.POINT, about_attribute: "Union[GsaSlimEntity, Unset_Type]" = Unset, - attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, axis_name: "Union[str, None, Unset_Type]" = Unset, default_threshold_type: "Union[GsaAttributeThresholdType, Unset_Type]" = Unset, guid: "Union[str, Unset_Type]" = Unset, @@ -121,7 +121,7 @@ def __init__( ---------- type: GsaAttributeType about_attribute: GsaSlimEntity, optional - attribute_parameters: List[GsaSlimEntity], optional + attribute_parameters: list[GsaSlimEntity], optional axis_name: str, optional default_threshold_type: GsaAttributeThresholdType, optional guid: str, optional @@ -143,7 +143,7 @@ def __init__( ) self._unit: Union[GsaSlimEntity, Unset_Type] = Unset self._is_multi_valued: Union[bool, Unset_Type] = Unset - self._attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] = Unset + self._attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] = Unset if unit is not Unset: self.unit = unit @@ -203,31 +203,31 @@ def is_multi_valued(self, is_multi_valued: "Union[bool, Unset_Type]") -> None: self._is_multi_valued = is_multi_valued @property - def attribute_parameters(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def attribute_parameters(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the attribute_parameters of this GsaUpdatePointAttribute. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaUpdatePointAttribute. """ return self._attribute_parameters @attribute_parameters.setter def attribute_parameters( - self, attribute_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, attribute_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the attribute_parameters of this GsaUpdatePointAttribute. Parameters ---------- - attribute_parameters: Union[List[GsaSlimEntity], None, Unset_Type] + attribute_parameters: Union[list[GsaSlimEntity], None, Unset_Type] The attribute_parameters of this GsaUpdatePointAttribute. """ self._attribute_parameters = attribute_parameters @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile.py index a9f76fb7..077a7bd1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUpdateProfile(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "description": "str", "group_name": "str", "guid": "str", @@ -69,7 +69,7 @@ class GsaUpdateProfile(ModelBase): "profile_table_guids": "list[str]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "description": "description", "group_name": "groupName", "guid": "guid", @@ -78,7 +78,7 @@ class GsaUpdateProfile(ModelBase): "profile_table_guids": "profileTableGuids", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -90,7 +90,7 @@ def __init__( guid: "Union[str, None, Unset_Type]" = Unset, homepage_url: "Union[str, None, Unset_Type]" = Unset, name: "Union[str, Unset_Type]" = Unset, - profile_table_guids: "Union[List[str], None, Unset_Type]" = Unset, + profile_table_guids: "Union[list[str], None, Unset_Type]" = Unset, ) -> None: """GsaUpdateProfile - a model defined in Swagger @@ -101,11 +101,11 @@ def __init__( guid: str, optional homepage_url: str, optional name: str, optional - profile_table_guids: List[str], optional + profile_table_guids: list[str], optional """ self._description: Union[str, None, Unset_Type] = Unset self._homepage_url: Union[str, None, Unset_Type] = Unset - self._profile_table_guids: Union[List[str], None, Unset_Type] = Unset + self._profile_table_guids: Union[list[str], None, Unset_Type] = Unset self._guid: Union[str, None, Unset_Type] = Unset self._group_name: Union[str, None, Unset_Type] = Unset self._name: Union[str, Unset_Type] = Unset @@ -168,25 +168,25 @@ def homepage_url(self, homepage_url: "Union[str, None, Unset_Type]") -> None: self._homepage_url = homepage_url @property - def profile_table_guids(self) -> "Union[List[str], None, Unset_Type]": + def profile_table_guids(self) -> "Union[list[str], None, Unset_Type]": """Gets the profile_table_guids of this GsaUpdateProfile. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The profile_table_guids of this GsaUpdateProfile. """ return self._profile_table_guids @profile_table_guids.setter def profile_table_guids( - self, profile_table_guids: "Union[List[str], None, Unset_Type]" + self, profile_table_guids: "Union[list[str], None, Unset_Type]" ) -> None: """Sets the profile_table_guids of this GsaUpdateProfile. Parameters ---------- - profile_table_guids: Union[List[str], None, Unset_Type] + profile_table_guids: Union[list[str], None, Unset_Type] The profile_table_guids of this GsaUpdateProfile. """ self._profile_table_guids = profile_table_guids @@ -263,7 +263,7 @@ def name(self, name: "Union[str, Unset_Type]") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile_table.py index 82ef78d4..ba3d1b5d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_profile_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateProfileTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "layout_guid": "str", "subset_guid": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "layout_guid": "layoutGuid", "subset_guid": "subsetGuid", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -172,7 +172,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_range_attribute.py index 4e1171c3..ce201805 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_range_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -77,7 +77,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute): "unit": "GsaSlimEntity", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -89,7 +89,7 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute): "unit": "unit", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", } @@ -163,7 +163,7 @@ def unit(self, unit: "Union[GsaSlimEntity, Unset_Type]") -> None: self._unit = unit @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_link_group.py index dbf51be7..0d389873 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,32 +51,32 @@ class GsaUpdateRecordLinkGroup(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaRecordLinkGroupType", "guid": "str", "name": "str", "reverse_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", "name": "name", "reverse_name": "reverseName", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "type": "GsaRecordLinkGroupType", } @@ -222,7 +222,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_permission_flags.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_permission_flags.py index 575b8e84..8b475ff5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_permission_flags.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_permission_flags.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUpdateRecordListPermissionFlags(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "is_administrator": "bool", "is_curator": "bool", "is_publisher": "bool", "is_subscribed": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "is_administrator": "isAdministrator", "is_curator": "isCurator", "is_publisher": "isPublisher", "is_subscribed": "isSubscribed", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -226,7 +226,7 @@ def is_publisher(self, is_publisher: "bool") -> None: self._is_publisher = is_publisher @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_properties.py index 9c8e1bac..d6f5bf93 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_record_list_properties.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUpdateRecordListProperties(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "awaiting_approval": "bool", "description": "str", "internal_use": "bool", @@ -69,7 +69,7 @@ class GsaUpdateRecordListProperties(ModelBase): "published": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "awaiting_approval": "awaitingApproval", "description": "description", "internal_use": "internalUse", @@ -78,7 +78,7 @@ class GsaUpdateRecordListProperties(ModelBase): "published": "published", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -265,7 +265,7 @@ def internal_use(self, internal_use: "Union[bool, Unset_Type]") -> None: self._internal_use = internal_use @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_replacement_string.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_replacement_string.py index 2c8ff721..8018a3a8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_replacement_string.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_replacement_string.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateReplacementString(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -178,7 +178,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_short_text_attribute.py index 4758f11c..90f44a30 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_short_text_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -78,7 +78,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -91,7 +91,7 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute): "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "dataRule": "GsaSlimEntity", } @@ -197,7 +197,7 @@ def data_rule(self, data_rule: "Union[GsaSlimEntity, Unset_Type]") -> None: self._data_rule = data_rule @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_standard_name.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_standard_name.py index aa1b0706..a9ca65a5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_standard_name.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_standard_name.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUpdateStandardName(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "mapped_attributes": "list[GsaSlimEntity]", "mapped_cross_database_record_link_groups": "list[GsaSlimEntity]", @@ -69,7 +69,7 @@ class GsaUpdateStandardName(ModelBase): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "mapped_attributes": "mappedAttributes", "mapped_cross_database_record_link_groups": "mappedCrossDatabaseRecordLinkGroups", @@ -78,7 +78,7 @@ class GsaUpdateStandardName(ModelBase): "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "mappedAttributes": "GsaSlimEntity", "mappedParameters": "GsaSlimEntity", "mappedRecordLinkGroups": "GsaSlimEntity", @@ -91,10 +91,10 @@ def __init__( self, *, guid: "Union[str, Unset_Type]" = Unset, - mapped_attributes: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, - mapped_cross_database_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, - mapped_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, - mapped_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_attributes: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_cross_database_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, + mapped_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]" = Unset, name: "Union[str, Unset_Type]" = Unset, ) -> None: """GsaUpdateStandardName - a model defined in Swagger @@ -102,17 +102,17 @@ def __init__( Parameters ---------- guid: str, optional - mapped_attributes: List[GsaSlimEntity], optional - mapped_cross_database_record_link_groups: List[GsaSlimEntity], optional - mapped_parameters: List[GsaSlimEntity], optional - mapped_record_link_groups: List[GsaSlimEntity], optional + mapped_attributes: list[GsaSlimEntity], optional + mapped_cross_database_record_link_groups: list[GsaSlimEntity], optional + mapped_parameters: list[GsaSlimEntity], optional + mapped_record_link_groups: list[GsaSlimEntity], optional name: str, optional """ - self._mapped_attributes: Union[List[GsaSlimEntity], None, Unset_Type] = Unset - self._mapped_parameters: Union[List[GsaSlimEntity], None, Unset_Type] = Unset - self._mapped_record_link_groups: Union[List[GsaSlimEntity], None, Unset_Type] = Unset + self._mapped_attributes: Union[list[GsaSlimEntity], None, Unset_Type] = Unset + self._mapped_parameters: Union[list[GsaSlimEntity], None, Unset_Type] = Unset + self._mapped_record_link_groups: Union[list[GsaSlimEntity], None, Unset_Type] = Unset self._mapped_cross_database_record_link_groups: Union[ - List[GsaSlimEntity], None, Unset_Type + list[GsaSlimEntity], None, Unset_Type ] = Unset self._name: Union[str, Unset_Type] = Unset self._guid: Union[str, Unset_Type] = Unset @@ -131,73 +131,73 @@ def __init__( self.guid = guid @property - def mapped_attributes(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def mapped_attributes(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_attributes of this GsaUpdateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_attributes of this GsaUpdateStandardName. """ return self._mapped_attributes @mapped_attributes.setter def mapped_attributes( - self, mapped_attributes: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, mapped_attributes: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the mapped_attributes of this GsaUpdateStandardName. Parameters ---------- - mapped_attributes: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_attributes: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_attributes of this GsaUpdateStandardName. """ self._mapped_attributes = mapped_attributes @property - def mapped_parameters(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def mapped_parameters(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_parameters of this GsaUpdateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_parameters of this GsaUpdateStandardName. """ return self._mapped_parameters @mapped_parameters.setter def mapped_parameters( - self, mapped_parameters: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, mapped_parameters: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the mapped_parameters of this GsaUpdateStandardName. Parameters ---------- - mapped_parameters: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_parameters: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_parameters of this GsaUpdateStandardName. """ self._mapped_parameters = mapped_parameters @property - def mapped_record_link_groups(self) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + def mapped_record_link_groups(self) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_record_link_groups of this GsaUpdateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_record_link_groups of this GsaUpdateStandardName. """ return self._mapped_record_link_groups @mapped_record_link_groups.setter def mapped_record_link_groups( - self, mapped_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]" + self, mapped_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]" ) -> None: """Sets the mapped_record_link_groups of this GsaUpdateStandardName. Parameters ---------- - mapped_record_link_groups: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_record_link_groups: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_record_link_groups of this GsaUpdateStandardName. """ self._mapped_record_link_groups = mapped_record_link_groups @@ -205,12 +205,12 @@ def mapped_record_link_groups( @property def mapped_cross_database_record_link_groups( self, - ) -> "Union[List[GsaSlimEntity], None, Unset_Type]": + ) -> "Union[list[GsaSlimEntity], None, Unset_Type]": """Gets the mapped_cross_database_record_link_groups of this GsaUpdateStandardName. Returns ------- - Union[List[GsaSlimEntity], None, Unset_Type] + Union[list[GsaSlimEntity], None, Unset_Type] The mapped_cross_database_record_link_groups of this GsaUpdateStandardName. """ return self._mapped_cross_database_record_link_groups @@ -218,13 +218,13 @@ def mapped_cross_database_record_link_groups( @mapped_cross_database_record_link_groups.setter def mapped_cross_database_record_link_groups( self, - mapped_cross_database_record_link_groups: "Union[List[GsaSlimEntity], None, Unset_Type]", + mapped_cross_database_record_link_groups: "Union[list[GsaSlimEntity], None, Unset_Type]", ) -> None: """Sets the mapped_cross_database_record_link_groups of this GsaUpdateStandardName. Parameters ---------- - mapped_cross_database_record_link_groups: Union[List[GsaSlimEntity], None, Unset_Type] + mapped_cross_database_record_link_groups: Union[list[GsaSlimEntity], None, Unset_Type] The mapped_cross_database_record_link_groups of this GsaUpdateStandardName. """ self._mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups @@ -280,7 +280,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_static_record_link_group.py index 9c5e5967..b750c2c3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_static_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_static_record_link_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_link_group_type import ( GsaRecordLinkGroupType, @@ -58,16 +58,16 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaRecordLinkGroupType", "guid": "str", "include_indirect_links": "bool", @@ -75,7 +75,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup): "reverse_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "guid": "guid", "include_indirect_links": "includeIndirectLinks", @@ -83,7 +83,7 @@ class GsaUpdateStaticRecordLinkGroup(GsaUpdateRecordLinkGroup): "reverse_name": "reverseName", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -138,7 +138,7 @@ def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type self._include_indirect_links = include_indirect_links @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_subset.py index 4408478a..367840a3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_subset.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUpdateSubset(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "associated_layout": "GsaSlimEntity", "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "associated_layout": "associatedLayout", "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "associatedLayout": "GsaSlimEntity", } @@ -180,7 +180,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_table.py index d216f529..79a427de 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_table.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class GsaUpdateTable(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "default_layout_guid": "str", "default_subset_guid": "str", "guid": "str", @@ -69,7 +69,7 @@ class GsaUpdateTable(ModelBase): "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "default_layout_guid": "defaultLayoutGuid", "default_subset_guid": "defaultSubsetGuid", "guid": "guid", @@ -78,7 +78,7 @@ class GsaUpdateTable(ModelBase): "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -268,7 +268,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_attribute.py index 65128e6a..a074b47c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_attribute.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_attribute_type import GsaAttributeType from ansys.grantami.serverapi_openapi.models.gsa_update_attribute import ( # noqa: F401 @@ -56,16 +56,16 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "type": "GsaAttributeType", "about_attribute": "GsaSlimEntity", "axis_name": "str", @@ -80,7 +80,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute): "tabular_columns": "list[GsaUpdateTabularColumn]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "type": "type", "about_attribute": "aboutAttribute", "axis_name": "axisName", @@ -95,7 +95,7 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute): "tabular_columns": "tabularColumns", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "tabularColumns": "GsaUpdateTabularColumn", } @@ -115,7 +115,7 @@ def __init__( hide_unlinked_rows: "Union[bool, Unset_Type]" = Unset, is_hidden_from_search_criteria: "Union[bool, None, Unset_Type]" = Unset, name: "Union[str, Unset_Type]" = Unset, - tabular_columns: "Union[List[GsaUpdateTabularColumn], None, Unset_Type]" = Unset, + tabular_columns: "Union[list[GsaUpdateTabularColumn], None, Unset_Type]" = Unset, ) -> None: """GsaUpdateTabularAttribute - a model defined in Swagger @@ -132,7 +132,7 @@ def __init__( hide_unlinked_rows: bool, optional is_hidden_from_search_criteria: bool, optional name: str, optional - tabular_columns: List[GsaUpdateTabularColumn], optional + tabular_columns: list[GsaUpdateTabularColumn], optional """ super().__init__( type=type, @@ -147,7 +147,7 @@ def __init__( self._display_full_table: Union[bool, Unset_Type] = Unset self._display_summary_row_inline: Union[bool, Unset_Type] = Unset self._hide_unlinked_rows: Union[bool, Unset_Type] = Unset - self._tabular_columns: Union[List[GsaUpdateTabularColumn], None, Unset_Type] = Unset + self._tabular_columns: Union[list[GsaUpdateTabularColumn], None, Unset_Type] = Unset if display_full_table is not Unset: self.display_full_table = display_full_table @@ -236,31 +236,31 @@ def hide_unlinked_rows(self, hide_unlinked_rows: "Union[bool, Unset_Type]") -> N self._hide_unlinked_rows = hide_unlinked_rows @property - def tabular_columns(self) -> "Union[List[GsaUpdateTabularColumn], None, Unset_Type]": + def tabular_columns(self) -> "Union[list[GsaUpdateTabularColumn], None, Unset_Type]": """Gets the tabular_columns of this GsaUpdateTabularAttribute. Returns ------- - Union[List[GsaUpdateTabularColumn], None, Unset_Type] + Union[list[GsaUpdateTabularColumn], None, Unset_Type] The tabular_columns of this GsaUpdateTabularAttribute. """ return self._tabular_columns @tabular_columns.setter def tabular_columns( - self, tabular_columns: "Union[List[GsaUpdateTabularColumn], None, Unset_Type]" + self, tabular_columns: "Union[list[GsaUpdateTabularColumn], None, Unset_Type]" ) -> None: """Sets the tabular_columns of this GsaUpdateTabularAttribute. Parameters ---------- - tabular_columns: Union[List[GsaUpdateTabularColumn], None, Unset_Type] + tabular_columns: Union[list[GsaUpdateTabularColumn], None, Unset_Type] The tabular_columns of this GsaUpdateTabularAttribute. """ self._tabular_columns = tabular_columns @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_column.py index 62e10953..fd6a6973 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_tabular_column.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,18 +51,18 @@ class GsaUpdateTabularColumn(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "column_type": "GsaTabularColumnDtoType", "guid": "str", "name": "str", @@ -73,7 +73,7 @@ class GsaUpdateTabularColumn(ModelBase): "summary_row_text": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "column_type": "columnType", "guid": "guid", "name": "name", @@ -84,7 +84,7 @@ class GsaUpdateTabularColumn(ModelBase): "summary_row_text": "summaryRowText", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "columnType": "GsaTabularColumnDtoType", "rollUpType": "GsaTabularColumnRollUpType", "summaryRowRollUpType": "GsaTabularColumnRollUpType", @@ -362,7 +362,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit.py index f4d8595a..9aa73978 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,30 +51,30 @@ class GsaUpdateUnit(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "equation": "str", "guid": "str", "name": "str", "symbol": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "equation": "equation", "guid": "guid", "name": "name", "symbol": "symbol", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -207,7 +207,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit_system.py index 714fcde6..8d8a7789 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_unit_system.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaUpdateUnitSystem(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "guid": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "guid": "guid", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def guid(self, guid: "Union[str, Unset_Type]") -> None: self._guid = guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permission.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permission.py index 20d7b2b1..f3822f9b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permission.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permission.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaUpdateUserPermission(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "flags": "GsaUpdateRecordListPermissionFlags", "user_or_group_identifier": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "flags": "flags", "user_or_group_identifier": "userOrGroupIdentifier", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "flags": "GsaUpdateRecordListPermissionFlags", } @@ -154,7 +154,7 @@ def flags(self, flags: "GsaUpdateRecordListPermissionFlags") -> None: self._flags = flags @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permissions_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permissions_info.py index f4b5d89e..60a47c27 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permissions_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_update_user_permissions_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaUpdateUserPermissionsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "user_permissions": "list[GsaUpdateUserPermission]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "user_permissions": "userPermissions", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "userPermissions": "GsaUpdateUserPermission", } @@ -77,36 +77,36 @@ class GsaUpdateUserPermissionsInfo(ModelBase): def __init__( self, *, - user_permissions: "List[GsaUpdateUserPermission]", + user_permissions: "list[GsaUpdateUserPermission]", ) -> None: """GsaUpdateUserPermissionsInfo - a model defined in Swagger Parameters ---------- - user_permissions: List[GsaUpdateUserPermission] + user_permissions: list[GsaUpdateUserPermission] """ - self._user_permissions: List[GsaUpdateUserPermission] + self._user_permissions: list[GsaUpdateUserPermission] self.user_permissions = user_permissions @property - def user_permissions(self) -> "List[GsaUpdateUserPermission]": + def user_permissions(self) -> "list[GsaUpdateUserPermission]": """Gets the user_permissions of this GsaUpdateUserPermissionsInfo. Returns ------- - List[GsaUpdateUserPermission] + list[GsaUpdateUserPermission] The user_permissions of this GsaUpdateUserPermissionsInfo. """ return self._user_permissions @user_permissions.setter - def user_permissions(self, user_permissions: "List[GsaUpdateUserPermission]") -> None: + def user_permissions(self, user_permissions: "list[GsaUpdateUserPermission]") -> None: """Sets the user_permissions of this GsaUpdateUserPermissionsInfo. Parameters ---------- - user_permissions: List[GsaUpdateUserPermission] + user_permissions: list[GsaUpdateUserPermission] The user_permissions of this GsaUpdateUserPermissionsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def user_permissions(self, user_permissions: "List[GsaUpdateUserPermission]") -> self._user_permissions = user_permissions @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_usage_data_modification_error_detail.py index 25c90444..b64039c4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_data_modification_error_detail import ( # noqa: F401 GsaDataModificationErrorDetail, @@ -55,30 +55,30 @@ class GsaUsageDataModificationErrorDetail(GsaDataModificationErrorDetail): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedByType": "GsaReferencedByType", } @@ -146,7 +146,7 @@ def referenced_by_type(self, referenced_by_type: "GsaReferencedByType") -> None: self._referenced_by_type = referenced_by_type @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_or_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_or_group.py index eadf67d7..8305a9b3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_or_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_or_group.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUserOrGroup(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "display_name": "str", "identifier": "str", "name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "display_name": "displayName", "identifier": "identifier", "name": "name", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -172,7 +172,7 @@ def name(self, name: "Union[str, None, Unset_Type]") -> None: self._name = name @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permission.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permission.py index b41f545a..2836ff60 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permission.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permission.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaUserPermission(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "flags": "GsaRecordListPermissionFlags", "user_or_group_identifier": "str", "user_or_group_name": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "flags": "flags", "user_or_group_identifier": "userOrGroupIdentifier", "user_or_group_name": "userOrGroupName", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "flags": "GsaRecordListPermissionFlags", } @@ -190,7 +190,7 @@ def flags(self, flags: "GsaRecordListPermissionFlags") -> None: self._flags = flags @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permissions_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permissions_info.py index 2fdc59d1..e88d5781 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permissions_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_user_permissions_info.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class GsaUserPermissionsInfo(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "user_permissions": "list[GsaUserPermission]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "user_permissions": "userPermissions", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "userPermissions": "GsaUserPermission", } @@ -77,36 +77,36 @@ class GsaUserPermissionsInfo(ModelBase): def __init__( self, *, - user_permissions: "List[GsaUserPermission]", + user_permissions: "list[GsaUserPermission]", ) -> None: """GsaUserPermissionsInfo - a model defined in Swagger Parameters ---------- - user_permissions: List[GsaUserPermission] + user_permissions: list[GsaUserPermission] """ - self._user_permissions: List[GsaUserPermission] + self._user_permissions: list[GsaUserPermission] self.user_permissions = user_permissions @property - def user_permissions(self) -> "List[GsaUserPermission]": + def user_permissions(self) -> "list[GsaUserPermission]": """Gets the user_permissions of this GsaUserPermissionsInfo. Returns ------- - List[GsaUserPermission] + list[GsaUserPermission] The user_permissions of this GsaUserPermissionsInfo. """ return self._user_permissions @user_permissions.setter - def user_permissions(self, user_permissions: "List[GsaUserPermission]") -> None: + def user_permissions(self, user_permissions: "list[GsaUserPermission]") -> None: """Sets the user_permissions of this GsaUserPermissionsInfo. Parameters ---------- - user_permissions: List[GsaUserPermission] + user_permissions: list[GsaUserPermission] The user_permissions of this GsaUserPermissionsInfo. """ # Field is not nullable @@ -118,7 +118,7 @@ def user_permissions(self, user_permissions: "List[GsaUserPermission]") -> None: self._user_permissions = user_permissions @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_validate_attribute_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_validate_attribute_request.py index 14e9e5fe..423e79c2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_validate_attribute_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_validate_attribute_request.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaValidateAttributeRequest(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "record_history_guid": "str", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "record_history_guid": "recordHistoryGuid", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -144,7 +144,7 @@ def record_history_guid(self, record_history_guid: "Union[str, None, Unset_Type] self._record_history_guid = record_history_guid @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_specifier.py index 6f8e4ec5..8ef564a5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_specifier.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaValueSpecifier(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "filter_on": "GsaValueSpecifierType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "filter_on": "filterOn", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "filterOn": "GsaValueSpecifierType", } @@ -127,7 +127,7 @@ def filter_on(self, filter_on: "GsaValueSpecifierType") -> None: self._filter_on = filter_on @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_boolean.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_boolean.py index 27b722cb..0774107d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_boolean.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_boolean.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaValueWithCountOfBoolean(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "value": "bool", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_guid.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_guid.py index 22f43f40..54e15382 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_guid.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_guid.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaValueWithCountOfGuid(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_int32.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_int32.py index c6478ea3..5df636b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_int32.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_value_with_count_of_int32.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,26 +51,26 @@ class GsaValueWithCountOfInt32(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "count": "int", "value": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "count": "count", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -146,7 +146,7 @@ def count(self, count: "Union[int, Unset_Type]") -> None: self._count = count @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_control_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_control_error_detail.py index 0de4604a..f47f01c6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_control_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_control_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaVersionControlErrorDetail(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. - discriminator_class_map: Dict[str, str] + discriminator_class_map: dict[str, str] They key is discriminator value and the value is associated subtype. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator_value_class_map = { "invalidVersionState".lower(): "#/components/schemas/GsaInvalidVersionStateErrorDetail", @@ -159,7 +159,7 @@ def reason(self, reason: "str") -> None: self._reason = reason @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Returns the real base class as determined by the discriminator Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_controlled_data_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_controlled_data_usage_data_modification_error_detail.py index 557fb9da..622ca023 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_controlled_data_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_controlled_data_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,28 +56,28 @@ class GsaVersionControlledDataUsageDataModificationErrorDetail(GsaUsageDataModif """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -99,7 +99,7 @@ def __init__( super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_number_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_number_property.py index d6d586e7..5678d377 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_number_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_number_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaVersionNumberProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "version_number": "int", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "version_number": "versionNumber", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -122,7 +122,7 @@ def version_number(self, version_number: "Union[int, Unset_Type]") -> None: self._version_number = version_number @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_state_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_state_property.py index 72841a7c..b35c11f9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_state_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_version_state_property.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_property import GsaProperty # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_record_property import GsaRecordProperty @@ -54,26 +54,26 @@ class GsaVersionStateProperty(GsaProperty): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "property_name": "GsaRecordProperty", "version_state": "GsaVersionState", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "property_name": "propertyName", "version_state": "versionState", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "versionState": "GsaVersionState", } @@ -124,7 +124,7 @@ def version_state(self, version_state: "Union[GsaVersionState, Unset_Type]") -> self._version_state = version_state @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_withdraw_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_withdraw_record_version_control_exception.py index 3d775da9..513620d3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_withdraw_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_withdraw_record_version_control_exception.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class GsaWithdrawRecordVersionControlException(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "code": "code", "errors": "errors", "message": "message", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -83,7 +83,7 @@ def __init__( self, *, code: "Union[SystemNetHttpStatusCode, Unset_Type]" = Unset, - errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, + errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]" = Unset, message: "Union[str, None, Unset_Type]" = Unset, ) -> None: """GsaWithdrawRecordVersionControlException - a model defined in Swagger @@ -91,12 +91,12 @@ def __init__( Parameters ---------- code: SystemNetHttpStatusCode, optional - errors: List[GsaVersionControlErrorDetail], optional + errors: list[GsaVersionControlErrorDetail], optional message: str, optional """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] = Unset + self._errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -153,29 +153,29 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors(self) -> "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]": """Gets the errors of this GsaWithdrawRecordVersionControlException. Returns ------- - Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaWithdrawRecordVersionControlException. """ return self._errors @errors.setter - def errors(self, errors: "Union[List[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: + def errors(self, errors: "Union[list[GsaVersionControlErrorDetail], None, Unset_Type]") -> None: """Sets the errors of this GsaWithdrawRecordVersionControlException. Parameters ---------- - errors: Union[List[GsaVersionControlErrorDetail], None, Unset_Type] + errors: Union[list[GsaVersionControlErrorDetail], None, Unset_Type] The errors of this GsaWithdrawRecordVersionControlException. """ self._errors = errors @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_xy_chart_template_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_xy_chart_template_usage_data_modification_error_detail.py index 21bbc266..af6161c0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_xy_chart_template_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/gsa_xy_chart_template_usage_data_modification_error_detail.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from ansys.grantami.serverapi_openapi.models.gsa_referenced_by_type import GsaReferencedByType from ansys.grantami.serverapi_openapi.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 @@ -56,30 +56,30 @@ class GsaXYChartTemplateUsageDataModificationErrorDetail(GsaUsageDataModificatio """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "message": "str", "reason": "str", "referenced_by_type": "GsaReferencedByType", "referenced_by": "list[GsaSlimNamedEntity]", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "message": "message", "reason": "reason", "referenced_by_type": "referencedByType", "referenced_by": "referencedBy", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "referencedBy": "GsaSlimNamedEntity", } @@ -91,7 +91,7 @@ def __init__( message: "str", reason: "str" = "usage", referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.XYCHARTTEMPLATE, - referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" = Unset, + referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" = Unset, ) -> None: """GsaXYChartTemplateUsageDataModificationErrorDetail - a model defined in Swagger @@ -100,40 +100,40 @@ def __init__( message: str reason: str referenced_by_type: GsaReferencedByType - referenced_by: List[GsaSlimNamedEntity], optional + referenced_by: list[GsaSlimNamedEntity], optional """ super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_type) - self._referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] = Unset + self._referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] = Unset if referenced_by is not Unset: self.referenced_by = referenced_by @property - def referenced_by(self) -> "Union[List[GsaSlimNamedEntity], None, Unset_Type]": + def referenced_by(self) -> "Union[list[GsaSlimNamedEntity], None, Unset_Type]": """Gets the referenced_by of this GsaXYChartTemplateUsageDataModificationErrorDetail. Returns ------- - Union[List[GsaSlimNamedEntity], None, Unset_Type] + Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaXYChartTemplateUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by( - self, referenced_by: "Union[List[GsaSlimNamedEntity], None, Unset_Type]" + self, referenced_by: "Union[list[GsaSlimNamedEntity], None, Unset_Type]" ) -> None: """Sets the referenced_by of this GsaXYChartTemplateUsageDataModificationErrorDetail. Parameters ---------- - referenced_by: Union[List[GsaSlimNamedEntity], None, Unset_Type] + referenced_by: Union[list[GsaSlimNamedEntity], None, Unset_Type] The referenced_by of this GsaXYChartTemplateUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py index 5924085f..4a176028 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,24 +51,24 @@ class JobqueueFilesBody(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "file": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "file": "file", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -114,7 +114,7 @@ def file(self, file: "Union[Union[BinaryIO, pathlib.Path], Unset_Type]") -> None self._file = file @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py index b6ee5c54..0d45515e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,28 +51,28 @@ class JsonPatchDocument(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "op": "str", "path": "str", "value": "str", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "op": "op", "path": "path", "value": "value", } - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -178,7 +178,7 @@ def value(self, value: "Union[str, Unset_Type]") -> None: self._value = value @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py index 14cb0b98..a3714b3b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,20 +51,20 @@ class MicrosoftAspNetCoreMvcFormattersIOutputFormatter(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = {} + swagger_types: dict[str, str] = {} - attribute_map: Dict[str, str] = {} + attribute_map: dict[str, str] = {} - subtype_mapping: Dict[str, str] = {} + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -74,7 +74,7 @@ def __init__( """MicrosoftAspNetCoreMvcFormattersIOutputFormatter - a model defined in Swagger""" @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py index ad6fffa8..0a417db2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py @@ -31,7 +31,7 @@ """ import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type @@ -51,16 +51,16 @@ class MicrosoftAspNetCoreMvcObjectResult(ModelBase): """ Attributes ---------- - swagger_types: Dict[str, str] + swagger_types: dict[str, str] The key is attribute name and the value is attribute type. - attribute_map: Dict[str, str] + attribute_map: dict[str, str] The key is attribute name and the value is json key in definition. - subtype_mapping: Dict[str, str] + subtype_mapping: dict[str, str] The key is the unmangled property name and the value is the corresponding type. discriminator: Optional[str] Name of the property used as discriminator for subtypes. """ - swagger_types: Dict[str, str] = { + swagger_types: dict[str, str] = { "content_types": "list[str]", "declared_type": "str", "formatters": "list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter]", @@ -68,7 +68,7 @@ class MicrosoftAspNetCoreMvcObjectResult(ModelBase): "value": "object", } - attribute_map: Dict[str, str] = { + attribute_map: dict[str, str] = { "content_types": "contentTypes", "declared_type": "declaredType", "formatters": "formatters", @@ -76,7 +76,7 @@ class MicrosoftAspNetCoreMvcObjectResult(ModelBase): "value": "value", } - subtype_mapping: Dict[str, str] = { + subtype_mapping: dict[str, str] = { "formatters": "MicrosoftAspNetCoreMvcFormattersIOutputFormatter", } @@ -85,9 +85,9 @@ class MicrosoftAspNetCoreMvcObjectResult(ModelBase): def __init__( self, *, - content_types: "Union[List[str], None, Unset_Type]" = Unset, + content_types: "Union[list[str], None, Unset_Type]" = Unset, declared_type: "Union[str, None, Unset_Type]" = Unset, - formatters: "Union[List[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type]" = Unset, + formatters: "Union[list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type]" = Unset, status_code: "Union[int, None, Unset_Type]" = Unset, value: "Union[object, None, Unset_Type]" = Unset, ) -> None: @@ -95,17 +95,17 @@ def __init__( Parameters ---------- - content_types: List[str], optional + content_types: list[str], optional declared_type: str, optional - formatters: List[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], optional + formatters: list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], optional status_code: int, optional value: object, optional """ self._value: Union[object, None, Unset_Type] = Unset self._formatters: Union[ - List[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type + list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type ] = Unset - self._content_types: Union[List[str], None, Unset_Type] = Unset + self._content_types: Union[list[str], None, Unset_Type] = Unset self._declared_type: Union[str, None, Unset_Type] = Unset self._status_code: Union[int, None, Unset_Type] = Unset @@ -145,12 +145,12 @@ def value(self, value: "Union[object, None, Unset_Type]") -> None: @property def formatters( self, - ) -> "Union[List[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type]": + ) -> "Union[list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type]": """Gets the formatters of this MicrosoftAspNetCoreMvcObjectResult. Returns ------- - Union[List[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type] + Union[list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type] The formatters of this MicrosoftAspNetCoreMvcObjectResult. """ return self._formatters @@ -158,35 +158,35 @@ def formatters( @formatters.setter def formatters( self, - formatters: "Union[List[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type]", + formatters: "Union[list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type]", ) -> None: """Sets the formatters of this MicrosoftAspNetCoreMvcObjectResult. Parameters ---------- - formatters: Union[List[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type] + formatters: Union[list[MicrosoftAspNetCoreMvcFormattersIOutputFormatter], None, Unset_Type] The formatters of this MicrosoftAspNetCoreMvcObjectResult. """ self._formatters = formatters @property - def content_types(self) -> "Union[List[str], None, Unset_Type]": + def content_types(self) -> "Union[list[str], None, Unset_Type]": """Gets the content_types of this MicrosoftAspNetCoreMvcObjectResult. Returns ------- - Union[List[str], None, Unset_Type] + Union[list[str], None, Unset_Type] The content_types of this MicrosoftAspNetCoreMvcObjectResult. """ return self._content_types @content_types.setter - def content_types(self, content_types: "Union[List[str], None, Unset_Type]") -> None: + def content_types(self, content_types: "Union[list[str], None, Unset_Type]") -> None: """Sets the content_types of this MicrosoftAspNetCoreMvcObjectResult. Parameters ---------- - content_types: Union[List[str], None, Unset_Type] + content_types: Union[list[str], None, Unset_Type] The content_types of this MicrosoftAspNetCoreMvcObjectResult. """ self._content_types = content_types @@ -236,7 +236,7 @@ def status_code(self, status_code: "Union[int, None, Unset_Type]") -> None: self._status_code = status_code @classmethod - def get_real_child_model(cls, data: Dict[str, str]) -> str: + def get_real_child_model(cls, data: dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. Parameters diff --git a/pom.xml b/pom.xml index ba91fb83..2927376f 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ 1.0.0 0.1.0 server-api.json - 4.0.0-SNAPSHOT + 4.1.1-SNAPSHOT ansys-grantami-serverapi-openapi ansys.grantami.serverapi_openapi Autogenerated client library for the Granta MI Server API.