Skip to content

Commit

Permalink
Add support for declaring kdims as variable kwargs (#4462)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jun 8, 2020
1 parent 92109b9 commit e1251b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions holoviews/core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ def validate_dynamic_argspec(callback, kdims, streams):
return kdims
elif set(kdims).issubset(set(posargs+kwargs)):
return kdims
elif argspec.keywords:
return kdims
else:
raise KeyError('Callback {name!r} signature over {names} does not accommodate '
'required kdims {kdims}'.format(name=name,
Expand Down

0 comments on commit e1251b2

Please sign in to comment.