Skip to content

Commit 641e767

Browse files
feat(api): manual updates (#24)
1 parent 3835701 commit 641e767

12 files changed

+20
-20
lines changed

Diff for: api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
```python
44
from gitpod.types import (
5-
AutomationTrigger,
5+
AutomationTrigge,
66
EnvironmentClass,
77
FieldValue,
88
OrganizationRole,

Diff for: src/gitpod/types/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
UserStatus as UserStatus,
1919
TaskMetadata as TaskMetadata,
2020
TaskExecution as TaskExecution,
21+
AutomationTrigge as AutomationTrigge,
2122
EnvironmentClass as EnvironmentClass,
2223
OrganizationRole as OrganizationRole,
23-
AutomationTrigger as AutomationTrigger,
2424
TaskExecutionSpec as TaskExecutionSpec,
2525
TaskExecutionPhase as TaskExecutionPhase,
2626
TaskExecutionStatus as TaskExecutionStatus,

Diff for: src/gitpod/types/environments/automations/service_metadata.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ...._models import BaseModel
99
from ...shared.subject import Subject
10-
from ...shared.automation_trigger import AutomationTrigger
10+
from ...shared.automation_trigge import AutomationTrigge
1111

1212
__all__ = ["ServiceMetadata"]
1313

@@ -128,5 +128,5 @@ class ServiceMetadata(BaseModel):
128128
identify the service in user interactions (e.g. the CLI).
129129
"""
130130

131-
triggered_by: Optional[List[AutomationTrigger]] = FieldInfo(alias="triggeredBy", default=None)
131+
triggered_by: Optional[List[AutomationTrigge]] = FieldInfo(alias="triggeredBy", default=None)
132132
"""triggered_by is a list of trigger that start the service."""

Diff for: src/gitpod/types/environments/automations/service_metadata_param.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from ...._utils import PropertyInfo
1010
from ...shared_params.subject import Subject
11-
from ...shared_params.automation_trigger import AutomationTrigger
11+
from ...shared_params.automation_trigge import AutomationTrigge
1212

1313
__all__ = ["ServiceMetadataParam"]
1414

@@ -129,5 +129,5 @@ class ServiceMetadataParam(TypedDict, total=False):
129129
identify the service in user interactions (e.g. the CLI).
130130
"""
131131

132-
triggered_by: Annotated[Iterable[AutomationTrigger], PropertyInfo(alias="triggeredBy")]
132+
triggered_by: Annotated[Iterable[AutomationTrigge], PropertyInfo(alias="triggeredBy")]
133133
"""triggered_by is a list of trigger that start the service."""

Diff for: src/gitpod/types/environments/automations/service_update_params.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from ...._utils import PropertyInfo
99
from .service_phase import ServicePhase
1010
from ...shared_params.runs_on import RunsOn
11-
from ...shared_params.automation_trigger import AutomationTrigger
11+
from ...shared_params.automation_trigge import AutomationTrigge
1212

1313
__all__ = ["ServiceUpdateParams", "Metadata", "MetadataTriggeredBy", "Spec", "SpecCommands", "Status"]
1414

@@ -34,7 +34,7 @@ class ServiceUpdateParams(TypedDict, total=False):
3434

3535

3636
class MetadataTriggeredBy(TypedDict, total=False):
37-
trigger: Iterable[AutomationTrigger]
37+
trigger: Iterable[AutomationTrigge]
3838

3939

4040
class Metadata(TypedDict, total=False):

Diff for: src/gitpod/types/environments/automations/task_update_params.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ...._utils import PropertyInfo
99
from ...shared_params.runs_on import RunsOn
10-
from ...shared_params.automation_trigger import AutomationTrigger
10+
from ...shared_params.automation_trigge import AutomationTrigge
1111

1212
__all__ = ["TaskUpdateParams", "Metadata", "MetadataTriggeredBy", "Spec"]
1313

@@ -24,7 +24,7 @@ class TaskUpdateParams(TypedDict, total=False):
2424

2525

2626
class MetadataTriggeredBy(TypedDict, total=False):
27-
trigger: Iterable[AutomationTrigger]
27+
trigger: Iterable[AutomationTrigge]
2828

2929

3030
class Metadata(TypedDict, total=False):

Diff for: src/gitpod/types/shared/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
from .user_status import UserStatus as UserStatus
1010
from .task_metadata import TaskMetadata as TaskMetadata
1111
from .task_execution import TaskExecution as TaskExecution
12+
from .automation_trigge import AutomationTrigge as AutomationTrigge
1213
from .environment_class import EnvironmentClass as EnvironmentClass
1314
from .organization_role import OrganizationRole as OrganizationRole
14-
from .automation_trigger import AutomationTrigger as AutomationTrigger
1515
from .task_execution_spec import TaskExecutionSpec as TaskExecutionSpec
1616
from .task_execution_phase import TaskExecutionPhase as TaskExecutionPhase
1717
from .task_execution_status import TaskExecutionStatus as TaskExecutionStatus

Diff for: src/gitpod/types/shared/automation_trigger.py renamed to src/gitpod/types/shared/automation_trigge.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
from ..._models import BaseModel
88

9-
__all__ = ["AutomationTrigger"]
9+
__all__ = ["AutomationTrigge"]
1010

1111

12-
class AutomationTrigger(BaseModel):
12+
class AutomationTrigge(BaseModel):
1313
manual: Optional[bool] = None
1414

1515
post_devcontainer_start: Optional[bool] = FieldInfo(alias="postDevcontainerStart", default=None)

Diff for: src/gitpod/types/shared/task_metadata.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from .subject import Subject
99
from ..._models import BaseModel
10-
from .automation_trigger import AutomationTrigger
10+
from .automation_trigge import AutomationTrigge
1111

1212
__all__ = ["TaskMetadata"]
1313

@@ -128,5 +128,5 @@ class TaskMetadata(BaseModel):
128128
the task in user interactions (e.g. the CLI).
129129
"""
130130

131-
triggered_by: Optional[List[AutomationTrigger]] = FieldInfo(alias="triggeredBy", default=None)
131+
triggered_by: Optional[List[AutomationTrigge]] = FieldInfo(alias="triggeredBy", default=None)
132132
"""triggered_by is a list of trigger that start the task."""

Diff for: src/gitpod/types/shared_params/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .task_spec import TaskSpec as TaskSpec
77
from .field_value import FieldValue as FieldValue
88
from .task_metadata import TaskMetadata as TaskMetadata
9+
from .automation_trigge import AutomationTrigge as AutomationTrigge
910
from .environment_class import EnvironmentClass as EnvironmentClass
1011
from .organization_role import OrganizationRole as OrganizationRole
11-
from .automation_trigger import AutomationTrigger as AutomationTrigger
1212
from .task_execution_phase import TaskExecutionPhase as TaskExecutionPhase

Diff for: src/gitpod/types/shared_params/automation_trigger.py renamed to src/gitpod/types/shared_params/automation_trigge.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
from ..._utils import PropertyInfo
88

9-
__all__ = ["AutomationTrigger"]
9+
__all__ = ["AutomationTrigge"]
1010

1111

12-
class AutomationTrigger(TypedDict, total=False):
12+
class AutomationTrigge(TypedDict, total=False):
1313
manual: bool
1414

1515
post_devcontainer_start: Annotated[bool, PropertyInfo(alias="postDevcontainerStart")]

Diff for: src/gitpod/types/shared_params/task_metadata.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from .subject import Subject
1010
from ..._utils import PropertyInfo
11-
from .automation_trigger import AutomationTrigger
11+
from .automation_trigge import AutomationTrigge
1212

1313
__all__ = ["TaskMetadata"]
1414

@@ -129,5 +129,5 @@ class TaskMetadata(TypedDict, total=False):
129129
the task in user interactions (e.g. the CLI).
130130
"""
131131

132-
triggered_by: Annotated[Iterable[AutomationTrigger], PropertyInfo(alias="triggeredBy")]
132+
triggered_by: Annotated[Iterable[AutomationTrigge], PropertyInfo(alias="triggeredBy")]
133133
"""triggered_by is a list of trigger that start the task."""

0 commit comments

Comments
 (0)