Skip to content

Commit

Permalink
Change position to string due to redis stream incompatability. Remove…
Browse files Browse the repository at this point in the history
… unused fan out delivery message time.
  • Loading branch information
dspeck1 committed Dec 23, 2024
1 parent 428dfbf commit 7c19ae0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class NextVisitModel:
instrument: str
groupId: str
coordinateSystem: int
position: typing.List[int]
#position: typing.List[int]
position: str #TODO check if list allowed after testing.
startTime: float
rotationSystem: int
cameraAngle: float
Expand All @@ -47,7 +48,6 @@ def add_detectors(
self,
message: dict,
active_detectors: list,
fan_out_delivery_time: str
) -> list[dict[str, str]]:
"""Adds and duplicates next visit messages for fanout.
Expand All @@ -56,9 +56,7 @@ def add_detectors(
message: `str`
The next visit message.
active_detectors: `list`
The active detectors for an instrument.
fan_out_delivery_Time: `str`
The time that fan out sends the message in system time.
The active detectors for an instrument.
Yields
------
message_list : `list`
Expand Down

0 comments on commit 7c19ae0

Please sign in to comment.