refactor(commands): merge fs/impor/fab_fs_import_item.py into fab_fs_import.py#68
Open
refactor(commands): merge fs/impor/fab_fs_import_item.py into fab_fs_import.py#68
Conversation
Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix import paths in fabric_cli commands
fix(commands): rename fs/impor directory to fs/import
Feb 24, 2026
ayeshurun
reviewed
Feb 24, 2026
Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
ayeshurun
reviewed
Feb 24, 2026
…subdirectory Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Copilot
AI
changed the title
fix(commands): rename fs/impor directory to fs/import
refactor(commands): merge fs/impor/fab_fs_import_item.py into fab_fs_import.py
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📥 Pull Request
✨ Description of new changes
The
src/fabric_cli/commands/fs/impor/directory was misspelled and contained a single file (fab_fs_import_item.py). Rather than renaming the directory toimport(which is a Python keyword and would requireimportlibworkarounds), the content offab_fs_import_item.pyhas been merged directly intofab_fs_import.pyand the subdirectory removed entirely.fs/impor/subdirectory by mergingfab_fs_import_item.pyintofab_fs_import.py. Theimport_single_itemfunction and its helpers now live directly infab_fs_import.py, keeping the code simple with noimportlibusage.impor/directory name was a typo (should have beenimport), but sinceimportis a Python keyword, a subdirectory with that name would require non-standard import mechanisms. Merging the files avoids this issue entirely and is consistent with keeping thin command files.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.