Micro library for typing function contexts in EchoStream functions
Project description
echostream-function-context
Micro library for typing function contexts in EchoStream functions
Note: Version >= 0.1.0 requires Python 3.12
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
File details
Details for the file echostream_function_context-0.1.0.tar.gz
.
File metadata
- Download URL: echostream_function_context-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd714da336bd6e7e2b58b6fb247f38cdbe4de8939ae2e45bc4c4038cc12ffce6 |
|
MD5 | 1436d1c845cae0f6c5e163b6a2187bd6 |
|
BLAKE2b-256 | 7e368bf3cf15419f259da01c9b06da778c922e3eb5fee2f0c01f2ac5641957b0 |
File details
Details for the file echostream_function_context-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: echostream_function_context-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 090aee41dbd93182522d5f98e8ba13b06021e7bf70a2e022de9435b443a8a3cd |
|
MD5 | a931df71e84abe6c2ef524ac8a603527 |
|
BLAKE2b-256 | 75eb9b82d5686ce9c2af5bbcc3e302e5b94b5229054daf23b1efe4fb7f88a80c |