diff --git a/README.md b/README.md index b19b7a8..02e8268 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is the API of the Software Description Ontology at [https://w3id.org/okn/o/ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: v1.5.0 -- Package version: 3.0.0 +- Package version: 5.0.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. @@ -87,6 +87,7 @@ Class | Method | HTTP request | Description *ConfigurationSetupApi* | [**configurationsetups_id_put**](docs/endpoints/ConfigurationSetupApi.md#configurationsetups_id_put) | **PUT** /configurationsetups/{id} | Update an existing ConfigurationSetup *ConfigurationSetupApi* | [**configurationsetups_post**](docs/endpoints/ConfigurationSetupApi.md#configurationsetups_post) | **POST** /configurationsetups | Create one ConfigurationSetup *ConfigurationSetupApi* | [**custom_configurationsetups_id_get**](docs/endpoints/ConfigurationSetupApi.md#custom_configurationsetups_id_get) | **GET** /custom/configurationsetups/{id} | Get a ModelConfigurationSetup +*DataTransformationApi* | [**custom_dataspecifications_id_datatransformations_get**](docs/endpoints/DataTransformationApi.md#custom_dataspecifications_id_datatransformations_get) | **GET** /custom/dataspecifications/{id}/datatransformations | Gets a list of data transformations related a dataset *DataTransformationApi* | [**datatransformations_get**](docs/endpoints/DataTransformationApi.md#datatransformations_get) | **GET** /datatransformations | List all instances of DataTransformation *DataTransformationApi* | [**datatransformations_id_delete**](docs/endpoints/DataTransformationApi.md#datatransformations_id_delete) | **DELETE** /datatransformations/{id} | Delete an existing DataTransformation *DataTransformationApi* | [**datatransformations_id_get**](docs/endpoints/DataTransformationApi.md#datatransformations_id_get) | **GET** /datatransformations/{id} | Get a single DataTransformation by its id diff --git a/docs/endpoints/ConfigurationSetup.md b/docs/endpoints/ConfigurationSetup.md index 4e2839d..6c6763b 100644 --- a/docs/endpoints/ConfigurationSetup.md +++ b/docs/endpoints/ConfigurationSetup.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes **has_build_file** | **list[str]** | A file (e.g., Dockerfile) with executable instructions indicating how a Software Image or a Software component is built | [optional] **short_description** | **list[str]** | A summarized description of the resource | [optional] **has_execution_command** | **list[str]** | Execution instructions on how to run the image | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | License of a software component or its source code | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_setup** | [**list[ConfigurationSetup]**](ConfigurationSetup.md) | Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations | [optional] @@ -45,7 +45,7 @@ Name | Type | Description | Notes **had_primary_source** | **list[object]** | had primary source | [optional] **issue_tracker** | **list[str]** | Pointer to the issue tracker of a software component | [optional] **has_software_image** | [**list[SoftwareImage]**](SoftwareImage.md) | Function to link a function with its corresponding container | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Objective or main functionality that can be achieved by running this software | [optional] **has_executable_instructions** | **list[str]** | Instructions that indicate how a software component should be executed. The difference with `hasExecutionCommand` is that the execution instructions aim to be human-readable, and have explanations between the different commands and instructions | [optional] diff --git a/docs/endpoints/DataTransformation.md b/docs/endpoints/DataTransformation.md index 77a5d46..14a6ba0 100644 --- a/docs/endpoints/DataTransformation.md +++ b/docs/endpoints/DataTransformation.md @@ -11,45 +11,45 @@ Name | Type | Description | Notes **has_download_url** | **list[str]** | Download URL where to obtain the source/executable of the software | [optional] **type** | **list[str]** | type of the resource | [optional] **has_installation_instructions** | **list[str]** | Instructions required to install this particular piece of software. Installation instructions usually are available in a human-readable manner. | [optional] -**compatible_visualization_software** | **list[object]** | Property that links a software component to other useful software that canbe used to visualize its outputs | [optional] +**compatible_visualization_software** | [**list[Software]**](Software.md) | Property that links a software component to other useful software that canbe used to visualize its outputs | [optional] **copyright_holder** | **list[object]** | Description not available | [optional] **has_faq** | **list[str]** | Frequently asked questions about a software | [optional] -**logo** | **list[object]** | Description not available | [optional] +**logo** | [**list[Image]**](Image.md) | Description not available | [optional] **has_contact_person** | **list[object]** | Description not available | [optional] **tag** | **list[str]** | Tag used to annotate a version or a software configuration. This annotation is useful to show which version is the latest, or which version is deprecated. Supported tags are: \"latest\", \"deprecated\" | [optional] **id** | **str** | identifier | [optional] **identifier** | **list[str]** | Identifier of the resource being described | [optional] -**has_sample_execution** | **list[object]** | Description not available | [optional] -**has_sample_result** | **list[object]** | Description not available | [optional] +**has_sample_execution** | [**list[SampleExecution]**](SampleExecution.md) | Description not available | [optional] +**has_sample_result** | [**list[SampleResource]**](SampleResource.md) | Description not available | [optional] **author** | **list[object]** | Description not available | [optional] **has_constraint** | **list[str]** | Constraint or rule associated to a variable or software configuration. For example: \"This model accepts only monthly data\", or \"all inputs of this model configuration must share the same location\". More structured restrictions, such as Jena rules or SWRL rules may also be captured with this property | [optional] **has_build_file** | **list[str]** | A file (e.g., Dockerfile) with executable instructions indicating how a Software Image or a Software component is built | [optional] **short_description** | **list[str]** | A summarized description of the resource | [optional] **has_execution_command** | **list[str]** | Execution instructions on how to run the image | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | License of a software component or its source code | [optional] -**has_source_code** | **list[object]** | Description not available | [optional] -**has_setup** | **list[object]** | Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations | [optional] +**has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] +**has_setup** | [**list[ConfigurationSetup]**](ConfigurationSetup.md) | Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations | [optional] **has_example** | **list[str]** | An example explaining a scenario where the software component was used in plain language. | [optional] **publisher** | **list[object]** | Description not available | [optional] -**has_output** | **list[object]** | Property that expresses what are the outputs of a model | [optional] +**has_output** | [**list[DatasetSpecification]**](DatasetSpecification.md) | Property that expresses what are the outputs of a model | [optional] **doi** | **list[str]** | Digital Object Identifier associated with a software component | [optional] -**has_funding** | **list[object]** | Property that links a software project to its funding information | [optional] +**has_funding** | [**list[FundingInformation]**](FundingInformation.md) | Property that links a software project to its funding information | [optional] **has_component_location** | **list[str]** | Location of the aggregation of all the files needed to execute the component. Usually a zip file including the run script and support scripts, including specification files | [optional] **support_details** | **list[str]** | Property to link details, such as mailing lists in case a contact person is not provided | [optional] -**has_version** | **list[object]** | Description not available | [optional] +**has_version** | [**list[SoftwareVersion]**](SoftwareVersion.md) | Description not available | [optional] **has_typical_data_source** | **list[str]** | Description not available | [optional] **description** | **list[str]** | small description | [optional] **reference_publication** | **list[str]** | Main publication to cite for this software component | [optional] -**screenshot** | **list[object]** | Description not available | [optional] +**screenshot** | [**list[Image]**](Image.md) | Description not available | [optional] **had_primary_source** | **list[object]** | had primary source | [optional] **issue_tracker** | **list[str]** | Pointer to the issue tracker of a software component | [optional] -**has_software_image** | **list[object]** | Function to link a function with its corresponding container | [optional] -**date_created** | **list[str]** | Description not available | [optional] -**contributor** | **list[object]** | Description not available | [optional] +**has_software_image** | [**list[SoftwareImage]**](SoftwareImage.md) | Function to link a function with its corresponding container | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] +**contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Objective or main functionality that can be achieved by running this software | [optional] **has_executable_instructions** | **list[str]** | Instructions that indicate how a software component should be executed. The difference with `hasExecutionCommand` is that the execution instructions aim to be human-readable, and have explanations between the different commands and instructions | [optional] -**has_sample_visualization** | **list[object]** | A typical sample visualization of the softwware outputs | [optional] +**has_sample_visualization** | [**list[Visualization]**](Visualization.md) | A typical sample visualization of the softwware outputs | [optional] **memory_requirements** | **list[str]** | Description not available | [optional] **website** | **list[str]** | Website of the software | [optional] **citation** | **list[str]** | How to cite this software | [optional] @@ -59,11 +59,11 @@ Name | Type | Description | Notes **readme** | **list[str]** | URl to the readme file of a software component | [optional] **label** | **list[str]** | short description of the resource | [optional] **has_assumption** | **list[str]** | Assumptions of a software, e.g. the solver being used for a particular model, the source of the data (e.g., all data must have a given resolution), etc. | [optional] -**has_parameter** | **list[object]** | Property that indicates the parameters of a model configuration | [optional] +**has_parameter** | [**list[Parameter]**](Parameter.md) | Property that indicates the parameters of a model configuration | [optional] **operating_systems** | **list[str]** | Description not available | [optional] **has_executable_notebook** | **list[str]** | Property that links a software component with an executable notebook (e.g., Jupyter notebook) that illustrates how to use it in an executable manner. | [optional] -**useful_for_calculating_index** | **list[object]** | Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. | [optional] -**has_input** | **list[object]** | Property that links a model configuration to the input types expected by it. | [optional] +**useful_for_calculating_index** | [**list[NumericalIndex]**](NumericalIndex.md) | Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. | [optional] +**has_input** | [**list[DatasetSpecification]**](DatasetSpecification.md) | Property that links a model configuration to the input types expected by it. | [optional] [[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../) diff --git a/docs/endpoints/DataTransformationApi.md b/docs/endpoints/DataTransformationApi.md index ac4885c..1d37165 100644 --- a/docs/endpoints/DataTransformationApi.md +++ b/docs/endpoints/DataTransformationApi.md @@ -4,6 +4,7 @@ All URIs are relative to *https://api.models.mint.isi.edu/v1.5.0* Method | HTTP request | Description ------------- | ------------- | ------------- +[**custom_dataspecifications_id_datatransformations_get**](DataTransformationApi.md#custom_dataspecifications_id_datatransformations_get) | **GET** /custom/dataspecifications/{id}/datatransformations | Gets a list of data transformations related a dataset [**datatransformations_get**](DataTransformationApi.md#datatransformations_get) | **GET** /datatransformations | List all instances of DataTransformation [**datatransformations_id_delete**](DataTransformationApi.md#datatransformations_id_delete) | **DELETE** /datatransformations/{id} | Delete an existing DataTransformation [**datatransformations_id_get**](DataTransformationApi.md#datatransformations_id_get) | **GET** /datatransformations/{id} | Get a single DataTransformation by its id @@ -11,6 +12,64 @@ Method | HTTP request | Description [**datatransformations_post**](DataTransformationApi.md#datatransformations_post) | **POST** /datatransformations | Create one DataTransformation +# **custom_dataspecifications_id_datatransformations_get** +> list[DataTransformation] custom_dataspecifications_id_datatransformations_get(id, custom_query_name=custom_query_name, username=username) + +Gets a list of data transformations related a dataset + +Gets a list of data transformations related a dataset + +### Example + +```python +from __future__ import print_function +import time +import modelcatalog +from modelcatalog.rest import ApiException +from pprint import pprint + +# Create an instance of the API class +api_instance = modelcatalog.DataTransformationApi() +id = 'id_example' # str | The ID of the dataspecification +custom_query_name = 'custom_datatransformations' # str | Name of the custom query (optional) (default to 'custom_datatransformations') +username = 'username_example' # str | Username to query (optional) + +try: + # Gets a list of data transformations related a dataset + api_response = api_instance.custom_dataspecifications_id_datatransformations_get(id, custom_query_name=custom_query_name, username=username) + pprint(api_response) +except ApiException as e: + print("Exception when calling DataTransformationApi->custom_dataspecifications_id_datatransformations_get: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| The ID of the dataspecification | + **custom_query_name** | **str**| Name of the custom query | [optional] [default to 'custom_datatransformations'] + **username** | **str**| Username to query | [optional] + +### Return type + +[**list[DataTransformation]**](DataTransformation.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Gets a list of data transformations filter related a dataset | - | + +[[Back to top]](#) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to Model list]](../#documentation-for-models) [[Back to README]](../) + # **datatransformations_get** > list[DataTransformation] datatransformations_get(username=username, label=label, page=page, per_page=per_page) diff --git a/docs/endpoints/DataTransformationSetup.md b/docs/endpoints/DataTransformationSetup.md index f6d7404..91566ef 100644 --- a/docs/endpoints/DataTransformationSetup.md +++ b/docs/endpoints/DataTransformationSetup.md @@ -11,60 +11,60 @@ Name | Type | Description | Notes **has_download_url** | **list[str]** | Download URL where to obtain the source/executable of the software | [optional] **type** | **list[str]** | type of the resource | [optional] **has_installation_instructions** | **list[str]** | Instructions required to install this particular piece of software. Installation instructions usually are available in a human-readable manner. | [optional] -**compatible_visualization_software** | **list[object]** | Property that links a software component to other useful software that canbe used to visualize its outputs | [optional] +**compatible_visualization_software** | [**list[Software]**](Software.md) | Property that links a software component to other useful software that canbe used to visualize its outputs | [optional] **copyright_holder** | **list[object]** | Description not available | [optional] **has_faq** | **list[str]** | Frequently asked questions about a software | [optional] -**logo** | **list[object]** | Description not available | [optional] +**logo** | [**list[Image]**](Image.md) | Description not available | [optional] **has_contact_person** | **list[object]** | Description not available | [optional] **tag** | **list[str]** | Tag used to annotate a version or a software configuration. This annotation is useful to show which version is the latest, or which version is deprecated. Supported tags are: \"latest\", \"deprecated\" | [optional] **id** | **str** | identifier | [optional] **identifier** | **list[str]** | Identifier of the resource being described | [optional] -**has_sample_execution** | **list[object]** | Description not available | [optional] -**has_sample_result** | **list[object]** | Description not available | [optional] +**has_sample_execution** | [**list[SampleExecution]**](SampleExecution.md) | Description not available | [optional] +**has_sample_result** | [**list[SampleResource]**](SampleResource.md) | Description not available | [optional] **author** | **list[object]** | Description not available | [optional] **has_constraint** | **list[str]** | Constraint or rule associated to a variable or software configuration. For example: \"This model accepts only monthly data\", or \"all inputs of this model configuration must share the same location\". More structured restrictions, such as Jena rules or SWRL rules may also be captured with this property | [optional] **has_build_file** | **list[str]** | A file (e.g., Dockerfile) with executable instructions indicating how a Software Image or a Software component is built | [optional] **short_description** | **list[str]** | A summarized description of the resource | [optional] **has_execution_command** | **list[str]** | Execution instructions on how to run the image | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | License of a software component or its source code | [optional] -**has_source_code** | **list[object]** | Description not available | [optional] -**has_setup** | **list[object]** | Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations | [optional] +**has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] +**has_setup** | [**list[ConfigurationSetup]**](ConfigurationSetup.md) | Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations | [optional] **has_example** | **list[str]** | An example explaining a scenario where the software component was used in plain language. | [optional] **publisher** | **list[object]** | Description not available | [optional] -**has_output** | **list[object]** | Property that expresses what are the outputs of a model | [optional] +**has_output** | [**list[DatasetSpecification]**](DatasetSpecification.md) | Property that expresses what are the outputs of a model | [optional] **doi** | **list[str]** | Digital Object Identifier associated with a software component | [optional] -**has_funding** | **list[object]** | Property that links a software project to its funding information | [optional] +**has_funding** | [**list[FundingInformation]**](FundingInformation.md) | Property that links a software project to its funding information | [optional] **has_component_location** | **list[str]** | Location of the aggregation of all the files needed to execute the component. Usually a zip file including the run script and support scripts, including specification files | [optional] **support_details** | **list[str]** | Property to link details, such as mailing lists in case a contact person is not provided | [optional] -**has_version** | **list[object]** | Description not available | [optional] +**has_version** | [**list[SoftwareVersion]**](SoftwareVersion.md) | Description not available | [optional] **has_typical_data_source** | **list[str]** | Description not available | [optional] **description** | **list[str]** | small description | [optional] **reference_publication** | **list[str]** | Main publication to cite for this software component | [optional] -**screenshot** | **list[object]** | Description not available | [optional] +**screenshot** | [**list[Image]**](Image.md) | Description not available | [optional] **had_primary_source** | **list[object]** | had primary source | [optional] **issue_tracker** | **list[str]** | Pointer to the issue tracker of a software component | [optional] -**has_software_image** | **list[object]** | Function to link a function with its corresponding container | [optional] -**date_created** | **list[str]** | Description not available | [optional] -**contributor** | **list[object]** | Description not available | [optional] +**has_software_image** | [**list[SoftwareImage]**](SoftwareImage.md) | Function to link a function with its corresponding container | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] +**contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Objective or main functionality that can be achieved by running this software | [optional] **has_executable_instructions** | **list[str]** | Instructions that indicate how a software component should be executed. The difference with `hasExecutionCommand` is that the execution instructions aim to be human-readable, and have explanations between the different commands and instructions | [optional] -**has_sample_visualization** | **list[object]** | A typical sample visualization of the softwware outputs | [optional] +**has_sample_visualization** | [**list[Visualization]**](Visualization.md) | A typical sample visualization of the softwware outputs | [optional] **memory_requirements** | **list[str]** | Description not available | [optional] **website** | **list[str]** | Website of the software | [optional] **citation** | **list[str]** | How to cite this software | [optional] **processor_requirements** | **list[str]** | Description not available | [optional] -**adjustable_parameter** | **list[object]** | Parameter that can be adjusted in a configuration setup | [optional] +**adjustable_parameter** | [**list[Parameter]**](Parameter.md) | Parameter that can be adjusted in a configuration setup | [optional] **has_usage_notes** | **list[str]** | Property that describes the usage considerations of a particular software. These notes capture the rationale of for that software configuration, along with an explanation for sample inputs, things to consider when running the model with data, etc. | [optional] **has_support_script_location** | **list[str]** | Property that links to the location of scripts that may be used from the main runnable script. | [optional] **readme** | **list[str]** | URl to the readme file of a software component | [optional] **label** | **list[str]** | short description of the resource | [optional] **has_assumption** | **list[str]** | Assumptions of a software, e.g. the solver being used for a particular model, the source of the data (e.g., all data must have a given resolution), etc. | [optional] -**has_parameter** | **list[object]** | Property that indicates the parameters of a model configuration | [optional] +**has_parameter** | [**list[Parameter]**](Parameter.md) | Property that indicates the parameters of a model configuration | [optional] **operating_systems** | **list[str]** | Description not available | [optional] **has_executable_notebook** | **list[str]** | Property that links a software component with an executable notebook (e.g., Jupyter notebook) that illustrates how to use it in an executable manner. | [optional] -**useful_for_calculating_index** | **list[object]** | Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. | [optional] -**has_input** | **list[object]** | Property that links a model configuration to the input types expected by it. | [optional] +**useful_for_calculating_index** | [**list[NumericalIndex]**](NumericalIndex.md) | Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. | [optional] +**has_input** | [**list[DatasetSpecification]**](DatasetSpecification.md) | Property that links a model configuration to the input types expected by it. | [optional] [[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../) diff --git a/docs/endpoints/EmpiricalModel.md b/docs/endpoints/EmpiricalModel.md index 0d8966c..7ea5239 100644 --- a/docs/endpoints/EmpiricalModel.md +++ b/docs/endpoints/EmpiricalModel.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **author** | **list[object]** | Description not available | [optional] **has_build_file** | **list[str]** | Description not available | [optional] **short_description** | **list[str]** | Description not available | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | Description not available | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_explanation_diagram** | [**list[Image]**](Image.md) | Diagram used to explain the behavior of the model | [optional] @@ -38,7 +38,7 @@ Name | Type | Description | Notes **has_model_category** | **list[str]** | Category associated with a model (e.g., Hydrology) | [optional] **had_primary_source** | **list[object]** | Description not available | [optional] **issue_tracker** | **list[str]** | Description not available | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Description not available | [optional] **has_executable_instructions** | **list[str]** | Description not available | [optional] diff --git a/docs/endpoints/Emulator.md b/docs/endpoints/Emulator.md index 4fbb421..bad9989 100644 --- a/docs/endpoints/Emulator.md +++ b/docs/endpoints/Emulator.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **author** | **list[object]** | Description not available | [optional] **has_build_file** | **list[str]** | Description not available | [optional] **short_description** | **list[str]** | Description not available | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | Description not available | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_explanation_diagram** | [**list[Image]**](Image.md) | Diagram used to explain the behavior of the model | [optional] @@ -38,7 +38,7 @@ Name | Type | Description | Notes **has_model_category** | **list[str]** | Category associated with a model (e.g., Hydrology) | [optional] **had_primary_source** | **list[object]** | Description not available | [optional] **issue_tracker** | **list[str]** | Description not available | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Description not available | [optional] **has_executable_instructions** | **list[str]** | Description not available | [optional] diff --git a/docs/endpoints/FundingInformation.md b/docs/endpoints/FundingInformation.md index c5ce030..1b7323d 100644 --- a/docs/endpoints/FundingInformation.md +++ b/docs/endpoints/FundingInformation.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes **description** | **list[str]** | small description | [optional] **id** | **str** | identifier | [optional] **label** | **list[str]** | short description of the resource | [optional] -**type** | **list[str]** | type of the resource | [optional] **funding_source** | [**list[Organization]**](Organization.md) | Description not available | [optional] +**type** | **list[str]** | type of the resource | [optional] **funding_grant** | **list[str]** | Grant number used for funding | [optional] [[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../) diff --git a/docs/endpoints/HybridModel.md b/docs/endpoints/HybridModel.md index 7461912..5f89e79 100644 --- a/docs/endpoints/HybridModel.md +++ b/docs/endpoints/HybridModel.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **author** | **list[object]** | Description not available | [optional] **has_build_file** | **list[str]** | Description not available | [optional] **short_description** | **list[str]** | Description not available | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | Description not available | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_explanation_diagram** | [**list[Image]**](Image.md) | Diagram used to explain the behavior of the model | [optional] @@ -38,7 +38,7 @@ Name | Type | Description | Notes **has_model_category** | **list[str]** | Category associated with a model (e.g., Hydrology) | [optional] **had_primary_source** | **list[object]** | Description not available | [optional] **issue_tracker** | **list[str]** | Description not available | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Description not available | [optional] **has_executable_instructions** | **list[str]** | Description not available | [optional] diff --git a/docs/endpoints/Model.md b/docs/endpoints/Model.md index 266b62a..f4b315f 100644 --- a/docs/endpoints/Model.md +++ b/docs/endpoints/Model.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **author** | **list[object]** | Description not available | [optional] **has_build_file** | **list[str]** | Description not available | [optional] **short_description** | **list[str]** | Description not available | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | Description not available | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_explanation_diagram** | [**list[Image]**](Image.md) | Diagram used to explain the behavior of the model | [optional] @@ -38,7 +38,7 @@ Name | Type | Description | Notes **has_model_category** | **list[str]** | Category associated with a model (e.g., Hydrology) | [optional] **had_primary_source** | **list[object]** | Description not available | [optional] **issue_tracker** | **list[str]** | Description not available | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Description not available | [optional] **has_executable_instructions** | **list[str]** | Description not available | [optional] diff --git a/docs/endpoints/ModelConfiguration.md b/docs/endpoints/ModelConfiguration.md index 988ca3a..d83e8dd 100644 --- a/docs/endpoints/ModelConfiguration.md +++ b/docs/endpoints/ModelConfiguration.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes **has_build_file** | **list[str]** | Description not available | [optional] **short_description** | **list[str]** | Description not available | [optional] **has_execution_command** | **list[str]** | Description not available | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | Description not available | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_setup** | [**list[ConfigurationSetup]**](ConfigurationSetup.md) | Description not available | [optional] @@ -51,7 +51,7 @@ Name | Type | Description | Notes **had_primary_source** | **list[object]** | Description not available | [optional] **issue_tracker** | **list[str]** | Description not available | [optional] **has_software_image** | [**list[SoftwareImage]**](SoftwareImage.md) | Description not available | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_model_result_table** | **list[str]** | Sample result table associated with a model configuration | [optional] **has_purpose** | **list[str]** | Description not available | [optional] diff --git a/docs/endpoints/ModelConfigurationSetup.md b/docs/endpoints/ModelConfigurationSetup.md index 9b4139c..941ec64 100644 --- a/docs/endpoints/ModelConfigurationSetup.md +++ b/docs/endpoints/ModelConfigurationSetup.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes **has_build_file** | **list[str]** | Description not available | [optional] **short_description** | **list[str]** | Description not available | [optional] **has_execution_command** | **list[str]** | Description not available | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | Description not available | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_setup** | [**list[ConfigurationSetup]**](ConfigurationSetup.md) | Description not available | [optional] @@ -55,7 +55,7 @@ Name | Type | Description | Notes **had_primary_source** | **list[object]** | Description not available | [optional] **issue_tracker** | **list[str]** | Description not available | [optional] **has_software_image** | [**list[SoftwareImage]**](SoftwareImage.md) | Description not available | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_model_result_table** | **list[str]** | Sample result table associated with a model configuration | [optional] **calibration_target_variable** | [**list[VariablePresentation]**](VariablePresentation.md) | Variable for which the model was calibrated for. For example, in a hydrology model one calibrate the predicted river width by varying hydrologic conductivity | [optional] @@ -76,7 +76,7 @@ Name | Type | Description | Notes **has_parameter** | [**list[Parameter]**](Parameter.md) | Description not available | [optional] **operating_systems** | **list[str]** | Description not available | [optional] **has_executable_notebook** | **list[str]** | Description not available | [optional] -**valid_until** | **list[str]** | Date until which the calibration of a model is valid. For example, a trained model with data from 2005-2010 may only be valid for predictions until 2015. | [optional] +**valid_until** | **list[datetime]** | Date until which the calibration of a model is valid. For example, a trained model with data from 2005-2010 may only be valid for predictions until 2015. | [optional] **has_equation** | [**list[Equation]**](Equation.md) | Equations used in the model | [optional] **useful_for_calculating_index** | [**list[NumericalIndex]**](NumericalIndex.md) | Description not available | [optional] **has_input** | [**list[DatasetSpecification]**](DatasetSpecification.md) | Description not available | [optional] diff --git a/docs/endpoints/NumericalIndex.md b/docs/endpoints/NumericalIndex.md index 8cc9632..c24bcba 100644 --- a/docs/endpoints/NumericalIndex.md +++ b/docs/endpoints/NumericalIndex.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**has_standard_variable** | [**list[StandardVariable]**](StandardVariable.md) | the standard name of a variable | [optional] **description** | **list[str]** | small description | [optional] **id** | **str** | identifier | [optional] **label** | **list[str]** | short description of the resource | [optional] **type** | **list[str]** | type of the resource | [optional] -**has_standard_variable** | [**list[StandardVariable]**](StandardVariable.md) | the standard name of a variable | [optional] [[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../) diff --git a/docs/endpoints/Process.md b/docs/endpoints/Process.md index 3c5196d..0dfaf9d 100644 --- a/docs/endpoints/Process.md +++ b/docs/endpoints/Process.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**influences** | [**list[Process]**](Process.md) | Property that captures if a physical process influences another process | [optional] **description** | **list[str]** | small description | [optional] **id** | **str** | identifier | [optional] **label** | **list[str]** | short description of the resource | [optional] **type** | **list[str]** | type of the resource | [optional] -**influences** | [**list[Process]**](Process.md) | Property that captures if a physical process influences another process | [optional] [[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../) diff --git a/docs/endpoints/Region.md b/docs/endpoints/Region.md index 069b5d8..cb4223f 100644 --- a/docs/endpoints/Region.md +++ b/docs/endpoints/Region.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **geo** | **list[object]** | Specific coordinates or shape associated with a region | [optional] -**description** | **list[str]** | small description | [optional] **part_of** | [**list[Region]**](Region.md) | Indicates whether a region is part of another region | [optional] +**description** | **list[str]** | small description | [optional] **id** | **str** | identifier | [optional] **label** | **list[str]** | short description of the resource | [optional] **type** | **list[str]** | type of the resource | [optional] diff --git a/docs/endpoints/Software.md b/docs/endpoints/Software.md index ff6fa02..7c90bdc 100644 --- a/docs/endpoints/Software.md +++ b/docs/endpoints/Software.md @@ -19,9 +19,9 @@ Name | Type | Description | Notes **has_installation_instructions** | **list[str]** | Instructions required to install this particular piece of software. Installation instructions usually are available in a human-readable manner. | [optional] **had_primary_source** | **list[object]** | had primary source | [optional] **issue_tracker** | **list[str]** | Pointer to the issue tracker of a software component | [optional] -**date_created** | **list[str]** | Description not available | [optional] -**compatible_visualization_software** | [**list[Software]**](Software.md) | Property that links a software component to other useful software that canbe used to visualize its outputs | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] +**compatible_visualization_software** | [**list[Software]**](Software.md) | Property that links a software component to other useful software that canbe used to visualize its outputs | [optional] **copyright_holder** | **list[object]** | Description not available | [optional] **has_faq** | **list[str]** | Frequently asked questions about a software | [optional] **logo** | [**list[Image]**](Image.md) | Description not available | [optional] @@ -42,7 +42,7 @@ Name | Type | Description | Notes **short_description** | **list[str]** | A summarized description of the resource | [optional] **label** | **list[str]** | short description of the resource | [optional] **has_assumption** | **list[str]** | Assumptions of a software, e.g. the solver being used for a particular model, the source of the data (e.g., all data must have a given resolution), etc. | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **operating_systems** | **list[str]** | Description not available | [optional] **license** | **list[str]** | License of a software component or its source code | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] diff --git a/docs/endpoints/SoftwareConfiguration.md b/docs/endpoints/SoftwareConfiguration.md index 07bbbd7..5ca421d 100644 --- a/docs/endpoints/SoftwareConfiguration.md +++ b/docs/endpoints/SoftwareConfiguration.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes **has_build_file** | **list[str]** | A file (e.g., Dockerfile) with executable instructions indicating how a Software Image or a Software component is built | [optional] **short_description** | **list[str]** | A summarized description of the resource | [optional] **has_execution_command** | **list[str]** | Execution instructions on how to run the image | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | License of a software component or its source code | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_setup** | [**list[ConfigurationSetup]**](ConfigurationSetup.md) | Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations | [optional] @@ -45,7 +45,7 @@ Name | Type | Description | Notes **had_primary_source** | **list[object]** | had primary source | [optional] **issue_tracker** | **list[str]** | Pointer to the issue tracker of a software component | [optional] **has_software_image** | [**list[SoftwareImage]**](SoftwareImage.md) | Function to link a function with its corresponding container | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Objective or main functionality that can be achieved by running this software | [optional] **has_executable_instructions** | **list[str]** | Instructions that indicate how a software component should be executed. The difference with `hasExecutionCommand` is that the execution instructions aim to be human-readable, and have explanations between the different commands and instructions | [optional] diff --git a/docs/endpoints/SoftwareImage.md b/docs/endpoints/SoftwareImage.md index a84f5df..cc8a185 100644 --- a/docs/endpoints/SoftwareImage.md +++ b/docs/endpoints/SoftwareImage.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **has_build_file** | **list[str]** | A file (e.g., Dockerfile) with executable instructions indicating how a Software Image or a Software component is built | [optional] **short_description** | **list[str]** | A summarized description of the resource | [optional] **has_execution_command** | **list[str]** | Execution instructions on how to run the image | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | License of a software component or its source code | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_example** | **list[str]** | An example explaining a scenario where the software component was used in plain language. | [optional] @@ -36,7 +36,7 @@ Name | Type | Description | Notes **screenshot** | [**list[Image]**](Image.md) | Description not available | [optional] **had_primary_source** | **list[object]** | had primary source | [optional] **issue_tracker** | **list[str]** | Pointer to the issue tracker of a software component | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Objective or main functionality that can be achieved by running this software | [optional] **has_executable_instructions** | **list[str]** | Instructions that indicate how a software component should be executed. The difference with `hasExecutionCommand` is that the execution instructions aim to be human-readable, and have explanations between the different commands and instructions | [optional] diff --git a/docs/endpoints/SoftwareVersion.md b/docs/endpoints/SoftwareVersion.md index 844e2f4..84975c2 100644 --- a/docs/endpoints/SoftwareVersion.md +++ b/docs/endpoints/SoftwareVersion.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes **author** | **list[object]** | Description not available | [optional] **has_build_file** | **list[str]** | A file (e.g., Dockerfile) with executable instructions indicating how a Software Image or a Software component is built | [optional] **short_description** | **list[str]** | A summarized description of the resource | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | License of a software component or its source code | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_example** | **list[str]** | An example explaining a scenario where the software component was used in plain language. | [optional] @@ -37,7 +37,7 @@ Name | Type | Description | Notes **screenshot** | [**list[Image]**](Image.md) | Description not available | [optional] **had_primary_source** | **list[object]** | had primary source | [optional] **issue_tracker** | **list[str]** | Pointer to the issue tracker of a software component | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Objective or main functionality that can be achieved by running this software | [optional] **has_executable_instructions** | **list[str]** | Instructions that indicate how a software component should be executed. The difference with `hasExecutionCommand` is that the execution instructions aim to be human-readable, and have explanations between the different commands and instructions | [optional] diff --git a/docs/endpoints/TheoryGuidedModel.md b/docs/endpoints/TheoryGuidedModel.md index 1f5c5da..13bedbf 100644 --- a/docs/endpoints/TheoryGuidedModel.md +++ b/docs/endpoints/TheoryGuidedModel.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **author** | **list[object]** | Description not available | [optional] **has_build_file** | **list[str]** | Description not available | [optional] **short_description** | **list[str]** | Description not available | [optional] -**date_published** | **list[str]** | Description not available | [optional] +**date_published** | **list[datetime]** | Description not available | [optional] **license** | **list[str]** | Description not available | [optional] **has_source_code** | [**list[SourceCode]**](SourceCode.md) | Description not available | [optional] **has_explanation_diagram** | [**list[Image]**](Image.md) | Diagram used to explain the behavior of the model | [optional] @@ -38,7 +38,7 @@ Name | Type | Description | Notes **has_model_category** | **list[str]** | Category associated with a model (e.g., Hydrology) | [optional] **had_primary_source** | **list[object]** | Description not available | [optional] **issue_tracker** | **list[str]** | Description not available | [optional] -**date_created** | **list[str]** | Description not available | [optional] +**date_created** | **list[datetime]** | Description not available | [optional] **contributor** | [**list[Person]**](Person.md) | Description not available | [optional] **has_purpose** | **list[str]** | Description not available | [optional] **has_executable_instructions** | **list[str]** | Description not available | [optional] diff --git a/docs/endpoints/TimeInterval.md b/docs/endpoints/TimeInterval.md index db8c9fa..c2d988a 100644 --- a/docs/endpoints/TimeInterval.md +++ b/docs/endpoints/TimeInterval.md @@ -3,12 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**interval_unit** | [**list[Unit]**](Unit.md) | Unit used in an interval (e.g., month) | [optional] **description** | **list[str]** | small description | [optional] **id** | **str** | identifier | [optional] **label** | **list[str]** | short description of the resource | [optional] **type** | **list[str]** | type of the resource | [optional] **interval_value** | **list[object]** | Value used in the time interval of a model (e.g., 1 month, 5 days, 'harvest cycle') | [optional] -**interval_unit** | [**list[Unit]**](Unit.md) | Unit used in an interval (e.g., month) | [optional] [[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../) diff --git a/docs/endpoints/VariablePresentation.md b/docs/endpoints/VariablePresentation.md index 3b312da..46452c1 100644 --- a/docs/endpoints/VariablePresentation.md +++ b/docs/endpoints/VariablePresentation.md @@ -13,8 +13,8 @@ Name | Type | Description | Notes **has_long_name** | **list[str]** | Properties that relate the variable representation to its long name. The long name is useful for context (e.g., precipitation is less ambiguous than P) but not as precise as the standard name. | [optional] **has_short_name** | **list[str]** | A short name (e.g., temperature) capturing the high-level concept of the variable | [optional] **has_minimum_accepted_value** | **list[object]** | Minimum accepted value of a variable presentation (or a parameter) | [optional] -**id** | **str** | identifier | [optional] **part_of_dataset** | [**list[DatasetSpecification]**](DatasetSpecification.md) | Associates a presentation with a dataset where the presentation occurs | [optional] +**id** | **str** | identifier | [optional] **uses_unit** | [**list[Unit]**](Unit.md) | Property used to link a variable presentation or time interval to the unit they are represented in | [optional] [[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../) diff --git a/modelcatalog/__init__.py b/modelcatalog/__init__.py index 4e9577b..f881276 100644 --- a/modelcatalog/__init__.py +++ b/modelcatalog/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "3.0.0" +__version__ = "5.0.0" # import apis into sdk package from modelcatalog.api.causal_diagram_api import CausalDiagramApi diff --git a/modelcatalog/api/data_transformation_api.py b/modelcatalog/api/data_transformation_api.py index 3289b43..5c063fc 100644 --- a/modelcatalog/api/data_transformation_api.py +++ b/modelcatalog/api/data_transformation_api.py @@ -36,6 +36,122 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def custom_dataspecifications_id_datatransformations_get(self, id, **kwargs): # noqa: E501 + """Gets a list of data transformations related a dataset # noqa: E501 + + Gets a list of data transformations related a dataset # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.custom_dataspecifications_id_datatransformations_get(id, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str id: The ID of the dataspecification (required) + :param str custom_query_name: Name of the custom query + :param str username: Username to query + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: list[DataTransformation] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.custom_dataspecifications_id_datatransformations_get_with_http_info(id, **kwargs) # noqa: E501 + + def custom_dataspecifications_id_datatransformations_get_with_http_info(self, id, **kwargs): # noqa: E501 + """Gets a list of data transformations related a dataset # noqa: E501 + + Gets a list of data transformations related a dataset # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.custom_dataspecifications_id_datatransformations_get_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str id: The ID of the dataspecification (required) + :param str custom_query_name: Name of the custom query + :param str username: Username to query + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(list[DataTransformation], status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = ['id', 'custom_query_name', 'username'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method custom_dataspecifications_id_datatransformations_get" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'id' is set + if ('id' not in local_var_params or + local_var_params['id'] is None): + raise ApiValueError("Missing the required parameter `id` when calling `custom_dataspecifications_id_datatransformations_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] # noqa: E501 + + query_params = [] + if 'custom_query_name' in local_var_params: + query_params.append(('custom_query_name', local_var_params['custom_query_name'])) # noqa: E501 + if 'username' in local_var_params: + query_params.append(('username', local_var_params['username'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/custom/dataspecifications/{id}/datatransformations', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[DataTransformation]', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def datatransformations_get(self, **kwargs): # noqa: E501 """List all instances of DataTransformation # noqa: E501 diff --git a/modelcatalog/api_client.py b/modelcatalog/api_client.py index 4bb2cf8..fae2c4d 100644 --- a/modelcatalog/api_client.py +++ b/modelcatalog/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/3.0.0/python' + self.user_agent = 'OpenAPI-Generator/5.0.0/python' def __del__(self): if self._pool: diff --git a/modelcatalog/configuration.py b/modelcatalog/configuration.py index 29a73ce..976e39a 100644 --- a/modelcatalog/configuration.py +++ b/modelcatalog/configuration.py @@ -274,7 +274,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1.5.0\n"\ - "SDK Package Version: 3.0.0".\ + "SDK Package Version: 5.0.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/modelcatalog/models/configuration_setup.py b/modelcatalog/models/configuration_setup.py index ddadc86..015c289 100644 --- a/modelcatalog/models/configuration_setup.py +++ b/modelcatalog/models/configuration_setup.py @@ -54,7 +54,7 @@ class ConfigurationSetup(object): 'has_build_file': 'list[str]', 'short_description': 'list[str]', 'has_execution_command': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_setup': 'list[ConfigurationSetup]', @@ -73,7 +73,7 @@ class ConfigurationSetup(object): 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', 'has_software_image': 'list[SoftwareImage]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -827,7 +827,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this ConfigurationSetup. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -838,7 +838,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this ConfigurationSetup. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1264,7 +1264,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this ConfigurationSetup. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1275,7 +1275,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this ConfigurationSetup. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/data_transformation.py b/modelcatalog/models/data_transformation.py index b9891c7..a9d2500 100644 --- a/modelcatalog/models/data_transformation.py +++ b/modelcatalog/models/data_transformation.py @@ -39,45 +39,45 @@ class DataTransformation(object): 'has_download_url': 'list[str]', 'type': 'list[str]', 'has_installation_instructions': 'list[str]', - 'compatible_visualization_software': 'list[object]', + 'compatible_visualization_software': 'list[Software]', 'copyright_holder': 'list[object]', 'has_faq': 'list[str]', - 'logo': 'list[object]', + 'logo': 'list[Image]', 'has_contact_person': 'list[object]', 'tag': 'list[str]', 'id': 'str', 'identifier': 'list[str]', - 'has_sample_execution': 'list[object]', - 'has_sample_result': 'list[object]', + 'has_sample_execution': 'list[SampleExecution]', + 'has_sample_result': 'list[SampleResource]', 'author': 'list[object]', 'has_constraint': 'list[str]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', 'has_execution_command': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', - 'has_source_code': 'list[object]', - 'has_setup': 'list[object]', + 'has_source_code': 'list[SourceCode]', + 'has_setup': 'list[ConfigurationSetup]', 'has_example': 'list[str]', 'publisher': 'list[object]', - 'has_output': 'list[object]', + 'has_output': 'list[DatasetSpecification]', 'doi': 'list[str]', - 'has_funding': 'list[object]', + 'has_funding': 'list[FundingInformation]', 'has_component_location': 'list[str]', 'support_details': 'list[str]', - 'has_version': 'list[object]', + 'has_version': 'list[SoftwareVersion]', 'has_typical_data_source': 'list[str]', 'description': 'list[str]', 'reference_publication': 'list[str]', - 'screenshot': 'list[object]', + 'screenshot': 'list[Image]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'has_software_image': 'list[object]', - 'date_created': 'list[str]', - 'contributor': 'list[object]', + 'has_software_image': 'list[SoftwareImage]', + 'date_created': 'list[datetime]', + 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', - 'has_sample_visualization': 'list[object]', + 'has_sample_visualization': 'list[Visualization]', 'memory_requirements': 'list[str]', 'website': 'list[str]', 'citation': 'list[str]', @@ -87,11 +87,11 @@ class DataTransformation(object): 'readme': 'list[str]', 'label': 'list[str]', 'has_assumption': 'list[str]', - 'has_parameter': 'list[object]', + 'has_parameter': 'list[Parameter]', 'operating_systems': 'list[str]', 'has_executable_notebook': 'list[str]', - 'useful_for_calculating_index': 'list[object]', - 'has_input': 'list[object]' + 'useful_for_calculating_index': 'list[NumericalIndex]', + 'has_input': 'list[DatasetSpecification]' } attribute_map = { @@ -478,7 +478,7 @@ def compatible_visualization_software(self): Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 :return: The compatible_visualization_software of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[Software] """ return self._compatible_visualization_software @@ -489,7 +489,7 @@ def compatible_visualization_software(self, compatible_visualization_software): Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 :param compatible_visualization_software: The compatible_visualization_software of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[Software] """ self._compatible_visualization_software = compatible_visualization_software @@ -547,7 +547,7 @@ def logo(self): Description not available # noqa: E501 :return: The logo of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[Image] """ return self._logo @@ -558,7 +558,7 @@ def logo(self, logo): Description not available # noqa: E501 :param logo: The logo of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[Image] """ self._logo = logo @@ -662,7 +662,7 @@ def has_sample_execution(self): Description not available # noqa: E501 :return: The has_sample_execution of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[SampleExecution] """ return self._has_sample_execution @@ -673,7 +673,7 @@ def has_sample_execution(self, has_sample_execution): Description not available # noqa: E501 :param has_sample_execution: The has_sample_execution of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[SampleExecution] """ self._has_sample_execution = has_sample_execution @@ -685,7 +685,7 @@ def has_sample_result(self): Description not available # noqa: E501 :return: The has_sample_result of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[SampleResource] """ return self._has_sample_result @@ -696,7 +696,7 @@ def has_sample_result(self, has_sample_result): Description not available # noqa: E501 :param has_sample_result: The has_sample_result of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[SampleResource] """ self._has_sample_result = has_sample_result @@ -823,7 +823,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this DataTransformation. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -834,7 +834,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this DataTransformation. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -869,7 +869,7 @@ def has_source_code(self): Description not available # noqa: E501 :return: The has_source_code of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[SourceCode] """ return self._has_source_code @@ -880,7 +880,7 @@ def has_source_code(self, has_source_code): Description not available # noqa: E501 :param has_source_code: The has_source_code of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[SourceCode] """ self._has_source_code = has_source_code @@ -892,7 +892,7 @@ def has_setup(self): Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations # noqa: E501 :return: The has_setup of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[ConfigurationSetup] """ return self._has_setup @@ -903,7 +903,7 @@ def has_setup(self, has_setup): Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations # noqa: E501 :param has_setup: The has_setup of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[ConfigurationSetup] """ self._has_setup = has_setup @@ -961,7 +961,7 @@ def has_output(self): Property that expresses what are the outputs of a model # noqa: E501 :return: The has_output of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[DatasetSpecification] """ return self._has_output @@ -972,7 +972,7 @@ def has_output(self, has_output): Property that expresses what are the outputs of a model # noqa: E501 :param has_output: The has_output of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[DatasetSpecification] """ self._has_output = has_output @@ -1007,7 +1007,7 @@ def has_funding(self): Property that links a software project to its funding information # noqa: E501 :return: The has_funding of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[FundingInformation] """ return self._has_funding @@ -1018,7 +1018,7 @@ def has_funding(self, has_funding): Property that links a software project to its funding information # noqa: E501 :param has_funding: The has_funding of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[FundingInformation] """ self._has_funding = has_funding @@ -1076,7 +1076,7 @@ def has_version(self): Description not available # noqa: E501 :return: The has_version of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[SoftwareVersion] """ return self._has_version @@ -1087,7 +1087,7 @@ def has_version(self, has_version): Description not available # noqa: E501 :param has_version: The has_version of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[SoftwareVersion] """ self._has_version = has_version @@ -1168,7 +1168,7 @@ def screenshot(self): Description not available # noqa: E501 :return: The screenshot of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[Image] """ return self._screenshot @@ -1179,7 +1179,7 @@ def screenshot(self, screenshot): Description not available # noqa: E501 :param screenshot: The screenshot of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[Image] """ self._screenshot = screenshot @@ -1237,7 +1237,7 @@ def has_software_image(self): Function to link a function with its corresponding container # noqa: E501 :return: The has_software_image of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[SoftwareImage] """ return self._has_software_image @@ -1248,7 +1248,7 @@ def has_software_image(self, has_software_image): Function to link a function with its corresponding container # noqa: E501 :param has_software_image: The has_software_image of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[SoftwareImage] """ self._has_software_image = has_software_image @@ -1260,7 +1260,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this DataTransformation. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1271,7 +1271,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this DataTransformation. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created @@ -1283,7 +1283,7 @@ def contributor(self): Description not available # noqa: E501 :return: The contributor of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[Person] """ return self._contributor @@ -1294,7 +1294,7 @@ def contributor(self, contributor): Description not available # noqa: E501 :param contributor: The contributor of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[Person] """ self._contributor = contributor @@ -1352,7 +1352,7 @@ def has_sample_visualization(self): A typical sample visualization of the softwware outputs # noqa: E501 :return: The has_sample_visualization of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[Visualization] """ return self._has_sample_visualization @@ -1363,7 +1363,7 @@ def has_sample_visualization(self, has_sample_visualization): A typical sample visualization of the softwware outputs # noqa: E501 :param has_sample_visualization: The has_sample_visualization of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[Visualization] """ self._has_sample_visualization = has_sample_visualization @@ -1582,7 +1582,7 @@ def has_parameter(self): Property that indicates the parameters of a model configuration # noqa: E501 :return: The has_parameter of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[Parameter] """ return self._has_parameter @@ -1593,7 +1593,7 @@ def has_parameter(self, has_parameter): Property that indicates the parameters of a model configuration # noqa: E501 :param has_parameter: The has_parameter of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[Parameter] """ self._has_parameter = has_parameter @@ -1651,7 +1651,7 @@ def useful_for_calculating_index(self): Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. # noqa: E501 :return: The useful_for_calculating_index of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[NumericalIndex] """ return self._useful_for_calculating_index @@ -1662,7 +1662,7 @@ def useful_for_calculating_index(self, useful_for_calculating_index): Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. # noqa: E501 :param useful_for_calculating_index: The useful_for_calculating_index of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[NumericalIndex] """ self._useful_for_calculating_index = useful_for_calculating_index @@ -1674,7 +1674,7 @@ def has_input(self): Property that links a model configuration to the input types expected by it. # noqa: E501 :return: The has_input of this DataTransformation. # noqa: E501 - :rtype: list[object] + :rtype: list[DatasetSpecification] """ return self._has_input @@ -1685,7 +1685,7 @@ def has_input(self, has_input): Property that links a model configuration to the input types expected by it. # noqa: E501 :param has_input: The has_input of this DataTransformation. # noqa: E501 - :type: list[object] + :type: list[DatasetSpecification] """ self._has_input = has_input diff --git a/modelcatalog/models/data_transformation_setup.py b/modelcatalog/models/data_transformation_setup.py index e39c323..f704546 100644 --- a/modelcatalog/models/data_transformation_setup.py +++ b/modelcatalog/models/data_transformation_setup.py @@ -39,60 +39,60 @@ class DataTransformationSetup(object): 'has_download_url': 'list[str]', 'type': 'list[str]', 'has_installation_instructions': 'list[str]', - 'compatible_visualization_software': 'list[object]', + 'compatible_visualization_software': 'list[Software]', 'copyright_holder': 'list[object]', 'has_faq': 'list[str]', - 'logo': 'list[object]', + 'logo': 'list[Image]', 'has_contact_person': 'list[object]', 'tag': 'list[str]', 'id': 'str', 'identifier': 'list[str]', - 'has_sample_execution': 'list[object]', - 'has_sample_result': 'list[object]', + 'has_sample_execution': 'list[SampleExecution]', + 'has_sample_result': 'list[SampleResource]', 'author': 'list[object]', 'has_constraint': 'list[str]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', 'has_execution_command': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', - 'has_source_code': 'list[object]', - 'has_setup': 'list[object]', + 'has_source_code': 'list[SourceCode]', + 'has_setup': 'list[ConfigurationSetup]', 'has_example': 'list[str]', 'publisher': 'list[object]', - 'has_output': 'list[object]', + 'has_output': 'list[DatasetSpecification]', 'doi': 'list[str]', - 'has_funding': 'list[object]', + 'has_funding': 'list[FundingInformation]', 'has_component_location': 'list[str]', 'support_details': 'list[str]', - 'has_version': 'list[object]', + 'has_version': 'list[SoftwareVersion]', 'has_typical_data_source': 'list[str]', 'description': 'list[str]', 'reference_publication': 'list[str]', - 'screenshot': 'list[object]', + 'screenshot': 'list[Image]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'has_software_image': 'list[object]', - 'date_created': 'list[str]', - 'contributor': 'list[object]', + 'has_software_image': 'list[SoftwareImage]', + 'date_created': 'list[datetime]', + 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', - 'has_sample_visualization': 'list[object]', + 'has_sample_visualization': 'list[Visualization]', 'memory_requirements': 'list[str]', 'website': 'list[str]', 'citation': 'list[str]', 'processor_requirements': 'list[str]', - 'adjustable_parameter': 'list[object]', + 'adjustable_parameter': 'list[Parameter]', 'has_usage_notes': 'list[str]', 'has_support_script_location': 'list[str]', 'readme': 'list[str]', 'label': 'list[str]', 'has_assumption': 'list[str]', - 'has_parameter': 'list[object]', + 'has_parameter': 'list[Parameter]', 'operating_systems': 'list[str]', 'has_executable_notebook': 'list[str]', - 'useful_for_calculating_index': 'list[object]', - 'has_input': 'list[object]' + 'useful_for_calculating_index': 'list[NumericalIndex]', + 'has_input': 'list[DatasetSpecification]' } attribute_map = { @@ -482,7 +482,7 @@ def compatible_visualization_software(self): Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 :return: The compatible_visualization_software of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[Software] """ return self._compatible_visualization_software @@ -493,7 +493,7 @@ def compatible_visualization_software(self, compatible_visualization_software): Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 :param compatible_visualization_software: The compatible_visualization_software of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[Software] """ self._compatible_visualization_software = compatible_visualization_software @@ -551,7 +551,7 @@ def logo(self): Description not available # noqa: E501 :return: The logo of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[Image] """ return self._logo @@ -562,7 +562,7 @@ def logo(self, logo): Description not available # noqa: E501 :param logo: The logo of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[Image] """ self._logo = logo @@ -666,7 +666,7 @@ def has_sample_execution(self): Description not available # noqa: E501 :return: The has_sample_execution of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[SampleExecution] """ return self._has_sample_execution @@ -677,7 +677,7 @@ def has_sample_execution(self, has_sample_execution): Description not available # noqa: E501 :param has_sample_execution: The has_sample_execution of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[SampleExecution] """ self._has_sample_execution = has_sample_execution @@ -689,7 +689,7 @@ def has_sample_result(self): Description not available # noqa: E501 :return: The has_sample_result of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[SampleResource] """ return self._has_sample_result @@ -700,7 +700,7 @@ def has_sample_result(self, has_sample_result): Description not available # noqa: E501 :param has_sample_result: The has_sample_result of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[SampleResource] """ self._has_sample_result = has_sample_result @@ -827,7 +827,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this DataTransformationSetup. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -838,7 +838,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this DataTransformationSetup. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -873,7 +873,7 @@ def has_source_code(self): Description not available # noqa: E501 :return: The has_source_code of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[SourceCode] """ return self._has_source_code @@ -884,7 +884,7 @@ def has_source_code(self, has_source_code): Description not available # noqa: E501 :param has_source_code: The has_source_code of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[SourceCode] """ self._has_source_code = has_source_code @@ -896,7 +896,7 @@ def has_setup(self): Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations # noqa: E501 :return: The has_setup of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[ConfigurationSetup] """ return self._has_setup @@ -907,7 +907,7 @@ def has_setup(self, has_setup): Property used to define configurations with some fixed resources and values. The rationale of this property is to allow predefined configurations # noqa: E501 :param has_setup: The has_setup of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[ConfigurationSetup] """ self._has_setup = has_setup @@ -965,7 +965,7 @@ def has_output(self): Property that expresses what are the outputs of a model # noqa: E501 :return: The has_output of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[DatasetSpecification] """ return self._has_output @@ -976,7 +976,7 @@ def has_output(self, has_output): Property that expresses what are the outputs of a model # noqa: E501 :param has_output: The has_output of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[DatasetSpecification] """ self._has_output = has_output @@ -1011,7 +1011,7 @@ def has_funding(self): Property that links a software project to its funding information # noqa: E501 :return: The has_funding of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[FundingInformation] """ return self._has_funding @@ -1022,7 +1022,7 @@ def has_funding(self, has_funding): Property that links a software project to its funding information # noqa: E501 :param has_funding: The has_funding of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[FundingInformation] """ self._has_funding = has_funding @@ -1080,7 +1080,7 @@ def has_version(self): Description not available # noqa: E501 :return: The has_version of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[SoftwareVersion] """ return self._has_version @@ -1091,7 +1091,7 @@ def has_version(self, has_version): Description not available # noqa: E501 :param has_version: The has_version of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[SoftwareVersion] """ self._has_version = has_version @@ -1172,7 +1172,7 @@ def screenshot(self): Description not available # noqa: E501 :return: The screenshot of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[Image] """ return self._screenshot @@ -1183,7 +1183,7 @@ def screenshot(self, screenshot): Description not available # noqa: E501 :param screenshot: The screenshot of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[Image] """ self._screenshot = screenshot @@ -1241,7 +1241,7 @@ def has_software_image(self): Function to link a function with its corresponding container # noqa: E501 :return: The has_software_image of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[SoftwareImage] """ return self._has_software_image @@ -1252,7 +1252,7 @@ def has_software_image(self, has_software_image): Function to link a function with its corresponding container # noqa: E501 :param has_software_image: The has_software_image of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[SoftwareImage] """ self._has_software_image = has_software_image @@ -1264,7 +1264,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this DataTransformationSetup. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1275,7 +1275,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this DataTransformationSetup. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created @@ -1287,7 +1287,7 @@ def contributor(self): Description not available # noqa: E501 :return: The contributor of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[Person] """ return self._contributor @@ -1298,7 +1298,7 @@ def contributor(self, contributor): Description not available # noqa: E501 :param contributor: The contributor of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[Person] """ self._contributor = contributor @@ -1356,7 +1356,7 @@ def has_sample_visualization(self): A typical sample visualization of the softwware outputs # noqa: E501 :return: The has_sample_visualization of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[Visualization] """ return self._has_sample_visualization @@ -1367,7 +1367,7 @@ def has_sample_visualization(self, has_sample_visualization): A typical sample visualization of the softwware outputs # noqa: E501 :param has_sample_visualization: The has_sample_visualization of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[Visualization] """ self._has_sample_visualization = has_sample_visualization @@ -1471,7 +1471,7 @@ def adjustable_parameter(self): Parameter that can be adjusted in a configuration setup # noqa: E501 :return: The adjustable_parameter of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[Parameter] """ return self._adjustable_parameter @@ -1482,7 +1482,7 @@ def adjustable_parameter(self, adjustable_parameter): Parameter that can be adjusted in a configuration setup # noqa: E501 :param adjustable_parameter: The adjustable_parameter of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[Parameter] """ self._adjustable_parameter = adjustable_parameter @@ -1609,7 +1609,7 @@ def has_parameter(self): Property that indicates the parameters of a model configuration # noqa: E501 :return: The has_parameter of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[Parameter] """ return self._has_parameter @@ -1620,7 +1620,7 @@ def has_parameter(self, has_parameter): Property that indicates the parameters of a model configuration # noqa: E501 :param has_parameter: The has_parameter of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[Parameter] """ self._has_parameter = has_parameter @@ -1678,7 +1678,7 @@ def useful_for_calculating_index(self): Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. # noqa: E501 :return: The useful_for_calculating_index of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[NumericalIndex] """ return self._useful_for_calculating_index @@ -1689,7 +1689,7 @@ def useful_for_calculating_index(self, useful_for_calculating_index): Property that indicates that a software component (or any of its outputs) can be used to calculate a particular index. The rationale for this property is that indices are usually calculated by applying post-processing steps to the outputs of a software component. # noqa: E501 :param useful_for_calculating_index: The useful_for_calculating_index of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[NumericalIndex] """ self._useful_for_calculating_index = useful_for_calculating_index @@ -1701,7 +1701,7 @@ def has_input(self): Property that links a model configuration to the input types expected by it. # noqa: E501 :return: The has_input of this DataTransformationSetup. # noqa: E501 - :rtype: list[object] + :rtype: list[DatasetSpecification] """ return self._has_input @@ -1712,7 +1712,7 @@ def has_input(self, has_input): Property that links a model configuration to the input types expected by it. # noqa: E501 :param has_input: The has_input of this DataTransformationSetup. # noqa: E501 - :type: list[object] + :type: list[DatasetSpecification] """ self._has_input = has_input diff --git a/modelcatalog/models/empirical_model.py b/modelcatalog/models/empirical_model.py index 2bd16df..1538e9e 100644 --- a/modelcatalog/models/empirical_model.py +++ b/modelcatalog/models/empirical_model.py @@ -49,7 +49,7 @@ class EmpiricalModel(object): 'author': 'list[object]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_explanation_diagram': 'list[Image]', @@ -66,7 +66,7 @@ class EmpiricalModel(object): 'has_model_category': 'list[str]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -672,7 +672,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this EmpiricalModel. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -683,7 +683,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this EmpiricalModel. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1063,7 +1063,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this EmpiricalModel. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1074,7 +1074,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this EmpiricalModel. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/emulator.py b/modelcatalog/models/emulator.py index 69321d9..ebb64a6 100644 --- a/modelcatalog/models/emulator.py +++ b/modelcatalog/models/emulator.py @@ -49,7 +49,7 @@ class Emulator(object): 'author': 'list[object]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_explanation_diagram': 'list[Image]', @@ -66,7 +66,7 @@ class Emulator(object): 'has_model_category': 'list[str]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -672,7 +672,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this Emulator. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -683,7 +683,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this Emulator. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1063,7 +1063,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this Emulator. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1074,7 +1074,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this Emulator. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/funding_information.py b/modelcatalog/models/funding_information.py index 1b4cf5c..c565af5 100644 --- a/modelcatalog/models/funding_information.py +++ b/modelcatalog/models/funding_information.py @@ -34,8 +34,8 @@ class FundingInformation(object): 'description': 'list[str]', 'id': 'str', 'label': 'list[str]', - 'type': 'list[str]', 'funding_source': 'list[Organization]', + 'type': 'list[str]', 'funding_grant': 'list[str]' } @@ -43,19 +43,19 @@ class FundingInformation(object): 'description': 'description', 'id': 'id', 'label': 'label', - 'type': 'type', 'funding_source': 'fundingSource', + 'type': 'type', 'funding_grant': 'fundingGrant' } - def __init__(self, description=None, id=None, label=None, type=None, funding_source=None, funding_grant=None): # noqa: E501 + def __init__(self, description=None, id=None, label=None, funding_source=None, type=None, funding_grant=None): # noqa: E501 """FundingInformation - a model defined in OpenAPI""" # noqa: E501 self._description = None self._id = None self._label = None - self._type = None self._funding_source = None + self._type = None self._funding_grant = None self.discriminator = None @@ -63,8 +63,8 @@ def __init__(self, description=None, id=None, label=None, type=None, funding_sou if id is not None: self.id = id self.label = label - self.type = type self.funding_source = funding_source + self.type = type self.funding_grant = funding_grant @property @@ -136,29 +136,6 @@ def label(self, label): self._label = label - @property - def type(self): - """Gets the type of this FundingInformation. # noqa: E501 - - type of the resource # noqa: E501 - - :return: The type of this FundingInformation. # noqa: E501 - :rtype: list[str] - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this FundingInformation. - - type of the resource # noqa: E501 - - :param type: The type of this FundingInformation. # noqa: E501 - :type: list[str] - """ - - self._type = type - @property def funding_source(self): """Gets the funding_source of this FundingInformation. # noqa: E501 @@ -182,6 +159,29 @@ def funding_source(self, funding_source): self._funding_source = funding_source + @property + def type(self): + """Gets the type of this FundingInformation. # noqa: E501 + + type of the resource # noqa: E501 + + :return: The type of this FundingInformation. # noqa: E501 + :rtype: list[str] + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this FundingInformation. + + type of the resource # noqa: E501 + + :param type: The type of this FundingInformation. # noqa: E501 + :type: list[str] + """ + + self._type = type + @property def funding_grant(self): """Gets the funding_grant of this FundingInformation. # noqa: E501 diff --git a/modelcatalog/models/hybrid_model.py b/modelcatalog/models/hybrid_model.py index 013afd0..8325111 100644 --- a/modelcatalog/models/hybrid_model.py +++ b/modelcatalog/models/hybrid_model.py @@ -49,7 +49,7 @@ class HybridModel(object): 'author': 'list[object]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_explanation_diagram': 'list[Image]', @@ -66,7 +66,7 @@ class HybridModel(object): 'has_model_category': 'list[str]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -672,7 +672,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this HybridModel. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -683,7 +683,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this HybridModel. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1063,7 +1063,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this HybridModel. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1074,7 +1074,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this HybridModel. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/model.py b/modelcatalog/models/model.py index 3bfc0a3..c62dd98 100644 --- a/modelcatalog/models/model.py +++ b/modelcatalog/models/model.py @@ -49,7 +49,7 @@ class Model(object): 'author': 'list[object]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_explanation_diagram': 'list[Image]', @@ -66,7 +66,7 @@ class Model(object): 'has_model_category': 'list[str]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -672,7 +672,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this Model. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -683,7 +683,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this Model. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1063,7 +1063,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this Model. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1074,7 +1074,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this Model. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/model_configuration.py b/modelcatalog/models/model_configuration.py index ae02b84..9c067de 100644 --- a/modelcatalog/models/model_configuration.py +++ b/modelcatalog/models/model_configuration.py @@ -56,7 +56,7 @@ class ModelConfiguration(object): 'has_build_file': 'list[str]', 'short_description': 'list[str]', 'has_execution_command': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_setup': 'list[ConfigurationSetup]', @@ -79,7 +79,7 @@ class ModelConfiguration(object): 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', 'has_software_image': 'list[SoftwareImage]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_model_result_table': 'list[str]', 'has_purpose': 'list[str]', @@ -905,7 +905,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this ModelConfiguration. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -916,7 +916,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this ModelConfiguration. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1434,7 +1434,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this ModelConfiguration. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1445,7 +1445,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this ModelConfiguration. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/model_configuration_setup.py b/modelcatalog/models/model_configuration_setup.py index 5a21622..dd3bc24 100644 --- a/modelcatalog/models/model_configuration_setup.py +++ b/modelcatalog/models/model_configuration_setup.py @@ -58,7 +58,7 @@ class ModelConfigurationSetup(object): 'has_build_file': 'list[str]', 'short_description': 'list[str]', 'has_execution_command': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_setup': 'list[ConfigurationSetup]', @@ -83,7 +83,7 @@ class ModelConfigurationSetup(object): 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', 'has_software_image': 'list[SoftwareImage]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_model_result_table': 'list[str]', 'calibration_target_variable': 'list[VariablePresentation]', @@ -104,7 +104,7 @@ class ModelConfigurationSetup(object): 'has_parameter': 'list[Parameter]', 'operating_systems': 'list[str]', 'has_executable_notebook': 'list[str]', - 'valid_until': 'list[str]', + 'valid_until': 'list[datetime]', 'has_equation': 'list[Equation]', 'useful_for_calculating_index': 'list[NumericalIndex]', 'has_input': 'list[DatasetSpecification]' @@ -979,7 +979,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this ModelConfigurationSetup. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -990,7 +990,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this ModelConfigurationSetup. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1554,7 +1554,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this ModelConfigurationSetup. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1565,7 +1565,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this ModelConfigurationSetup. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created @@ -2037,7 +2037,7 @@ def valid_until(self): Date until which the calibration of a model is valid. For example, a trained model with data from 2005-2010 may only be valid for predictions until 2015. # noqa: E501 :return: The valid_until of this ModelConfigurationSetup. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._valid_until @@ -2048,7 +2048,7 @@ def valid_until(self, valid_until): Date until which the calibration of a model is valid. For example, a trained model with data from 2005-2010 may only be valid for predictions until 2015. # noqa: E501 :param valid_until: The valid_until of this ModelConfigurationSetup. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._valid_until = valid_until diff --git a/modelcatalog/models/numerical_index.py b/modelcatalog/models/numerical_index.py index b02e228..a5fa59b 100644 --- a/modelcatalog/models/numerical_index.py +++ b/modelcatalog/models/numerical_index.py @@ -31,37 +31,60 @@ class NumericalIndex(object): and the value is json key in definition. """ openapi_types = { + 'has_standard_variable': 'list[StandardVariable]', 'description': 'list[str]', 'id': 'str', 'label': 'list[str]', - 'type': 'list[str]', - 'has_standard_variable': 'list[StandardVariable]' + 'type': 'list[str]' } attribute_map = { + 'has_standard_variable': 'hasStandardVariable', 'description': 'description', 'id': 'id', 'label': 'label', - 'type': 'type', - 'has_standard_variable': 'hasStandardVariable' + 'type': 'type' } - def __init__(self, description=None, id=None, label=None, type=None, has_standard_variable=None): # noqa: E501 + def __init__(self, has_standard_variable=None, description=None, id=None, label=None, type=None): # noqa: E501 """NumericalIndex - a model defined in OpenAPI""" # noqa: E501 + self._has_standard_variable = None self._description = None self._id = None self._label = None self._type = None - self._has_standard_variable = None self.discriminator = None + self.has_standard_variable = has_standard_variable self.description = description if id is not None: self.id = id self.label = label self.type = type - self.has_standard_variable = has_standard_variable + + @property + def has_standard_variable(self): + """Gets the has_standard_variable of this NumericalIndex. # noqa: E501 + + the standard name of a variable # noqa: E501 + + :return: The has_standard_variable of this NumericalIndex. # noqa: E501 + :rtype: list[StandardVariable] + """ + return self._has_standard_variable + + @has_standard_variable.setter + def has_standard_variable(self, has_standard_variable): + """Sets the has_standard_variable of this NumericalIndex. + + the standard name of a variable # noqa: E501 + + :param has_standard_variable: The has_standard_variable of this NumericalIndex. # noqa: E501 + :type: list[StandardVariable] + """ + + self._has_standard_variable = has_standard_variable @property def description(self): @@ -155,29 +178,6 @@ def type(self, type): self._type = type - @property - def has_standard_variable(self): - """Gets the has_standard_variable of this NumericalIndex. # noqa: E501 - - the standard name of a variable # noqa: E501 - - :return: The has_standard_variable of this NumericalIndex. # noqa: E501 - :rtype: list[StandardVariable] - """ - return self._has_standard_variable - - @has_standard_variable.setter - def has_standard_variable(self, has_standard_variable): - """Sets the has_standard_variable of this NumericalIndex. - - the standard name of a variable # noqa: E501 - - :param has_standard_variable: The has_standard_variable of this NumericalIndex. # noqa: E501 - :type: list[StandardVariable] - """ - - self._has_standard_variable = has_standard_variable - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/modelcatalog/models/process.py b/modelcatalog/models/process.py index 146181e..e81c2e8 100644 --- a/modelcatalog/models/process.py +++ b/modelcatalog/models/process.py @@ -31,37 +31,60 @@ class Process(object): and the value is json key in definition. """ openapi_types = { + 'influences': 'list[Process]', 'description': 'list[str]', 'id': 'str', 'label': 'list[str]', - 'type': 'list[str]', - 'influences': 'list[Process]' + 'type': 'list[str]' } attribute_map = { + 'influences': 'influences', 'description': 'description', 'id': 'id', 'label': 'label', - 'type': 'type', - 'influences': 'influences' + 'type': 'type' } - def __init__(self, description=None, id=None, label=None, type=None, influences=None): # noqa: E501 + def __init__(self, influences=None, description=None, id=None, label=None, type=None): # noqa: E501 """Process - a model defined in OpenAPI""" # noqa: E501 + self._influences = None self._description = None self._id = None self._label = None self._type = None - self._influences = None self.discriminator = None + self.influences = influences self.description = description if id is not None: self.id = id self.label = label self.type = type - self.influences = influences + + @property + def influences(self): + """Gets the influences of this Process. # noqa: E501 + + Property that captures if a physical process influences another process # noqa: E501 + + :return: The influences of this Process. # noqa: E501 + :rtype: list[Process] + """ + return self._influences + + @influences.setter + def influences(self, influences): + """Sets the influences of this Process. + + Property that captures if a physical process influences another process # noqa: E501 + + :param influences: The influences of this Process. # noqa: E501 + :type: list[Process] + """ + + self._influences = influences @property def description(self): @@ -155,29 +178,6 @@ def type(self, type): self._type = type - @property - def influences(self): - """Gets the influences of this Process. # noqa: E501 - - Property that captures if a physical process influences another process # noqa: E501 - - :return: The influences of this Process. # noqa: E501 - :rtype: list[Process] - """ - return self._influences - - @influences.setter - def influences(self, influences): - """Sets the influences of this Process. - - Property that captures if a physical process influences another process # noqa: E501 - - :param influences: The influences of this Process. # noqa: E501 - :type: list[Process] - """ - - self._influences = influences - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/modelcatalog/models/region.py b/modelcatalog/models/region.py index bd98ba3..f6941f2 100644 --- a/modelcatalog/models/region.py +++ b/modelcatalog/models/region.py @@ -32,8 +32,8 @@ class Region(object): """ openapi_types = { 'geo': 'list[object]', - 'description': 'list[str]', 'part_of': 'list[Region]', + 'description': 'list[str]', 'id': 'str', 'label': 'list[str]', 'type': 'list[str]' @@ -41,27 +41,27 @@ class Region(object): attribute_map = { 'geo': 'geo', - 'description': 'description', 'part_of': 'partOf', + 'description': 'description', 'id': 'id', 'label': 'label', 'type': 'type' } - def __init__(self, geo=None, description=None, part_of=None, id=None, label=None, type=None): # noqa: E501 + def __init__(self, geo=None, part_of=None, description=None, id=None, label=None, type=None): # noqa: E501 """Region - a model defined in OpenAPI""" # noqa: E501 self._geo = None - self._description = None self._part_of = None + self._description = None self._id = None self._label = None self._type = None self.discriminator = None self.geo = geo - self.description = description self.part_of = part_of + self.description = description if id is not None: self.id = id self.label = label @@ -90,29 +90,6 @@ def geo(self, geo): self._geo = geo - @property - def description(self): - """Gets the description of this Region. # noqa: E501 - - small description # noqa: E501 - - :return: The description of this Region. # noqa: E501 - :rtype: list[str] - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this Region. - - small description # noqa: E501 - - :param description: The description of this Region. # noqa: E501 - :type: list[str] - """ - - self._description = description - @property def part_of(self): """Gets the part_of of this Region. # noqa: E501 @@ -136,6 +113,29 @@ def part_of(self, part_of): self._part_of = part_of + @property + def description(self): + """Gets the description of this Region. # noqa: E501 + + small description # noqa: E501 + + :return: The description of this Region. # noqa: E501 + :rtype: list[str] + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this Region. + + small description # noqa: E501 + + :param description: The description of this Region. # noqa: E501 + :type: list[str] + """ + + self._description = description + @property def id(self): """Gets the id of this Region. # noqa: E501 diff --git a/modelcatalog/models/software.py b/modelcatalog/models/software.py index 68ff1a4..be91991 100644 --- a/modelcatalog/models/software.py +++ b/modelcatalog/models/software.py @@ -47,9 +47,9 @@ class Software(object): 'has_installation_instructions': 'list[str]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', - 'compatible_visualization_software': 'list[Software]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', + 'compatible_visualization_software': 'list[Software]', 'copyright_holder': 'list[object]', 'has_faq': 'list[str]', 'logo': 'list[Image]', @@ -70,7 +70,7 @@ class Software(object): 'short_description': 'list[str]', 'label': 'list[str]', 'has_assumption': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'operating_systems': 'list[str]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', @@ -99,8 +99,8 @@ class Software(object): 'had_primary_source': 'hadPrimarySource', 'issue_tracker': 'issueTracker', 'date_created': 'dateCreated', - 'compatible_visualization_software': 'compatibleVisualizationSoftware', 'contributor': 'contributor', + 'compatible_visualization_software': 'compatibleVisualizationSoftware', 'copyright_holder': 'copyrightHolder', 'has_faq': 'hasFAQ', 'logo': 'logo', @@ -132,7 +132,7 @@ class Software(object): 'doi': 'doi' } - def __init__(self, has_download_instructions=None, has_funding=None, keywords=None, has_documentation=None, support_details=None, software_requirements=None, has_version=None, has_typical_data_source=None, has_download_url=None, description=None, reference_publication=None, screenshot=None, type=None, has_installation_instructions=None, had_primary_source=None, issue_tracker=None, date_created=None, compatible_visualization_software=None, contributor=None, copyright_holder=None, has_faq=None, logo=None, has_contact_person=None, has_purpose=None, id=None, has_executable_instructions=None, has_sample_visualization=None, identifier=None, memory_requirements=None, website=None, citation=None, author=None, processor_requirements=None, has_usage_notes=None, readme=None, has_build_file=None, short_description=None, label=None, has_assumption=None, date_published=None, operating_systems=None, license=None, has_source_code=None, has_executable_notebook=None, has_example=None, publisher=None, useful_for_calculating_index=None, doi=None): # noqa: E501 + def __init__(self, has_download_instructions=None, has_funding=None, keywords=None, has_documentation=None, support_details=None, software_requirements=None, has_version=None, has_typical_data_source=None, has_download_url=None, description=None, reference_publication=None, screenshot=None, type=None, has_installation_instructions=None, had_primary_source=None, issue_tracker=None, date_created=None, contributor=None, compatible_visualization_software=None, copyright_holder=None, has_faq=None, logo=None, has_contact_person=None, has_purpose=None, id=None, has_executable_instructions=None, has_sample_visualization=None, identifier=None, memory_requirements=None, website=None, citation=None, author=None, processor_requirements=None, has_usage_notes=None, readme=None, has_build_file=None, short_description=None, label=None, has_assumption=None, date_published=None, operating_systems=None, license=None, has_source_code=None, has_executable_notebook=None, has_example=None, publisher=None, useful_for_calculating_index=None, doi=None): # noqa: E501 """Software - a model defined in OpenAPI""" # noqa: E501 self._has_download_instructions = None @@ -152,8 +152,8 @@ def __init__(self, has_download_instructions=None, has_funding=None, keywords=No self._had_primary_source = None self._issue_tracker = None self._date_created = None - self._compatible_visualization_software = None self._contributor = None + self._compatible_visualization_software = None self._copyright_holder = None self._has_faq = None self._logo = None @@ -202,8 +202,8 @@ def __init__(self, has_download_instructions=None, has_funding=None, keywords=No self.had_primary_source = had_primary_source self.issue_tracker = issue_tracker self.date_created = date_created - self.compatible_visualization_software = compatible_visualization_software self.contributor = contributor + self.compatible_visualization_software = compatible_visualization_software self.copyright_holder = copyright_holder self.has_faq = has_faq self.logo = logo @@ -610,7 +610,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this Software. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -621,34 +621,11 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this Software. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created - @property - def compatible_visualization_software(self): - """Gets the compatible_visualization_software of this Software. # noqa: E501 - - Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 - - :return: The compatible_visualization_software of this Software. # noqa: E501 - :rtype: list[Software] - """ - return self._compatible_visualization_software - - @compatible_visualization_software.setter - def compatible_visualization_software(self, compatible_visualization_software): - """Sets the compatible_visualization_software of this Software. - - Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 - - :param compatible_visualization_software: The compatible_visualization_software of this Software. # noqa: E501 - :type: list[Software] - """ - - self._compatible_visualization_software = compatible_visualization_software - @property def contributor(self): """Gets the contributor of this Software. # noqa: E501 @@ -672,6 +649,29 @@ def contributor(self, contributor): self._contributor = contributor + @property + def compatible_visualization_software(self): + """Gets the compatible_visualization_software of this Software. # noqa: E501 + + Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 + + :return: The compatible_visualization_software of this Software. # noqa: E501 + :rtype: list[Software] + """ + return self._compatible_visualization_software + + @compatible_visualization_software.setter + def compatible_visualization_software(self, compatible_visualization_software): + """Sets the compatible_visualization_software of this Software. + + Property that links a software component to other useful software that canbe used to visualize its outputs # noqa: E501 + + :param compatible_visualization_software: The compatible_visualization_software of this Software. # noqa: E501 + :type: list[Software] + """ + + self._compatible_visualization_software = compatible_visualization_software + @property def copyright_holder(self): """Gets the copyright_holder of this Software. # noqa: E501 @@ -1139,7 +1139,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this Software. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -1150,7 +1150,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this Software. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published diff --git a/modelcatalog/models/software_configuration.py b/modelcatalog/models/software_configuration.py index 17a4874..2fd16cc 100644 --- a/modelcatalog/models/software_configuration.py +++ b/modelcatalog/models/software_configuration.py @@ -54,7 +54,7 @@ class SoftwareConfiguration(object): 'has_build_file': 'list[str]', 'short_description': 'list[str]', 'has_execution_command': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_setup': 'list[ConfigurationSetup]', @@ -73,7 +73,7 @@ class SoftwareConfiguration(object): 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', 'has_software_image': 'list[SoftwareImage]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -823,7 +823,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this SoftwareConfiguration. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -834,7 +834,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this SoftwareConfiguration. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1260,7 +1260,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this SoftwareConfiguration. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1271,7 +1271,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this SoftwareConfiguration. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/software_image.py b/modelcatalog/models/software_image.py index 750425b..744ea05 100644 --- a/modelcatalog/models/software_image.py +++ b/modelcatalog/models/software_image.py @@ -49,7 +49,7 @@ class SoftwareImage(object): 'has_build_file': 'list[str]', 'short_description': 'list[str]', 'has_execution_command': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_example': 'list[str]', @@ -64,7 +64,7 @@ class SoftwareImage(object): 'screenshot': 'list[Image]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -660,7 +660,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this SoftwareImage. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -671,7 +671,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this SoftwareImage. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1005,7 +1005,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this SoftwareImage. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1016,7 +1016,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this SoftwareImage. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/software_version.py b/modelcatalog/models/software_version.py index 6318cd7..ccb8d42 100644 --- a/modelcatalog/models/software_version.py +++ b/modelcatalog/models/software_version.py @@ -50,7 +50,7 @@ class SoftwareVersion(object): 'author': 'list[object]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_example': 'list[str]', @@ -65,7 +65,7 @@ class SoftwareVersion(object): 'screenshot': 'list[Image]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -691,7 +691,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this SoftwareVersion. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -702,7 +702,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this SoftwareVersion. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1036,7 +1036,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this SoftwareVersion. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1047,7 +1047,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this SoftwareVersion. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/theory_guided_model.py b/modelcatalog/models/theory_guided_model.py index 2199f09..9740972 100644 --- a/modelcatalog/models/theory_guided_model.py +++ b/modelcatalog/models/theory_guided_model.py @@ -49,7 +49,7 @@ class TheoryGuidedModel(object): 'author': 'list[object]', 'has_build_file': 'list[str]', 'short_description': 'list[str]', - 'date_published': 'list[str]', + 'date_published': 'list[datetime]', 'license': 'list[str]', 'has_source_code': 'list[SourceCode]', 'has_explanation_diagram': 'list[Image]', @@ -66,7 +66,7 @@ class TheoryGuidedModel(object): 'has_model_category': 'list[str]', 'had_primary_source': 'list[object]', 'issue_tracker': 'list[str]', - 'date_created': 'list[str]', + 'date_created': 'list[datetime]', 'contributor': 'list[Person]', 'has_purpose': 'list[str]', 'has_executable_instructions': 'list[str]', @@ -672,7 +672,7 @@ def date_published(self): Description not available # noqa: E501 :return: The date_published of this TheoryGuidedModel. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_published @@ -683,7 +683,7 @@ def date_published(self, date_published): Description not available # noqa: E501 :param date_published: The date_published of this TheoryGuidedModel. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_published = date_published @@ -1063,7 +1063,7 @@ def date_created(self): Description not available # noqa: E501 :return: The date_created of this TheoryGuidedModel. # noqa: E501 - :rtype: list[str] + :rtype: list[datetime] """ return self._date_created @@ -1074,7 +1074,7 @@ def date_created(self, date_created): Description not available # noqa: E501 :param date_created: The date_created of this TheoryGuidedModel. # noqa: E501 - :type: list[str] + :type: list[datetime] """ self._date_created = date_created diff --git a/modelcatalog/models/time_interval.py b/modelcatalog/models/time_interval.py index d4bf8c3..6b30b65 100644 --- a/modelcatalog/models/time_interval.py +++ b/modelcatalog/models/time_interval.py @@ -31,41 +31,64 @@ class TimeInterval(object): and the value is json key in definition. """ openapi_types = { + 'interval_unit': 'list[Unit]', 'description': 'list[str]', 'id': 'str', 'label': 'list[str]', 'type': 'list[str]', - 'interval_value': 'list[object]', - 'interval_unit': 'list[Unit]' + 'interval_value': 'list[object]' } attribute_map = { + 'interval_unit': 'intervalUnit', 'description': 'description', 'id': 'id', 'label': 'label', 'type': 'type', - 'interval_value': 'intervalValue', - 'interval_unit': 'intervalUnit' + 'interval_value': 'intervalValue' } - def __init__(self, description=None, id=None, label=None, type=None, interval_value=None, interval_unit=None): # noqa: E501 + def __init__(self, interval_unit=None, description=None, id=None, label=None, type=None, interval_value=None): # noqa: E501 """TimeInterval - a model defined in OpenAPI""" # noqa: E501 + self._interval_unit = None self._description = None self._id = None self._label = None self._type = None self._interval_value = None - self._interval_unit = None self.discriminator = None + self.interval_unit = interval_unit self.description = description if id is not None: self.id = id self.label = label self.type = type self.interval_value = interval_value - self.interval_unit = interval_unit + + @property + def interval_unit(self): + """Gets the interval_unit of this TimeInterval. # noqa: E501 + + Unit used in an interval (e.g., month) # noqa: E501 + + :return: The interval_unit of this TimeInterval. # noqa: E501 + :rtype: list[Unit] + """ + return self._interval_unit + + @interval_unit.setter + def interval_unit(self, interval_unit): + """Sets the interval_unit of this TimeInterval. + + Unit used in an interval (e.g., month) # noqa: E501 + + :param interval_unit: The interval_unit of this TimeInterval. # noqa: E501 + :type: list[Unit] + """ + + self._interval_unit = interval_unit @property def description(self): @@ -182,29 +205,6 @@ def interval_value(self, interval_value): self._interval_value = interval_value - @property - def interval_unit(self): - """Gets the interval_unit of this TimeInterval. # noqa: E501 - - Unit used in an interval (e.g., month) # noqa: E501 - - :return: The interval_unit of this TimeInterval. # noqa: E501 - :rtype: list[Unit] - """ - return self._interval_unit - - @interval_unit.setter - def interval_unit(self, interval_unit): - """Sets the interval_unit of this TimeInterval. - - Unit used in an interval (e.g., month) # noqa: E501 - - :param interval_unit: The interval_unit of this TimeInterval. # noqa: E501 - :type: list[Unit] - """ - - self._interval_unit = interval_unit - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/modelcatalog/models/variable_presentation.py b/modelcatalog/models/variable_presentation.py index ce6468a..a7ba7e0 100644 --- a/modelcatalog/models/variable_presentation.py +++ b/modelcatalog/models/variable_presentation.py @@ -41,8 +41,8 @@ class VariablePresentation(object): 'has_long_name': 'list[str]', 'has_short_name': 'list[str]', 'has_minimum_accepted_value': 'list[object]', - 'id': 'str', 'part_of_dataset': 'list[DatasetSpecification]', + 'id': 'str', 'uses_unit': 'list[Unit]' } @@ -57,12 +57,12 @@ class VariablePresentation(object): 'has_long_name': 'hasLongName', 'has_short_name': 'hasShortName', 'has_minimum_accepted_value': 'hasMinimumAcceptedValue', - 'id': 'id', 'part_of_dataset': 'partOfDataset', + 'id': 'id', 'uses_unit': 'usesUnit' } - def __init__(self, has_default_value=None, has_standard_variable=None, has_maximum_accepted_value=None, has_constraint=None, description=None, label=None, type=None, has_long_name=None, has_short_name=None, has_minimum_accepted_value=None, id=None, part_of_dataset=None, uses_unit=None): # noqa: E501 + def __init__(self, has_default_value=None, has_standard_variable=None, has_maximum_accepted_value=None, has_constraint=None, description=None, label=None, type=None, has_long_name=None, has_short_name=None, has_minimum_accepted_value=None, part_of_dataset=None, id=None, uses_unit=None): # noqa: E501 """VariablePresentation - a model defined in OpenAPI""" # noqa: E501 self._has_default_value = None @@ -75,8 +75,8 @@ def __init__(self, has_default_value=None, has_standard_variable=None, has_maxim self._has_long_name = None self._has_short_name = None self._has_minimum_accepted_value = None - self._id = None self._part_of_dataset = None + self._id = None self._uses_unit = None self.discriminator = None @@ -90,9 +90,9 @@ def __init__(self, has_default_value=None, has_standard_variable=None, has_maxim self.has_long_name = has_long_name self.has_short_name = has_short_name self.has_minimum_accepted_value = has_minimum_accepted_value + self.part_of_dataset = part_of_dataset if id is not None: self.id = id - self.part_of_dataset = part_of_dataset self.uses_unit = uses_unit @property @@ -325,29 +325,6 @@ def has_minimum_accepted_value(self, has_minimum_accepted_value): self._has_minimum_accepted_value = has_minimum_accepted_value - @property - def id(self): - """Gets the id of this VariablePresentation. # noqa: E501 - - identifier # noqa: E501 - - :return: The id of this VariablePresentation. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this VariablePresentation. - - identifier # noqa: E501 - - :param id: The id of this VariablePresentation. # noqa: E501 - :type: str - """ - - self._id = id - @property def part_of_dataset(self): """Gets the part_of_dataset of this VariablePresentation. # noqa: E501 @@ -371,6 +348,29 @@ def part_of_dataset(self, part_of_dataset): self._part_of_dataset = part_of_dataset + @property + def id(self): + """Gets the id of this VariablePresentation. # noqa: E501 + + identifier # noqa: E501 + + :return: The id of this VariablePresentation. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this VariablePresentation. + + identifier # noqa: E501 + + :param id: The id of this VariablePresentation. # noqa: E501 + :type: str + """ + + self._id = id + @property def uses_unit(self): """Gets the uses_unit of this VariablePresentation. # noqa: E501 diff --git a/openapi-config.json b/openapi-config.json index 428f1ae..e59fda2 100644 --- a/openapi-config.json +++ b/openapi-config.json @@ -2,6 +2,6 @@ "packageName": "modelcatalog", "projectName": "modelcatalog-api", "modelPropertyNaming": "camelCase", - "packageVersion": "3.0.0", + "packageVersion": "5.0.0", "packageUrl": "https://pypi.org/project/modelcatalog-api/" } diff --git a/setup.py b/setup.py index 3d2d525..06f99a5 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "modelcatalog-api" -VERSION = "3.0.1" +VERSION = "5.0.0" # To install the library, run the following # # python setup.py install