Skip to content

Commit

Permalink
Improve compatibility of PEP585 in 3.8 again
Browse files Browse the repository at this point in the history
  • Loading branch information
oscgonfer committed Dec 2, 2022
1 parent 8559d79 commit 3b8c01f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name="smartcitizen-connector",
version="0.1.1",
version="0.1.2",
description="Python connector to download information collected in SmartCitizen API",
author="Óscar González",
license="GNU General Public License v3",
Expand Down
4 changes: 2 additions & 2 deletions src/smartcitizen_connector/smartcitizen_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def api_url(self) -> str:
return self._api_url

@staticmethod
def get_kits() -> list[Kit]:
def get_kits() -> List[Kit]:
kits = get(API_URL + 'kits/?per_page=200')

if kits.status_code == 429:
Expand Down Expand Up @@ -219,7 +219,7 @@ def get_devices(
tags: Optional[list] = None,
tag_method: Optional[str] = 'any',
full: Optional[bool] = False,
) -> list[DeviceSummary]:
) -> List[DeviceSummary]:
"""
Gets devices from Smart Citizen API with certain requirements
Parameters
Expand Down

0 comments on commit 3b8c01f

Please sign in to comment.