Skip to content

chore: Remove unused imports from the client and data system modules - #504

Merged
jsonbailey merged 1 commit into
mainfrom
jb/chore/remove-unused-imports
Aug 19, 2026
Merged

chore: Remove unused imports from the client and data system modules#504
jsonbailey merged 1 commit into
mainfrom
jb/chore/remove-unused-imports

Conversation

@jsonbailey

@jsonbailey jsonbailey commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Removes pre-existing unused imports flagged by pyflakes in ldclient/client.py, ldclient/impl/datasystem/fdv1.py, and ldclient/impl/datasystem/fdv2.py.

No functional change and no changelog impact — only import lines were touched.

Note: this overlaps fdv1.py/fdv2.py with PR #503, which also touches those files. Whichever merges second will need a straightforward import-line rebase.


Note

Overview
Cleanup only: removes unused imports flagged by pyflakes in client.py, fdv1.py, and fdv2.py—no behavior changes.

In client.py, drops datasource/datastore status impl imports (DataSourceStatusProviderImpl, DataSourceUpdateSinkImpl, DataStoreStatusProviderImpl, DataStoreUpdateSinkImpl), Listeners, and unused ReadOnlyStore from the interfaces import.

In fdv1.py and fdv2.py, removes unused FlagTrackerImpl / FlagTracker imports; fdv2.py also trims unused typing symbols and VersionedDataKind.

May overlap import lines with PR #503 on the same fdv files—whichever merges second may need a small rebase on those lines.

Reviewed by Cursor Bugbot for commit b68bf89. Bugbot is set up for automated code reviews on this repo. Configure here.

@jsonbailey
jsonbailey requested a review from a team as a code owner August 19, 2026 17:41
@jsonbailey
jsonbailey merged commit 8fcbc40 into main Aug 19, 2026
17 checks passed
@jsonbailey
jsonbailey deleted the jb/chore/remove-unused-imports branch August 19, 2026 19:27
jsonbailey added a commit that referenced this pull request Aug 19, 2026
The rebase over #504 (unused-import cleanup) silently dropped Any,
Callable, and VersionedDataKind from fdv2.py — they were unused on main
before the read-only store view existed, so the auto-merge removed them
even though the view's signatures depend on them.
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