Skip to content

Commit 348e6fe

Browse files
committed
Fixed an issue with set_datastore_value
1 parent 9ff1be3 commit 348e6fe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

shuffle-tools/1.2.0/api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ actions:
2626
schema:
2727
type: string
2828
- name: execute_python
29-
description: Runs python with the data input. Any prints will be returned.
29+
description: Runs python with the data input. Any prints will be returned. Avoid __main__ as it is not supported in this environment.
3030
parameters:
3131
- name: code
3232
description: The code to run. Can be a file ID from within Shuffle.

shuffle-tools/1.2.0/src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2349,7 +2349,7 @@ def get_cache_value(self, key, category=""):
23492349
return value.text
23502350

23512351
def set_datastore_value(self, key, value, category=""):
2352-
return set_cache_value(self, key, value, category=category)
2352+
return self.set_cache_value(self, key, value, category=category)
23532353

23542354
# Check if a specific key exists in a datastore category or not
23552355
# Otherwise appends it automatically

0 commit comments

Comments
 (0)