mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-21 14:12:42 +02:00
Fix connectors
This commit is contained in:
@@ -48,8 +48,11 @@ def build_connector(
|
|||||||
def build_pull_connector(
|
def build_pull_connector(
|
||||||
source: DocumentSource, connector_specific_config: dict[str, Any]
|
source: DocumentSource, connector_specific_config: dict[str, Any]
|
||||||
) -> PullLoader:
|
) -> PullLoader:
|
||||||
return _range_pull_to_pull(
|
connector = build_connector(source, InputType.PULL, connector_specific_config)
|
||||||
build_connector(source, InputType.PULL, connector_specific_config)
|
return (
|
||||||
|
_range_pull_to_pull(connector)
|
||||||
|
if isinstance(connector, RangePullLoader)
|
||||||
|
else connector
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user