Skip to content

Add Option to Decorate Functions for Tracking #664

@kzscisoft

Description

@kzscisoft

I have an idea for very accessible "lazy" tracking, you use a decorator on a function you want to monitor and it will auto-track any valid variables when they change values:

@trace()
def my_function() -> None:
     _ignore_me = 1
     x = 2
   
     for i in range(10):
         x = my_sim_method(x)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions