Skip to content

Commit b8bc0c9

Browse files
authored
change actor_options to fit ray update (#71)
1 parent 6e6e386 commit b8bc0c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rayvens/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
class Stream:
3232
def __init__(self,
3333
name,
34-
actor_options=None,
34+
actor_options={},
3535
operator=None,
3636
source_config=None,
3737
sink_config=None,
@@ -40,7 +40,7 @@ def __init__(self,
4040
raise RuntimeError(
4141
"Rayvens has not been started. Start with 'rayvens.init()'.")
4242
self.name = name
43-
self.actor = StreamActor.options(actor_options).remote(
43+
self.actor = StreamActor.options(*actor_options).remote(
4444
name, operator=operator, batch_size=batch_size)
4545
if sink_config is not None:
4646
self.add_sink(sink_config)

0 commit comments

Comments
 (0)