Skip to content

fix(docs): update #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 27, 2025
Merged

fix(docs): update #7

merged 8 commits into from
Jul 27, 2025

Conversation

ndonkoHenri
Copy link
Contributor

No description provided.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the flet-datatable2 library to improve API consistency and maintainability. The changes primarily focus on modernizing the DataColumn2 constructor to use keyword-only arguments and updating all usages to explicitly specify the label parameter.

  • Convert DataColumn2 to use keyword-only arguments for better API clarity
  • Update all DataColumn2 instantiations to use explicit label parameter
  • Improve project configuration with better dependency management and documentation tooling

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/flet_datatable2/datacolumn2.py Added kw_only=True to DataColumn2 control decorator
tests/sorting_test.py Updated DataColumn2 calls to use label= parameter and fixed event type/callback name
tests/basic_test.py Updated DataColumn2 calls to use explicit label= parameter
examples/datatable2_example/src/example-1.py Updated DataColumn2 calls to use explicit label= parameter
examples/datatable2_example/src/example-2.py Updated DataColumn2 calls to use explicit label= parameter
src/flet_datatable2/init.py Added all list for better module exports
pyproject.toml Reorganized dependency groups and updated versions
mkdocs.yml Updated documentation configuration and plugin settings
.pre-commit-config.yaml Added pre-commit configuration file
.github/workflows/docs.yml Updated GitHub Actions workflow for documentation
src/flet_datatable2/datatable2.py Reformatted field definitions for better readability

@FeodorFitsner FeodorFitsner merged commit d707056 into main Jul 27, 2025
4 checks passed
@FeodorFitsner FeodorFitsner deleted the dev branch July 27, 2025 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants