Closed amogus07 closed 2 months ago
Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.
I like this update!
Just checked and it seems like there's one replacements that's been left out?
Which types should be used here?
uhhhh… can't reproduce this locally?!
@snejus What should I do now? Can you reproduce it?
dict
is only supported from Python 3.9 onwards, so try using typing.Dict
instead. Also, I think you may want to use str
type for the key instead of Any
, Dict[str, Any]
.
@snejus What should I do now? Can you reproduce it?
You should be able to reproduce it in Python 3.8.
Description
Utilize a new way of declaring NamedTuples, which allows for typechecking as well. Maybe the latter is now redundant in other places, but I'm not that familiar with the codebase yet, so I just changed the declarations (and hopefully used the correct types). While I was at it, I also ran
poetry update
, but I'll revert poetry.lock in case I wasn't supposed to do that. This is my first commit here, so I hope I didn't do anything wrong...To Do