Open
Description
Connector Name
source-google-drive
Connector Version
0.3.4
What step the error happened?
Other
Relevant information
What did I do
Run pip install airbyte-source-google-drive==0.3.4
.
Then in Python, I executed spec
.
import airbyte
venv_folder = Path(...)
source = airbyte.get_source("source-google-drive", pip_url=venv_folder, install_if_missing=False)
for line in source.executor.execute(["spec"], stdin=None):
logger.info(line)
What happened
I'm getting the error:
Writing `source-google-drive` logs to file: /tmp/airbyte/logs/source-google-drive/source-google-drive-log-JSGXBHZ65.log
Traceback (most recent call last):
File ".../.venv-source-google-drive/bin/source-google-drive", line 8, in <module>
sys.exit(run())
File ".../.venv-source-google-drive/lib/python3.10/site-packages/source_google_drive/run.py", line 17, in run
source = SourceGoogleDrive(
File ".../.venv-source-google-drive/lib/python3.10/site-packages/source_google_drive/source.py", line 20, in __init__
stream_reader=SourceGoogleDriveStreamReader(),
TypeError: Can't instantiate abstract class SourceGoogleDriveStreamReader with abstract method upload
What should have happened
The spec command is executed successfully, and returns Airbyte messages, including the list of stream supported by the source.
Additional info
Breaking change in the cdk, committed yesterday: airbytehq/airbyte-python-cdk@4f0fcbc
This is used in the StreamReader of source-google-drive (code)
Relevant log output
Contribute
- Yes, I want to contribute