Skip to content

Commit ac2bd0d

Browse files
committed
fix week duration example
1 parent 260dbbe commit ac2bd0d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,10 @@ definitions:
10071007
end_datetime:
10081008
title: End Datetime
10091009
description: The datetime that determines the last record that should be synced. If not provided, `{{ now_utc() }}` will be used.
1010+
default:
1011+
type: MinMaxDatetime
1012+
datetime: "{{ now_utc().strftime('%Y-%m-%dT%H:%M:%SZ') }}"
1013+
datetime_format: "%Y-%m-%dT%H:%M:%SZ"
10101014
anyOf:
10111015
- "$ref": "#/definitions/MinMaxDatetime"
10121016
- type: string
@@ -1100,7 +1104,7 @@ definitions:
11001104
Time interval (ISO8601 duration) before the start_datetime to read data for, e.g. P1M for looking back one month.
11011105
* **PT1H**: 1 hour
11021106
* **P1D**: 1 day
1103-
* **PT1W**: 1 week
1107+
* **P1W**: 1 week
11041108
* **P1M**: 1 month
11051109
* **P1Y**: 1 year
11061110
type: string
@@ -1127,7 +1131,7 @@ definitions:
11271131
The size of the time window (ISO8601 duration). Given this field is provided, `cursor_granularity` needs to be provided as well.
11281132
* **PT1H**: 1 hour
11291133
* **P1D**: 1 day
1130-
* **PT1W**: 1 week
1134+
* **P1W**: 1 week
11311135
* **P1M**: 1 month
11321136
* **P1Y**: 1 year
11331137
type: string
@@ -1973,7 +1977,7 @@ definitions:
19731977
The duration in ISO 8601 duration notation after which the session token expires, starting from the time it was obtained. Omitting it will result in the session token being refreshed for every request.
19741978
* **PT1H**: 1 hour
19751979
* **P1D**: 1 day
1976-
* **PT1W**: 1 week
1980+
* **P1W**: 1 week
19771981
* **P1M**: 1 month
19781982
* **P1Y**: 1 year
19791983
type: string

0 commit comments

Comments
 (0)