mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-26 11:37:17 +08:00
28 lines
625 B
Python
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: ... |