mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
32 lines
456 B
Plaintext
32 lines
456 B
Plaintext
---
|
|
title: "Operator"
|
|
---
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import Operator
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: Operator = "equals"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"equals"`
|
|
- `"not_equals"`
|
|
- `"contains"`
|
|
- `"not_contains"`
|
|
- `"regex"`
|
|
- `"starts_with"`
|
|
- `"ends_with"`
|
|
- `"gt"`
|
|
- `"lt"`
|
|
- `"gte"`
|
|
- `"lte"`
|
|
- `"exists"`
|
|
- `"not_exists"`
|