Micro library for typing function contexts in EchoStream functions
Project description
echostream-function-context
Micro library for typing function contexts in EchoStream functions
Installation
For production
pip install echostream-function-context
Production install has no requirements.
For development
pip install echostream-function-context[dev]
Development install will also install boto3-stubs[dynamodb]
.
Usage
def processor(*, context, message, source, **kwargs):
from typing import TYPE_CHECKING, cast
if TYPE_CHECKING:
from echostream_function_context import Context
else:
Context = object
context = cast(Context, context)
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 echostream-function-context-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e3f03978c8c780b781f22c019e9f575519ebe2414c883dbb70e8f9acdef38d3 |
|
MD5 | 020c8c307e27341c24e17b01223bf429 |
|
BLAKE2b-256 | 32d19bb3cf203ff4b04714b27466efb04ae87eff48794016d262f40264e72ef8 |
Close
Hashes for echostream_function_context-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e34da20915d602bce6fc44db8994cff2a0f4f10b3f469e539810eda55cf5dfdc |
|
MD5 | 344a06d34968bb6a6a25d6738b143126 |
|
BLAKE2b-256 | 3356664f9e421767cd2dc3967f8921aa143117ced865624dc1c9309bc024dd52 |