<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _create_delete_one_query(self, row_id, ctx):
 """ Delete row by id query creation. :param int row_id: Identifier of the deleted row. :param ResourceQueryContext ctx: The context of this delete query. """


        assert isinstance(ctx, ResourceQueryContext)
        return self._orm.query(self.model_cls).filter(self._model_pk == row_id)