airbytehq / airbytehq/PyAirbyte
Azure Blob Storage connector error in SourceAzureBlobStorageStreamReader
- Dominant language
- Python
- Stars
- 344
- Forks
- 77
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 35
Description
Hello. I'm trying to use the Azure Blob Storage connector
Pyairbyte version: 0.24.2
Python 3.12
``` python
import os
import airbyte as ab
from dotenv import load_dotenv
load_dotenv()
# Configure and read from the source
source = ab.get_source(
"source-azure-blob-storage",
install_if_missing=True,
config={
# "authentification": ["airbytehq/pyAirbyte"],
"credentials": {
"auth_type": "storage_account_key",
"azure_blob_storage_account_key": os.environ.get('AZURE_STORAGE_ACCOUNT_KEY')
},
"azure_blob_storage_account_name": os.environ.get('AZURE_STORAGE_ACCOUNT_NAME'),
"azure_blob_storage_container_name": os.environ.get('AZURE_STORAGE_CONTAINER_NAME'),
"streams": [{
"name": "all",
"format": {
"filetype": "unstructured",
"skip_unprocessable_files": False,
},
"globs": ["**"]
}]
},
)
source.check()
```
No matter what I try in the config, (even just an empty `config = {}`) I get the following error, pointing to the `source_azure_blob_storage` that is installed by airbyte itself upon running
```
Traceback (most recent call last):
File "/Users/xxxx/notebooks/.venv-source-azure-blob-storage/lib/python3.12/site-packages/source_azure_blob_storage/run.py", line 21, in run
SourceAzureBlobStorageStreamReader(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Can't instantiate abstract class SourceAzureBlobStorageStreamReader without an implementation for abstract methods 'file_size', 'upload'
```
Contributor guide
Assessment
This issue has not been assessed yet.