Skip to content

Commit

Permalink
Docs: Fix omitted skip_validation arg in Source.read() docstring (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Jul 3, 2024
1 parent cb0153e commit 42e9c85
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions airbyte/sources/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,15 +665,19 @@ def read(
Args:
cache: The cache to write to. If None, a default cache will be used.
streams: Optional if already set. A list of stream names to select for reading. If set
to "*", all streams will be selected.
write_strategy: The strategy to use when writing to the cache. If a string, it must be
one of "append", "upsert", "replace", or "auto". If a WriteStrategy, it must be one
of WriteStrategy.APPEND, WriteStrategy.UPSERT, WriteStrategy.REPLACE, or
WriteStrategy.AUTO.
streams: Optional if already set. A list of stream names to select for reading. If set
to "*", all streams will be selected.
force_full_refresh: If True, the source will operate in full refresh mode. Otherwise,
streams will be read in incremental mode if supported by the connector. This option
must be True when using the "replace" strategy.
skip_validation: If True, PyAirbyte will not pre-validate the input configuration before
running the connector. This can be helpful in debugging, when you want to send
configurations to the connector that otherwise might be rejected by JSON Schema
validation rules.
"""
if write_strategy == WriteStrategy.REPLACE and not force_full_refresh:
warnings.warn(
Expand Down

0 comments on commit 42e9c85

Please sign in to comment.