def METHOD_NAME(
    self,
    workspace_id: typing.Optional[int] = None,
    content_id: typing.Optional[int] = None,
) -> typing.List[Tag]:
    query = self.base_filter(
        self._base_query(), workspace_id=workspace_id, content_id=content_id
    )
    query = query.order_by(Tag.tag_id)
    return query.all()