Skip to content

Commit

Permalink
skip doctest without session
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Feb 22, 2024
1 parent 98439f9 commit f241d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sc_crawler/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def set_table_rows_inactive(self, model: str, *args) -> None:
(besides the default model.vendor_id filter) referencing the
model object with SQLModel syntax, e.g.
>>> aws.set_table_rows_inactive(ServerPrice, ServerPrice.price < 10)
>>> aws.set_table_rows_inactive(ServerPrice, ServerPrice.price < 10) # doctest: +SKIP
"""
if self._session:
query = update(model).where(model.vendor_id == self.id)
Expand Down

0 comments on commit f241d75

Please sign in to comment.