mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-08 10:22:09 +00:00
ruff
This commit is contained in:
@@ -437,7 +437,7 @@ class SignatureInspector:
|
||||
if not isinstance(results_type, type(None)):
|
||||
results_type = results_type_args[0]
|
||||
|
||||
is_list = get_origin(results_type) == list
|
||||
is_list = isinstance(get_origin(results_type), list)
|
||||
inner_type = (
|
||||
results_type_args[0] if is_list and results_type_args else results_type
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user