mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
21 lines
293 B
Plaintext
21 lines
293 B
Plaintext
---
|
|
title: "Syntax"
|
|
---
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import Syntax
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: Syntax = "lark"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"lark"`
|
|
- `"regex"`
|