Update main_app.py
Browse files- main_app.py +2 -2
main_app.py
CHANGED
@@ -430,7 +430,7 @@ def _(function_editor, mo, os):
|
|
430 |
function_name = node.name
|
431 |
break
|
432 |
|
433 |
-
if function_name:
|
434 |
# Set deployable_function to None since we're not executing the code
|
435 |
deployable_function = None
|
436 |
mo.md(f"Found function: '{function_name}' (using file path approach)")
|
@@ -565,7 +565,7 @@ def _(
|
|
565 |
):
|
566 |
if selection_table.value['ID'].iloc[0]:
|
567 |
# Create the input fields
|
568 |
-
if function_name:
|
569 |
fnc_nm = function_name
|
570 |
else:
|
571 |
if template_variant.value == "Stream Files to IBM COS [Example]":
|
|
|
430 |
function_name = node.name
|
431 |
break
|
432 |
|
433 |
+
if function_name is not None:
|
434 |
# Set deployable_function to None since we're not executing the code
|
435 |
deployable_function = None
|
436 |
mo.md(f"Found function: '{function_name}' (using file path approach)")
|
|
|
565 |
):
|
566 |
if selection_table.value['ID'].iloc[0]:
|
567 |
# Create the input fields
|
568 |
+
if function_name is not None:
|
569 |
fnc_nm = function_name
|
570 |
else:
|
571 |
if template_variant.value == "Stream Files to IBM COS [Example]":
|