From 3ba1b9e41782cadacc153575ccd8d7e4d8091d0e Mon Sep 17 00:00:00 2001 From: C9luster <138663536+C9luster@users.noreply.github.com> Date: Tue, 24 Dec 2024 11:51:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=A3=80=E6=B5=8BSDK?= =?UTF-8?q?=E5=81=9A=E5=85=BC=E5=AE=B9=E6=80=A7=E6=9B=B4=E6=94=B9=20(#685)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 组件检测SDK做兼容性更改 * update --------- Co-authored-by: yinjiaqi --- python/tests/component_collector.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/tests/component_collector.py b/python/tests/component_collector.py index 2b5b6548..5a86cbd2 100644 --- a/python/tests/component_collector.py +++ b/python/tests/component_collector.py @@ -82,6 +82,9 @@ def get_component_white_list(): def get_components(components_list, import_prefix, skip_components): components = {} for component in components_list: + if not isinstance(component, str): + component = component.__name__ + if component in skip_components: continue