Reviewer:
1. DM me to get a client ID/secret for the Hubspot app and login
credentials for a sample Hubspot account
2. For now, you'll need to run the engine on the branch
`nate/token-introspection` for the auth flow to work with Hubspot
3. Add the following to `auth.providers` in your engine yaml:
```yaml
- id: arcade-hubspot
description: 'Hubspot provider'
enabled: true
type: oauth2
provider_id: hubspot
client_id: ${env:HUBSPOT_CLIENT_ID}
client_secret: ${env:HUBSPOT_CLIENT_SECRET}
```
42 lines
938 B
TOML
42 lines
938 B
TOML
[tool.poetry]
|
|
name = "arcade_hubspot"
|
|
version = "0.1.0"
|
|
description = "Arcade tools designed for LLMs to interact with Hubspot"
|
|
authors = ["Arcade <dev@arcade.dev>"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
arcade-ai = ">=1.0.5,<2.0"
|
|
httpx = "^0.27.2"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^8.3.0"
|
|
pytest-cov = "^4.0.0"
|
|
pytest-asyncio = "^0.24.0"
|
|
pytest-mock = "^3.11.1"
|
|
mypy = "^1.5.1"
|
|
pre-commit = "^3.4.0"
|
|
tox = "^4.11.1"
|
|
ruff = "^0.7.4"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.mypy]
|
|
files = ["arcade_hubspot/**/*.py"]
|
|
python_version = "3.10"
|
|
disallow_untyped_defs = "True"
|
|
disallow_any_unimported = "True"
|
|
no_implicit_optional = "True"
|
|
check_untyped_defs = "True"
|
|
warn_return_any = "True"
|
|
warn_unused_ignores = "True"
|
|
show_error_codes = "True"
|
|
ignore_missing_imports = "True"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.coverage.report]
|
|
skip_empty = true
|