Skip to content

Commit

Permalink
v7 model: Add the device.should_be_operated_by__release property
Browse files Browse the repository at this point in the history
Change-type: major
  • Loading branch information
otaviojacobi committed Sep 12, 2024
1 parent 45a6523 commit 1328499
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4368,6 +4368,7 @@ The name must be a string; the optional doc argument can have any type.
"should_be_running_on__application": Optional[List[TypeApplication]],
"is_running_on__device": Optional[List[TypeDevice]],
"is_pinned_to__device": Optional[List[TypeDevice]],
"should_operate__device": Optional[List[TypeDevice]],
"should_manage__device": Optional[List[TypeDevice]],
"release_tag": Optional[List[BaseTagType]]
}
Expand Down Expand Up @@ -4429,6 +4430,7 @@ The name must be a string; the optional doc argument can have any type.
"should_be_running_on__application": Optional[List[TypeApplication]],
"is_running_on__device": Optional[List[TypeDevice]],
"is_pinned_to__device": Optional[List[TypeDevice]],
"should_operate__device": Optional[List[TypeDevice]],
"should_manage__device": Optional[List[TypeDevice]],
"release_tag": Optional[List[BaseTagType]],
"images": List[ImageBasicInfoType],
Expand Down Expand Up @@ -4676,6 +4678,7 @@ The name must be a string; the optional doc argument can have any type.
"is_running__release": Union[List[ReleaseType], PineDeferred, None],
"is_pinned_on__release": Union[List[ReleaseType], PineDeferred, None],
"is_managed_by__service_instance": Union[List[ServiceInstanceType], PineDeferred, None],
"should_be_operated_by__release": Union[List[ReleaseType], PineDeferred, None],
"should_be_managed_by__release": Union[List[ReleaseType], PineDeferred, None],
"device_config_variable": Optional[List[EnvironmentVariableBase]],
"device_environment_variable": Optional[List[EnvironmentVariableBase]],
Expand Down Expand Up @@ -4741,6 +4744,7 @@ The name must be a string; the optional doc argument can have any type.
"is_running__release": Union[List[ReleaseType], PineDeferred, None],
"is_pinned_on__release": Union[List[ReleaseType], PineDeferred, None],
"is_managed_by__service_instance": Union[List[ServiceInstanceType], PineDeferred, None],
"should_be_operated_by__release": Union[List[ReleaseType], PineDeferred, None],
"should_be_managed_by__release": Union[List[ReleaseType], PineDeferred, None],
"device_config_variable": Optional[List[EnvironmentVariableBase]],
"device_environment_variable": Optional[List[EnvironmentVariableBase]],
Expand Down
2 changes: 2 additions & 0 deletions balena/types/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ class TypeDevice(TypedDict):
is_running__release: OptionalNavigationResource["ReleaseType"]
is_pinned_on__release: OptionalNavigationResource["ReleaseType"]
is_managed_by__service_instance: OptionalNavigationResource[ServiceInstanceType]
should_be_operated_by__release: OptionalNavigationResource["ReleaseType"]
should_be_managed_by__release: OptionalNavigationResource["ReleaseType"]
device_config_variable: ReverseNavigationResource["EnvironmentVariableBase"]
device_environment_variable: ReverseNavigationResource["EnvironmentVariableBase"]
Expand Down Expand Up @@ -499,6 +500,7 @@ class ReleaseType(TypedDict):
should_be_running_on__application: ReverseNavigationResource[TypeApplication]
is_running_on__device: ReverseNavigationResource[TypeDevice]
is_pinned_to__device: ReverseNavigationResource[TypeDevice]
should_operate__device: ReverseNavigationResource[TypeDevice]
should_manage__device: ReverseNavigationResource[TypeDevice]
release_tag: ReverseNavigationResource[BaseTagType]

Expand Down

0 comments on commit 1328499

Please sign in to comment.