Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer committed Jun 19, 2024
1 parent 95f721d commit 765b0e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/extract/test_incremental.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,11 +793,13 @@ def test_empty_filter(item_type: TestDataItemFormat) -> None:
for i in range(-10, 10)
]
source_items = data_to_item_format(item_type, data)
start = now.add(days=-10)
end = now.add(days=10)

@dlt.resource
def some_data(
last_timestamp=dlt.sources.incremental(
"ts", initial_value=now.add(days=-10), end_value=now.add(days=10), primary_key="_id" # type: ignore
"ts", initial_value=start, end_value=end, primary_key="_id"
),
):
yield from source_items
Expand Down

0 comments on commit 765b0e0

Please sign in to comment.