mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
reformat with black
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
from typing import Any
|
||||
|
||||
from typing import Any, Dict, List, Set, Tuple, Union
|
||||
|
||||
class BaseSerializer:
|
||||
value: Any = ...
|
||||
def __init__(self, value: Any) -> None: ...
|
||||
@@ -29,7 +30,9 @@ class DecimalSerializer(BaseSerializer):
|
||||
|
||||
class DeconstructableSerializer(BaseSerializer):
|
||||
@staticmethod
|
||||
def serialize_deconstructed(path: str, args: Union[List[str], Tuple], kwargs: Dict[str, object]) -> Tuple[str, Set[str]]: ...
|
||||
def serialize_deconstructed(
|
||||
path: str, args: Union[List[str], Tuple], kwargs: Dict[str, object]
|
||||
) -> Tuple[str, Set[str]]: ...
|
||||
@staticmethod
|
||||
def _serialize_path(path: str) -> Tuple[str, Set[str]]: ...
|
||||
def serialize(self) -> Tuple[str, Set[str]]: ...
|
||||
|
||||
Reference in New Issue
Block a user