We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1515166 commit a80e93fCopy full SHA for a80e93f
pyoaev/apis/inject_expectation/inject_expectation.py
@@ -28,7 +28,13 @@ def expectations_assets_for_source(
28
result = self.openaev.http_get(
29
path,
30
query_data=(
31
- {"expiration_time": expiration_time} if expiration_time else None
+ {"expiration_time": expiration_time}
32
+ if expiration_time
33
+ else {
34
+ "expiration_time": 360
35
+ } # 360 minutes (6 hours) - corresponds to the expiration time configured in the Expectations Expiration Manager.
36
+ # Expectations older than this duration will be automatically expired to prevent
37
+ # processing outdated data, particularly important when launching new collectors.
38
),
39
**kwargs,
40
)
0 commit comments