def METHOD_NAME(self, buf: bytes, mem_ctx: MemContext) -> UidEntityMap:
    meta = self.meta_mem_type.METHOD_NAME(buf, mem_ctx)
    try:
        return UidEntityMap(meta, self.table_entry_mem_type, mem_ctx)
    except Exception as err:
        raise ValueError("failed to construct map for field {self.path}") from err