[PROD-186][ClickUp ToolKit][Auth] Update auth modules for ClickUp auth integration (#526)
[https://app.clickup.com/t/9014390315/PROD-186](PROD-186) Small update for auth modules for ClickUp integration. --------- Co-authored-by: Francisco Liberal <francisco@arcade.dev>
This commit is contained in:
parent
19c1e18a8a
commit
b0c77a04e6
4 changed files with 14 additions and 3 deletions
|
|
@ -51,6 +51,15 @@ class Atlassian(OAuth2):
|
|||
super().__init__(id=id, scopes=scopes)
|
||||
|
||||
|
||||
class ClickUp(OAuth2):
|
||||
"""Marks a tool as requiring ClickUp authorization."""
|
||||
|
||||
provider_id: str = "clickup"
|
||||
|
||||
def __init__(self, *, id: Optional[str] = None, scopes: Optional[list[str]] = None): # noqa: A002
|
||||
super().__init__(id=id, scopes=scopes)
|
||||
|
||||
|
||||
class Discord(OAuth2):
|
||||
"""Marks a tool as requiring Discord authorization."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "arcade-core"
|
||||
version = "2.2.2"
|
||||
version = "2.3.0"
|
||||
description = "Arcade Core - Core library for Arcade platform"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
from arcade_core.auth import (
|
||||
Asana,
|
||||
Atlassian,
|
||||
ClickUp,
|
||||
Discord,
|
||||
Dropbox,
|
||||
GitHub,
|
||||
|
|
@ -23,6 +24,7 @@ from arcade_core.auth import (
|
|||
__all__ = [
|
||||
"Asana",
|
||||
"Atlassian",
|
||||
"ClickUp",
|
||||
"Discord",
|
||||
"Dropbox",
|
||||
"GitHub",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "arcade-tdk"
|
||||
version = "2.1.0"
|
||||
version = "2.2.0"
|
||||
description = "Arcade TDK - Toolkit Development Kit for building Arcade tools"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
|
|
@ -19,7 +19,7 @@ classifiers = [
|
|||
]
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"arcade-core>=2.0.0,<3.0.0",
|
||||
"arcade-core>=2.3.0,<3.0.0",
|
||||
"pydantic>=2.7.0",
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue