No project description provided
Project description
Uncertainty-engine-resource-client
Resource management API for the twinLab platform.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.1.0
- Package version: 1.0.0
- Generator version: 7.12.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://www.digilab.co.uk/
To regenerate the package, use the openapi-generator-cli tool with the configuration file defined in this repository:
# Install dependencies
poetry install
# Generate the client
poetry run openapi-generator-cli generate -c openapi-generator-config.yaml
This should only alter files that have been modified since the last generation. If you want to regenerate everything, you can delete the openapi-generator directory and run the command again.
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/digiLab-ai/uncertainty-engine-resource-client.git
Then import the package:
import uncertainty_engine_resource_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import uncertainty_engine_resource_client
from uncertainty_engine_resource_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tu8vus047g.execute-api.eu-west-2.amazonaws.com
# See configuration.py for a list of all supported configuration parameters.
configuration = uncertainty_engine_resource_client.Configuration(
host = "https://tu8vus047g.execute-api.eu-west-2.amazonaws.com"
)
# Enter a context with an instance of the API client
with uncertainty_engine_resource_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = uncertainty_engine_resource_client.AccountRecordsApi(api_client)
account_id = 'account_id_example' # str |
try:
# Delete Account Record
api_response = api_instance.delete_account_record(account_id)
print("The response of AccountRecordsApi->delete_account_record:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountRecordsApi->delete_account_record: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://tu8vus047g.execute-api.eu-west-2.amazonaws.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AccountRecordsApi | delete_account_record | DELETE /api/accounts/{account_id} | Delete Account Record |
| AccountRecordsApi | get_account_record | GET /api/accounts/{account_id} | Get Account Record Id |
| AccountRecordsApi | get_account_record_projects | GET /api/accounts/{account_id}/projects | Get Account Record Projects |
| AccountRecordsApi | post_account_record | POST /api/accounts | Post Account Record |
| AuthApi | get_tokens | POST /api/auth/token | Get Tokens |
| AuthApi | refresh_token | POST /api/auth/refresh | Refresh Token |
| ProjectRecordsApi | delete_project_record | DELETE /api/projects/{project_id} | Delete Project Record |
| ProjectRecordsApi | get_project_record_id | GET /api/projects/{project_id} | Get Project Record Id |
| ProjectRecordsApi | patch_project_record | PATCH /api/projects/{project_id}/name | Patch Project Record Name |
| ProjectRecordsApi | post_project_record | POST /api/projects | Post Project Record |
| ResourcesApi | delete_resource_record | DELETE /api/projects/{project_id}/resources/{resource_type}/{resource_id} | Delete Resource |
| ResourcesApi | delete_resource_version_record | DELETE /api/projects/{project_id}/resources/{resource_type}/{resource_id}/versions/{resource_version_id} | Delete Resource Version |
| ResourcesApi | get_latest_resource_version | GET /api/projects/{project_id}/resources/{resource_type}/{resource_id}/latest | Get Latest Resource Version |
| ResourcesApi | get_project_resource_records | GET /api/projects/{project_id}/resources/{resource_type} | Get Project Resource Records |
| ResourcesApi | get_resource_record | GET /api/projects/{project_id}/resources/{resource_type}/{resource_id} | Get Resource Record |
| ResourcesApi | get_resource_version | GET /api/projects/{project_id}/resources/{resource_type}/{resource_id}/versions/{resource_version_id} | Get Resource Version |
| ResourcesApi | get_resource_version_records | GET /api/projects/{project_id}/resources/{resource_type}/{resource_id}/versions | Get Resource Version Records |
| ResourcesApi | post_resource_record | POST /api/projects/{project_id}/resources/{resource_type} | Post Resource Record |
| ResourcesApi | post_resource_version | POST /api/projects/{project_id}/resources/{resource_type}/{resource_id}/versions | Post Resource Version |
| ResourcesApi | put_upload_resource_version | PUT /api/projects/{project_id}/resources/{resource_type}/{resource_id}/pending/{pending_record_id} | Put Upload Resource Version |
| TemplatesApi | delete_workflow_template | DELETE /api/templates/workflows/{workflow_template_id} | Delete Workflow Template |
| TemplatesApi | get_workflow_template_record | GET /api/templates/workflows/{workflow_template_id} | Get Workflow Template |
| TemplatesApi | get_workflow_template_records | GET /api/templates/workflows | Get Workflow Templates |
| TemplatesApi | workflow_template | POST /api/templates/workflows | Workflow Template |
| WorkflowsApi | delete_workflow_record | DELETE /api/projects/{project_id}/workflows/{workflow_id} | Delete Workflow |
| WorkflowsApi | delete_workflow_version_record | DELETE /api/projects/{project_id}/workflows/{workflow_id}/versions/{workflow_version_id} | Delete Workflow Version |
| WorkflowsApi | get_latest_workflow_version | GET /api/projects/{project_id}/workflows/{workflow_id}/latest | Get Latest Workflow Version |
| WorkflowsApi | get_project_workflow_records | GET /api/projects/{project_id}/workflows | Get Project Workflow Records |
| WorkflowsApi | get_workflow_record | GET /api/projects/{project_id}/workflows/{workflow_id} | Get Workflow Record |
| WorkflowsApi | get_workflow_version | GET /api/projects/{project_id}/workflows/{workflow_id}/versions/{workflow_version_id} | Get Workflow Version |
| WorkflowsApi | get_workflow_version_records | GET /api/projects/{project_id}/workflows/{workflow_id}/versions | Get Workflow Version Records |
| WorkflowsApi | post_workflow_record | POST /api/projects/{project_id}/workflows | Post Workflow Record |
| WorkflowsApi | post_workflow_version | POST /api/projects/{project_id}/workflows/{workflow_id}/versions | Post Workflow Version |
| WorkflowsApi | put_workflow_version | PUT /api/projects/{project_id}/workflows/{workflow_id}/versions/{workflow_version_id} | Put Workflow Version |
| DefaultApi | health_health_get | GET /health | Health |
Documentation For Models
- AccountRecordInput
- AccountRecordOutput
- AccountResponse
- GetAccountRecordProjectsResponse
- GetResourceRecordsResponse
- GetResourceVersionRecordsResponse
- GetResourceVersionResponse
- GetWorkflowRecordsResponse
- GetWorkflowTemplateRecordsResponse
- GetWorkflowVersionRecordsResponse
- HTTPValidationError
- PatchProjectRecordNameRequest
- PostAccountRecordRequest
- PostProjectRecordRequest
- PostResourceRecordRequest
- PostResourceVersionRequest
- PostResourceVersionResponse
- PostWorkflowRecordRequest
- PostWorkflowTemplateRecordRequest
- PostWorkflowVersionRequest
- ProjectRecordInput
- ProjectRecordOutput
- ProjectResponse
- ProjectRoles
- ResourceLocation
- ResourceRecordInput
- ResourceRecordOutput
- ResourceResponse
- ResourceVersionRecordInput
- ResourceVersionRecordOutput
- TokenResponse
- UpdateWorkflowVersionRequest
- ValidationError
- ValidationErrorLocInner
- WorkflowRecordInput
- WorkflowRecordOutput
- WorkflowResponse
- WorkflowTemplateRecordInput
- WorkflowTemplateRecordOutput
- WorkflowTemplateResponse
- WorkflowVersionRecordInput
- WorkflowVersionRecordOutput
- WorkflowVersionResponse
Documentation For Authorization
Authentication schemes defined for the API:
APIKeyHeader
- Type: API key
- API key parameter name: X-Resource-Service-Token
- Location: HTTP header
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uncertainty_engine_resource_client-0.2.0.tar.gz.
File metadata
- Download URL: uncertainty_engine_resource_client-0.2.0.tar.gz
- Upload date:
- Size: 41.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.1 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a77b8ca594e02669b216c03a665144cb6b94bd5afad0c0e1ca8c131f0817a69
|
|
| MD5 |
4267857beb946beb4ff01ae32537bd0b
|
|
| BLAKE2b-256 |
da00eaf2b44fb382cc8f07757f94313859e15eb76ddc3a48dee942409923761e
|
File details
Details for the file uncertainty_engine_resource_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: uncertainty_engine_resource_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 106.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.1 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
688d7796726b71b0fe9451e7745d6195873735a2e571b54b464091cc6fe82824
|
|
| MD5 |
e02954abae82259f57cec6b2832fe02a
|
|
| BLAKE2b-256 |
10d1a51add1bd24959e84feb7c6a418043a1c1433146576f06550240bfaf09ba
|