Skip to main content

Waylay rules engine Types

Project description

Waylay Rules Service

The REST api to manage rule tasks and rule templates in the Waylay platform.

This Python package is automatically generated based on the Waylay Rules OpenAPI specification (API version: 6.5.0)

It is considered an extension of the waylay-sdk-rules package, and it consists of the typed model classes for all path params, query params, body params and responses for each of the api methods in waylay-sdk-rules.

Requirements.

This package requires Python 3.9+.

Installation

Typically this package is installed when installing the waylay-sdk package to enable the service's functionality. When the service api methods are required, waylay-sdk-rules is included in:

  • pip install waylay-sdk[rules] to install waylay-sdk along with only this service, or
  • pip install waylay-sdk[services] to install waylay-sdk along with all services. When the typed models are required, both waylay-sdk-rules and waylay-sdk-rules-types are included in:
  • pip install waylay-sdk[rules,rules-types] to install waylay-sdk along with only this service including the typed models, or
  • pip install waylay-sdk[services,services-types] to install waylay-sdk along with all services along with the typed models.

Usage

from pprint import pprint

# Import the waylay-client from the waylay-sdk package
from waylay.sdk.client import WaylayClient
from waylay.sdk.api.api_exceptions import ApiError

# Intialize a waylay client instance
waylay_client = WaylayClient.from_profile()

# Note that the typed model classes for responses/parameters/... are only available when `waylay-sdk-rules-types` is installed
from ..models.execute_plugs_specification import ExecutePlugsSpecification
from ..models.transformer_execution_result import TransformerExecutionResult
try:
    # Execute Specified Transformer Version
    # calls `POST /rules/v1/transformers/{name}/versions/{version}`
    api_response = await waylay_client.rules.plugs_execution.execute_transformer_version(
        'name_example', # name | path param "name"
        'version_example', # version | path param "version"
    )
    print("The response of rules.plugs_execution.execute_transformer_version:\n")
    pprint(api_response)
except ApiError as e:
    print("Exception when calling rules.plugs_execution.execute_transformer_version: %s\n" % e)

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

waylay-sdk-rules-types-6.5.0rc1.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

waylay_sdk_rules_types-6.5.0rc1-py3-none-any.whl (91.8 kB view details)

Uploaded Python 3

File details

Details for the file waylay-sdk-rules-types-6.5.0rc1.tar.gz.

File metadata

File hashes

Hashes for waylay-sdk-rules-types-6.5.0rc1.tar.gz
Algorithm Hash digest
SHA256 dd0d1af3ad81a6018aecbc491f68c7a3737728eab540e8d71edd04528e71301a
MD5 aeaf4c98efb477435c7be4e64281235e
BLAKE2b-256 53eb17c422cfef4ae128e4ad50e8fde2248da4930d8eeea27fd263a79070c034

See more details on using hashes here.

File details

Details for the file waylay_sdk_rules_types-6.5.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for waylay_sdk_rules_types-6.5.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 c369bbb53a05df36b57a8e425479c0daa970f48066e06f6da9427cf3b3580208
MD5 365c5a0db99260d4cbf23e2385a8bb43
BLAKE2b-256 7743835e13adc39d34c9800d868f9b360fd85e2fce8eff8c385b7c59c35341b6

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