arcade-mcp/arcade/tests/tool
Eric Gustin 6035cde920
Update auth provider_id (#173)
# PR Description
Well known providers (Google, X, Dropbox, etc.) can optionally have an
`id` in addition to their hardcoded `provider_id`. For non well known
providers, they must provide an `id`, and the `provider_id` is hardcoded
as `None`.

```python
OAuth2() # INVALID
OAuth2(provider_id="abc") # INVALID
OAuth2(id="abc") # VALID
OAuth2(provider_id="abc", id="def") # INVALID
```
```python
Google() # VALID
Google(provider_id="abc") # INVALID
Google(id="abc") # VALID
Google(provider_id="abc", id="def") # INVALID
```

---------

Co-authored-by: Wils Dawson <wils@arcade-ai.com>
2025-01-17 11:38:06 -08:00
..
test_create_tool_definition.py Update auth provider_id (#173) 2025-01-17 11:38:06 -08:00
test_create_tool_definition_errors.py Fix CI: config errors, Python 3.11 union type errors (#45) 2024-09-19 12:07:28 -07:00
test_create_tool_definition_new.py Rename inputs -> input to match Engine (#190) 2025-01-03 17:42:58 -08:00
test_create_tool_definition_pydantic.py Rename inputs -> input to match Engine (#190) 2025-01-03 17:42:58 -08:00
test_create_tool_definition_pydantic_errors.py Add ToolContext and OAuth tool support (#10) 2024-08-02 11:25:08 -07:00
test_fully_qualified_tool_name.py SDK: Fully qualified tool names (#47) 2024-09-23 15:47:36 -07:00