From f82d810f03d3b031465c092dfd55e2f3d5cb5c8f Mon Sep 17 00:00:00 2001 From: David Korczynski Date: Wed, 3 Apr 2024 14:18:50 -0700 Subject: [PATCH] introspector: refine type extraction Signed-off-by: David Korczynski --- data_prep/introspector.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data_prep/introspector.py b/data_prep/introspector.py index a5a57941ee..61fc45608f 100755 --- a/data_prep/introspector.py +++ b/data_prep/introspector.py @@ -286,8 +286,7 @@ def get_raw_function_name(function: dict, project: str) -> str: def _get_clean_arg_types(function: dict, project: str) -> list[str]: """Returns the cleaned function argument types.""" - raw_arg_types = (function.get('arg-types') or - function.get('function_arguments', [])) + raw_arg_types = function.get('debug_summary').get('args') if not raw_arg_types: logging.error( 'Missing argument types in project: %s\n'