Skip to main content

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

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

Metadata

Release files for uncertainty-engine-resource-client 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uncertainty-engine-resource-client 0.2.0
File Size Uploaded
uncertainty_engine_resource_client-0.2.0.tar.gz 41.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uncertainty-engine-resource-client 0.2.0
File Interpreter ABI Platform
uncertainty_engine_resource_client-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 148.0 kB

Release files / uncertainty_engine_resource_client-0.2.0.tar.gz

Download URL uncertainty_engine_resource_client-0.2.0.tar.gz
Size 41.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3a77b8ca594e02669b216c03a665144cb6b94bd5afad0c0e1ca8c131f0817a69
BLAKE2b-256 checksum
How to use checksums
da00eaf2b44fb382cc8f07757f94313859e15eb76ddc3a48dee942409923761e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.1 Darwin/23.6.0

Release files / uncertainty_engine_resource_client-0.2.0-py3-none-any.whl

Download URL uncertainty_engine_resource_client-0.2.0-py3-none-any.whl
Size 106.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
688d7796726b71b0fe9451e7745d6195873735a2e571b54b464091cc6fe82824
BLAKE2b-256 checksum
How to use checksums
10d1a51add1bd24959e84feb7c6a418043a1c1433146576f06550240bfaf09ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.1 Darwin/23.6.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page