From 8ab23931a86f6cfec721998b156d4ecaf482184d Mon Sep 17 00:00:00 2001 From: Ludovic Steinbach Date: Tue, 14 Nov 2023 13:26:33 +0100 Subject: [PATCH 1/7] Bump openapi-client-template --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7a2f7e43..498d0257 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ 1.0.0 0.1.0 server-api.json - 2.0.3-SNAPSHOT + 2.0.4-SNAPSHOT ansys-grantami-serverapi-openapi ansys.grantami.serverapi_openapi Autogenerated client library for the Granta MI Server API. From a9ef1c9dd5f4f4d52c9c245937610bf9b1d4bdda Mon Sep 17 00:00:00 2001 From: Ludovic Steinbach Date: Tue, 14 Nov 2023 13:26:50 +0100 Subject: [PATCH 2/7] Bump swagger codegen dependencies --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 498d0257..f023fcc4 100644 --- a/pom.xml +++ b/pom.xml @@ -8,8 +8,8 @@ UTF-8 - 3.0.46 - 1.0.42 + 3.0.50 + 1.0.44 1.0.0 0.1.0 server-api.json @@ -25,7 +25,7 @@ io.swagger.codegen.v3 swagger-codegen-maven-plugin - 3.0.46 + 3.0.50 From e2ed0857ba544deb8ec6dc63377fa32d07097a2e Mon Sep 17 00:00:00 2001 From: ludovicsteinbach Date: Tue, 14 Nov 2023 12:30:52 +0000 Subject: [PATCH 3/7] Generate Client Library code - Automated --- .../.swagger-codegen/VERSION | 2 +- ansys-grantami-serverapi-openapi/poetry.lock | 14 +++++++------- ansys-grantami-serverapi-openapi/pyproject.toml | 14 +++++++------- ...ta_server_api_aggregations_aggregation_datum.py | 2 +- ...er_api_aggregations_local_column_aggregation.py | 2 +- ...regations_local_column_aggregation_criterion.py | 2 +- ...a_server_api_data_export_attribute_to_export.py | 2 +- .../granta_server_api_data_export_datums_datum.py | 2 +- ...a_server_api_data_export_properties_property.py | 2 +- ...granta_server_api_schema_layouts_layout_item.py | 2 +- ...nta_server_api_schema_layouts_layout_section.py | 2 +- ...ta_server_api_schema_layouts_new_layout_item.py | 2 +- ...create_tabular_columns_create_tabular_column.py | 2 +- ...er_api_schema_tabular_columns_tabular_column.py | 2 +- ...update_tabular_columns_update_tabular_column.py | 2 +- .../models/granta_server_api_value_specifier.py | 2 +- 16 files changed, 28 insertions(+), 28 deletions(-) diff --git a/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION b/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION index 16176176..48e69894 100644 --- a/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION +++ b/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.46 \ No newline at end of file +3.0.50 \ No newline at end of file diff --git a/ansys-grantami-serverapi-openapi/poetry.lock b/ansys-grantami-serverapi-openapi/poetry.lock index 6c3a50e9..6cdbc080 100644 --- a/ansys-grantami-serverapi-openapi/poetry.lock +++ b/ansys-grantami-serverapi-openapi/poetry.lock @@ -1,13 +1,13 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.0 and should not be changed by hand. [[package]] name = "ansys-openapi-common" -version = "1.2.2" +version = "1.3.0" description = "Provides a helper to create sessions for use with Ansys OpenAPI clients." optional = false -python-versions = ">=3.7,<4.0" +python-versions = ">=3.9,<4.0" files = [ - {file = "ansys_openapi_common-1.2.2-py3-none-any.whl", hash = "sha256:496a04ef3be954279d73badf1c856e10decf828d93aae98baccfb54e4001f58a"}, + {file = "ansys_openapi_common-1.3.0-py3-none-any.whl", hash = "sha256:49997b05b88c8f47e06b912dac499e44bd5593b516b2455aac168273dd08d88d"}, ] [package.dependencies] @@ -19,7 +19,7 @@ requests-ntlm = ">=1.1.0,<2.0.0" [package.extras] linux-kerberos = ["requests-kerberos (>=0.13,<0.14)"] -oidc = ["keyring (>=22,<24)", "requests_auth (>=6.0,<7.0)"] +oidc = ["keyring (>=22,<25)", "requests_auth (>=6,<8)"] [[package]] name = "certifi" @@ -583,5 +583,5 @@ zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.0" -python-versions = "^3.8.0" -content-hash = "2814bbc57fcddb5b307b2d696043388afd918721b8b08f08cc21cc0413576045" +python-versions = "^3.9.0" +content-hash = "2f22d3ec0f56907d7dc593916d4e214a1f6acb67c31c0cac8f47aac04b983058" diff --git a/ansys-grantami-serverapi-openapi/pyproject.toml b/ansys-grantami-serverapi-openapi/pyproject.toml index eccfc70d..60c5e5fd 100644 --- a/ansys-grantami-serverapi-openapi/pyproject.toml +++ b/ansys-grantami-serverapi-openapi/pyproject.toml @@ -5,10 +5,10 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ansys-grantami-serverapi-openapi" description = "Autogenerated client library for the Granta MI Server API." -version = "2.0.0.dev113" +version = "2.0.0.dev115" license = "MIT" -authors = ["ANSYS, Inc."] -maintainers = ["PyAnsys Maintainers "] +authors = ["ANSYS, Inc. "] +maintainers = ["ANSYS, Inc. "] homepage = "https://github.com/ansys/grantami-serverapi-openapi" readme = "README.md" keywords = ["Ansys", "OpenAPI"] @@ -18,10 +18,10 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Information Analysis", ] packages = [ @@ -29,8 +29,8 @@ packages = [ ] [tool.poetry.dependencies] -python = "^3.8.0" -ansys-openapi-common = "^1.2.1" +python = "^3.9.0" +ansys-openapi-common = "^1.3.0" requests = "^2.26.0" python-dateutil = "^2.8.2" @@ -41,7 +41,7 @@ requests-mock = "^1.0.0" [tool.tox] legacy_tox_ini = """ [tox] -envlist = py38,py39,py310,py311 +envlist = py39,py310,py311,py312 isolated_build = True [testenv] diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py index a0f8ec15..7378efc5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py @@ -61,7 +61,7 @@ class GrantaServerApiAggregationsAggregationDatum(ModelBase): "floatFunctionalGraph".lower(): "#/components/schemas/GrantaServerApiAggregationsFloatFunctionalAggregation", } - discriminator = "datumType" + discriminator = "datum_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py index 32833838..0b1ee733 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py @@ -58,7 +58,7 @@ class GrantaServerApiAggregationsLocalColumnAggregation(ModelBase): "exists".lower(): "#/components/schemas/GrantaServerApiAggregationsLocalColumnExistsAggregation", } - discriminator = "localColumnAggregationType" + discriminator = "local_column_aggregation_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py index fdde796d..a1265b80 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py @@ -56,7 +56,7 @@ class GrantaServerApiAggregationsLocalColumnAggregationCriterion(ModelBase): "exists".lower(): "#/components/schemas/GrantaServerApiAggregationsLocalColumnAggregationExistsCriterion", } - discriminator = "localColumnAggregationCriterionType" + discriminator = "local_column_aggregation_criterion_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py index 1d02f069..b9f2dc76 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py @@ -56,7 +56,7 @@ class GrantaServerApiDataExportAttributeToExport(ModelBase): "simple".lower(): "#/components/schemas/GrantaServerApiDataExportSimpleAttributeToExport", } - discriminator = "attributeType" + discriminator = "attribute_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py index 90de5734..307266ba 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py @@ -61,7 +61,7 @@ class GrantaServerApiDataExportDatumsDatum(ModelBase): "unknown".lower(): "#/components/schemas/GrantaServerApiDataExportDatumsUnknownDatum", } - discriminator = "notApplicable" + discriminator = "not_applicable" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py index c2cc830d..0475a43e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py @@ -67,7 +67,7 @@ class GrantaServerApiDataExportPropertiesProperty(ModelBase): "versionState".lower(): "#/components/schemas/GrantaServerApiDataExportPropertiesVersionStateProperty", } - discriminator = "propertyName" + discriminator = "property_name" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py index 004c88fd..be5023f0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py @@ -58,7 +58,7 @@ class GrantaServerApiSchemaLayoutsLayoutItem(ModelBase): "link".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsLayoutLinkItem", } - discriminator = "itemType" + discriminator = "item_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py index 93ca408b..f1b5db12 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py @@ -58,7 +58,7 @@ class GrantaServerApiSchemaLayoutsLayoutSection(ModelBase): "full".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsFullLayoutSection", } - discriminator = "sectionDetailType" + discriminator = "section_detail_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py index 3f5cd763..ac56f61a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py @@ -57,7 +57,7 @@ class GrantaServerApiSchemaLayoutsNewLayoutItem(ModelBase): "associationChain".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutAssociationChainItem", } - discriminator = "itemType" + discriminator = "item_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py index 921a1892..0476ff57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py @@ -83,7 +83,7 @@ class GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn "localPicture".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLocalPictureTabularColumn", } - discriminator = "columnType" + discriminator = "column_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py index d4545d9c..6b994e6f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py @@ -84,7 +84,7 @@ class GrantaServerApiSchemaTabularColumnsTabularColumn(ModelBase): "unavailable".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsUnavailableTabularColumn", } - discriminator = "columnType" + discriminator = "column_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py index 16d40d65..314791bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py @@ -83,7 +83,7 @@ class GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn "localPicture".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLocalPictureTabularColumn", } - discriminator = "columnType" + discriminator = "column_type" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py index 7c4397b7..1ab9e31a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py @@ -52,7 +52,7 @@ class GrantaServerApiValueSpecifier(ModelBase): "none".lower(): "#/components/schemas/GrantaServerApiNoValuesSpecifier", } - discriminator = "filterOn" + discriminator = "filter_on" def __init__( self, From 192d1c60393353d4d2f1d45ce62316c991293e1c Mon Sep 17 00:00:00 2001 From: Ludovic Steinbach Date: Tue, 14 Nov 2023 14:16:49 +0100 Subject: [PATCH 4/7] Revert swagger-codegen-generators version bump --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f023fcc4..c44fefd1 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ UTF-8 3.0.50 - 1.0.44 + 1.0.42 1.0.0 0.1.0 server-api.json From 1e34a99bfc20ab331e65a454481dd55ba8477e1a Mon Sep 17 00:00:00 2001 From: ludovicsteinbach Date: Tue, 14 Nov 2023 13:18:44 +0000 Subject: [PATCH 5/7] Generate Client Library code - Automated --- ansys-grantami-serverapi-openapi/pyproject.toml | 2 +- .../models/granta_server_api_aggregations_aggregation_datum.py | 2 +- .../granta_server_api_aggregations_local_column_aggregation.py | 2 +- ...erver_api_aggregations_local_column_aggregation_criterion.py | 2 +- .../models/granta_server_api_data_export_attribute_to_export.py | 2 +- .../models/granta_server_api_data_export_datums_datum.py | 2 +- .../models/granta_server_api_data_export_properties_property.py | 2 +- .../models/granta_server_api_schema_layouts_layout_item.py | 2 +- .../models/granta_server_api_schema_layouts_layout_section.py | 2 +- .../models/granta_server_api_schema_layouts_new_layout_item.py | 2 +- ...ular_columns_create_tabular_columns_create_tabular_column.py | 2 +- .../granta_server_api_schema_tabular_columns_tabular_column.py | 2 +- ...ular_columns_update_tabular_columns_update_tabular_column.py | 2 +- .../models/granta_server_api_value_specifier.py | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ansys-grantami-serverapi-openapi/pyproject.toml b/ansys-grantami-serverapi-openapi/pyproject.toml index 60c5e5fd..06c5c2bf 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 = "2.0.0.dev115" +version = "2.0.0.dev117" license = "MIT" authors = ["ANSYS, Inc. "] maintainers = ["ANSYS, Inc. "] diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py index 7378efc5..a0f8ec15 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py @@ -61,7 +61,7 @@ class GrantaServerApiAggregationsAggregationDatum(ModelBase): "floatFunctionalGraph".lower(): "#/components/schemas/GrantaServerApiAggregationsFloatFunctionalAggregation", } - discriminator = "datum_type" + discriminator = "datumType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py index 0b1ee733..32833838 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py @@ -58,7 +58,7 @@ class GrantaServerApiAggregationsLocalColumnAggregation(ModelBase): "exists".lower(): "#/components/schemas/GrantaServerApiAggregationsLocalColumnExistsAggregation", } - discriminator = "local_column_aggregation_type" + discriminator = "localColumnAggregationType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py index a1265b80..fdde796d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py @@ -56,7 +56,7 @@ class GrantaServerApiAggregationsLocalColumnAggregationCriterion(ModelBase): "exists".lower(): "#/components/schemas/GrantaServerApiAggregationsLocalColumnAggregationExistsCriterion", } - discriminator = "local_column_aggregation_criterion_type" + discriminator = "localColumnAggregationCriterionType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py index b9f2dc76..1d02f069 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py @@ -56,7 +56,7 @@ class GrantaServerApiDataExportAttributeToExport(ModelBase): "simple".lower(): "#/components/schemas/GrantaServerApiDataExportSimpleAttributeToExport", } - discriminator = "attribute_type" + discriminator = "attributeType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py index 307266ba..90de5734 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py @@ -61,7 +61,7 @@ class GrantaServerApiDataExportDatumsDatum(ModelBase): "unknown".lower(): "#/components/schemas/GrantaServerApiDataExportDatumsUnknownDatum", } - discriminator = "not_applicable" + discriminator = "notApplicable" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py index 0475a43e..c2cc830d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py @@ -67,7 +67,7 @@ class GrantaServerApiDataExportPropertiesProperty(ModelBase): "versionState".lower(): "#/components/schemas/GrantaServerApiDataExportPropertiesVersionStateProperty", } - discriminator = "property_name" + discriminator = "propertyName" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py index be5023f0..004c88fd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py @@ -58,7 +58,7 @@ class GrantaServerApiSchemaLayoutsLayoutItem(ModelBase): "link".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsLayoutLinkItem", } - discriminator = "item_type" + discriminator = "itemType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py index f1b5db12..93ca408b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py @@ -58,7 +58,7 @@ class GrantaServerApiSchemaLayoutsLayoutSection(ModelBase): "full".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsFullLayoutSection", } - discriminator = "section_detail_type" + discriminator = "sectionDetailType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py index ac56f61a..3f5cd763 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py @@ -57,7 +57,7 @@ class GrantaServerApiSchemaLayoutsNewLayoutItem(ModelBase): "associationChain".lower(): "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutAssociationChainItem", } - discriminator = "item_type" + discriminator = "itemType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py index 0476ff57..921a1892 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py @@ -83,7 +83,7 @@ class GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn "localPicture".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLocalPictureTabularColumn", } - discriminator = "column_type" + discriminator = "columnType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py index 6b994e6f..d4545d9c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py @@ -84,7 +84,7 @@ class GrantaServerApiSchemaTabularColumnsTabularColumn(ModelBase): "unavailable".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsUnavailableTabularColumn", } - discriminator = "column_type" + discriminator = "columnType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py index 314791bf..16d40d65 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py @@ -83,7 +83,7 @@ class GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn "localPicture".lower(): "#/components/schemas/GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLocalPictureTabularColumn", } - discriminator = "column_type" + discriminator = "columnType" def __init__( self, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py index 1ab9e31a..7c4397b7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py @@ -52,7 +52,7 @@ class GrantaServerApiValueSpecifier(ModelBase): "none".lower(): "#/components/schemas/GrantaServerApiNoValuesSpecifier", } - discriminator = "filter_on" + discriminator = "filterOn" def __init__( self, From f4ef9780c2572360c018e915b377f2de6680b0c8 Mon Sep 17 00:00:00 2001 From: Ludovic Steinbach Date: Tue, 14 Nov 2023 14:34:54 +0100 Subject: [PATCH 6/7] Update python version in test matrix --- .github/workflows/build_and_test_library.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test_library.yml b/.github/workflows/build_and_test_library.yml index e6b32119..81fb1b0e 100644 --- a/.github/workflows/build_and_test_library.yml +++ b/.github/workflows/build_and_test_library.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.9', '3.10', '3.11', '3.12' ] fail-fast: false steps: From ba3378de3433df0832f269cd68aee708f33c13bc Mon Sep 17 00:00:00 2001 From: ludovicsteinbach Date: Tue, 14 Nov 2023 13:36:12 +0000 Subject: [PATCH 7/7] Generate Client Library code - Automated --- ansys-grantami-serverapi-openapi/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansys-grantami-serverapi-openapi/pyproject.toml b/ansys-grantami-serverapi-openapi/pyproject.toml index 06c5c2bf..fe71175e 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 = "2.0.0.dev117" +version = "2.0.0.dev119" license = "MIT" authors = ["ANSYS, Inc. "] maintainers = ["ANSYS, Inc. "]