Removed kwargs, so that wrong parameters are marked by pylance
This commit is contained in:
parent
2248e84f4a
commit
8fe205bd29
1 changed files with 0 additions and 3 deletions
|
|
@ -200,10 +200,7 @@ class AttrsStruct:
|
|||
cls,
|
||||
constr: "cs.Construct[t.Any, t.Any]" = this_struct,
|
||||
reverse_fields: bool = False,
|
||||
**kwargs: t.Any,
|
||||
):
|
||||
super().__init_subclass__(**kwargs)
|
||||
|
||||
# validate types
|
||||
if not isinstance(constr, cs.Construct): # type: ignore
|
||||
raise ValueError("`constr` parameter has to be an `Construct` object")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue