airbytehq / airbytehq/PyAirbyte

[source-instagram] start_date config parameter not working for source-instagram connector

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

描述

### Connector Name

source-instagram

### Connector Version

3.1.0

### What step the error happened?

Configuring a new connector

### Relevant information

The Instagram connector is currently not recognizing config parameter "start_date". When executing any stream read, the parameter is ignored and only the current date (today date) data is extracted.
I'm using the open-source airbyte versión 0.19.1 (with pip install airbyte).

```python
import airbyte as ab

source: ab.Source = ab.get_source(
name="source-instagram",
config={
"start_date": "2024-01-01T00:00:00Z",
"access_token": access_token
}
)

source.select_streams(["user-insights"])
source.read(cache=ab.get_default_cache())
```

### Relevant log output

Sync Progress: source-instagram -> DuckDBCache
Started reading from source at 19:58:47:

Read 30 records over 3.9 seconds (7.6 records/s, 0.01 MB/s).

Received records for 1 streams:

30 stories
Cached 30 records into 1 local cache file(s).

Finished reading from source at 19:58:54.

Started cache processing at 19:58:54:

Processed 1 cache file(s) over 0.03 seconds.

Completed cache processing for 1 streams:

stories
Finished cache processing at 19:58:54.

Sync completed at 19:58:54. Total time elapsed: 7.1 seconds

### Contribute

- [x] Yes, I want to contribute

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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