Skip to content

Commit

Permalink
fix(Workable): use append write disposition for candidate subresources (
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanve authored Apr 22, 2024
1 parent 41a689e commit d4806af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/workable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def _get_details(
# A transformer functions that yield the activities and offers for each candidate.
for sub_endpoint in DEFAULT_DETAILS["candidates"]:
logging.info(
f"Loading additional data for 'candidates' from '{sub_endpoint}' in 'merge' mode."
f"Loading additional data for 'candidates' from '{sub_endpoint}' in 'append' mode."
)
yield candidates_resource | dlt.transformer(
name=f"candidates_{sub_endpoint}", write_disposition="merge"
name=f"candidates_{sub_endpoint}", write_disposition="append"
)(_get_details)("candidates", sub_endpoint, "id")

0 comments on commit d4806af

Please sign in to comment.