Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rayvens/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class Stream:
def __init__(self,
name,
actor_options=None,
actor_options={},
operator=None,
source_config=None,
sink_config=None,
Expand All @@ -40,7 +40,7 @@ def __init__(self,
raise RuntimeError(
"Rayvens has not been started. Start with 'rayvens.init()'.")
self.name = name
self.actor = StreamActor.options(actor_options).remote(
self.actor = StreamActor.options(*actor_options).remote(
name, operator=operator, batch_size=batch_size)
if sink_config is not None:
self.add_sink(sink_config)
Expand Down