Skip to content

Commit

Permalink
Adding types to main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
devmaxde committed Jan 28, 2025
1 parent c16c186 commit 60d4ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricq_source_modbus/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@


@metricq_command(default_token="source-modbus")
def run(server, token) -> None:
def run(server: str, token: str) -> None:
src = ModbusSource(url=server, token=token)
src.run()

0 comments on commit 60d4ee5

Please sign in to comment.