Skip to content

Commit

Permalink
[ISSUE #26568] improve end_datetime documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi297 committed Jun 8, 2023
1 parent 468cc97 commit 935d644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ definitions:
- "PT1S"
end_datetime:
title: End Datetime
description: The datetime that determines the last record that should be synced.
description: The datetime that determines the last record that should be synced. If not provided, `{{ now_utc() }}` will be used.
anyOf:
- type: string
- "$ref": "#/definitions/MinMaxDatetime"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ class DatetimeBasedCursor(BaseModel):
)
end_datetime: Optional[Union[str, MinMaxDatetime]] = Field(
None,
description="The datetime that determines the last record that should be synced.",
description="The datetime that determines the last record that should be synced. If not provided, `{{ now_utc() }}` will be used.",
examples=["2021-01-1T00:00:00Z", "{{ now_utc() }}", "{{ day_delta(-1) }}"],
title="End Datetime",
)
Expand Down

0 comments on commit 935d644

Please sign in to comment.