Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
(#781) OavSnapshotCallback should not hold state
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Jul 15, 2023
1 parent 1b80bc3 commit b9d46d5
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@


class OavSnapshotCallback(CallbackBase):
snapshot_filenames: list = []
out_upper_left: list = []
snapshot_filenames: list
out_upper_left: list

def __init__(self, *args) -> None:
super().__init__(*args)
self.snapshot_filenames = []
self.out_upper_left = []

def event(self, doc):
data = doc.get("data")
Expand Down

0 comments on commit b9d46d5

Please sign in to comment.