From 8c791bc07f74c3db1e8b369c2c5225529ea88f27 Mon Sep 17 00:00:00 2001 From: Matt Gibbs Date: Fri, 16 Aug 2024 15:24:01 -0700 Subject: [PATCH] Fix Container class move for python 3.10 --- pydm/data_plugins/epics_plugins/p4p_plugin_component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydm/data_plugins/epics_plugins/p4p_plugin_component.py b/pydm/data_plugins/epics_plugins/p4p_plugin_component.py index 43bb9138b..00b48ef95 100644 --- a/pydm/data_plugins/epics_plugins/p4p_plugin_component.py +++ b/pydm/data_plugins/epics_plugins/p4p_plugin_component.py @@ -262,7 +262,7 @@ def send_new_value(self, value: Value) -> None: if self.nttable_data_location: msg = f"Invalid channel... {self.nttable_data_location}" for subfield in self.nttable_data_location: - if isinstance(new_value, collections.Container) and not isinstance(new_value, str): + if isinstance(new_value, collections.abc.Container) and not isinstance(new_value, str): if isinstance(subfield, str): try: new_value = new_value[subfield]