holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.69k stars 508 forks source link

Tabulator: Separate aggregators for different columns blocked by type hint #7281

Open AxZolotl opened 2 weeks ago

AxZolotl commented 2 weeks ago
Software Version Info ```plaintext panel 1.4.5 ```

Description of expected behavior and the observed behavior

Complete, minimal, self-contained example code that reproduces the issue


pn.widgets.Tabulator(
            value = value, 
            hierarchical = True, 
            aggregators = {index_name: {column_name: aggregator}}

Stack traceback and/or browser JavaScript console output

ValueError: failed to validate DataTabulator(id=id, ...).aggregators: expected a dict of type Dict(String, String), got a dict with invalid values for keys: index_name
thuydotm commented 2 days ago

@AxZolotl Thanks for reporting this. Can you please add a small reproducible example?