Files
django-stubs/django/core/checks/messages.pyi
Maxim Kurnikov 89bb6eac75 improved version
2018-07-29 20:06:41 +03:00

28 lines
625 B
Python

from typing import Optional
class CheckMessage:
def __eq__(self, other: CheckMessage) -> bool: ...
def __init__(
self,
level: int,
msg: str,
hint: Optional[str] = ...,
obj: object = ...,
id: Optional[str] = ...
) -> None: ...
def __str__(self) -> str: ...
def is_serious(self, level: int = ...) -> bool: ...
def is_silenced(self) -> bool: ...
class Critical:
def __init__(self, *args, **kwargs) -> None: ...
class Error:
def __init__(self, *args, **kwargs) -> None: ...
class Warning:
def __init__(self, *args, **kwargs) -> None: ...