Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request appears to be a development branch merge that includes version updates, improved help text, code refinements, and bug fixes. The changes focus on enhancing user experience through clearer documentation and fixing import/error handling issues.
- Updated version to development pre-release (1.0.1-1)
- Improved help text and error messages for better clarity
- Fixed import handling and code structure improvements
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Version bump to development pre-release |
| main/scripts/get.py | Updated help text for verbosity and last-n arguments |
| main/data/client.py | Changed "hooked" to "connected" in client representation |
| main/contrib/data.py | Modified client initialization to use site client as default |
| main/config/init.py | Changed log level from info to debug for config file message |
| main/init.py | Fixed tqdm import logic and exception handling |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| if NB_SHELL: | ||
| from tqdm.notebook import tqdm | ||
| else: | ||
| TQDM_INSTALLED = True | ||
| _LOGGER.debug("Progressbar display is supported") | ||
| if NB_SHELL: | ||
| from tqdm.notebook import tqdm | ||
| else: | ||
| from tqdm import tqdm | ||
| from tqdm import tqdm |
There was a problem hiding this comment.
The tqdm import statements are now outside the try-except block, which means they will raise unhandled exceptions if tqdm is not installed. These imports should remain inside the try block to properly set TQDM_INSTALLED to False when tqdm is unavailable.
No description provided.