arcade-mcp/arcade/tests
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
..
cli Worker Deploy (#278) 2025-03-13 09:02:36 -07:00
core Support PEP 604 Union Types (#347) 2025-04-07 10:52:53 -07:00
deployment Deployment Secrets (#301) 2025-03-17 21:17:17 -07:00
sdk Add @tool.deprecated (#247) 2025-02-18 13:27:49 -08:00
tool Support PEP 604 Union Types (#347) 2025-04-07 10:52:53 -07:00
__init__.py Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00