mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-12 05:01:40 +08:00
Bump pyright to v1.1.360 (#11810)
This commit is contained in:
@@ -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