You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Document the DataTable and the ITable options
* Enforce pyright within the CI
* Pre-commit autoupdate
* Update Ubuntu and Python action versions
* Require Python 3.9+, stop testing Pandas<1
* Update Copyright years
* Set warn_on_undocumented_option=True only when typeguard is available
* Check the type of the default options
* Add tests on type checks
* Type check only works well with typeguard>=4.4.1 on Python 3.10
Copy file name to clipboardExpand all lines: docs/changelog.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,16 @@
1
1
ITables ChangeLog
2
2
=================
3
3
4
+
2.4.0-dev
5
+
---------
6
+
7
+
**Added**
8
+
- We have added type hints for the `show` function and for the various app components. A SyntaxWarning is issued if either the argument name or type does not match when `warn_on_undocumented_option=True` (the default when `typeguard>=4.4.1` is installed).
9
+
10
+
**Changed**
11
+
- ITable now requires Python 3.9, due to the addition of type hints.
Copy file name to clipboardExpand all lines: docs/dash.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Listening to the selected rows is simply done by adding `select=True` to the `IT
34
34
35
35
## Updating the DataFrame
36
36
37
-
The `ITable`fonction returns an `ITableComponent` that has many properties. These properties (data, columns, selected rows etc) need to be updated in a consistent way. Therefore we recommend that you list the outputs with `ITableOutputs("my_dataframe")` in your callback, and update them with `updated_itable_outputs` which takes the same arguments as `show`, e.g. `df`, `caption`,`selected_rows`, etc, like in the below (extracted from this [example app](https://github.com/mwouts/itables/tree/main/apps/dash/3_update_table.py)):
37
+
The `ITable`component has many properties. These properties (data, columns, selected rows etc) need to be updated in a consistent way. Therefore we recommend that you list the outputs with `ITableOutputs("my_dataframe")` in your callback, and update them with `updated_itable_outputs` which takes the same arguments as `show`, e.g. `df`, `caption`,`selected_rows`, etc, like in the below (extracted from this [example app](https://github.com/mwouts/itables/tree/main/apps/dash/3_update_table.py)):
38
38
39
39
```python
40
40
from itables.dash import ITable, ITableOutputs, updated_itable_outputs
0 commit comments