Skip to content

Remove unused compiled_url_patterns variable#2910

Merged
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/rm-compiled-url-patterns
Feb 15, 2026
Merged

Remove unused compiled_url_patterns variable#2910
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/rm-compiled-url-patterns

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 15, 2026

Remove the compiled_url_patterns set from MockVWS.__enter__. It was accumulated across both route-processing loops but never read, so it served no purpose. Also removes the now-unused Iterable and TYPE_CHECKING imports.


Note

Low Risk
Pure cleanup: removes an unused local variable and related typing-only imports without changing request routing behavior.

Overview
Removes the unused compiled_url_patterns set from MockVWS.__enter__, which was previously accumulated while registering VWS/VWQ route callbacks but never read.

Cleans up imports accordingly by dropping TYPE_CHECKING/Iterable (and related scaffolding), leaving route registration behavior unchanged.

Written by Cursor Bugbot for commit 8cf27b7. This will update automatically on new commits. Configure here.

The variable was accumulated in both route-processing loops but never read, so it served no purpose.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@adamtheturtle adamtheturtle merged commit b738b8b into main Feb 15, 2026
11 checks passed
@adamtheturtle adamtheturtle deleted the adamtheturtle/rm-compiled-url-patterns branch February 15, 2026 07:54
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.

1 participant