Skip to content

Commit

Permalink
handle callables when translating fn's with predefined functions class
Browse files Browse the repository at this point in the history
  • Loading branch information
cblades-tc committed Oct 2, 2024
1 parent 8631a6b commit 3d28685
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tcex/api/tc/ti_transform/ti_predefined_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ def translate_def_to_fn(self, api_def: dict):

fn_name = api_def[type_]

if callable(fn_name):
return api_def

fn = getattr(self, fn_name)

if not fn:
Expand Down

0 comments on commit 3d28685

Please sign in to comment.