Open
Description
I am using snoop and its very useful
I have a list variable of 20k items. I just want to see the tracing for few iterations only.
@snoop
def mapping(inputlist):
testing = {}
for eachDict in inputlist:
for k, v in eachDict.items():
testing[k] = v
# <------- want to exist snoop after 5 iterations
# <------- want to exist snoop after 10 iterations
return testing
HOw can i achieve the above thing
Metadata
Metadata
Assignees
Labels
No labels