parameters: (json_flow, flow=None)
return_statement: return _base_migrate_to_version_11_2(json_flow, country_code=country_code)
docstring: Migrates base_language in flow definitions from iso639-2 to iso639-3
docstring_summary: Migrates base_language in flow definitions from iso639-2 to iso639-3
docstring_tokens: Migrates base_language in flow definitions from iso639 - 2 to iso639 - 3
function: def migrate_to_version_11_2(json_flow, flow=None):
      """
      Migrates base_language in flow definitions from iso639-2 to iso639-3
      """
      if flow is not None:
          country_code = flow.org.default_country_code
      else:  # pragma: no cover
          raise ValueError("Languages depend on org, can not migrate to version 11 without org")
  
      return _base_migrate_to_version_11_2(json_flow, country_code=country_code)
function_tokens: def migrate_to_version_11_2 ( json_flow , flow = None ) : if flow is not None : country_code = flow . org . default_country_code else : # pragma: no cover raise ValueError ( "Languages depend on org, can not migrate to version 11 without org" ) return _base_migrate_to_version_11_2 ( json_flow , country_code = country_code )