arcade-mcp/arcade/tests/core/utils
Eric Gustin ae3b02f79e
Support PEP 604 Union Types (#347)
⚠️ Local Worker will not work with Slack toolkit until this is merged 

Support [PEP 604](https://peps.python.org/pep-0604/) Union Types for
tool input param types and return types.

https://github.com/ArcadeAI/arcade-ai/pull/345 introduced PEP 604 Union
Types into our toolkits, but the worker did not support this syntax, so
it was failing on start up if a tool used bar syntax in its return type
(Slack).

Additionally, optionals defined with `Union[T, None]` were already
supported, but didn't have any unit tests, so I added them.
2025-04-07 10:52:53 -07:00
..
test_casing.py Fix CI: config errors, Python 3.11 union type errors (#45) 2024-09-19 12:07:28 -07:00
test_is_strict_optional.py Support PEP 604 Union Types (#347) 2025-04-07 10:52:53 -07:00
test_is_union.py Fix CI: config errors, Python 3.11 union type errors (#45) 2024-09-19 12:07:28 -07:00