def get_provider_name(driver):
    """
    Return the provider name from the driver class
    :param driver: obj
    :return: str
    """
    kls = driver.__class__.__name__
    for d, prop in DRIVERS.items():
        if prop[1] == kls:
            return d
    return None
def get_provider_name ( driver ) : kls = driver . __class__ . __name__ for d , prop in DRIVERS . items ( ) : if prop [ 1 ] == kls : return d return None
Return the provider name from the driver class
    :param driver: obj
    :return: str