Skip to content

fix: add missing stubs in datetimerange #8470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions stubs/DateTimeRange/datetimerange/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ from typing import ClassVar

from dateutil.relativedelta import relativedelta

__license__: str
__email__: str
from .__version__ import (
__author__ as __author__,
__copyright__ as __copyright__,
__email__ as __email__,
__license__ as __license__,
__version__ as __version__,
)

class DateTimeRange:
NOT_A_TIME_STR: ClassVar[str]
Expand Down
7 changes: 5 additions & 2 deletions stubs/DateTimeRange/datetimerange/__version__.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
__maintainer__: str
__email__: str
__author__: str = ...
__copyright__: str
__license__: str
__version__: str
__maintainer__ = __author__
__email__: str