-
Notifications
You must be signed in to change notification settings - Fork 794
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Remove
@curried.curry
dependency from limit_rows
This pattern is what I've used in most cases. It works and type checks correctly, but could be improved as a decorator. Would have the benefit of preserving the return type, if one were to inspect the intermediate function. Also replacing the `TypeVar` with a `Union` seems to have satisfied `mypy`.
- Loading branch information
1 parent
aae983a
commit b9dc070
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters