Using saver in pyscript #18
alex-tomov
started this conversation in
Show and tell
Replies: 1 comment
-
Nice 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In case anyone is wondering, here is how I managed to save json array of values between calls to my script in pyscript.
saver.set_variable(name='test_var', value=‘[{“key”:”some_value”}]’)
And here is how I retrieved it:
I needed to implement some REST Api calls in a queue. The provider had "calls per minute" limit and I saved a history of call timestamps to calculate the next allowed call time.
Beta Was this translation helpful? Give feedback.
All reactions