airbytehq / airbytehq/PyAirbyte

Azure Blob Storage connector error in SourceAzureBlobStorageStreamReader

未关闭
#665 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
344
派生
77
平均合并
1 天 11 小时
30 天内合并 PR
35

描述

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'

```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。