๐ Feature: use type hints
Ananya2001-an opened this issue ยท 0 comments
Ananya2001-an commented
๐ Feature description
In python we don't have strict type checking like in TS but we can still add type hints which would be good for better readability and maintainability. Also we can use a famous python package called mypy to implement some strict type checking if possible; not a necessity tho :)
๐ค Pitch
Like maybe something like this:
def get_image(self, url, width: float = None, height: float = None) -> Optional[str]:๐ Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
๐ข Have you read the Code of Conduct?
- I have read the Code of Conduct