Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Sidhant Kohli <[email protected]>
  • Loading branch information
kohlisid committed Oct 13, 2023
1 parent ac620b1 commit 901783f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/source/simple-source/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)


class UDSource:
class SimpleSource:
def __init__(self):
self.to_ack_set = set()
self.read_idx = 0
Expand All @@ -38,7 +38,7 @@ def pending_handler(self) -> PendingResponse:


if __name__ == "__main__":
ud_source = UDSource()
ud_source = SimpleSource()
grpc_server = Sourcer(
read_handler=ud_source.read_handler,
ack_handler=ud_source.ack_handler,
Expand Down

0 comments on commit 901783f

Please sign in to comment.