Skip to content

Commit 8a2a911

Browse files
krassowskiCarreau
andauthored
Require curve keys to be passed as kwargs
Co-authored-by: M Bussonnier <bussonniermatthias@gmail.com>
1 parent 0defb2b commit 8a2a911

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ipykernel/heartbeat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
class Heartbeat(Thread):
2828
"""A simple ping-pong style heartbeat that runs in a thread."""
2929

30-
def __init__(self, context, addr=None, curve_publickey=None, curve_secretkey=None):
30+
def __init__(self, context, addr=None, *, curve_publickey=None, curve_secretkey=None):
3131
"""Initialize the heartbeat thread.
3232
3333
Parameters

0 commit comments

Comments
 (0)