Skip to content

Commit a4c070c

Browse files
feat(geode_functions) : is_saveable function
1 parent 8fc9cf1 commit a4c070c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/opengeodeweb_back/geode_functions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def load(geode_object: str, file_absolute_path: str):
3636
return geode_object_value(geode_object)["load"](file_absolute_path)
3737

3838

39+
def is_saveable(geode_object: str, data, filename: str):
40+
return geode_object_value(geode_object)["is_saveable"](data, filename)
41+
42+
3943
def save(geode_object: str, data, folder_absolute_path: str, filename: str):
4044
return geode_object_value(geode_object)["save"](
4145
data, os.path.join(folder_absolute_path, filename)

0 commit comments

Comments
 (0)