project/services/weather.py
def load_owm_api_key() -> str:
    """Loads the Open-Weather-Map API key.

    :return The api key as a string
    """
    with open("OWM_API_KEY") as infile:
        return infile.read().strip()
Loads the Open-Weather-Map API key.

    :return The api key as a string
    
Loads the Open-Weather-Map API key.
:return The api key as a string
Loads the Open - Weather - Map API key . : return The api key as a string
def load_owm_api_key() -> str:
    with open("OWM_API_KEY") as infile:
        return infile.read().strip()
def load_owm_api_key ( ) -> str : with open ( "OWM_API_KEY" ) as infile : return infile . read ( ) . strip ( )
Loads the Open-Weather-Map API key.
Loads the Open - Weather - Map API key .
"""Loads the Open-Weather-Map API key.

    :return The api key as a string
    """