We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd432ea commit f5d7985Copy full SHA for f5d7985
src/opengeodeweb_back/geode_functions.py
@@ -73,7 +73,7 @@ def get_data_info(data_id: str) -> Data:
73
return data_entry
74
75
76
-def upload_file_path(filename):
+def upload_file_path(filename : str) -> str:
77
upload_folder = flask.current_app.config["UPLOAD_FOLDER"]
78
secure_filename = werkzeug.utils.secure_filename(filename)
79
return os.path.abspath(os.path.join(upload_folder, secure_filename))
0 commit comments