diff --git a/sat/memory/sqla.py b/sat/memory/sqla.py index dc39b0e0..e390a20e 100644 --- a/sat/memory/sqla.py +++ b/sat/memory/sqla.py @@ -114,6 +114,9 @@ class Storage: # profile id to component entry point self.components: Dict[int, str] = {} + def getProfileById(self, profile_id): + return self.profiles.get(profile_id) + async def migrateApply(self, *args: str, log_output: bool = False) -> None: """Do a migration command