Skip to content
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

Ensure View.kwargs are validated #498

Merged
merged 3 commits into from
Nov 1, 2023
Merged

Ensure View.kwargs are validated #498

merged 3 commits into from
Nov 1, 2023

Conversation

philippjfr
Copy link
Member

Attempt at making sure that we validate when we can but also allow passing custom kwargs to View types. A View that declares a _panel_type and passes the kwargs directly to the underlying Panel object can easily be fully validated.

@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2023

Codecov Report

Merging #498 (e8c9632) into main (23d1fc5) will increase coverage by 0.02%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main     #498      +/-   ##
==========================================
+ Coverage   69.38%   69.40%   +0.02%     
==========================================
  Files          79       79              
  Lines        9171     9185      +14     
==========================================
+ Hits         6363     6375      +12     
- Misses       2808     2810       +2     
Files Coverage Δ
lumen/views/base.py 65.73% <80.00%> (+0.49%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hoxbro hoxbro merged commit 13fbacc into main Nov 1, 2023
@hoxbro hoxbro deleted the view_validation branch November 1, 2023 12:39
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants