Skip to content
Snippets Groups Projects
Commit 3477e4f4 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Add type hints to timezone.py

parent 370aafff
Branches
Tags
2 merge requests!143Release 0.15.0,!135Add and fix more type hints
......@@ -13,7 +13,7 @@ class TimeZone():
A human-friendly name of the time zone:
"""
def __init__(self, zone_id, offset, display_name):
def __init__(self, zone_id: str, offset: int, display_name: str):
self.zone_id = zone_id
self.offset = offset
self.display_name = display_name
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment