• Moul's avatar
    [enh] #223: Decouple EndPoint class from Click context · 0eb77e04
    Moul authored
    - Retrieve context from get_current_context()
    - Use RuntimeError to detect that there is no Click context in case Click is installed and loaded
    - Use ModuleNotFoundError in case Click is not installed
    - Previous point requires Python v3.6
    0eb77e04
network_tools.py 7.14 KB