common/utils.py
def find_user_color(user, colors):
    """Extract the color from a list that contains the member id."""
    for color in colors:
        if user.id in color["members"]:
            return color
Extract the color from a list that contains the member id.
Extract the color from a list that contains the member id.
Extract the color from a list that contains the member id .
def find_user_color(user, colors):
    for color in colors:
        if user.id in color["members"]:
            return color
def find_user_color ( user , colors ) : for color in colors : if user . id in color [ "members" ] : return color
Extract the color from a list that contains the member id.
Extract the color from a list that contains the member id .
"""Extract the color from a list that contains the member id."""
user
colors