Skip to content

Commit

Permalink
Update dependencies and fix method calls in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Mar 14, 2024
1 parent 6188491 commit 48fba64
Show file tree
Hide file tree
Showing 101 changed files with 6,309 additions and 243 deletions.
58 changes: 54 additions & 4 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,52 @@
README.md
docs/AccessToken.md
docs/AuthResourceType.md
docs/BackgroundJobRequestStatus.md
docs/CatalogPublicationRequest.md
docs/ClaimLite.md
docs/ContentDisposition.md
docs/ContentType.md
docs/ControlApi.md
docs/DataCastingEnum.md
docs/DataCastingRequest.md
docs/GetJobStatus401Response.md
docs/GetCatalogueById401Response.md
docs/HttpValidationProblemDetails.md
docs/IInventoryCatalog.md
docs/IInventoryPoint.md
docs/IInventorySTS.md
docs/IPublicationRequest.md
docs/IResourceStatus.md
docs/ISharedFolder.md
docs/IStoragePoint.md
docs/IStorageSTS.md
docs/ISubject.md
docs/IWorkspace.md
docs/ImportRequest.md
docs/ImportStatus.md
docs/InventoryApi.md
docs/InventoryType.md
docs/Link.md
docs/PrincipalContext.md
docs/ProblemDetails.md
docs/PublicationRequest.md
docs/PublicationStatus.md
docs/RequestStatus.md
docs/RequestStatusCode.md
docs/ResourceStatusCode.md
docs/ResourceType.md
docs/ServicesApi.md
docs/ShareFolderRequest.md
docs/StorageApi.md
docs/StorageType.md
docs/StsResponse.md
docs/StsInventory.md
docs/StsStorage.md
docs/Subject.md
docs/UserApi.md
git_push.sh
openapi_client/__init__.py
openapi_client/api/__init__.py
openapi_client/api/control_api.py
openapi_client/api/inventory_api.py
openapi_client/api/services_api.py
openapi_client/api/storage_api.py
openapi_client/api/user_api.py
Expand All @@ -44,26 +61,41 @@ openapi_client/exceptions.py
openapi_client/models/__init__.py
openapi_client/models/access_token.py
openapi_client/models/auth_resource_type.py
openapi_client/models/background_job_request_status.py
openapi_client/models/catalog_publication_request.py
openapi_client/models/claim_lite.py
openapi_client/models/content_disposition.py
openapi_client/models/content_type.py
openapi_client/models/data_casting_enum.py
openapi_client/models/data_casting_request.py
openapi_client/models/get_job_status401_response.py
openapi_client/models/get_catalogue_by_id401_response.py
openapi_client/models/http_validation_problem_details.py
openapi_client/models/i_inventory_catalog.py
openapi_client/models/i_inventory_point.py
openapi_client/models/i_inventory_sts.py
openapi_client/models/i_publication_request.py
openapi_client/models/i_resource_status.py
openapi_client/models/i_shared_folder.py
openapi_client/models/i_storage_point.py
openapi_client/models/i_storage_sts.py
openapi_client/models/i_subject.py
openapi_client/models/i_workspace.py
openapi_client/models/import_request.py
openapi_client/models/import_status.py
openapi_client/models/inventory_type.py
openapi_client/models/link.py
openapi_client/models/principal_context.py
openapi_client/models/problem_details.py
openapi_client/models/publication_request.py
openapi_client/models/publication_status.py
openapi_client/models/request_status.py
openapi_client/models/request_status_code.py
openapi_client/models/resource_status_code.py
openapi_client/models/resource_type.py
openapi_client/models/share_folder_request.py
openapi_client/models/storage_type.py
openapi_client/models/sts_response.py
openapi_client/models/sts_inventory.py
openapi_client/models/sts_storage.py
openapi_client/models/subject.py
openapi_client/py.typed
openapi_client/rest.py
Expand All @@ -73,4 +105,22 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_background_job_request_status.py
test/test_catalog_publication_request.py
test/test_content_disposition.py
test/test_content_type.py
test/test_get_catalogue_by_id401_response.py
test/test_i_inventory_catalog.py
test/test_i_inventory_point.py
test/test_i_inventory_sts.py
test/test_i_publication_request.py
test/test_i_subject.py
test/test_import_status.py
test/test_inventory_api.py
test/test_inventory_type.py
test/test_publication_request.py
test/test_publication_status.py
test/test_resource_type.py
test/test_sts_inventory.py
test/test_sts_storage.py
tox.ini
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.4.0
27 changes: 25 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

- API version: 2
- Package version: 1.0.0
- Generator version: 7.4.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -91,6 +92,12 @@ All URIs are relative to *https://api.bios-dev.terradue.com/core*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*ControlApi* | [**get_job_status**](docs/ControlApi.md#get_job_status) | **GET** /v2/jobs/{jobId} | Get the status of a job
*InventoryApi* | [**claim_catalogue**](docs/InventoryApi.md#claim_catalogue) | **POST** /v2/inventory/catalogues/{catalogueId}/claim | Claim a catalogue
*InventoryApi* | [**get_catalogue_by_id**](docs/InventoryApi.md#get_catalogue_by_id) | **GET** /v2/inventory/catalogues/{catalogueId} | Get the catalogue information for a specific id
*InventoryApi* | [**get_catalogue_publication_status**](docs/InventoryApi.md#get_catalogue_publication_status) | **GET** /v2/inventory/catalogues/publication/{publicationId} | Get Status of an import
*InventoryApi* | [**get_catalogues**](docs/InventoryApi.md#get_catalogues) | **GET** /v2/inventory/catalogues | Get all the catalogues information related to an authenticated user
*InventoryApi* | [**v2_inventory_catalogues_publish_post**](docs/InventoryApi.md#v2_inventory_catalogues_publish_post) | **POST** /v2/inventory/catalogues/publish | Submit a catalog publication request
*InventoryApi* | [**v2_inventory_token_get**](docs/InventoryApi.md#v2_inventory_token_get) | **GET** /v2/inventory/token | Get Credentials for specific inventory point (e.g catalog, collection)
*ServicesApi* | [**cast_time_series**](docs/ServicesApi.md#cast_time_series) | **POST** /v2/services/timeseries/cast | Request casting for a time series.
*ServicesApi* | [**get_data_casting_status_async**](docs/ServicesApi.md#get_data_casting_status_async) | **GET** /v2/services/datacast/casts/{castId} | Get the status of a casting request
*ServicesApi* | [**post_data_casting**](docs/ServicesApi.md#post_data_casting) | **POST** /v2/services/datacast/cast | Request casting for a generic data resource
Expand All @@ -111,26 +118,41 @@ Class | Method | HTTP request | Description

- [AccessToken](docs/AccessToken.md)
- [AuthResourceType](docs/AuthResourceType.md)
- [BackgroundJobRequestStatus](docs/BackgroundJobRequestStatus.md)
- [CatalogPublicationRequest](docs/CatalogPublicationRequest.md)
- [ClaimLite](docs/ClaimLite.md)
- [ContentDisposition](docs/ContentDisposition.md)
- [ContentType](docs/ContentType.md)
- [DataCastingEnum](docs/DataCastingEnum.md)
- [DataCastingRequest](docs/DataCastingRequest.md)
- [GetJobStatus401Response](docs/GetJobStatus401Response.md)
- [GetCatalogueById401Response](docs/GetCatalogueById401Response.md)
- [HttpValidationProblemDetails](docs/HttpValidationProblemDetails.md)
- [IInventoryCatalog](docs/IInventoryCatalog.md)
- [IInventoryPoint](docs/IInventoryPoint.md)
- [IInventorySTS](docs/IInventorySTS.md)
- [IPublicationRequest](docs/IPublicationRequest.md)
- [IResourceStatus](docs/IResourceStatus.md)
- [ISharedFolder](docs/ISharedFolder.md)
- [IStoragePoint](docs/IStoragePoint.md)
- [IStorageSTS](docs/IStorageSTS.md)
- [ISubject](docs/ISubject.md)
- [IWorkspace](docs/IWorkspace.md)
- [ImportRequest](docs/ImportRequest.md)
- [ImportStatus](docs/ImportStatus.md)
- [InventoryType](docs/InventoryType.md)
- [Link](docs/Link.md)
- [PrincipalContext](docs/PrincipalContext.md)
- [ProblemDetails](docs/ProblemDetails.md)
- [PublicationRequest](docs/PublicationRequest.md)
- [PublicationStatus](docs/PublicationStatus.md)
- [RequestStatus](docs/RequestStatus.md)
- [RequestStatusCode](docs/RequestStatusCode.md)
- [ResourceStatusCode](docs/ResourceStatusCode.md)
- [ResourceType](docs/ResourceType.md)
- [ShareFolderRequest](docs/ShareFolderRequest.md)
- [StorageType](docs/StorageType.md)
- [StsResponse](docs/StsResponse.md)
- [StsInventory](docs/StsInventory.md)
- [StsStorage](docs/StsStorage.md)
- [Subject](docs/Subject.md)


Expand All @@ -149,6 +171,7 @@ Authentication schemes defined for the API:
- **openid**: openid
- **profile**: profile
- **bios-dev**: bios-dev
- **roles**: roles
- **offline_access**: offline_access


Expand Down
2 changes: 1 addition & 1 deletion docs/AccessToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ json = "{}"
# create an instance of AccessToken from a JSON string
access_token_instance = AccessToken.from_json(json)
# print the JSON string representation of the object
print AccessToken.to_json()
print(AccessToken.to_json())

# convert the object into a dict
access_token_dict = access_token_instance.to_dict()
Expand Down
31 changes: 31 additions & 0 deletions docs/BackgroundJobRequestStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# BackgroundJobRequestStatus


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**identifier** | **str** | | [optional] [readonly]
**status** | [**RequestStatusCode**](RequestStatusCode.md) | | [optional]
**links** | [**List[Link]**](Link.md) | | [optional] [readonly]

## Example

```python
from openapi_client.models.background_job_request_status import BackgroundJobRequestStatus

# TODO update the JSON string below
json = "{}"
# create an instance of BackgroundJobRequestStatus from a JSON string
background_job_request_status_instance = BackgroundJobRequestStatus.from_json(json)
# print the JSON string representation of the object
print(BackgroundJobRequestStatus.to_json())

# convert the object into a dict
background_job_request_status_dict = background_job_request_status_instance.to_dict()
# create an instance of BackgroundJobRequestStatus from a dict
background_job_request_status_form_dict = background_job_request_status.from_dict(background_job_request_status_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


34 changes: 34 additions & 0 deletions docs/CatalogPublicationRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# CatalogPublicationRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | **str** | |
**catalog_id** | **str** | | [optional]
**additional_links** | [**List[Link]**](Link.md) | | [optional]
**subjects** | [**List[Subject]**](Subject.md) | | [optional]
**collection** | **str** | | [optional]
**depth** | **int** | | [optional]

## Example

```python
from openapi_client.models.catalog_publication_request import CatalogPublicationRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CatalogPublicationRequest from a JSON string
catalog_publication_request_instance = CatalogPublicationRequest.from_json(json)
# print the JSON string representation of the object
print(CatalogPublicationRequest.to_json())

# convert the object into a dict
catalog_publication_request_dict = catalog_publication_request_instance.to_dict()
# create an instance of CatalogPublicationRequest from a dict
catalog_publication_request_form_dict = catalog_publication_request.from_dict(catalog_publication_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/ClaimLite.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ json = "{}"
# create an instance of ClaimLite from a JSON string
claim_lite_instance = ClaimLite.from_json(json)
# print the JSON string representation of the object
print ClaimLite.to_json()
print(ClaimLite.to_json())

# convert the object into a dict
claim_lite_dict = claim_lite_instance.to_dict()
Expand Down
36 changes: 36 additions & 0 deletions docs/ContentDisposition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# ContentDisposition


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**disposition_type** | **str** | | [optional]
**parameters** | **List[object]** | | [optional] [readonly]
**file_name** | **str** | | [optional]
**creation_date** | **datetime** | | [optional]
**modification_date** | **datetime** | | [optional]
**inline** | **bool** | | [optional]
**read_date** | **datetime** | | [optional]
**size** | **int** | | [optional]

## Example

```python
from openapi_client.models.content_disposition import ContentDisposition

# TODO update the JSON string below
json = "{}"
# create an instance of ContentDisposition from a JSON string
content_disposition_instance = ContentDisposition.from_json(json)
# print the JSON string representation of the object
print(ContentDisposition.to_json())

# convert the object into a dict
content_disposition_dict = content_disposition_instance.to_dict()
# create an instance of ContentDisposition from a dict
content_disposition_form_dict = content_disposition.from_dict(content_disposition_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


33 changes: 33 additions & 0 deletions docs/ContentType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# ContentType


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**boundary** | **str** | | [optional]
**char_set** | **str** | | [optional]
**media_type** | **str** | | [optional]
**name** | **str** | | [optional]
**parameters** | **List[object]** | | [optional] [readonly]

## Example

```python
from openapi_client.models.content_type import ContentType

# TODO update the JSON string below
json = "{}"
# create an instance of ContentType from a JSON string
content_type_instance = ContentType.from_json(json)
# print the JSON string representation of the object
print(ContentType.to_json())

# convert the object into a dict
content_type_dict = content_type_instance.to_dict()
# create an instance of ContentType from a dict
content_type_form_dict = content_type.from_dict(content_type_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/DataCastingRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ json = "{}"
# create an instance of DataCastingRequest from a JSON string
data_casting_request_instance = DataCastingRequest.from_json(json)
# print the JSON string representation of the object
print DataCastingRequest.to_json()
print(DataCastingRequest.to_json())

# convert the object into a dict
data_casting_request_dict = data_casting_request_instance.to_dict()
Expand Down
34 changes: 34 additions & 0 deletions docs/GetCatalogueById401Response.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# GetCatalogueById401Response


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | | [optional]
**title** | **str** | | [optional]
**status** | **int** | | [optional]
**detail** | **str** | | [optional]
**instance** | **str** | | [optional]
**errors** | **Dict[str, List[str]]** | | [optional]

## Example

```python
from openapi_client.models.get_catalogue_by_id401_response import GetCatalogueById401Response

# TODO update the JSON string below
json = "{}"
# create an instance of GetCatalogueById401Response from a JSON string
get_catalogue_by_id401_response_instance = GetCatalogueById401Response.from_json(json)
# print the JSON string representation of the object
print(GetCatalogueById401Response.to_json())

# convert the object into a dict
get_catalogue_by_id401_response_dict = get_catalogue_by_id401_response_instance.to_dict()
# create an instance of GetCatalogueById401Response from a dict
get_catalogue_by_id401_response_form_dict = get_catalogue_by_id401_response.from_dict(get_catalogue_by_id401_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit 48fba64

Please sign in to comment.