Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tabiva authored Sep 8, 2024
1 parent 2d8af4f commit 3f7fa71
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ any anomalies to the ``Anomaly`` model.
and an attribute ``model`` of type ``models.MyModel``. Here is an
example:

\```python from datetime import datetime from django\ *dharma.base
``
from datetime import datetime

from django\ *dharma.base
import count*\ check from myapp import models

class MyModelCheck: model = models.MyModel

::

def run_checks(self) -> None:
"""
Verifies that the 'foo' column contains only 'biz' and 'foo' values.
Expand All @@ -97,7 +98,7 @@ any anomalies to the ``Anomaly`` model.

print("All checks passed!")

\``\`
``

#. **Run the checks:**

Expand Down

0 comments on commit 3f7fa71

Please sign in to comment.