Skip to content

Airbyte shopify

AirbyteShopifyReader #

Bases: AirbyteCDKReader

AirbyteShopifyReader读取器。

从Shopify获取文档

Parameters:

Name Type Description Default
config Mapping[str, Any]

Shopify数据源的配置对象。

required
Source code in llama_index/readers/airbyte_shopify/base.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class AirbyteShopifyReader(AirbyteCDKReader):
    """AirbyteShopifyReader读取器。

    从Shopify获取文档

    Args:
        config: Shopify数据源的配置对象。"""

    def __init__(
        self,
        config: Mapping[str, Any],
        record_handler: Optional[RecordHandler] = None,
    ) -> None:
        """使用参数进行初始化。"""
        import source_shopify

        super().__init__(
            source_class=source_shopify.SourceShopify,
            config=config,
            record_handler=record_handler,
        )