Closed LAMaglan closed 5 months ago
Investigate. Could be that I can modify type_advantages and pokemon_names_list without adding global in whatever functions that change them in FastAPI. Although from a Python point of view, it is probably best practice (i.e. keep global)
type_advantages
pokemon_names_list
global
Somewhat confusingly, it is not strictly necessary for type_advantages, but it is for pokemon_names_list.
Investigate. Could be that I can modify
type_advantages
andpokemon_names_list
without addingglobal
in whatever functions that change them in FastAPI. Although from a Python point of view, it is probably best practice (i.e. keepglobal
)