airbyte-agent-google-drive 0.1.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_agent_google_drive/__init__.py +151 -0
- airbyte_agent_google_drive/_vendored/__init__.py +1 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/auth_strategies.py +1120 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/connector_model_loader.py +965 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/local_executor.py +1633 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/http_client.py +686 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/introspection.py +262 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/logging/logger.py +264 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/logging/types.py +92 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/base.py +164 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/components.py +239 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/extensions.py +230 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/schema/security.py +223 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/types.py +245 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_google_drive/_vendored/connector_sdk/validation.py +822 -0
- airbyte_agent_google_drive/connector.py +1318 -0
- airbyte_agent_google_drive/connector_model.py +4966 -0
- airbyte_agent_google_drive/models.py +579 -0
- airbyte_agent_google_drive/types.py +141 -0
- airbyte_agent_google_drive-0.1.15.dist-info/METADATA +123 -0
- airbyte_agent_google_drive-0.1.15.dist-info/RECORD +57 -0
- airbyte_agent_google_drive-0.1.15.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Blessed Google-Drive connector for Airbyte SDK.
|
|
3
|
+
|
|
4
|
+
Auto-generated from OpenAPI specification.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from .connector import GoogleDriveConnector
|
|
8
|
+
from .models import (
|
|
9
|
+
GoogleDriveAuthConfig,
|
|
10
|
+
User,
|
|
11
|
+
FileLinksharemetadata,
|
|
12
|
+
FileLabelinfo,
|
|
13
|
+
FileVideomediametadata,
|
|
14
|
+
FileShortcutdetails,
|
|
15
|
+
FileImagemediametadataLocation,
|
|
16
|
+
FileImagemediametadata,
|
|
17
|
+
FileCapabilities,
|
|
18
|
+
FileContentrestrictionsItem,
|
|
19
|
+
File,
|
|
20
|
+
FilesListResponse,
|
|
21
|
+
DriveCapabilities,
|
|
22
|
+
DriveRestrictions,
|
|
23
|
+
DriveBackgroundimagefile,
|
|
24
|
+
Drive,
|
|
25
|
+
DrivesListResponse,
|
|
26
|
+
PermissionPermissiondetailsItem,
|
|
27
|
+
PermissionTeamdrivepermissiondetailsItem,
|
|
28
|
+
Permission,
|
|
29
|
+
PermissionsListResponse,
|
|
30
|
+
CommentQuotedfilecontent,
|
|
31
|
+
Reply,
|
|
32
|
+
Comment,
|
|
33
|
+
CommentsListResponse,
|
|
34
|
+
RepliesListResponse,
|
|
35
|
+
Revision,
|
|
36
|
+
RevisionsListResponse,
|
|
37
|
+
Change,
|
|
38
|
+
ChangesListResponse,
|
|
39
|
+
StartPageToken,
|
|
40
|
+
AboutStoragequota,
|
|
41
|
+
AboutTeamdrivethemesItem,
|
|
42
|
+
AboutDrivethemesItem,
|
|
43
|
+
About,
|
|
44
|
+
FilesListResultMeta,
|
|
45
|
+
DrivesListResultMeta,
|
|
46
|
+
PermissionsListResultMeta,
|
|
47
|
+
CommentsListResultMeta,
|
|
48
|
+
RepliesListResultMeta,
|
|
49
|
+
RevisionsListResultMeta,
|
|
50
|
+
ChangesListResultMeta,
|
|
51
|
+
GoogleDriveExecuteResult,
|
|
52
|
+
GoogleDriveExecuteResultWithMeta,
|
|
53
|
+
FilesListResult,
|
|
54
|
+
DrivesListResult,
|
|
55
|
+
PermissionsListResult,
|
|
56
|
+
CommentsListResult,
|
|
57
|
+
RepliesListResult,
|
|
58
|
+
RevisionsListResult,
|
|
59
|
+
ChangesListResult
|
|
60
|
+
)
|
|
61
|
+
from .types import (
|
|
62
|
+
FilesListParams,
|
|
63
|
+
FilesGetParams,
|
|
64
|
+
FilesDownloadParams,
|
|
65
|
+
FilesExportDownloadParams,
|
|
66
|
+
DrivesListParams,
|
|
67
|
+
DrivesGetParams,
|
|
68
|
+
PermissionsListParams,
|
|
69
|
+
PermissionsGetParams,
|
|
70
|
+
CommentsListParams,
|
|
71
|
+
CommentsGetParams,
|
|
72
|
+
RepliesListParams,
|
|
73
|
+
RepliesGetParams,
|
|
74
|
+
RevisionsListParams,
|
|
75
|
+
RevisionsGetParams,
|
|
76
|
+
ChangesListParams,
|
|
77
|
+
ChangesStartPageTokenGetParams,
|
|
78
|
+
AboutGetParams
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
__all__ = [
|
|
82
|
+
"GoogleDriveConnector",
|
|
83
|
+
"GoogleDriveAuthConfig",
|
|
84
|
+
"User",
|
|
85
|
+
"FileLinksharemetadata",
|
|
86
|
+
"FileLabelinfo",
|
|
87
|
+
"FileVideomediametadata",
|
|
88
|
+
"FileShortcutdetails",
|
|
89
|
+
"FileImagemediametadataLocation",
|
|
90
|
+
"FileImagemediametadata",
|
|
91
|
+
"FileCapabilities",
|
|
92
|
+
"FileContentrestrictionsItem",
|
|
93
|
+
"File",
|
|
94
|
+
"FilesListResponse",
|
|
95
|
+
"DriveCapabilities",
|
|
96
|
+
"DriveRestrictions",
|
|
97
|
+
"DriveBackgroundimagefile",
|
|
98
|
+
"Drive",
|
|
99
|
+
"DrivesListResponse",
|
|
100
|
+
"PermissionPermissiondetailsItem",
|
|
101
|
+
"PermissionTeamdrivepermissiondetailsItem",
|
|
102
|
+
"Permission",
|
|
103
|
+
"PermissionsListResponse",
|
|
104
|
+
"CommentQuotedfilecontent",
|
|
105
|
+
"Reply",
|
|
106
|
+
"Comment",
|
|
107
|
+
"CommentsListResponse",
|
|
108
|
+
"RepliesListResponse",
|
|
109
|
+
"Revision",
|
|
110
|
+
"RevisionsListResponse",
|
|
111
|
+
"Change",
|
|
112
|
+
"ChangesListResponse",
|
|
113
|
+
"StartPageToken",
|
|
114
|
+
"AboutStoragequota",
|
|
115
|
+
"AboutTeamdrivethemesItem",
|
|
116
|
+
"AboutDrivethemesItem",
|
|
117
|
+
"About",
|
|
118
|
+
"FilesListResultMeta",
|
|
119
|
+
"DrivesListResultMeta",
|
|
120
|
+
"PermissionsListResultMeta",
|
|
121
|
+
"CommentsListResultMeta",
|
|
122
|
+
"RepliesListResultMeta",
|
|
123
|
+
"RevisionsListResultMeta",
|
|
124
|
+
"ChangesListResultMeta",
|
|
125
|
+
"GoogleDriveExecuteResult",
|
|
126
|
+
"GoogleDriveExecuteResultWithMeta",
|
|
127
|
+
"FilesListResult",
|
|
128
|
+
"DrivesListResult",
|
|
129
|
+
"PermissionsListResult",
|
|
130
|
+
"CommentsListResult",
|
|
131
|
+
"RepliesListResult",
|
|
132
|
+
"RevisionsListResult",
|
|
133
|
+
"ChangesListResult",
|
|
134
|
+
"FilesListParams",
|
|
135
|
+
"FilesGetParams",
|
|
136
|
+
"FilesDownloadParams",
|
|
137
|
+
"FilesExportDownloadParams",
|
|
138
|
+
"DrivesListParams",
|
|
139
|
+
"DrivesGetParams",
|
|
140
|
+
"PermissionsListParams",
|
|
141
|
+
"PermissionsGetParams",
|
|
142
|
+
"CommentsListParams",
|
|
143
|
+
"CommentsGetParams",
|
|
144
|
+
"RepliesListParams",
|
|
145
|
+
"RepliesGetParams",
|
|
146
|
+
"RevisionsListParams",
|
|
147
|
+
"RevisionsGetParams",
|
|
148
|
+
"ChangesListParams",
|
|
149
|
+
"ChangesStartPageTokenGetParams",
|
|
150
|
+
"AboutGetParams",
|
|
151
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Vendored connector-sdk runtime."""
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Airbyte SDK - Async-first type-safe connector execution framework.
|
|
3
|
+
|
|
4
|
+
Provides:
|
|
5
|
+
- Async executor for all connectors
|
|
6
|
+
- Custom connector support
|
|
7
|
+
- Performance monitoring and instrumentation
|
|
8
|
+
- Connection pooling and concurrent execution
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
from .auth_strategies import AuthStrategy
|
|
14
|
+
from .connector_model_loader import load_connector_model
|
|
15
|
+
from .constants import SDK_VERSION
|
|
16
|
+
from .exceptions import (
|
|
17
|
+
AuthenticationError,
|
|
18
|
+
HTTPClientError,
|
|
19
|
+
NetworkError,
|
|
20
|
+
RateLimitError,
|
|
21
|
+
TimeoutError,
|
|
22
|
+
)
|
|
23
|
+
from .executor import (
|
|
24
|
+
ActionNotSupportedError,
|
|
25
|
+
EntityNotFoundError,
|
|
26
|
+
ExecutionConfig,
|
|
27
|
+
ExecutionResult,
|
|
28
|
+
ExecutorError,
|
|
29
|
+
ExecutorProtocol,
|
|
30
|
+
HostedExecutor,
|
|
31
|
+
InvalidParameterError,
|
|
32
|
+
LocalExecutor,
|
|
33
|
+
MissingParameterError,
|
|
34
|
+
)
|
|
35
|
+
from .http_client import HTTPClient
|
|
36
|
+
from .logging import LogSession, NullLogger, RequestLog, RequestLogger
|
|
37
|
+
from .performance import PerformanceMonitor, instrument
|
|
38
|
+
from .types import Action, AuthType, ConnectorModel, EntityDefinition
|
|
39
|
+
from .utils import save_download
|
|
40
|
+
|
|
41
|
+
__version__ = SDK_VERSION
|
|
42
|
+
|
|
43
|
+
__all__ = [
|
|
44
|
+
# All Executors
|
|
45
|
+
"LocalExecutor",
|
|
46
|
+
"HostedExecutor",
|
|
47
|
+
"ExecutorProtocol",
|
|
48
|
+
"HTTPClient",
|
|
49
|
+
# Execution Config and Result Types
|
|
50
|
+
"ExecutionConfig",
|
|
51
|
+
"ExecutionResult",
|
|
52
|
+
# Types
|
|
53
|
+
"ConnectorModel",
|
|
54
|
+
"Action",
|
|
55
|
+
"AuthType",
|
|
56
|
+
"EntityDefinition",
|
|
57
|
+
"load_connector_model",
|
|
58
|
+
# Authentication
|
|
59
|
+
"AuthStrategy",
|
|
60
|
+
# Executor Exceptions
|
|
61
|
+
"ExecutorError",
|
|
62
|
+
"EntityNotFoundError",
|
|
63
|
+
"ActionNotSupportedError",
|
|
64
|
+
"MissingParameterError",
|
|
65
|
+
"InvalidParameterError",
|
|
66
|
+
# HTTP Exceptions
|
|
67
|
+
"HTTPClientError",
|
|
68
|
+
"AuthenticationError",
|
|
69
|
+
"RateLimitError",
|
|
70
|
+
"NetworkError",
|
|
71
|
+
"TimeoutError",
|
|
72
|
+
# Logging
|
|
73
|
+
"RequestLogger",
|
|
74
|
+
"NullLogger",
|
|
75
|
+
"RequestLog",
|
|
76
|
+
"LogSession",
|
|
77
|
+
# Performance monitoring
|
|
78
|
+
"PerformanceMonitor",
|
|
79
|
+
"instrument",
|
|
80
|
+
# Utilities
|
|
81
|
+
"save_download",
|
|
82
|
+
]
|