Skip to content

Commit

Permalink
Merge pull request #26 from pyansys/client-library-build
Browse files Browse the repository at this point in the history
Update client library
  • Loading branch information
da1910 authored Mar 20, 2023
2 parents 1b6888f + d6d03f0 commit 0e8f248
Show file tree
Hide file tree
Showing 173 changed files with 21,448 additions and 438 deletions.
2 changes: 1 addition & 1 deletion ansys-grantami-serverapi-openapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "ansys-grantami-serverapi-openapi"
version = "0.1.0.dev12"
version = "0.1.0.dev17"
description = "Autogenerated client library for the PyAnsys Library."
authors = [
{name = "ANSYS, Inc." }
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@
from .list_permissions_api import ListPermissionsApi
from .schema_api import SchemaApi
from .schema___attributes_api import SchemaAttributesApi
from .schema___configurations_api import SchemaConfigurationsApi
from .schema___constants_api import SchemaConstantsApi
from .schema___data_rules_api import SchemaDataRulesApi
from .schema___databases_api import SchemaDatabasesApi
from .schema___discrete_types___discrete_values_api import SchemaDiscreteTypesDiscreteValuesApi
from .schema___discrete_types_api import SchemaDiscreteTypesApi
from .schema___expressions_api import SchemaExpressionsApi
from .schema___help_files_api import SchemaHelpFilesApi
from .schema___layout_sections_api import SchemaLayoutSectionsApi
from .schema___layouts_api import SchemaLayoutsApi
from .schema___parameters_api import SchemaParametersApi
from .schema___profile_tables_api import SchemaProfileTablesApi
from .schema___profiles_api import SchemaProfilesApi
from .schema___record_link_groups_api import SchemaRecordLinkGroupsApi
from .schema___standard_names_api import SchemaStandardNamesApi
from .schema___subsets_api import SchemaSubsetsApi
from .schema___tables_api import SchemaTablesApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def v1alpha_databases_database_key_standard_namesgenerate_integration_schema_pos
:param str database_key: (required)
:param list[str] body:
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_key_standard_namesgenerate_integration_schema_post_with_http_info(database_key, **kwargs) # noqa: E501
Expand All @@ -41,7 +41,7 @@ def v1alpha_databases_database_key_standard_namesgenerate_integration_schema_pos
:param str database_key: (required)
:param list[str] body:
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['database_key', 'body'] # noqa: E501
Expand Down Expand Up @@ -90,7 +90,7 @@ def v1alpha_databases_database_key_standard_namesgenerate_integration_schema_pos
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand All @@ -117,7 +117,7 @@ def v1alpha_databases_database_key_tables_table_identity_layout_layout_identityg
:param str database_key: (required)
:param int table_identity: (required)
:param int layout_identity: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_key_tables_table_identity_layout_layout_identitygenerate_integration_schema_get_with_http_info(database_key, table_identity, layout_identity, **kwargs) # noqa: E501
Expand All @@ -131,7 +131,7 @@ def v1alpha_databases_database_key_tables_table_identity_layout_layout_identityg
:param str database_key: (required)
:param int table_identity: (required)
:param int layout_identity: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['database_key', 'table_identity', 'layout_identity'] # noqa: E501
Expand Down Expand Up @@ -186,7 +186,7 @@ def v1alpha_databases_database_key_tables_table_identity_layout_layout_identityg
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand All @@ -213,7 +213,7 @@ def v1alpha_databases_database_key_tables_table_identity_layout_layout_namegener
:param str database_key: (required)
:param int table_identity: (required)
:param str layout_name: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_key_tables_table_identity_layout_layout_namegenerate_integration_schema_get_with_http_info(database_key, table_identity, layout_name, **kwargs) # noqa: E501
Expand All @@ -227,7 +227,7 @@ def v1alpha_databases_database_key_tables_table_identity_layout_layout_namegener
:param str database_key: (required)
:param int table_identity: (required)
:param str layout_name: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['database_key', 'table_identity', 'layout_name'] # noqa: E501
Expand Down Expand Up @@ -282,7 +282,7 @@ def v1alpha_databases_database_key_tables_table_identity_layout_layout_namegener
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand All @@ -308,7 +308,7 @@ def v1alpha_databases_database_key_tables_table_identitygenerate_integration_sch
:param str database_key: (required)
:param int table_identity: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_key_tables_table_identitygenerate_integration_schema_get_with_http_info(database_key, table_identity, **kwargs) # noqa: E501
Expand All @@ -321,7 +321,7 @@ def v1alpha_databases_database_key_tables_table_identitygenerate_integration_sch
:param str database_key: (required)
:param int table_identity: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['database_key', 'table_identity'] # noqa: E501
Expand Down Expand Up @@ -370,7 +370,7 @@ def v1alpha_databases_database_key_tables_table_identitygenerate_integration_sch
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand All @@ -397,7 +397,7 @@ def v1alpha_databases_database_key_tables_table_name_layout_layout_identitygener
:param str database_key: (required)
:param str table_name: (required)
:param int layout_identity: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_key_tables_table_name_layout_layout_identitygenerate_integration_schema_get_with_http_info(database_key, table_name, layout_identity, **kwargs) # noqa: E501
Expand All @@ -411,7 +411,7 @@ def v1alpha_databases_database_key_tables_table_name_layout_layout_identitygener
:param str database_key: (required)
:param str table_name: (required)
:param int layout_identity: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['database_key', 'table_name', 'layout_identity'] # noqa: E501
Expand Down Expand Up @@ -466,7 +466,7 @@ def v1alpha_databases_database_key_tables_table_name_layout_layout_identitygener
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand All @@ -493,7 +493,7 @@ def v1alpha_databases_database_key_tables_table_name_layout_layout_namegenerate_
:param str database_key: (required)
:param str table_name: (required)
:param str layout_name: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_key_tables_table_name_layout_layout_namegenerate_integration_schema_get_with_http_info(database_key, table_name, layout_name, **kwargs) # noqa: E501
Expand All @@ -507,7 +507,7 @@ def v1alpha_databases_database_key_tables_table_name_layout_layout_namegenerate_
:param str database_key: (required)
:param str table_name: (required)
:param str layout_name: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['database_key', 'table_name', 'layout_name'] # noqa: E501
Expand Down Expand Up @@ -562,7 +562,7 @@ def v1alpha_databases_database_key_tables_table_name_layout_layout_namegenerate_
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand All @@ -588,7 +588,7 @@ def v1alpha_databases_database_key_tables_table_namegenerate_integration_schema_
:param str database_key: (required)
:param str table_name: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_key_tables_table_namegenerate_integration_schema_get_with_http_info(database_key, table_name, **kwargs) # noqa: E501
Expand All @@ -601,7 +601,7 @@ def v1alpha_databases_database_key_tables_table_namegenerate_integration_schema_
:param str database_key: (required)
:param str table_name: (required)
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['database_key', 'table_name'] # noqa: E501
Expand Down Expand Up @@ -650,7 +650,7 @@ def v1alpha_databases_database_key_tables_table_namegenerate_integration_schema_
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand All @@ -669,13 +669,95 @@ def v1alpha_databases_database_key_tables_table_namegenerate_integration_schema_
collection_formats=collection_formats,
response_type_map=response_type_map)

def v1alpha_databases_database_keysearch_index_status_get(self, database_key, **kwargs): # noqa: E501
"""v1alpha_databases_database_keysearch_index_status_get # noqa: E501
This method makes a synchronous HTTP request.
:param str database_key: (required)
:param bool include_diagnostics:
:return: GrantaServerApiSearchIndexStatus
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_databases_database_keysearch_index_status_get_with_http_info(database_key, **kwargs) # noqa: E501
return data

def v1alpha_databases_database_keysearch_index_status_get_with_http_info(self, database_key, **kwargs): # noqa: E501
"""v1alpha_databases_database_keysearch_index_status_get # noqa: E501
This method makes a synchronous HTTP request.
:param str database_key: (required)
:param bool include_diagnostics:
:return: GrantaServerApiSearchIndexStatus
"""

all_params = ['database_key', 'include_diagnostics'] # noqa: E501
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')

params = locals()
for key, val in params['kwargs'].items():
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '{}' to method v1alpha_databases_database_keysearch_index_status_get".format(key)
)
params[key] = val
del params['kwargs']
# verify the required parameter 'database_key' is set
if ('database_key' not in params or
params['database_key'] is None):
raise ValueError("Missing the required parameter `database_key` when calling `v1alpha_databases_database_keysearch_index_status_get`") # noqa: E501

collection_formats = {}

path_params = {}
if 'database_key' in params:
path_params['database-key'] = params['database_key'] # noqa: E501

query_params = []
if 'include_diagnostics' in params:
query_params.append(('include-diagnostics', params['include_diagnostics'])) # noqa: E501

header_params = {}

form_params = []
local_var_files = {}

body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['text/plain', 'application/json', 'text/json']) # noqa: E501

# Authentication setting
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiSearchIndexStatus',
}

return self.api_client.call_api(
'/v1alpha/databases/{database-key}:search-index-status', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats,
response_type_map=response_type_map)

def v1alpha_standard_namesgenerate_integration_schema_post(self, **kwargs): # noqa: E501
"""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. # noqa: E501
This method makes a synchronous HTTP request.
:param list[str] body:
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""
kwargs['_return_http_data_only'] = True
(data) = self.v1alpha_standard_namesgenerate_integration_schema_post_with_http_info(**kwargs) # noqa: E501
Expand All @@ -687,7 +769,7 @@ def v1alpha_standard_namesgenerate_integration_schema_post_with_http_info(self,
This method makes a synchronous HTTP request.
:param list[str] body:
:return: GrantaServerApiIntegrationSchemaIntegrationSchema
:return: GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier
"""

all_params = ['body'] # noqa: E501
Expand Down Expand Up @@ -730,7 +812,7 @@ def v1alpha_standard_namesgenerate_integration_schema_post_with_http_info(self,
auth_settings = [] # noqa: E501

response_type_map = {
200: 'GrantaServerApiIntegrationSchemaIntegrationSchema',
200: 'GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier',
403: None,
404: None,
}
Expand Down
Loading

0 comments on commit 0e8f248

Please sign in to comment.