Skip to main content

Neops Workflow Engine

Project description

Neops Task Engine Client

Neops workflow engine API documentation

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 0.41.0
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import neops_workflow_engine_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import neops_workflow_engine_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import neops_workflow_engine_client
from neops_workflow_engine_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = neops_workflow_engine_client.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with neops_workflow_engine_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = neops_workflow_engine_client.BlackboardApi(api_client)
    request_body = ['request_body_example'] # List[str] | 

    try:
        api_response = api_instance.blackboard_controller_poll_job(request_body)
        print("The response of BlackboardApi->blackboard_controller_poll_job:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling BlackboardApi->blackboard_controller_poll_job: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
BlackboardApi blackboard_controller_poll_job POST /blackboard/job
BlackboardApi blackboard_controller_push_job_result POST /blackboard/job/result
CmsClientApi cms_client_controller_get_all_devices GET /cms-client/all-devices
CmsClientApi cms_client_controller_get_random_device GET /cms-client/random-device
CmsClientApi cms_client_controller_login POST /cms-client/login
DefaultApi app_controller_get_hello GET /
FunctionBlockApi function_blocks_controller_find_all GET /function-blocks/list List all registered function blocks
FunctionBlockApi function_blocks_controller_find_one GET /function-blocks/{id} Get a function block by id
FunctionBlockApi function_blocks_controller_register POST /function-blocks/register Register a function block
FunctionBlockApi function_blocks_controller_unregister DELETE /function-blocks/{id} Unregister a function block
HealthApi health_controller_healthy GET /health Check health of task engine
WorkflowsApi workflow_controller_execute POST /workflow Execute a workflow
WorkflowsApi workflow_controller_ge_all GET /workflow/failed List all failed workflows
WorkflowsApi workflow_controller_get_all GET /workflow/all List all workflows
WorkflowsApi workflow_controller_get_running GET /workflow/running List all running workflows
WorkflowsApi workflow_controller_remove DELETE /workflow/{id} Stop a workflow

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

JWT

  • Type: Bearer authentication (JWT)

Author

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

neops_workflow_engine_client-0.41.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file neops_workflow_engine_client-0.41.0.tar.gz.

File metadata

File hashes

Hashes for neops_workflow_engine_client-0.41.0.tar.gz
Algorithm Hash digest
SHA256 b8de66353dff405f6e7b0e9be6d5717112e141c7eaaa8b8122959ce07601677a
MD5 102badab34d3f470b6fa01ae7e17fd5a
BLAKE2b-256 1aeb2b170d0d6721b11a58b442a0305fbbe2ebd6156ba22ff8905e63943a9e27

See more details on using hashes here.

File details

Details for the file neops_workflow_engine_client-0.41.0-py3-none-any.whl.

File metadata

File hashes

Hashes for neops_workflow_engine_client-0.41.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24bbbe2e976e2c03df3256113acf39e3021508e1838ce2e44156ddde51a5ac7d
MD5 37fb6438bc867ee5c10b6c157138f93a
BLAKE2b-256 743ec7be551741cfe394d8cb55efb5af1be5c15fb4c7c0ad0fe1e4ec30d4a79c

See more details on using hashes here.

Supported by

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