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.40.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
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

Endpoints do not require authorization.

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.40.0.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for neops_workflow_engine_client-0.40.0.tar.gz
Algorithm Hash digest
SHA256 ca10a3b0318dfad1f23d18f0442b6e812645444eff72f04b3610e6815bad0226
MD5 587d5f1e0270edb3b7214df3169f6d1c
BLAKE2b-256 36fe213ffe48cc8916dc44cdfe41b5a4c5f5b64f7b66338a8437461c6ba8efe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for neops_workflow_engine_client-0.40.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d5285e25bc9e79da34c636afa18ccab328f9f62fb3d2bc906b7959e041282cf
MD5 23a7ae9e2c513c8aa9607e1aacb1c943
BLAKE2b-256 a22eb0660af45cd5c0e9c259820cdcd14531e4985e8cc6cd01642801ebd118d4

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