Skip to content

Commit

Permalink
We need to populate the database in the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Aug 7, 2024
1 parent 8e9e71d commit 933241e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/fixtures/joint.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@
class State:
"""The current state of the database and the event topics"""

# the database is considered dirty if it is not (yet) populated properly
database_dirty: bool
# the events are considered dirty if some have been published already
events_dirty: bool
resources: dict[str, list[models.Resource]]


state = State(database_dirty=False, events_dirty=False, resources={})
state = State(database_dirty=True, events_dirty=False, resources={})


@dataclass
Expand Down

0 comments on commit 933241e

Please sign in to comment.