Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add On/off switch to timer decorator #23

Open
martgra opened this issue Dec 2, 2021 · 0 comments
Open

Add On/off switch to timer decorator #23

martgra opened this issue Dec 2, 2021 · 0 comments
Labels
easy Difficulty level enhancement New feature or request help wanted Extra attention is needed

Comments

@martgra
Copy link
Contributor

martgra commented Dec 2, 2021

In Notebook "Transform_data.md" there is a decorator function called "timer". Use the provided link and add the option to turn the printing of execution time on and off.

Todo:

  • Move the function defintion to fpl/utils and a fitting module
  • Implement a parameter that turns printing of execution time on and off.

DoD:

  • Functions defined with the timer decorator can pass parameter to disable print
  • Timer is moved to fpl/utils
  • Test is implemented
@martgra martgra added help wanted Extra attention is needed easy Difficulty level enhancement New feature or request labels Dec 2, 2021
@martgra martgra linked a pull request Dec 7, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Difficulty level enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant