Skip to content

Fix linter issues in ConditionalGetMixin#604

Open
skaphan wants to merge 4 commits intoartoonie:mainfrom
skaphan:proper-cache-control
Open

Fix linter issues in ConditionalGetMixin#604
skaphan wants to merge 4 commits intoartoonie:mainfrom
skaphan:proper-cache-control

Conversation

@skaphan
Copy link

@skaphan skaphan commented Mar 5, 2026

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

skaphan and 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
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