in function_app/src/components/utils.py [0:0]
def reverse_dict(d: dict) -> dict: """ Reverse the keys and values of a dictionary. """ return {v: k for k, v in d.items()}