mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 08:17:08 +08:00
better stubs
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
# Stubs for django.utils.duration (Python 3.6)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
from datetime import timedelta
|
||||
from typing import Tuple
|
||||
from typing import Any, Optional
|
||||
|
||||
|
||||
def _get_duration_components(duration: timedelta) -> Tuple[int, int, int, int, int]: ...
|
||||
def duration_string(duration: timedelta) -> str: ...
|
||||
def duration_iso_string(duration: timedelta) -> str: ...
|
||||
def duration_microseconds(delta: timedelta) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user