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

PoC for Notebooklet functions. #28

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ianhelle
Copy link
Contributor

@ianhelle ianhelle commented May 9, 2022

POC for creating functions to be used/reused in notebooklets.
Functionality:

  • decorator for functions to turn them into notebooklet functions
  • supports standard functions (that may or may not return anything)
  • supports query functions that work by defining query text or built-in query name in body of function
  • functions automatically get common args like timespan, value, data, options, etc. passed
  • optionally update the results object with attribute from return value of function.
  • can be used by user to add custom function to already-defined notebooklet (requires notebooklet to call run_nb_funcs in runmethod.

@ianhelle ianhelle requested a review from petebryan May 9, 2022 21:18
@ianhelle ianhelle marked this pull request as draft July 23, 2024 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant