File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/models-library/src/models_library Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ def from_key(cls, key: str) -> "DockerLabelKey":
6363_UNDEFINED_LABEL_VALUE_INT : Final [str ] = "0"
6464
6565
66- DOCKER_TASK_EC2_INSTANCE_TYPE_PLACEMENT_CONSTRAINT_KEY : Final [
67- DockerLabelKey
68- ] = TypeAdapter ( DockerLabelKey ). validate_python ( "ec2-instance-type" )
66+ DOCKER_TASK_EC2_INSTANCE_TYPE_PLACEMENT_CONSTRAINT_KEY : Final [DockerLabelKey ] = (
67+ TypeAdapter ( DockerLabelKey ). validate_python ( "ec2-instance-type" )
68+ )
6969
7070
7171def to_simcore_runtime_docker_label_key (key : str ) -> DockerLabelKey :
@@ -143,7 +143,7 @@ def to_simcore_runtime_docker_labels(self) -> dict[DockerLabelKey, str]:
143143 """returns a dictionary of strings as required by docker"""
144144 return {
145145 to_simcore_runtime_docker_label_key (k ): f"{ v } "
146- for k , v in sorted (self .model_dump ().items ())
146+ for k , v in sorted (self .model_dump (warnings = False ).items ())
147147 }
148148
149149 @classmethod
You can’t perform that action at this time.
0 commit comments