airbyte-source-google-drive 0.2.0.dev202502061746__py3-none-any.whl → 0.2.1__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.
Potentially problematic release.
This version of airbyte-source-google-drive might be problematic. Click here for more details.
- {airbyte_source_google_drive-0.2.0.dev202502061746.dist-info → airbyte_source_google_drive-0.2.1.dist-info}/METADATA +2 -2
- airbyte_source_google_drive-0.2.1.dist-info/RECORD +13 -0
- {airbyte_source_google_drive-0.2.0.dev202502061746.dist-info → airbyte_source_google_drive-0.2.1.dist-info}/WHEEL +1 -1
- source_google_drive/schemas/file_permissions.json +12 -0
- source_google_drive/schemas/identities.json +14 -0
- source_google_drive/stream_reader.py +10 -0
- airbyte_source_google_drive-0.2.0.dev202502061746.dist-info/RECORD +0 -11
- {airbyte_source_google_drive-0.2.0.dev202502061746.dist-info → airbyte_source_google_drive-0.2.1.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: airbyte-source-google-drive
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Source implementation for Google Drive.
|
|
5
5
|
License: ELv2
|
|
6
6
|
Author: Airbyte
|
|
@@ -10,7 +10,7 @@ Classifier: License :: Other/Proprietary License
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
-
Requires-Dist: airbyte-cdk[file-based] (
|
|
13
|
+
Requires-Dist: airbyte-cdk[file-based] (>=6.33.6,<7.0.0)
|
|
14
14
|
Requires-Dist: google-api-python-client (==2.104.0)
|
|
15
15
|
Requires-Dist: google-api-python-client-stubs (==1.18.0)
|
|
16
16
|
Requires-Dist: google-auth-httplib2 (==0.1.1)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
source_google_drive/__init__.py,sha256=SAgPIoGpjdHTY7mvf__A99FiElBh3WvdKSHLstg-BUE,134
|
|
2
|
+
source_google_drive/exceptions.py,sha256=6sBxbdZhj0CARkctfBaNgGHB_GGcFUkY4cnMUWyOruM,268
|
|
3
|
+
source_google_drive/run.py,sha256=5AQd906FbSGaNZj0udrr-VKmiSS4nsor7F7noMjsdi0,677
|
|
4
|
+
source_google_drive/schemas/file_permissions.json,sha256=IPhh3UIKwgtfNLNH9sndu4pMZt8zFXaBSUIWAfIRGQc,269
|
|
5
|
+
source_google_drive/schemas/identities.json,sha256=JXBR_v0wpfDKiWVzLoc8bPs33x5CGm91fEdJWz8RBxc,449
|
|
6
|
+
source_google_drive/source.py,sha256=tOljkgeg8RIxmhrpfa-qgGhI6WPhiL_-I8itTa6JH04,3959
|
|
7
|
+
source_google_drive/spec.py,sha256=-WkA2zGuQtf3G7uK8uq9BnimUlQh0s3vsqROmIHOgzI,4718
|
|
8
|
+
source_google_drive/stream_reader.py,sha256=W9I0tE-qUXkxEFeblwqrhtyKDV8T_EGpf5a3Q1ZolAE,20683
|
|
9
|
+
source_google_drive/utils.py,sha256=ewR-kBKLmtD-s7zqCfGECfzWYF43tpQdscAQIlUEkR8,1022
|
|
10
|
+
airbyte_source_google_drive-0.2.1.dist-info/METADATA,sha256=f8v2l9O8KLvhuyAAW57Sp5AFRcYwXZS4VhobEhV-TZM,5518
|
|
11
|
+
airbyte_source_google_drive-0.2.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
12
|
+
airbyte_source_google_drive-0.2.1.dist-info/entry_points.txt,sha256=YgpJf0nA5Mn0B7YC9VOFI847vz1jI6U4q7BeLUOXa54,67
|
|
13
|
+
airbyte_source_google_drive-0.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"id": { "type": "string" },
|
|
5
|
+
"remote_id": { "type": "string" },
|
|
6
|
+
"parent_id": { "type": ["null", "string"] },
|
|
7
|
+
"name": { "type": ["null", "string"] },
|
|
8
|
+
"description": { "type": ["null", "string"] },
|
|
9
|
+
"email_address": { "type": ["null", "string"] },
|
|
10
|
+
"member_email_addresses": { "type": ["null", "array"] },
|
|
11
|
+
"type": { "type": "string" },
|
|
12
|
+
"modified_at": { "type": "string" }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -21,6 +21,8 @@ from airbyte_cdk import AirbyteTracedException, FailureType
|
|
|
21
21
|
from airbyte_cdk.sources.file_based.exceptions import FileSizeLimitError
|
|
22
22
|
from airbyte_cdk.sources.file_based.file_based_stream_reader import AbstractFileBasedStreamReader, FileReadMode
|
|
23
23
|
from airbyte_cdk.sources.file_based.remote_file import RemoteFile
|
|
24
|
+
from airbyte_cdk.sources.streams.core import package_name_from_class
|
|
25
|
+
from airbyte_cdk.sources.utils.schema_helpers import InternalConfig, ResourceSchemaLoader
|
|
24
26
|
from source_google_drive.utils import get_folder_id
|
|
25
27
|
|
|
26
28
|
from .exceptions import ErrorDownloadingFile, ErrorFetchingMetadata
|
|
@@ -441,3 +443,11 @@ class SourceGoogleDriveStreamReader(AbstractFileBasedStreamReader):
|
|
|
441
443
|
rfp.member_email_addresses.append(member["email"])
|
|
442
444
|
|
|
443
445
|
yield rfp.dict()
|
|
446
|
+
|
|
447
|
+
@property
|
|
448
|
+
def file_permissions_schema(self) -> Dict[str, Any]:
|
|
449
|
+
return ResourceSchemaLoader(package_name_from_class(self.__class__)).get_schema("file_permissions")
|
|
450
|
+
|
|
451
|
+
@property
|
|
452
|
+
def identities_schema(self) -> Dict[str, Any]:
|
|
453
|
+
return ResourceSchemaLoader(package_name_from_class(self.__class__)).get_schema("identities")
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
source_google_drive/__init__.py,sha256=SAgPIoGpjdHTY7mvf__A99FiElBh3WvdKSHLstg-BUE,134
|
|
2
|
-
source_google_drive/exceptions.py,sha256=6sBxbdZhj0CARkctfBaNgGHB_GGcFUkY4cnMUWyOruM,268
|
|
3
|
-
source_google_drive/run.py,sha256=5AQd906FbSGaNZj0udrr-VKmiSS4nsor7F7noMjsdi0,677
|
|
4
|
-
source_google_drive/source.py,sha256=tOljkgeg8RIxmhrpfa-qgGhI6WPhiL_-I8itTa6JH04,3959
|
|
5
|
-
source_google_drive/spec.py,sha256=-WkA2zGuQtf3G7uK8uq9BnimUlQh0s3vsqROmIHOgzI,4718
|
|
6
|
-
source_google_drive/stream_reader.py,sha256=jKMibQGjpP-9raJ557TqbOg6iGVuPYv9vamStwXDOCQ,20176
|
|
7
|
-
source_google_drive/utils.py,sha256=ewR-kBKLmtD-s7zqCfGECfzWYF43tpQdscAQIlUEkR8,1022
|
|
8
|
-
airbyte_source_google_drive-0.2.0.dev202502061746.dist-info/METADATA,sha256=pqQMdjznFYJxr7fcCYHXaLBZcESfHaSS7o0jr2PUH2s,5536
|
|
9
|
-
airbyte_source_google_drive-0.2.0.dev202502061746.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
10
|
-
airbyte_source_google_drive-0.2.0.dev202502061746.dist-info/entry_points.txt,sha256=YgpJf0nA5Mn0B7YC9VOFI847vz1jI6U4q7BeLUOXa54,67
|
|
11
|
-
airbyte_source_google_drive-0.2.0.dev202502061746.dist-info/RECORD,,
|