Module utils

Source

Functionsยง

get_champions_by_role ๐Ÿ”’
โš™๏ธ Retrieves all champions that match the specified role from the database.
get_champions_with_no_role ๐Ÿ”’
โš™๏ธ Retrieves all champions from the database without filtering by role.
get_list_champions
โš™๏ธ Retrieves a list of champions from the database, optionally filtered by role.
get_random_champion
โš™๏ธ Selects a random champion from a list of ChampionData.
match_role_with_database_roles ๐Ÿ”’
โš™๏ธ Maps a Role enum value to its corresponding string representation as stored in the database.