docs(utils): add docstrings

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2023-12-04 21:33:35 +01:00
parent 420b193f4b
commit 9a1a66aa64
6 changed files with 55 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ from typing import Dict, Literal
def get_current_date() -> Dict[Literal["date", "time"], str]:
"""
Get the current date |
:return: a Dict holding a date and time key:value pair
:return: Dict holding a date and time key:value pair
"""
now: datetime = datetime.today()
date: str = now.strftime("%Y-%m-%d")