Metadata-Version: 2.4
Name: onestep-feishu-bitable
Version: 0.1.2
Summary: Feishu Bitable connector plugin for onestep.
License: MIT
Requires-Python: >=3.9
Requires-Dist: onestep>=1.4.2
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest>=8.0.0; extra == 'test'
Description-Content-Type: text/markdown

# onestep-feishu-bitable

Feishu Bitable connector plugin for onestep.

Install the plugin in the same Python environment as `onestep`:

```bash
pip install onestep-feishu-bitable
```

Python API:

```python
from onestep_feishu_bitable import FeishuBitableConnector

feishu = FeishuBitableConnector(app_id="cli_xxx", app_secret="secret")
source = feishu.incremental(
    app_token="bascnxxx",
    table_id="tbl_source",
    cursor_field="最后更新时间",
    fallback_scan_page_limit=100,
)
```

`fallback_scan_page_limit` caps the unsorted fallback scan used when Feishu
rejects cursor sorting. Increase it only for tables where a full fallback scan
is acceptable.

YAML resource types registered by the plugin:

- `feishu_bitable`
- `feishu_bitable_incremental`
- `feishu_bitable_table_sink`
