class show_locations(location=None, output=False)[source]#

Print a list of available locations.

  • location (str) – if provided, only check if this location is in the list

  • output (bool) – whether to return the list (else print)

Examples: # Print a list of valid locations'lithuania') # Check if Lithuania is a valid location'Viet-Nam') # Check if Viet-Nam is a valid location