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.20.0) For more information, please visit the openapi specification.

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.10+.

Installation

Normally this package is installed together with support for other services using the waylay-sdk umbrella package:

  • pip install waylay-sdk will install waylay-sdk-rules together with the SDK api packages for other services.
  • pip install waylay-sdk[types-rules] will additionally install the types package waylay-sdk-rules-types.
  • pip install waylay-sdk[types] will install the types packages for this and all other services.

Alternatively, you can install support for this rules service only, installing or extending an existing waylay-sdk-core:

  • pip install waylay-sdk-rules to only install api support for rules.
  • pip install waylay-sdk-rules[types] to additionally install type support for rules.

Usage

# Import the waylay-client from the waylay-sdk-core 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 waylay.services.rules.models.version_response import VersionResponse
try:
    # Get Service Information
    # calls `GET /rules/v1`
    api_response = await waylay_client.rules.about.get(
    )
    print(f"Response: {api_response}")
except ApiError as e:
    print("Exception when calling rules.about.get: %s\n" % e)

For more information, please visit the Waylay API documentation.

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.20.0.20260305.tar.gz (28.3 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 waylay_sdk_rules_types-6.20.0.20260305.tar.gz.

File metadata

File hashes

Hashes for waylay_sdk_rules_types-6.20.0.20260305.tar.gz
Algorithm Hash digest
SHA256 e99af666e6456aa398286714fde13fb7a24422e1bab4a33def9934e3c2aa287c
MD5 e222ac0f8473dd50d0aca9a360055ada
BLAKE2b-256 ff660cac40c6b029f598c214d07f626568a6072dad600e5876971a47cdd4cc4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for waylay_sdk_rules_types-6.20.0.20260305.tar.gz:

Publisher: python.yml on waylayio/waylay-sdk-rules-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file waylay_sdk_rules_types-6.20.0.20260305-py3-none-any.whl.

File metadata

File hashes

Hashes for waylay_sdk_rules_types-6.20.0.20260305-py3-none-any.whl
Algorithm Hash digest
SHA256 040d8e75b847dc46af495356c855d57ae4f91644870d2a609399d776579f0378
MD5 830b702510d52d3b63f69e11428dedeb
BLAKE2b-256 ebddce36796bed77e3d5d9917c33e2e79c2cd52a7c4c016ffced674ecdff0481

See more details on using hashes here.

Provenance

The following attestation bundles were made for waylay_sdk_rules_types-6.20.0.20260305-py3-none-any.whl:

Publisher: python.yml on waylayio/waylay-sdk-rules-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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