Metadata-Version: 2.1
Name: echostream-function-context
Version: 0.0.1
Summary: Micro library for typing function contexts in EchoStream functions
Author: EchoStream
Author-email: pypi@echo.stream
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# 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)
```
