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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b2d897c14dcd4b31c0b8898fdc3e2d2a017baddf7a733e401ca2d9068907c8 |
|
MD5 | 2afb73c8844c4df54b32a09d9b15a8e8 |
|
BLAKE2b-256 | b1989ac145298e4e96e3233763816616188d08f03a89aab023a819356e5335ac |
Close
Hashes for echostream_function_context-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa9171fbfc05573b206a13d7c81fb2ee492d299354e6a0e13884784389aa7709 |
|
MD5 | 37de8bc7d568938379a656ad9746d4ac |
|
BLAKE2b-256 | 05befa0db48c44e4c7575464b76d8841028ade7425b9b017a3be0170054ad985 |