(v: Any)
| 15 | |
| 16 | |
| 17 | def parse_cors(v: Any) -> list[str] | str: |
| 18 | if isinstance(v, str) and not v.startswith("["): |
| 19 | return [i.strip() for i in v.split(",")] |
| 20 | elif isinstance(v, list | str): |
| 21 | return v |
| 22 | raise ValueError(v) |
| 23 | |
| 24 | |
| 25 | class Settings(BaseSettings): |
nothing calls this directly
no outgoing calls
no test coverage detected