arcade-mcp/arcade/tests/core
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
..
utils Support PEP 604 Union Types (#347) 2025-04-07 10:52:53 -07:00
test_catalog.py Support PEP 604 Union Types (#347) 2025-04-07 10:52:53 -07:00
test_executor.py Add @tool.deprecated (#247) 2025-02-18 13:27:49 -08:00
test_output.py Fix Github.CountStargazers and add tests (#92) 2024-10-04 16:09:08 -07:00
test_parse.py Pass ToolContext and CLI cleanup (#13) 2024-08-13 15:40:08 -07:00
test_schema.py fix: Tool secret keys must use a case-insensitive comparison (#275) 2025-03-04 14:33:55 -08:00
test_telemetry.py Rename actor to worker (#174) 2025-01-03 14:28:04 -08:00