AnswerDotAI / AnswerDotAI/rerankers
Feature request: don't print on import, or make printing configurable
Open
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
This print statement runs on import, with no option to configure or disable it:
```python
>>> import rerankers
Torch not installed...
```
May I kindly request to not print on import, or to make printing configurable? Thank you! In general, it's good practice to limit code that runs on import to a minimum.
Source: https://github.com/AnswerDotAI/rerankers/blob/c5b2c19e7a84fc4c4dd3f31dea934297ce4b7bb1/rerankers/utils.py#L50
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.