parameters: (the_type, the_field)
docstring: Like "mongoc_update_one_opts->update.crud.write_concern_owned".
docstring_summary: Like "mongoc_update_one_opts->update.crud.write_concern_owned".
docstring_tokens: Like mongoc_update_one_opts - > update . crud . write_concern_owned .
function: def path_to(the_type, the_field):
      """Like "mongoc_update_one_opts->update.crud.write_concern_owned"."""
      for path, name, info in paths(opts_structs[the_type]):
          if name == the_field:
              return path
  
      raise ValueError(
          "No field '%s' in '%s'" % (the_field, the_type))
function_tokens: def path_to ( the_type , the_field ) : for path , name , info in paths ( opts_structs [ the_type ] ) : if name == the_field : return path raise ValueError ( "No field '%s' in '%s'" % ( the_field , the_type ) )