mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-26 03:27:15 +08:00
black reformat, some fixes
This commit is contained in:
@@ -19,7 +19,9 @@ class ErrorList(UserList, list):
|
||||
data: List[Union[django.core.exceptions.ValidationError, str]]
|
||||
error_class: str = ...
|
||||
def __init__(
|
||||
self, initlist: Optional[Union[List[ValidationError], List[str], ErrorList]] = ..., error_class: Optional[str] = ...
|
||||
self,
|
||||
initlist: Optional[Union[List[ValidationError], List[str], ErrorList]] = ...,
|
||||
error_class: Optional[str] = ...,
|
||||
) -> None: ...
|
||||
def as_data(self) -> List[ValidationError]: ...
|
||||
def get_json_data(self, escape_html: bool = ...) -> List[Dict[str, str]]: ...
|
||||
|
||||
Reference in New Issue
Block a user