-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a helper to pull out gen kwargs (#3246)
Summary: Pull Request resolved: #3246 This diff is purely to improve the code, I could see folks going either way on if this is preferable, so happy to abandon if we don't like it. Why I think it's advatageous: - Removes some arg passing in already existing helpers by wrapping in gen_kwargs - Removes that ugly dict creation in the function Reviewed By: lena-kashtelyan Differential Revision: D67318518 fbshipit-source-id: 642622af9f498276495ebaaa6c9cdd96986d4d99
- Loading branch information
1 parent
b4aa11b
commit 99a2561
Showing
1 changed file
with
67 additions
and
26 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