Check if InquirerPy is available.
()
| 15 | |
| 16 | |
| 17 | def _has_inquirerpy() -> bool: |
| 18 | """Check if InquirerPy is available.""" |
| 19 | try: |
| 20 | import importlib.util |
| 21 | |
| 22 | return importlib.util.find_spec("InquirerPy") is not None |
| 23 | except ImportError: |
| 24 | return False |
| 25 | |
| 26 | |
| 27 | def prompt_editor_selection( |
no outgoing calls
no test coverage detected