Skip to content

Commit

Permalink
Call inspect.signature with eval_str=True (#5033)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver authored Jan 16, 2024
1 parent 76b96ce commit facc603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/server/deephaven/_udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _parse_signature(fn: Callable) -> _ParsedSignature:
return _parse_np_ufunc_signature(fn)
else:
p_sig = _ParsedSignature(fn=fn)
sig = inspect.signature(fn)
sig = inspect.signature(fn, eval_str=True)
for n, p in sig.parameters.items():
p_sig.params.append(_parse_param_annotation(p.annotation))

Expand Down

0 comments on commit facc603

Please sign in to comment.