File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -897,7 +897,6 @@ async def binding_data_from_python_std(
897
897
return _literals_models .BindingData (scalar = lit .scalar )
898
898
899
899
900
- # This function cannot be called from an async call stack
901
900
def binding_from_python_std (
902
901
ctx : _flyte_context .FlyteContext ,
903
902
var_name : str ,
@@ -906,13 +905,6 @@ def binding_from_python_std(
906
905
t_value_type : type ,
907
906
) -> Tuple [_literals_models .Binding , List [Node ]]:
908
907
nodes : List [Node ] = []
909
- try :
910
- asyncio .get_running_loop ()
911
- raise AssertionError ("binding_from_python_std cannot be run from within an async call stack" )
912
- except RuntimeError as e :
913
- if "no running event loop" not in str (e ):
914
- logger .error (f"Unknown RuntimeError { str (e )} " )
915
- raise
916
908
binding_data = run_sync (
917
909
binding_data_from_python_std ,
918
910
ctx ,
You can’t perform that action at this time.
0 commit comments