We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2348feb commit 94f41d2Copy full SHA for 94f41d2
packages/service-integration/src/service_integration/oci_image_spec.py
@@ -164,7 +164,7 @@ class LabelSchemaAnnotations(BaseModel):
164
@classmethod
165
def create_from_env(cls) -> "LabelSchemaAnnotations":
166
data = {}
167
- for field_name in cls.model_fields:
+ for field_name in cls.model_fields: # pylint: disable=not-an-iterable
168
if value := os.environ.get(field_name.upper()):
169
data[field_name] = value
170
return cls.model_validate(data)
0 commit comments