Skip to content

Commit 5a292cb

Browse files
docs(api): update trigger usage note in AutomationTrigger
1 parent 5c02854 commit 5a292cb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-95aec32d54661e6522d78deca8c182908b30bae1db5762b365a3ef338dbaccfa.yml
3-
openapi_spec_hash: cd08bb12843c15e0fe783957866deb83
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-803e9a382bb3f4d9b6ef7b1dd12c5541bf93608d3f4c240e99054929130f260b.yml
3+
openapi_spec_hash: e2eae7e0a5a1fc83f3af40662b1ffbd1
44
config_hash: d73914a733b27d121d59aa43bc7c710e

src/gitpod/types/shared/automation_trigger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AutomationTrigger(BaseModel):
2020
The `prebuild` field starts the automation during a prebuild of an environment. This phase does not have user secrets available.
2121
The `before_snapshot` field triggers the automation after all prebuild tasks complete but before the snapshot is taken.
2222
This is used for tasks that need to run last during prebuilds, such as IDE warmup.
23-
Note: The prebuild and before_snapshot triggers can only be used with tasks, not services.
23+
Note: The before_snapshot trigger can only be used with tasks, not services.
2424
"""
2525

2626
before_snapshot: Optional[bool] = FieldInfo(alias="beforeSnapshot", default=None)

src/gitpod/types/shared_params/automation_trigger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AutomationTrigger(TypedDict, total=False):
2020
The `prebuild` field starts the automation during a prebuild of an environment. This phase does not have user secrets available.
2121
The `before_snapshot` field triggers the automation after all prebuild tasks complete but before the snapshot is taken.
2222
This is used for tasks that need to run last during prebuilds, such as IDE warmup.
23-
Note: The prebuild and before_snapshot triggers can only be used with tasks, not services.
23+
Note: The before_snapshot trigger can only be used with tasks, not services.
2424
"""
2525

2626
before_snapshot: Annotated[bool, PropertyInfo(alias="beforeSnapshot")]

0 commit comments

Comments
 (0)