mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-18 06:55:09 +00:00
fix typing
This commit is contained in:
parent
8c01855fff
commit
171421d9d3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ __all__: Tuple[str, ...] = (
|
|||
)
|
||||
|
||||
|
||||
def dt_formatter(time_str: str) -> Optional[datetime]:
|
||||
def dt_formatter(time_str: Optional[str]) -> Optional[datetime]:
|
||||
if time_str is not None:
|
||||
return datetime.strptime(time_str, r"%Y-%m-%dT%H:%M:%SZ")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue