Skip to content

Commit

Permalink
Fix issue with validating variable panel types on Views (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jun 7, 2024
1 parent b60cd1d commit 1bc585e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lumen/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _valid_keys_(cls) -> List[str] | None:
panel_type = cls._panel_type
except Exception:
panel_type = None
if panel_type is None:
if panel_type is None or isinstance(panel_type, property):
return None
valid = super()._valid_keys_
return valid + list(panel_type.param)
Expand Down

0 comments on commit 1bc585e

Please sign in to comment.