Skip to content

Commit ffa85bf

Browse files
committed
Unlike dataclasses there is no enforcement of positional only in prefab
1 parent 603f1b3 commit ffa85bf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ducktools/classbuilder/prefab.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ class Prefab(metaclass=SlotMakerMeta):
132132
@dataclass_transform(field_specifiers=(Attribute, attribute))
133133
def prefab(
134134
cls: type[_T],
135-
/,
136135
*,
137136
init: bool = ...,
138137
repr: bool = ...,
@@ -149,7 +148,6 @@ def prefab(
149148
@dataclass_transform(field_specifiers=(Attribute, attribute))
150149
def prefab(
151150
cls: None = None,
152-
/,
153151
*,
154152
init: bool = ...,
155153
repr: bool = ...,

0 commit comments

Comments
 (0)