Skip to main content

Waylay Broker

Project description

Waylay Data Service

Data is ingested into the platform by the Waylay Broker.

This Python package is automatically generated based on the Waylay Data OpenAPI specification (API version: 2.14.0) For more information, please visit the openapi specification.

It consists of a plugin for the waylay-sdk-core package, and contains the Data api methods. Note that the typed model classes for all path params, query params, body params and responses for each of the api methods are contained in a separate package called waylay-sdk-data-types.

Requirements.

This package requires Python 3.9+.

Installation

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

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

Usage

from pprint import pprint

# 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-data-types` is installed
from waylay.services.data.models.version_response import VersionResponse
try:
    # Get Service Status
    # calls `GET /data/v1/`
    api_response = await waylay_client.data.about.get(
    )
    print("The response of data.about.get:\n")
    pprint(api_response)
except ApiError as e:
    print("Exception when calling data.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_data-2.14.0.20240415.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

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

waylay_sdk_data-2.14.0.20240415-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file waylay_sdk_data-2.14.0.20240415.tar.gz.

File metadata

File hashes

Hashes for waylay_sdk_data-2.14.0.20240415.tar.gz
Algorithm Hash digest
SHA256 6a0e92b6855f3b6a6bf4468a90d823de3da02fc758ebb8a8fb29df60bb2fc1d0
MD5 520a7269efa2bcfa14c4c01e9063978f
BLAKE2b-256 d82d49ee54b43f7f8364655ffa0ae9e01338c743e22157a2d52a3e03a95a643e

See more details on using hashes here.

File details

Details for the file waylay_sdk_data-2.14.0.20240415-py3-none-any.whl.

File metadata

File hashes

Hashes for waylay_sdk_data-2.14.0.20240415-py3-none-any.whl
Algorithm Hash digest
SHA256 797e360a243d2c3a124bbdc5aa3cc3ea7fefa41da7d2ccf84c95c6f10b647223
MD5 4dba3eae566ce54df5d01cd0d77f5a22
BLAKE2b-256 2afcebbca6d533dfca3a5ebf826e28b00499bf13b2a1fdaaf02e45720e0877f6

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