Yeah, here is the relevant code in temporal-python
if inspect.iscoroutinefunction(fn):
return_value = await fn(*args)
else:
return_value = fn(*args)
Yeah, here is the relevant code in temporal-python
if inspect.iscoroutinefunction(fn):
return_value = await fn(*args)
else:
return_value = fn(*args)