Skip to content

Commit

Permalink
fix: method reference
Browse files Browse the repository at this point in the history
  • Loading branch information
devraj committed Nov 3, 2024
1 parent 631144b commit ef4d527
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/alarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ async def main():
event = asyncio.Event()
event.set()

async for updates in Alarms._follow(
'https://commandcentre-api-au.security.gallagher.cloud/api/alarms/updates',
AlarmUpdateResponse,
async for updates in Alarms.follow(
event=event,
):
print(f"Found update {len(updates.updates)}")
Expand Down

0 comments on commit ef4d527

Please sign in to comment.