Source code for akride.core.entities.catalogs

"""
 Copyright (C) 2024, Akridata, Inc - All Rights Reserved.
 Unauthorized copying of this file, via any medium is strictly prohibited
"""

import akridata_akrimanager_v2 as am

from akride.core.entities.entity import Entity


[docs]class Catalog(Entity): """ Class representing a catalog entity. """ def __init__(self, info: am.GetCatalogResponse): """ Constructor for the Catalog class. Parameters ---------- info : am.GetCatalogResponse The catalog response. """ super().__init__(info.id, info.name) self.info = info
[docs] def delete(self) -> None: """ Deletes an entity. Parameters ---------- Returns ------- None """ return None