Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 507fb90

Browse files
author
Phil Varner
committed
remove init method from Conformance
1 parent 87770e4 commit 507fb90

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/stapi_fastapi/models/conformance.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,4 @@
55

66

77
class Conformance(BaseModel):
8-
conforms_to: list[str] = Field(default_factory=list, alias="conformsTo")
9-
10-
def __init__(
11-
self,
12-
*args,
13-
conforms_to: list[str],
14-
**kwargs,
15-
) -> None:
16-
super().__init__(*args, **kwargs)
17-
self.conforms_to = conforms_to
8+
conforms_to: list[str] = Field(default_factory=list, serialization_alias="conformsTo")

0 commit comments

Comments
 (0)