mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Bump pyright to v1.1.360 (#11810)
This commit is contained in:
1 parent
29db988c0a
commit
d0f2be92ab
20 files changed
+100
-46
No files matched your search
@@ -12,7 +12,7 @@ class FormField(Field, Generic[_BoundFormT]):
|
||||
form: _BoundFormT
|
||||
separator: str
|
||||
def __init__(
|
||||
self: FormField[_BoundFormT],
|
||||
self: FormField[_BoundFormT], # pyright: ignore[reportInvalidTypeVarUse] #11780
|
||||
form_class: type[_BoundFormT],
|
||||
label: str | None = None,
|
||||
validators: None = None,
|
||||
|
||||
@@ -15,7 +15,7 @@ class FieldList(Field, Generic[_BoundFieldT]):
|
||||
entries: list[_BoundFieldT]
|
||||
object_data: Iterable[Any]
|
||||
def __init__(
|
||||
self: FieldList[_BoundFieldT],
|
||||
self: FieldList[_BoundFieldT], # pyright: ignore[reportInvalidTypeVarUse] #11780
|
||||
# because of our workaround we need to accept Field as well
|
||||
unbound_field: UnboundField[_BoundFieldT] | _BoundFieldT,
|
||||
label: str | None = None,
|
||||
|
||||
Reference in new issue
Block a user