Skip to content

Commit

Permalink
Add ability for ComposeDescriptor to accept arbitrary kwargs to creat…
Browse files Browse the repository at this point in the history
…e descriptor
  • Loading branch information
Rose Yemelyanova committed Aug 23, 2023
1 parent ef8ee4b commit 740509b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions event_model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2402,6 +2402,7 @@ def __call__(
time=None,
uid=None,
validate=True,
**kwargs
) -> ComposeDescriptorBundle:
if time is None:
time = ttime.time()
Expand All @@ -2423,6 +2424,7 @@ def __call__(
time=time,
uid=uid,
hints=hints,
**kwargs
)
if validate:
if name in self.streams and self.streams[name] != set(data_keys):
Expand Down

0 comments on commit 740509b

Please sign in to comment.