core (memory/slqa): implement getProfileById

rel 361
This commit is contained in:
Goffi 2021-09-08 17:58:48 +02:00
commit 247a5f1ea8

View file

@ -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