mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 00:07:09 +08:00
run black over stubs, add checking to travis
This commit is contained in:
@@ -3,18 +3,12 @@ from typing import Any, Dict, Optional
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
class BaseSessionManager(models.Manager):
|
||||
creation_counter: int
|
||||
model: None
|
||||
name: None
|
||||
def encode(self, session_dict: Dict[str, int]) -> str: ...
|
||||
def save(
|
||||
self,
|
||||
session_key: str,
|
||||
session_dict: Dict[str, int],
|
||||
expire_date: datetime,
|
||||
) -> AbstractBaseSession: ...
|
||||
def save(self, session_key: str, session_dict: Dict[str, int], expire_date: datetime) -> AbstractBaseSession: ...
|
||||
|
||||
class AbstractBaseSession(models.Model):
|
||||
session_key: Any = ...
|
||||
|
||||
Reference in New Issue
Block a user