Skip to content

Commit 258b3ff

Browse files
committed
Replace pipe None with optional for Python 3.9
1 parent 356bfb2 commit 258b3ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrahub_sdk/spec/object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class InfrahubObjectFileData(BaseModel):
11-
kind: str | None = None
11+
kind: Optional[str] = None
1212
data: list[dict[str, Any]] = Field(default_factory=list)
1313

1414
@classmethod

0 commit comments

Comments
 (0)