mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-14 15:57:08 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
11
django-stubs-generated/contrib/sessions/serializers.pyi
Normal file
11
django-stubs-generated/contrib/sessions/serializers.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
from django.core.signing import JSONSerializer as BaseJSONSerializer
|
||||
from django.db.models.base import Model
|
||||
|
||||
|
||||
class PickleSerializer:
|
||||
def dumps(self, obj: Dict[str, Model]) -> bytes: ...
|
||||
def loads(self, data: bytes) -> Dict[str, Model]: ...
|
||||
|
||||
JSONSerializer = BaseJSONSerializer
|
||||
Reference in New Issue
Block a user