def __init__(self, schema: TopicSchema): self.schema = schema self.shaper = self.create_entity_shaper(schema) self.entityHelper = EntityHelper(name=self.schema.get_topic().topicId, shaper=self.shaper) self.entityIdHelper = EntityIdHelper( name=self.schema.get_topic().topicId, shaper=self.shaper, idColumnName=TopicDataColumnNames.ID.value)
def get_entity_helper(self) -> EntityHelper: return EntityHelper(name=self.get_entity_name(), shaper=self.get_entity_shaper())