Skip to content

Feature request: don't print on import, or make printing configurable #36

@lsorber

Description

@lsorber

This print statement runs on import, with no option to configure or disable it:

>>> 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:

print("Torch not installed...")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions