-
Notifications
You must be signed in to change notification settings - Fork 167
Description
Is your feature request related to a problem? Please describe.
Currently the SDK introspects all outputs. Sometimes, especially in the case of Parallel, this could be a really long list of things; it'd be nice to turn it off selectively.
Describe the solution you'd like
Option 1: inspect tag to skip
@tag(sdk=["skip.introspection"])
def my_func(...) -> ...:Option 2: skip via configuration
sdk_config = {"my_func": ["skip.introspection"]}
HamiltonTracker(..., tracker_config=sdk_config) # or some config fileWe'd then want these to both output some type of result that the UI could then render.
Minimally based on the type returned it could be something basic about it -- so when you got to the UI you can see that this was skipped.
Describe alternatives you've considered
N/A
Additional context
This is an optimization.
Functionality to hide sensitive information from being logged could follow a similar path -- but likely a more explicit decorator in the code would be best in this situation.