Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Update: type hints for functions - #14

Closed
yankeexe wants to merge 2 commits into
deta:masterfrom
yankeexe:update-type-hints
Closed

Update: type hints for functions#14
yankeexe wants to merge 2 commits into
deta:masterfrom
yankeexe:update-type-hints

Conversation

@yankeexe

@yankeexe yankeexe commented Apr 15, 2021

Copy link
Copy Markdown
Contributor

Updated type hints for the functions.

Few things I would like to get confirmed before I make the changes:
Reference: mypy Standard Duck Types

  1. Replace dict with typing.Mapping and typing.MutableMapping.
  2. Replace list and List with typing.Iterable and typing.Sequence.

I believe these changes will make the code more predictable.

@yankeexe
yankeexe force-pushed the update-type-hints branch from 9f1e0ec to 50617a0 Compare April 15, 2021 13:10
@aavshr
aavshr requested a review from abdelhai April 15, 2021 13:29
@abdelhai abdelhai added help wanted Extra attention is needed investigating labels May 17, 2022
@lemonyte lemonyte mentioned this pull request May 17, 2022
@abdelhai abdelhai closed this Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

help wanted Extra attention is needed investigating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants