Waylay Storage Types
Project description
Waylay Storage Service
Manage storage buckets and subscriptions.
This Python package is automatically generated based on the Waylay Storage OpenAPI specification (API version: v0.4.1)
It is considered an extension of the waylay-sdk-storage 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-storage
.
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-storage is included in:
pip install waylay-sdk[storage]
to installwaylay-sdk
along with only this service, orpip install waylay-sdk[services]
to installwaylay-sdk
along with all services. When the typed models are required, both waylay-sdk-storage and waylay-sdk-storage-types are included in:pip install waylay-sdk[storage,storage-types]
to installwaylay-sdk
along with only this service including the typed models, orpip install waylay-sdk[services,services-types]
to installwaylay-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-storage-types` is installed
try:
# Version
# calls `GET /storage/v1/`
api_response = await waylay_client.storage.about.version(
)
print("The response of storage.about.version:\n")
pprint(api_response)
except ApiError as e:
print("Exception when calling storage.about.version: %s\n" % e)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for waylay-sdk-storage-types-0.4.1b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f6a37b3ad72965e952e7ad811f79b563465fba9d296c6c5d9a894f6b855f66 |
|
MD5 | 71789c7fae7909f39f67eb62daa574be |
|
BLAKE2b-256 | 2b6974db45c6266a985a744f99168ecab425fad6595b8ecb081ff70a13d5c496 |
Close
Hashes for waylay_sdk_storage_types-0.4.1b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42005c873994b92786bb357d7fac3d57ec827844f7253626860cbd4e655d10e9 |
|
MD5 | 3f3b3d02942ad27e636a2f4717ce6ea7 |
|
BLAKE2b-256 | 894ba851a921207a14a463a98f3ef70f16ede4678778652f4a26306cb8c79f14 |