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.20240423.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.20240423-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for waylay_sdk_data-2.14.0.20240423.tar.gz
Algorithm Hash digest
SHA256 f253b15f2137a36dd849dc1e4bc31a42d8b24ed0318e7e3425b74d3e9e50073e
MD5 e7c4de829c824ccd95fde09692bc1186
BLAKE2b-256 ac6dc11a451f39eacb4042a1a6ab7e0e5fe61f53fcf999602abb80ee56e44289

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for waylay_sdk_data-2.14.0.20240423-py3-none-any.whl
Algorithm Hash digest
SHA256 a10806cbe8705d1dd9ae229eedb8585df2660cb594e5a56c15df5d92cd499d39
MD5 ca45eb1c259c8133faf998e0c879c02f
BLAKE2b-256 b0a1a7d61cfa18af31d9874b00c2936c67bca7dc27fc05f050da6ed29ab900d2

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