Skip to main content

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 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 patch_resource_version PATCH /api/projects/{project_id}/resources/{resource_type}/{resource_id}/versions/{resource_version_id} Patch Resource Version
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uncertainty_engine_resource_client-0.1.0.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file uncertainty_engine_resource_client-0.1.0.tar.gz.

File metadata

File hashes

Hashes for uncertainty_engine_resource_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fce7d606cd4e604b7518c3260b1d0a2a632c9e8cd2db7158d10841179537b3fb
MD5 ddaec5af0fb59cdfb773991d6d82f9bc
BLAKE2b-256 36643a75861efc82a20d193a2013cc4ceab2a1101f4d4673393c6531ad2881a5

See more details on using hashes here.

File details

Details for the file uncertainty_engine_resource_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for uncertainty_engine_resource_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53cbbc5e09ba3e9cad4e5baa0b81ba5a33b4e55620203a2f9222fb65102a1cd3
MD5 69c4b51964c5c52d39f7aff051d676a0
BLAKE2b-256 1bb116244b6f670187b8f33b1041f0f4659baf620478ee072960510ebbbb6c9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page