Skip to content

Fix linter issues in ConditionalGetMixin - #604

Merged
4 commits merged into
artoonie:mainfrom
skaphan:proper-cache-control
Mar 19, 2026
Merged

Fix linter issues in ConditionalGetMixin#604
4 commits merged into
artoonie:mainfrom
skaphan:proper-cache-control

Conversation

@skaphan

Copy link
Copy Markdown
Contributor

Summary

Addresses linter feedback from #594:

  • C0116: Add missing docstring to get() method
  • C0103: Rename last_modified/if_modified_since to camelCase (lastModified/ifModifiedSince)
  • R0903: Add pylint: disable=too-few-public-methods (it is a mixin with one method by design)

Test plan

  • No behavior change — only naming and lint annotations
  • Existing tests pass unchanged

skaphanand others added 3 commits February 24, 2026 13:29
Add updated_at field to JsonConfig model, use ConditionalGetMixin for
all visualization views, and short-circuit 304 responses in
VisualizeEmbedded before expensive computation.
Add proper cache control for embedded visualizations
- Add pylint disable for too-few-public-methods (it is a mixin)
- Add docstring to get() method
- Rename last_modified/if_modified_since to camelCase
Co-Authored-By: Claude Opus 4.6
@artoonieartoonie closed this pull request by merging all changes into artoonie:main in b69eb3dMar 19, 2026
@skaphan
skaphan deleted the proper-cache-control branch March 20, 2026 19:25
Sign up for freeto 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

@skaphan@artoonie