diff --git a/python/lsst/pipe/base/config.py b/python/lsst/pipe/base/config.py index 3c710c480..431c05d5c 100644 --- a/python/lsst/pipe/base/config.py +++ b/python/lsst/pipe/base/config.py @@ -147,7 +147,7 @@ def __new__( configConnectionsNamespace["ConnectionsClass"] = connectionsClass # Create a new config class with the fields defined above - Connections = type("Connections", (pexConfig.Config,), configConnectionsNamespace) + Connections = type(f"{name}Connections", (pexConfig.Config,), configConnectionsNamespace) # add it to the Config class that is currently being declared dct["connections"] = pexConfig.ConfigField( dtype=Connections,