Skip to content

Commit

Permalink
Make messaging logger a keyword only parameter
Browse files Browse the repository at this point in the history
Co-authored-by: stu <[email protected]>
  • Loading branch information
meatballs and s-cork authored Nov 9, 2024
1 parent 0f7e401 commit 615b148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_code/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, subscriber, handler):
class Publisher:
default_log_level = INFO

def __init__(self, logger: _Logger = None, **kwargs):
def __init__(self, *, logger: _Logger = None, **kwargs):
self.logger = logger or _null_logger
self.subscribers = {}
self._deprecation_warnings(**kwargs)
Expand Down

0 comments on commit 615b148

Please sign in to comment.