Skip to content

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.

2 participants