Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ install:
mkdir -p generated
uv sync

generate: clean install
generate-v1: clean install
uv run generate.py

generate-v2: clean install
generate: clean install
uv run generate.py --generator openapi-python-client --config generator-config-python-client.yaml --skip-tests

clean:
Expand All @@ -16,9 +16,9 @@ clean:
clean_spec:
rm -rf .openapi-cache

test: generate-v2
test: generate
uv run pytest -q tests/acceptance

itest: generate-v2
itest: generate
CAMUNDA_INTEGRATION=1 uv run pytest -q tests/integration

15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,21 @@ async def main():
asyncio.run(main())
```

### Logging

The SDK uses [loguru](https://github.com/Delgan/loguru) for logging. You can control the log level by setting the `LOGURU_LEVEL` environment variable.

```bash
# Run with INFO level (default is DEBUG)
LOGURU_LEVEL=INFO python your_script.py

# Run with WARNING level
LOGURU_LEVEL=WARNING python your_script.py

# Run with TRACE level (more verbose than DEBUG)
LOGURU_LEVEL=TRACE python your_script.py
```

### Local fallback of the spec

If the network is not available or the remote repository cannot be reached, the generator will use the locally cloned spec at:
Expand Down
Loading