def country_codes():
 create_country_codes()
 try:
  country_codes = tk.get_action('tag_list')(data_dict={'vocabulary_id': 'country_codes'})
  return country_codes
 except tk.ObjectNotFound:
  return None

def country_codes ( ) : create_country_codes ( ) try : country_codes = tk . get_action ( 'tag_list' ) ( data_dict = { 'vocabulary_id' : 'country_codes' } ) return country_codes except tk . ObjectNotFound : return None
return the list of country codes from the country codes vocabulary .