microsoft / microsoft/fabric-cli
[FEATURE] Calling get command with invalid property fetches the item definition
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 173
- Forks
- 63
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
Bug Description
Calling get command with invalid property or to discover all property names always fetches the item definition which slows down the get operation.
fabric-cli version
fab version 1.1.0 (09-2025)
Python version
Python 3.12.10
Operating System
Windows
CLI Mode
Interactive mode
Authentication Method
Interactive browser login
Steps to Reproduce
Just call get with '.' or with invalid property name (e.g. 'xpto') and notice that takes long time and if its a protected item will prompt user for authorization.
Expected Behavior
It should only get the definition when explicitly asked for.
Actual Behavior
Gets the definition when not asked for. I might just want to list the available properties.
Additional Context
No response
Possible Solution
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the fabric CLI get command and reproduce the delay with '.' and an invalid property such as 'xpto', including against a protected item. Trace when the item definition is fetched and compare that path with an explicitly requested definition. Done means property discovery and invalid-property requests avoid fetching the definition or prompting for authorization unless the definition was explicitly requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100