Leon4gr45's picture
Upload folder using huggingface_hub
048b1e8 verified
|
Raw
History Blame Contribute Delete
518 Bytes
# Examples
## Setup
Install dependencies
```sh
poetry install
```
## Running Examples
Run any example with environment variables:
```sh
OPENMETER_ENDPOINT=https://openmeter.cloud \
OPENMETER_TOKEN=om_xxx \
poetry run python ./sync/ingest.py
```
## Type Checking
The examples are type-checked using **Pyright**:
```sh
poetry run pyright
```
**Note**: Mypy is not compatible with the generated SDK models due to how it handles overloaded constructors. Pyright is the recommended type checker for this project.