Skip to content

Commit 94f41d2

Browse files
author
Andrei Neagu
committed
pylint
1 parent 2348feb commit 94f41d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-integration/src/service_integration/oci_image_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class LabelSchemaAnnotations(BaseModel):
164164
@classmethod
165165
def create_from_env(cls) -> "LabelSchemaAnnotations":
166166
data = {}
167-
for field_name in cls.model_fields:
167+
for field_name in cls.model_fields: # pylint: disable=not-an-iterable
168168
if value := os.environ.get(field_name.upper()):
169169
data[field_name] = value
170170
return cls.model_validate(data)

0 commit comments

Comments
 (0)