-
-
Notifications
You must be signed in to change notification settings - Fork 14
Better types #73
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
I'm having to litter my code with
# pyright: ignore[reportUnknownMemberType]on pretty much every call to Chancy. It would be nice if types were defined better. For example:get_schedulesreturnsdict[str, dict](untyped inner dict)scheduletakes*jobs: Job | IsAJob[..., Unknown](theIsAJobprotocol uses...for the ParamSpec)with_kwargstakes**kwargswithout type annotationjob()decorator takes**optionswithout type annotation