Skip to content

Commit 3ee8868

Browse files
feat(api): api update (#584)
1 parent 6b2b0c7 commit 3ee8868

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-04f02fa57c3ab8d15ecf0a16a41a83814c21cdc2a830fae4d65f1b7b2196d819.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-979330185e8fda7b2bc2440075fe81c66132fc87ff3c548e93dd05db35ba3172.yml

src/orb/resources/events/backfills.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,13 @@ def create(
106106
based on both a period of time and specific property values.
107107
108108
Args:
109-
timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill.
109+
timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. By
110+
default, Orb allows backfills up to 10 days in duration at a time. Reach out to
111+
discuss extending this limit and your use case.
110112
111-
timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill.
113+
timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill. By
114+
default, Orb allows backfills up to 10 days in duration at a time. Reach out to
115+
discuss extending this limit and your use case.
112116
113117
close_time: The time at which no more events will be accepted for this backfill. The
114118
backfill will automatically begin reflecting throughout Orb at the close time.
@@ -418,9 +422,13 @@ async def create(
418422
based on both a period of time and specific property values.
419423
420424
Args:
421-
timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill.
425+
timeframe_end: The (exclusive) end of the usage timeframe affected by this backfill. By
426+
default, Orb allows backfills up to 10 days in duration at a time. Reach out to
427+
discuss extending this limit and your use case.
422428
423-
timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill.
429+
timeframe_start: The (inclusive) start of the usage timeframe affected by this backfill. By
430+
default, Orb allows backfills up to 10 days in duration at a time. Reach out to
431+
discuss extending this limit and your use case.
424432
425433
close_time: The time at which no more events will be accepted for this backfill. The
426434
backfill will automatically begin reflecting throughout Orb at the close time.

src/orb/types/events/backfill_create_params.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,18 @@
1313

1414
class BackfillCreateParams(TypedDict, total=False):
1515
timeframe_end: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
16-
"""The (exclusive) end of the usage timeframe affected by this backfill."""
16+
"""The (exclusive) end of the usage timeframe affected by this backfill.
17+
18+
By default, Orb allows backfills up to 10 days in duration at a time. Reach out
19+
to discuss extending this limit and your use case.
20+
"""
1721

1822
timeframe_start: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
19-
"""The (inclusive) start of the usage timeframe affected by this backfill."""
23+
"""The (inclusive) start of the usage timeframe affected by this backfill.
24+
25+
By default, Orb allows backfills up to 10 days in duration at a time. Reach out
26+
to discuss extending this limit and your use case.
27+
"""
2028

2129
close_time: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
2230
"""The time at which no more events will be accepted for this backfill.

0 commit comments

Comments
 (0)