-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
47 lines (42 loc) · 954 Bytes
/
__init__.py
File metadata and controls
47 lines (42 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
"""Delega Python SDK - Official client for the Delega API."""
from ._version import __version__
from .client import Delega
from .exceptions import (
DelegaAPIError,
DelegaAuthError,
DelegaError,
DelegaNotFoundError,
DelegaRateLimitError,
)
from .models import (
Agent,
Comment,
DedupResult,
DelegationChain,
DuplicateMatch,
Project,
Task,
)
from .webhooks import verify_webhook
__all__ = [
"Agent",
"AsyncDelega",
"Comment",
"DedupResult",
"Delega",
"DelegaAPIError",
"DelegaAuthError",
"DelegaError",
"DelegaNotFoundError",
"DelegaRateLimitError",
"DelegationChain",
"DuplicateMatch",
"Project",
"Task",
"verify_webhook",
]
def __getattr__(name: str) -> object:
if name == "AsyncDelega":
from .async_client import AsyncDelega
return AsyncDelega
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")