nodes: 0, module; 1, function_definition; 2, function_name:add; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, default_parameter; 12, list_splat_pattern; 13, dictionary_splat_pattern; 14, expression_statement; 15, expression_statement; 16, comment:# noqa E126; 17, if_statement; 18, return_statement; 19, identifier:name; 20, string; 21, identifier:type; 22, string; 23, identifier:agent; 24, string; 25, identifier:scanner; 26, string; 27, identifier:location; 28, string; 29, identifier:language; 30, string; 31, identifier:args; 32, identifier:kwargs; 33, comment:""" Simplified add for the most common options.
  
              Parameters:
                  name (str): Name of the library
                  agent (str): Example com.plexapp.agents.imdb
                  type (str): movie, show, # check me
                  location (str): /path/to/files
                  language (str): Two letter language fx en
                  kwargs (dict): Advanced options should be passed as a dict. where the id is the key.
  
              **Photo Preferences**
  
                  * **agent** (str): com.plexapp.agents.none
                  * **enableAutoPhotoTags** (bool): Tag photos. Default value false.
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Photo Scanner
  
              **Movie Preferences**
  
                  * **agent** (str): com.plexapp.agents.none, com.plexapp.agents.imdb, com.plexapp.agents.themoviedb
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **enableCinemaTrailers** (bool): Enable Cinema Trailers. Default value true.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Movie Scanner, Plex Video Files Scanner
  
              **IMDB Movie Options** (com.plexapp.agents.imdb)
  
                  * **title** (bool): Localized titles. Default value false.
                  * **extras** (bool): Find trailers and extras automatically (Plex Pass required). Default value true.
                  * **only_trailers** (bool): Skip extras which aren't trailers. Default value false.
                  * **redband** (bool): Use red band (restricted audiences) trailers when available. Default value false.
                  * **native_subs** (bool): Include extras with subtitles in Library language. Default value false.
                  * **cast_list** (int): Cast List Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **ratings** (int): Ratings Source, Default value 0 Possible options:
                    0:Rotten Tomatoes, 1:IMDb, 2:The Movie Database.
                  * **summary** (int): Plot Summary Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **country** (int): Default value 46 Possible options 0:Argentina, 1:Australia, 2:Austria,
                    3:Belgium, 4:Belize, 5:Bolivia, 6:Brazil, 7:Canada, 8:Chile, 9:Colombia, 10:Costa Rica,
                    11:Czech Republic, 12:Denmark, 13:Dominican Republic, 14:Ecuador, 15:El Salvador,
                    16:France, 17:Germany, 18:Guatemala, 19:Honduras, 20:Hong Kong SAR, 21:Ireland,
                    22:Italy, 23:Jamaica, 24:Korea, 25:Liechtenstein, 26:Luxembourg, 27:Mexico, 28:Netherlands,
                    29:New Zealand, 30:Nicaragua, 31:Panama, 32:Paraguay, 33:Peru, 34:Portugal,
                    35:Peoples Republic of China, 36:Puerto Rico, 37:Russia, 38:Singapore, 39:South Africa,
                    40:Spain, 41:Sweden, 42:Switzerland, 43:Taiwan, 44:Trinidad, 45:United Kingdom,
                    46:United States, 47:Uruguay, 48:Venezuela.
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **usage** (bool): Send anonymous usage data to Plex. Default value true.
  
              **TheMovieDB Movie Options** (com.plexapp.agents.themoviedb)
  
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **country** (int): Country (used for release date and content rating). Default value 47 Possible
                    options 0:, 1:Argentina, 2:Australia, 3:Austria, 4:Belgium, 5:Belize, 6:Bolivia, 7:Brazil, 8:Canada,
                    9:Chile, 10:Colombia, 11:Costa Rica, 12:Czech Republic, 13:Denmark, 14:Dominican Republic, 15:Ecuador,
                    16:El Salvador, 17:France, 18:Germany, 19:Guatemala, 20:Honduras, 21:Hong Kong SAR, 22:Ireland,
                    23:Italy, 24:Jamaica, 25:Korea, 26:Liechtenstein, 27:Luxembourg, 28:Mexico, 29:Netherlands,
                    30:New Zealand, 31:Nicaragua, 32:Panama, 33:Paraguay, 34:Peru, 35:Portugal,
                    36:Peoples Republic of China, 37:Puerto Rico, 38:Russia, 39:Singapore, 40:South Africa, 41:Spain,
                    42:Sweden, 43:Switzerland, 44:Taiwan, 45:Trinidad, 46:United Kingdom, 47:United States, 48:Uruguay,
                    49:Venezuela.
  
              **Show Preferences**
  
                  * **agent** (str): com.plexapp.agents.none, com.plexapp.agents.thetvdb, com.plexapp.agents.themoviedb
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **episodeSort** (int): Episode order. Default -1 Possible options: 0:Oldest first, 1:Newest first.
                  * **flattenSeasons** (int): Seasons. Default value 0 Possible options: 0:Show,1:Hide.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Series Scanner
  
              **TheTVDB Show Options** (com.plexapp.agents.thetvdb)
  
                  * **extras** (bool): Find trailers and extras automatically (Plex Pass required). Default value true.
                  * **native_subs** (bool): Include extras with subtitles in Library language. Default value false.
  
              **TheMovieDB Show Options** (com.plexapp.agents.themoviedb)
  
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **country** (int): Country (used for release date and content rating). Default value 47 options
                    0:, 1:Argentina, 2:Australia, 3:Austria, 4:Belgium, 5:Belize, 6:Bolivia, 7:Brazil, 8:Canada, 9:Chile,
                    10:Colombia, 11:Costa Rica, 12:Czech Republic, 13:Denmark, 14:Dominican Republic, 15:Ecuador,
                    16:El Salvador, 17:France, 18:Germany, 19:Guatemala, 20:Honduras, 21:Hong Kong SAR, 22:Ireland,
                    23:Italy, 24:Jamaica, 25:Korea, 26:Liechtenstein, 27:Luxembourg, 28:Mexico, 29:Netherlands,
                    30:New Zealand, 31:Nicaragua, 32:Panama, 33:Paraguay, 34:Peru, 35:Portugal,
                    36:Peoples Republic of China, 37:Puerto Rico, 38:Russia, 39:Singapore, 40:South Africa,
                    41:Spain, 42:Sweden, 43:Switzerland, 44:Taiwan, 45:Trinidad, 46:United Kingdom, 47:United States,
                    48:Uruguay, 49:Venezuela.
  
              **Other Video Preferences**
  
                  * **agent** (str): com.plexapp.agents.none, com.plexapp.agents.imdb, com.plexapp.agents.themoviedb
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **enableCinemaTrailers** (bool): Enable Cinema Trailers. Default value true.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Movie Scanner, Plex Video Files Scanner
  
              **IMDB Other Video Options** (com.plexapp.agents.imdb)
  
                  * **title** (bool): Localized titles. Default value false.
                  * **extras** (bool): Find trailers and extras automatically (Plex Pass required). Default value true.
                  * **only_trailers** (bool): Skip extras which aren't trailers. Default value false.
                  * **redband** (bool): Use red band (restricted audiences) trailers when available. Default value false.
                  * **native_subs** (bool): Include extras with subtitles in Library language. Default value false.
                  * **cast_list** (int): Cast List Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **ratings** (int): Ratings Source Default value 0 Possible options:
                    0:Rotten Tomatoes,1:IMDb,2:The Movie Database.
                  * **summary** (int): Plot Summary Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **country** (int): Country: Default value 46 Possible options: 0:Argentina, 1:Australia, 2:Austria,
                    3:Belgium, 4:Belize, 5:Bolivia, 6:Brazil, 7:Canada, 8:Chile, 9:Colombia, 10:Costa Rica,
                    11:Czech Republic, 12:Denmark, 13:Dominican Republic, 14:Ecuador, 15:El Salvador, 16:France,
                    17:Germany, 18:Guatemala, 19:Honduras, 20:Hong Kong SAR, 21:Ireland, 22:Italy, 23:Jamaica,
                    24:Korea, 25:Liechtenstein, 26:Luxembourg, 27:Mexico, 28:Netherlands, 29:New Zealand, 30:Nicaragua,
                    31:Panama, 32:Paraguay, 33:Peru, 34:Portugal, 35:Peoples Republic of China, 36:Puerto Rico,
                    37:Russia, 38:Singapore, 39:South Africa, 40:Spain, 41:Sweden, 42:Switzerland, 43:Taiwan, 44:Trinidad,
                    45:United Kingdom, 46:United States, 47:Uruguay, 48:Venezuela.
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **usage** (bool): Send anonymous usage data to Plex. Default value true.
  
              **TheMovieDB Other Video Options** (com.plexapp.agents.themoviedb)
  
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **country** (int): Country (used for release date and content rating). Default
                    value 47 Possible options 0:, 1:Argentina, 2:Australia, 3:Austria, 4:Belgium, 5:Belize,
                    6:Bolivia, 7:Brazil, 8:Canada, 9:Chile, 10:Colombia, 11:Costa Rica, 12:Czech Republic,
                    13:Denmark, 14:Dominican Republic, 15:Ecuador, 16:El Salvador, 17:France, 18:Germany,
                    19:Guatemala, 20:Honduras, 21:Hong Kong SAR, 22:Ireland, 23:Italy, 24:Jamaica,
                    25:Korea, 26:Liechtenstein, 27:Luxembourg, 28:Mexico, 29:Netherlands, 30:New Zealand,
                    31:Nicaragua, 32:Panama, 33:Paraguay, 34:Peru, 35:Portugal,
                    36:Peoples Republic of China, 37:Puerto Rico, 38:Russia, 39:Singapore,
                    40:South Africa, 41:Spain, 42:Sweden, 43:Switzerland, 44:Taiwan, 45:Trinidad,
                    46:United Kingdom, 47:United States, 48:Uruguay, 49:Venezuela.
          """; 34, assignment; 35, identifier:kwargs; 36, block; 37, call; 38, string_content:en; 39, identifier:part; 40, binary_operator:'/library/sections?name=%s&type=%s&agent=%s&scanner=%s&language=%s&location=%s' % (
              quote_plus(name), type, agent, quote_plus(scanner), language, quote_plus(location)); 41, expression_statement; 42, attribute; 43, argument_list; 44, string; 45, tuple; 46, augmented_assignment; 47, attribute; 48, identifier:query; 49, identifier:part; 50, keyword_argument; 51, string_content:/library/sections?name=%s&type=%s&agent=%s&scanner=%s&language=%s&location=%s; 52, call; 53, identifier:type; 54, identifier:agent; 55, call; 56, identifier:language; 57, call; 58, identifier:part; 59, call; 60, identifier:self; 61, identifier:_server; 62, identifier:method; 63, attribute; 64, identifier:quote_plus; 65, argument_list; 66, identifier:quote_plus; 67, argument_list; 68, identifier:quote_plus; 69, argument_list; 70, identifier:urlencode; 71, argument_list; 72, attribute; 73, identifier:post; 74, identifier:name; 75, identifier:scanner; 76, identifier:location; 77, identifier:kwargs; 78, attribute; 79, identifier:_session; 80, identifier:self; 81, identifier:_server
code: def add(self, name='', type='', agent='', scanner='', location='', language='en', *args, **kwargs):
          """ Simplified add for the most common options.
  
              Parameters:
                  name (str): Name of the library
                  agent (str): Example com.plexapp.agents.imdb
                  type (str): movie, show, # check me
                  location (str): /path/to/files
                  language (str): Two letter language fx en
                  kwargs (dict): Advanced options should be passed as a dict. where the id is the key.
  
              **Photo Preferences**
  
                  * **agent** (str): com.plexapp.agents.none
                  * **enableAutoPhotoTags** (bool): Tag photos. Default value false.
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Photo Scanner
  
              **Movie Preferences**
  
                  * **agent** (str): com.plexapp.agents.none, com.plexapp.agents.imdb, com.plexapp.agents.themoviedb
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **enableCinemaTrailers** (bool): Enable Cinema Trailers. Default value true.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Movie Scanner, Plex Video Files Scanner
  
              **IMDB Movie Options** (com.plexapp.agents.imdb)
  
                  * **title** (bool): Localized titles. Default value false.
                  * **extras** (bool): Find trailers and extras automatically (Plex Pass required). Default value true.
                  * **only_trailers** (bool): Skip extras which aren't trailers. Default value false.
                  * **redband** (bool): Use red band (restricted audiences) trailers when available. Default value false.
                  * **native_subs** (bool): Include extras with subtitles in Library language. Default value false.
                  * **cast_list** (int): Cast List Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **ratings** (int): Ratings Source, Default value 0 Possible options:
                    0:Rotten Tomatoes, 1:IMDb, 2:The Movie Database.
                  * **summary** (int): Plot Summary Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **country** (int): Default value 46 Possible options 0:Argentina, 1:Australia, 2:Austria,
                    3:Belgium, 4:Belize, 5:Bolivia, 6:Brazil, 7:Canada, 8:Chile, 9:Colombia, 10:Costa Rica,
                    11:Czech Republic, 12:Denmark, 13:Dominican Republic, 14:Ecuador, 15:El Salvador,
                    16:France, 17:Germany, 18:Guatemala, 19:Honduras, 20:Hong Kong SAR, 21:Ireland,
                    22:Italy, 23:Jamaica, 24:Korea, 25:Liechtenstein, 26:Luxembourg, 27:Mexico, 28:Netherlands,
                    29:New Zealand, 30:Nicaragua, 31:Panama, 32:Paraguay, 33:Peru, 34:Portugal,
                    35:Peoples Republic of China, 36:Puerto Rico, 37:Russia, 38:Singapore, 39:South Africa,
                    40:Spain, 41:Sweden, 42:Switzerland, 43:Taiwan, 44:Trinidad, 45:United Kingdom,
                    46:United States, 47:Uruguay, 48:Venezuela.
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **usage** (bool): Send anonymous usage data to Plex. Default value true.
  
              **TheMovieDB Movie Options** (com.plexapp.agents.themoviedb)
  
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **country** (int): Country (used for release date and content rating). Default value 47 Possible
                    options 0:, 1:Argentina, 2:Australia, 3:Austria, 4:Belgium, 5:Belize, 6:Bolivia, 7:Brazil, 8:Canada,
                    9:Chile, 10:Colombia, 11:Costa Rica, 12:Czech Republic, 13:Denmark, 14:Dominican Republic, 15:Ecuador,
                    16:El Salvador, 17:France, 18:Germany, 19:Guatemala, 20:Honduras, 21:Hong Kong SAR, 22:Ireland,
                    23:Italy, 24:Jamaica, 25:Korea, 26:Liechtenstein, 27:Luxembourg, 28:Mexico, 29:Netherlands,
                    30:New Zealand, 31:Nicaragua, 32:Panama, 33:Paraguay, 34:Peru, 35:Portugal,
                    36:Peoples Republic of China, 37:Puerto Rico, 38:Russia, 39:Singapore, 40:South Africa, 41:Spain,
                    42:Sweden, 43:Switzerland, 44:Taiwan, 45:Trinidad, 46:United Kingdom, 47:United States, 48:Uruguay,
                    49:Venezuela.
  
              **Show Preferences**
  
                  * **agent** (str): com.plexapp.agents.none, com.plexapp.agents.thetvdb, com.plexapp.agents.themoviedb
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **episodeSort** (int): Episode order. Default -1 Possible options: 0:Oldest first, 1:Newest first.
                  * **flattenSeasons** (int): Seasons. Default value 0 Possible options: 0:Show,1:Hide.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Series Scanner
  
              **TheTVDB Show Options** (com.plexapp.agents.thetvdb)
  
                  * **extras** (bool): Find trailers and extras automatically (Plex Pass required). Default value true.
                  * **native_subs** (bool): Include extras with subtitles in Library language. Default value false.
  
              **TheMovieDB Show Options** (com.plexapp.agents.themoviedb)
  
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **country** (int): Country (used for release date and content rating). Default value 47 options
                    0:, 1:Argentina, 2:Australia, 3:Austria, 4:Belgium, 5:Belize, 6:Bolivia, 7:Brazil, 8:Canada, 9:Chile,
                    10:Colombia, 11:Costa Rica, 12:Czech Republic, 13:Denmark, 14:Dominican Republic, 15:Ecuador,
                    16:El Salvador, 17:France, 18:Germany, 19:Guatemala, 20:Honduras, 21:Hong Kong SAR, 22:Ireland,
                    23:Italy, 24:Jamaica, 25:Korea, 26:Liechtenstein, 27:Luxembourg, 28:Mexico, 29:Netherlands,
                    30:New Zealand, 31:Nicaragua, 32:Panama, 33:Paraguay, 34:Peru, 35:Portugal,
                    36:Peoples Republic of China, 37:Puerto Rico, 38:Russia, 39:Singapore, 40:South Africa,
                    41:Spain, 42:Sweden, 43:Switzerland, 44:Taiwan, 45:Trinidad, 46:United Kingdom, 47:United States,
                    48:Uruguay, 49:Venezuela.
  
              **Other Video Preferences**
  
                  * **agent** (str): com.plexapp.agents.none, com.plexapp.agents.imdb, com.plexapp.agents.themoviedb
                  * **enableBIFGeneration** (bool): Enable video preview thumbnails. Default value true.
                  * **enableCinemaTrailers** (bool): Enable Cinema Trailers. Default value true.
                  * **includeInGlobal** (bool): Include in dashboard. Default value true.
                  * **scanner** (str): Plex Movie Scanner, Plex Video Files Scanner
  
              **IMDB Other Video Options** (com.plexapp.agents.imdb)
  
                  * **title** (bool): Localized titles. Default value false.
                  * **extras** (bool): Find trailers and extras automatically (Plex Pass required). Default value true.
                  * **only_trailers** (bool): Skip extras which aren't trailers. Default value false.
                  * **redband** (bool): Use red band (restricted audiences) trailers when available. Default value false.
                  * **native_subs** (bool): Include extras with subtitles in Library language. Default value false.
                  * **cast_list** (int): Cast List Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **ratings** (int): Ratings Source Default value 0 Possible options:
                    0:Rotten Tomatoes,1:IMDb,2:The Movie Database.
                  * **summary** (int): Plot Summary Source: Default value 1 Possible options: 0:IMDb,1:The Movie Database.
                  * **country** (int): Country: Default value 46 Possible options: 0:Argentina, 1:Australia, 2:Austria,
                    3:Belgium, 4:Belize, 5:Bolivia, 6:Brazil, 7:Canada, 8:Chile, 9:Colombia, 10:Costa Rica,
                    11:Czech Republic, 12:Denmark, 13:Dominican Republic, 14:Ecuador, 15:El Salvador, 16:France,
                    17:Germany, 18:Guatemala, 19:Honduras, 20:Hong Kong SAR, 21:Ireland, 22:Italy, 23:Jamaica,
                    24:Korea, 25:Liechtenstein, 26:Luxembourg, 27:Mexico, 28:Netherlands, 29:New Zealand, 30:Nicaragua,
                    31:Panama, 32:Paraguay, 33:Peru, 34:Portugal, 35:Peoples Republic of China, 36:Puerto Rico,
                    37:Russia, 38:Singapore, 39:South Africa, 40:Spain, 41:Sweden, 42:Switzerland, 43:Taiwan, 44:Trinidad,
                    45:United Kingdom, 46:United States, 47:Uruguay, 48:Venezuela.
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **usage** (bool): Send anonymous usage data to Plex. Default value true.
  
              **TheMovieDB Other Video Options** (com.plexapp.agents.themoviedb)
  
                  * **collections** (bool): Use collection info from The Movie Database. Default value false.
                  * **localart** (bool): Prefer artwork based on library language. Default value true.
                  * **adult** (bool): Include adult content. Default value false.
                  * **country** (int): Country (used for release date and content rating). Default
                    value 47 Possible options 0:, 1:Argentina, 2:Australia, 3:Austria, 4:Belgium, 5:Belize,
                    6:Bolivia, 7:Brazil, 8:Canada, 9:Chile, 10:Colombia, 11:Costa Rica, 12:Czech Republic,
                    13:Denmark, 14:Dominican Republic, 15:Ecuador, 16:El Salvador, 17:France, 18:Germany,
                    19:Guatemala, 20:Honduras, 21:Hong Kong SAR, 22:Ireland, 23:Italy, 24:Jamaica,
                    25:Korea, 26:Liechtenstein, 27:Luxembourg, 28:Mexico, 29:Netherlands, 30:New Zealand,
                    31:Nicaragua, 32:Panama, 33:Paraguay, 34:Peru, 35:Portugal,
                    36:Peoples Republic of China, 37:Puerto Rico, 38:Russia, 39:Singapore,
                    40:South Africa, 41:Spain, 42:Sweden, 43:Switzerland, 44:Taiwan, 45:Trinidad,
                    46:United Kingdom, 47:United States, 48:Uruguay, 49:Venezuela.
          """
          part = '/library/sections?name=%s&type=%s&agent=%s&scanner=%s&language=%s&location=%s' % (
              quote_plus(name), type, agent, quote_plus(scanner), language, quote_plus(location))  # noqa E126
          if kwargs:
              part += urlencode(kwargs)
          return self._server.query(part, method=self._server._session.post)