cog
6238124f - fix: support list[X] | None (optional repeated) inputs in SDK and schema gen

Commit
5 days ago
fix: support list[X] | None (optional repeated) inputs in SDK and schema gen The Python SDK and Go static schema generator only supported three Repetition variants (Required, Optional, Repeated), so type annotations like `list[File] | None` and `list[Path] | None` would fail: - Python SDK raised "Optional cannot have nested type list" - Go schema gen silently discarded the list semantics, producing an optional scalar schema instead of a nullable array Add OptionalRepeated to both type systems, threading it through type resolution, normalization, JSON schema generation, and input validation.
Author
Parents
Loading