Skip to content

Commit

Permalink
Update Template Version to 4.1.1 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
da1910 authored Oct 24, 2024
1 parent 33a22ec commit f741665
Show file tree
Hide file tree
Showing 792 changed files with 11,202 additions and 11,157 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
628 changes: 336 additions & 292 deletions ansys-grantami-serverapi-openapi/poetry.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions ansys-grantami-serverapi-openapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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. <[email protected]>"]
maintainers = ["ANSYS, Inc. <[email protected]>"]
Expand All @@ -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 = [
Expand All @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"""

import re # noqa: F401
from typing 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

Expand Down Expand Up @@ -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:
Expand All @@ -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,
}
Expand Down Expand Up @@ -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:
Expand All @@ -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,
}
Expand Down Expand Up @@ -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:
Expand All @@ -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,
}
Expand Down Expand Up @@ -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:
Expand All @@ -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,
}
Expand Down
Loading

0 comments on commit f741665

Please sign in to comment.