def get_by_id(cls, context, snapshot_id): return cls._from_db_object( context, cls(), db_api.snapshot_get(context, snapshot_id))