echostream-function-context-0.0.2
توضیحات
Micro library for typing function contexts in EchoStream functions
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | echostream-function-context-0.0.2 |
| نام | echostream-function-context |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | EchoStream |
| ایمیل نویسنده | pypi@echo.stream |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/echostream-function-context/ |
| مجوز | - |
# echostream-function-context
Micro library for typing function contexts in EchoStream functions
## Installation
### For production
```shell
pip install echostream-function-context
```
Production install has no requirements.
### For development
```shell
pip install echostream-function-context[dev]
```
Development install will also install `boto3-stubs[dynamodb]`.
## Usage
```python
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)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | boto3-stubs[dynamodb] |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl echostream-function-context-0.0.2:
pip install echostream-function-context-0.0.2.whl
نصب پکیج tar.gz echostream-function-context-0.0.2:
pip install echostream-function-context-0.0.2.tar.gz