Skip to content

Commit

Permalink
Make optional callback functions kwarg only in dashcast (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery committed Jan 16, 2024
1 parent aad9f3a commit 540fd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pychromecast/controllers/dashcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def receive_message(self, _message, _data: dict):
# Indicate that the message was successfully handled.
return True

def load_url(self, url, force=False, reload_seconds=0, callback_function=None):
def load_url(self, url, *, force=False, reload_seconds=0, callback_function=None):
"""
Starts loading a URL with an optional reload time
in seconds.
Expand Down

0 comments on commit 540fd67

Please sign in to comment.