Skip to content

Commit

Permalink
Add adapter docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiemery committed Aug 2, 2023
1 parent 511722a commit 1dc6ea3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/tickit/adapters/epics.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ class OutputRecord:


class EpicsAdapter:
"""An adapter interface for the EpicsIo."""

interrupt_records: Dict[InputRecord, Callable[[], Any]] = {}
interrupt: RaiseInterrupt

Expand Down
2 changes: 2 additions & 0 deletions src/tickit/adapters/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@


class HttpAdapter:
"""An adapter interface for the HttpIo."""

def get_endpoints(self) -> Iterable[Tuple[HttpEndpoint, Callable]]:
"""Returns list of endpoints.
Expand Down
2 changes: 1 addition & 1 deletion src/tickit/adapters/zmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


class ZeroMqPushAdapter:
"""Device interface for the Zmq push adapter."""
"""An adapter interface for the ZeroMqPushIo."""

_message_queue: Optional[asyncio.Queue]

Expand Down

0 comments on commit 1dc6ea3

Please sign in to comment.