minimal fix for upload_url in rx.download (#3073)
This commit is contained in:
parent
04ab2b9a71
commit
a3cb475247
@ -140,7 +140,9 @@ def get_upload_url(file_path: str) -> Var[str]:
|
|||||||
"""
|
"""
|
||||||
Upload.is_used = True
|
Upload.is_used = True
|
||||||
|
|
||||||
return Var.create_safe(f"{uploaded_files_url_prefix}/{file_path}")
|
return Var.create_safe(
|
||||||
|
f"{uploaded_files_url_prefix}/{file_path}", _var_is_string=True
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def _on_drop_spec(files: Var):
|
def _on_drop_spec(files: Var):
|
||||||
|
Loading…
Reference in New Issue
Block a user