Skip to content

Commit a81db24

Browse files
committed
Pass through kwargs in client.broadcast_view() and flags in DirectView __init__
1 parent 17762ae commit a81db24

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ipyparallel/client/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,6 +2085,7 @@ def broadcast_view(self, targets='all', is_coalescing=False, **kwargs):
20852085
client=self,
20862086
socket=self._broadcast_stream,
20872087
targets=targets,
2088+
**kwargs,
20882089
)
20892090
bcast_view.is_coalescing = is_coalescing
20902091
return bcast_view

ipyparallel/client/view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ class DirectView(View):
400400
401401
"""
402402

403-
def __init__(self, client=None, socket=None, targets=None):
404-
super().__init__(client=client, socket=socket, targets=targets)
403+
def __init__(self, client=None, socket=None, targets=None, **flags):
404+
super().__init__(client=client, socket=socket, targets=targets, **flags)
405405

406406
@property
407407
def importer(self):

0 commit comments

Comments
 (0)