query
stringlengths
9
9.05k
document
stringlengths
10
222k
negatives
listlengths
19
20
metadata
dict
Return list of class/instance special names. Compute the list of special names based on the list of class attributes that are a DynamicProperty. Check also for class variables with special name and copy them at instance level Internal method, not intended to be accessed at user level.
def _setup_special_names(self): special_names = [] dynamic_params = tuple(set(self._fget_params_list + self._fset_params_list)) # Check whether class variables of DynamicProperty type are present for attr_name, attr in getmembers(self.__class__): if isinstance(attr, DynamicPr...
[ "def getFeatureNames(cls):\n attributes = inspect.getmembers(cls)\n features = [a[0][3:-12] for a in attributes if a[0].startswith('get') and a[0].endswith('FeatureValue')]\n return features", "def _get_base_class_names(frame):\n co, lasti = frame.f_code, frame.f_lasti\n code = co.co_code\n i = ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Return a list of all the Instrument's ChannelCreator and MultiChannelCreator instances
def get_channels(cls): class_members = getmembers(cls) channels = [] for name, member in class_members: if isinstance(member, CommonBase.BaseChannelCreator): channels.append((name, member)) return channels
[ "def _create_channels(self):\n for name, creator in CommonBase.get_channels(self.__class__):\n for cls, id in creator.pairs:\n # If channel pair was created with MultiChannelCreator\n # add channel interface to collection with passed attribute name\n if...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Return a list of all the Instrument's channel pairs
def get_channel_pairs(cls): channel_pairs = [] for name, creator in CommonBase.get_channels(cls): for pair in creator.pairs: channel_pairs.append(pair) return channel_pairs
[ "def channels():\n yield from _channels.values()", "def __list__(self):\n return self.sub_channels", "def get_channels():\n all_channels = channels\n emit(\"channels_all\", all_channels)", "def add_channel_info(self):\r\n new_kp = []\r\n for channel in self.keypoints.keys():\r\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Create channel interfaces for all the Instrument's channel pairs.
def _create_channels(self): for name, creator in CommonBase.get_channels(self.__class__): for cls, id in creator.pairs: # If channel pair was created with MultiChannelCreator # add channel interface to collection with passed attribute name if isinstanc...
[ "def _createChannels(self):\n self.store_port = self._createChannel()\n self.console_port = self._createChannel()", "def __extend_channel(self):\n channels = dict()\n if not self.subscribe or not len( self.subscribe ) :\n return channels\n\n for s in self.subscribe:\n...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Prevent read access to variables with special names used to support dynamic property behaviour.
def __getattribute__(self, name): if name in ('_special_names', '__dict__'): return super().__getattribute__(name) if hasattr(self, '_special_names'): if name in self._special_names: raise AttributeError( f"{name} is a reserved variable name an...
[ "def test_fail_priv_var_used(self): # suppress(no-self-use)\n script = \"message (${_VALUE})\\n\"\n with ExpectedException(LinterFailure):\n run_linter_throw(script, whitelist=[\"access/private_var\"])", "def _setup_special_names(self):\n special_names = []\n dynamic_params...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Return a property for the class based on the supplied commands. This property may be set and read from the
def control( # noqa: C901 accept that this is a complex method get_command, set_command, docs, validator=lambda v, vs: v, values=(), map_values=False, get_process=lambda v: v, set_process=lambda v: v, command_process=None, check_set_errors...
[ "def get_property(self, name):\n\t\treturn self.command(\"get_property\", name)", "def get_command(self,command):\n\t\treturn self.command_handlers[command]", "def get_property(self, property):\n return self.shell([\"getprop\", property])", "def command(self):\r\n return(self[\"command\"])", "...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Check for errors after having set a property and log them.
def check_set_errors(self): raise NotImplementedError("Implement it in a subclass.")
[ "def test_set_property_invalid(self):\r\n try:\r\n initial_value = self.config.values['option1']\r\n self.config.option1 = 'invalid'\r\n except Exception as e:\r\n self.assertIsInstance(e, InvalidOptionValueError)\r\n self.assertEqual(self.config.values['opt...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Sum passed sample reads from all lanes and runs. Return total reads in Milions
def _sum_reads_per_pool(self, pool): total_reads = 0.0 for sample in pool.samples: nr_lanes = 0 arts = lims.get_artifacts(samplelimsid = sample.id, process_type = self.process_types) for art in arts: if art.qc_flag == 'PASSED' and '# Reads' in art.udf:...
[ "def calculate_total_number_of_reads(conversionResults, numOfLanes, numOfSamples):\n total_number_of_reads = 0\n for lane in range(numOfLanes):\n for sample in range(numOfSamples):\n numberOfReads = int(conversionResults[lane][\"DemuxResults\"][sample][\"NumberReads\"])\n total_nu...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Sum passed sample reads from all lanes and runs. Return total reads in Milions
def sum_reads(self, sample): total_reads = 0.0 arts = lims.get_artifacts(samplelimsid = sample.id, process_type = self.process_types) for art in arts: if art.qc_flag == 'PASSED' and '# Reads' in art.udf: total_reads += float(art.udf.get('# Reads')) return tota...
[ "def calculate_total_number_of_reads(conversionResults, numOfLanes, numOfSamples):\n total_number_of_reads = 0\n for lane in range(numOfLanes):\n for sample in range(numOfSamples):\n numberOfReads = int(conversionResults[lane][\"DemuxResults\"][sample][\"NumberReads\"])\n total_nu...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Set Total Reads on all samps
def set_udfs(self): for samp in self.samples: M_reads = self.sum_reads(samp) try: samp.udf['Total Reads (M)'] = M_reads samp.put() self.passed_samps +=1 except: self.failed_samps +=1 pass
[ "def reads_total(self, reads_total):\n\n self._reads_total = reads_total", "def sum_reads(self, sample):\n total_reads = 0.0\n arts = lims.get_artifacts(samplelimsid = sample.id, process_type = self.process_types)\n for art in arts:\n if art.qc_flag == 'PASSED' and '# Reads'...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test last() for proper output in test cases ASSERTIONS.
def test_last(n, result): from last import last assert last(n) == result
[ "def test_last_trivial():\n i = repeat(1, 10)\n assert last(i) == 1", "def test_last(self):\n l_list = DoubleLinkedList()\n l_list.push(1234)\n l_list.push(12)\n self.assertEqual(l_list.get_list()[-1], l_list.last())", "def test_last_on_empty_iterable():\n with pytest.raises...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
测试数据: n = 6 物品的数量, c = 10 书包能承受的重量, w = [2, 2, 3, 1, 5, 2] 每个物品的重量, v = [2, 3, 1, 5, 4, 3] 每个物品的价值
def bag(n, c, w, v): # 置零,表示初始状态 value = [[0 for j in range(c + 1)] for i in range(n + 1)] for i in range(1, n + 1): for j in range(1, c + 1): value[i][j] = value[i - 1][j] # 背包总容量够放当前物体,遍历前一个状态考虑是否置换 if j >= w[i - 1] and value[i][j] < value[i - 1][j - w[i - 1]] +...
[ "def bag(self, n, c, w):\r\n # 置零,表示初始状态\r\n value = [[0 for j in range(c + 1)] for i in range(n + 1)]\r\n for i in range(1, n + 1):\r\n for j in range(1, c + 1):\r\n value[i][j] = value[i - 1][j]\r\n # 背包总容量够放当前物体,遍历前一个状态考虑是否置换\r\n if j >...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Check if a node has children. It is assumped that if a node has children it should not be polled, thus throw an error.
def _check_for_children(self): if len(self.node.get_children()) > 0: raise ValueError('This Node is not a leaf node. Children of this node ' 'are {}'.format(self.client.get_children()))
[ "def have_tree_children(self, node: Node) -> bool:\n pass", "def can_have_children(self):\n return self._children is not None", "def has_children(self):\n\n return len(self.children) == 0", "def has_children_elements(self):\n\n pass", "def has_children(context: TreeContext) -> bo...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Connects to O2 Sensor identified by Serial Number.
def connect(self): if self.port is not None: p = portscan(self.port) if p is not None: self.port = p.device self.ID = p.serial_number self.name = get_sensor_name(self.ID) else: raise serial.SerialException("Can't...
[ "def connect(self):\n self.arduino = Serial(self.port, self.baud_rate, timeout=self.timeout)", "def connect(self):\n # open serial port\n try:\n #device = self.get_device_name(self.serial_number)\n device = \"/dev/ttyAMA0\"\n self.serial.port = device\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Write last read batches of Temp and O2 to separate files in useful units.
def write_TempO2_batch(self, Tpath='Temp.csv', O2path='O2.csv', mode='water'): if mode == 'water': o2ind = 3 o2unit = 'umol/L' elif mode == 'air': o2ind = 13 o2unit = '% O2' else: raise ValueError("mode must be either 'water' or 'air'")...
[ "def truncate_outfiles(self):\n fname_templs = self.list_file_templs()\n for templ in fname_templs:\n for num in self.dumps_num_list:\n fname = self.fillin_fname_templ(templ, num)\n try:\n fdesc = open(self.get_abs_outdirpath(fname + \".tmp\"...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Returns the number of 'a's in the first n letters of a string consisting of infinitely repeating strings, s.
def repeatedString(s, n): count = 0 s_count_a = s.count('a') count += math.floor(n / len(s)) * s_count_a for _ in range(n % len(s)): if s[_] == 'a': count += 1 return count
[ "def repeated_string(s, n):\n full_repeat, slice_pos = divmod(n, len(s))\n a_counter = s.count('a') * full_repeat + s[:slice_pos].count('a')\n return a_counter", "def letters(s):\n # count = len(re.sub('[^A-Za-z]', '', s))\n count = len(re.sub('[^A-Za-z]', '', s))\n return count", "def substrC...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Get the hostname from the environment. Returns str The hostname of the simulation running computer.
def get_hostname(): host = os.getenv("OPSIM_HOSTNAME") if host is None or host == "": import socket host = socket.gethostname() host = host.split('.')[0] return host
[ "def get_hostname():\n try:\n return os.environ[HOSTNAME_ENV]\n except KeyError:\n # The user does not have a set $HOSTNAME. Since this is a common\n # scenario, return socket.gethostname instead of just erroring.\n return socket.gethostname()", "def get_hostname():\n return s...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Obtain image of a weather state given the abbreviation code for the weather state
def update_weather_image(self, weather_state_abbr): future = concurrent.futures.ThreadPoolExecutor().submit( getter.get_weather_image, weather_state_abbr ) image = future.result() return image
[ "def immunohistochemistry():\n return load(\"ihc.png\")", "def _get_weather_icon(self, status):\n if self.icon[status] is None:\n self.icon[status] = Image.open('assets/image/openweather/'+str(status)+\".png\")\n\n return self.icon[status]", "def weather_icon(weather_category):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Updates woeid, which is the location ID for getting weather from the metaweather API.
def update_weather_location_woeid(self): future = concurrent.futures.ThreadPoolExecutor().submit( getter.get_weather_location_woeid ) self.woeid = future.result()
[ "def setweather(self, irc, msg, args, optlocation):\n\n # set the weather id based on nick. This will update or set.\n self.db.setweather(msg.nick.lower(), optlocation)\n irc.reply(\"I have changed {0}'s weather ID to {1}\".format(msg.nick.lower(), optlocation))", "def wwid(self) -> str:\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Updates text for current weather condition, current temp, high temp, low temp and the weather picture.
def update(self, *args): if (datetime.datetime.now() - self.last_update_time).total_seconds() >= 1800: self.update_weather_location_woeid() self.weather = self.update_weather() self.weather_text.text = self.weather["weather_state_name"] self.image.texture = Core...
[ "def updateWeather(self):\n try:\n r = requests.get(\"http://api.wunderground.com/api/\" + self.API_key + \"/conditions/q/\" + self.userState + \"/\" + self.userCity + \".json\") # get json request\n data = r.json()\n print(data['current_observation'])\n weather = ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Returns the relative conversion efficiency modifier as a function of irradiance and ambient temperature. All parameters can be either float or pandas.Series.
def panel_relative_efficiency(self, irradiance, tamb, windspeed=None): if windspeed is None: windspeed = self.ref_windspeed if isinstance(self.temperature_params, str): self.temperature_params = pvlib.temperature.TEMPERATURE_MODEL_PARAMETERS[ "sapm" ][...
[ "def airfoilEffT(self):\n return float(Importer(Component='Evaluations',\n VariableName='Wing airfoil efficiency factor',\n Default=.95,\n Path=self.filePath).getValue)", "def airfoilEffW(self):\n return float(Imp...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Returns an optimal tilt angle for the given ``lat``, assuming that the panel is facing towards the equator, using a simple method from [1]. This method only works for latitudes between 0 and 50. For higher latitudes, a static 40 degree angle is returned. These results should be used with caution, but there is some evid...
def optimal_tilt(lat): lat = abs(lat) if lat <= 25: return lat * 0.87 elif lat <= 50: return (lat * 0.76) + 3.1 else: # lat > 50 # raise NotImplementedError('Not implemented for latitudes beyond 50.') return 40 # Simply use 40 degrees above lat 50
[ "def len_deg_lat(lat):\n # This is the length of one degree of latitude \n # approx. after WGS84, between lat-0.5deg and lat+0.5 deg\n # in m\n lat = pi/180*lat\n dlat = 111132.954 - 559.822 * np.cos(2*lat) + 1.175*np.cos(4*lat)\n return np.round(dlat,5)", "def circumference(self, lat):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Calculate the mean of a list of tensors for each tensor in the list. In our case the list typically contains a tensor for each class, such as the per class z values.
def get_means(tensors_list): means = [] for i in range(len(tensors_list)): if isinstance(tensors_list[i], torch.Tensor): means.append(torch.mean(tensors_list[i], dim=0)) else: means.append([]) return means
[ "def average_tensors(tensor_list, norm_fn=None, weights=None):\n n_tensors = len(tensor_list)\n if weights is None:\n weights = [1.0 / float(n_tensors)] * n_tensors\n if not isinstance(norm_fn, list):\n norm_fn = [norm_fn] * n_tensors\n assert n_tensors == len(weights)\n assert n_tensor...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Function to calculate distances between tensors, in our case the mean zs per class and z for each input. Wrapper around torch.nn.functonal distances with specification of which distance function to choose.
def calc_distances_to_means(means, tensors, distance_function='cosine'): def distance_func(a, b, w_eucl, w_cos): """ Weighted distance function consisting of cosine and euclidean components. Parameters: a (torch.Tensor): First tensor. b (torch.Tensor): Second tensor...
[ "def nn_distance(xyz1, xyz2):\n return _op_library.nn_distance(xyz1, xyz2)", "def dist(x0, y0, z0, x1, y1, z1):\n return np.sqrt( (x0-x1)**2 + (y0-y1)**2 + (z0-z1)**2 )", "def calc_distances(self, templates_features=None, batch_size=50000, th=0.2, beta=1.1):\n if templates_features is None:\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Weighted distance function consisting of cosine and euclidean components.
def distance_func(a, b, w_eucl, w_cos): d = w_cos * (1 - torch.nn.functional.cosine_similarity(a.view(1, -1), b)) + \ w_eucl * torch.nn.functional.pairwise_distance(a.view(1, -1), b, p=2) return d
[ "def wieghted_euclidean (o1,o2,w=0.1):\n o1 , o2= np.array(o1) , np.array(o2)\n return distance.wminkowski(o1,o2,1,w)", "def _pairwise_cosine_distance(embeddings):\r\n # TODO\r\n\r\n\r\n pass", "def _distance_from_weights(self, data):\n input_data = array(data)\n weights_flat = self._w...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Function to fit weibull models on distribution values per class. The distribution values in our case are the distances of an inputs approximate posterior value to the per class mean latent z, i.e. The Weibull model fits regions of high density and gives credible intervals. The tailsize specifies how many outliers are e...
def fit_weibull_models(distribution_values, tailsizes, num_max_fits=50): weibull_models = [] # loop through the list containing distance values per class for i in range(len(distribution_values)): # for each class set the initial success to False and number of attempts to 0 is_valid = False...
[ "def _base_dist(self, *args, **kwargs):\n return tfd.TransformedDistribution(\n distribution=tfd.Uniform(low=0.0, high=1.0),\n bijector=tfp.bijectors.Invert(tfp.bijectors.Weibull(*args, **kwargs)),\n name=\"Weibull\",\n )", "def __init__(self, quantity, dist_weights,...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Calculates statistical outlier probability using the weibull models' CDF. Note that we have coded this function to loop over each class because we have previously categorized the distances into their respective classes already.
def calc_outlier_probs(weibull_models, distances): outlier_probs = [] # loop through all classes, i.e. all available weibull models as there is one weibull model per class. for i in range(len(weibull_models)): # optionally convert the type of the distance vectors if isinstance(distances[i],...
[ "def identify_and_handel_outliers(self):\n col_list = [] # This will hold the column names created for the administration of the modified z-score test\n values_dropped = []\n cont_cols = self.df.select_dtypes(exclude=[\"category\"]).columns # Gets continous columns \n for col in cont_co...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Adds the given card(s) to the Hand. Accepts a single card or a list of cards.
def add_card(self, card): #Determines if there are more than one. if isinstance(card,list): for element in range(len(card)): #Creates a new hand new_hand=Hand([card[element]]) #Adds hand to list self.cards+= new_hand.cards ...
[ "def add_card(self, card):\r\n self.hand.append(card)", "def add_cards(self, cards):\r\n self.cards = cards + self.cards", "def add_card(self, card):\n self._hand.append(card)", "def add_card(self, card):\r\n self.cards += [card]", "def add_card(self, added_cards):\n\n sel...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Returns the number of cards in the Hand.
def num_cards(self): length=len(self.cards) return length
[ "def get_num_cards(self):\r\n return len(self.__hand)", "def get_num_cards(self):\n \n return self._hand.get_size()", "def numHandCards(g):\n return len(g.hand[g.whoseTurn])", "def count(self):\n return(len(self.cards))", "def count(self):\n return len(self.cards)", "...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Returns True if the Hand contains a card of the given name; otherwise, returns False.
def has_any(self, name): counter = 0 for element in self.cards: if name in str(element): counter += 1 if counter > 0: return True else: return False
[ "def does_player_have_card(self, player, card):\n return card in self.hands[player]", "def user_search_card(cls):\n found = False\n card_name = input('Enter the name of the card to be searched: ')\n for card in Controller.card_manager.cards:\n if Controller.card_manager.card...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for connect_post_namespaced_binary_build_request_options_instantiatebinary
def test_connect_post_namespaced_binary_build_request_options_instantiatebinary(self): pass
[ "def connect_post_namespaced_binary_build_request_options_instantiatebinary(self, namespace, name, **kwargs):\n\n all_params = ['namespace', 'name', 'as_file', 'revision_commit', 'revision_message', 'revision_author_name', 'revision_author_email', 'revision_committer_name', 'revision_committer_email']\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for connect_post_namespaced_status_webhooks
def test_connect_post_namespaced_status_webhooks(self): pass
[ "def test_connect_post_namespaced_status_webhooks_with_path(self):\n pass", "def connect_post_namespaced_status_webhooks(self, namespace, name, **kwargs):\n\n all_params = ['namespace', 'name', 'path']\n all_params.append('callback')\n\n params = locals()\n for key, val in iteri...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for connect_post_namespaced_status_webhooks_with_path
def test_connect_post_namespaced_status_webhooks_with_path(self): pass
[ "def test_connect_post_namespaced_status_webhooks(self):\n pass", "def connect_post_namespaced_status_webhooks(self, namespace, name, **kwargs):\n\n all_params = ['namespace', 'name', 'path']\n all_params.append('callback')\n\n params = locals()\n for key, val in iteritems(param...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_build_config_for_all_namespaces
def test_create_build_config_for_all_namespaces(self): pass
[ "def test_create_build_for_all_namespaces(self):\n pass", "def test_create_namespaced_build_config(self):\n pass", "def test_list_build_config_for_all_namespaces(self):\n pass", "def test_read_namespaced_build_config(self):\n pass", "def test_create_deployment_config_for_all_name...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_build_for_all_namespaces
def test_create_build_for_all_namespaces(self): pass
[ "def test_create_build_config_for_all_namespaces(self):\n pass", "def test_create_namespaced_build(self):\n pass", "def test_replace_namespaced_build(self):\n pass", "def test_read_namespaced_build(self):\n pass", "def test_create_namespaced_build_config(self):\n pass", ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_cluster_network
def test_create_cluster_network(self): pass
[ "def test_list_cluster_network(self):\n pass", "def test_replace_cluster_network(self):\n pass", "def test_delete_cluster_network(self):\n pass", "def test_read_cluster_network(self):\n pass", "def test_patch_cluster_network(self):\n pass", "def test_create_hyperflex_clu...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_cluster_policy
def test_create_cluster_policy(self): pass
[ "def test_create_hyperflex_cluster_network_policy(self):\n pass", "def test_create_cluster_policy_binding(self):\n pass", "def test_create_hyperflex_cluster_storage_policy(self):\n pass", "def test_replace_cluster_policy(self):\n pass", "def test_list_cluster_policy(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_cluster_policy_binding
def test_create_cluster_policy_binding(self): pass
[ "def test_replace_cluster_policy_binding(self):\n pass", "def test_patch_cluster_policy_binding(self):\n pass", "def test_create_cluster_policy(self):\n pass", "def test_list_cluster_policy_binding(self):\n pass", "def test_read_cluster_policy_binding(self):\n pass", "de...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_cluster_resource_quota
def test_create_cluster_resource_quota(self): pass
[ "def test_list_cluster_resource_quota(self):\n pass", "def test_replace_cluster_resource_quota(self):\n pass", "def test_patch_cluster_resource_quota(self):\n pass", "def test_delete_cluster_resource_quota(self):\n pass", "def test_read_cluster_resource_quota(self):\n pass...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_cluster_role
def test_create_cluster_role(self): pass
[ "def test_create_cluster_role_binding(self):\n pass", "def test_replace_cluster_role(self):\n pass", "def test_list_cluster_role(self):\n pass", "def test_create_role(self):\n pass", "def test_patch_cluster_role(self):\n pass", "def test_delete_cluster_role(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_cluster_role_binding
def test_create_cluster_role_binding(self): pass
[ "def test_replace_cluster_role_binding(self):\n pass", "def test_patch_cluster_role_binding(self):\n pass", "def test_list_cluster_role_binding(self):\n pass", "def test_read_cluster_role_binding(self):\n pass", "def test_create_cluster_role(self):\n pass", "def test_cre...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_deployment_config_for_all_namespaces
def test_create_deployment_config_for_all_namespaces(self): pass
[ "def test_create_namespaced_deployment_config(self):\n pass", "def test_generate_namespaced_deployment_config(self):\n pass", "def test_list_deployment_config_for_all_namespaces(self):\n pass", "def test_create_deployment_config_rollback_for_all_namespaces(self):\n pass", "def te...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_deployment_config_rollback_for_all_namespaces
def test_create_deployment_config_rollback_for_all_namespaces(self): pass
[ "def test_create_namespaced_deployment_config_rollback_rollback(self):\n pass", "def test_create_namespaced_deployment_config_rollback(self):\n pass", "def test_create_namespaced_deployment_rollback(self):\n pass", "def test_create_deployment_config_for_all_namespaces(self):\n pass...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_egress_network_policy_for_all_namespaces
def test_create_egress_network_policy_for_all_namespaces(self): pass
[ "def test_create_namespaced_egress_network_policy(self):\n pass", "def test_list_egress_network_policy_for_all_namespaces(self):\n pass", "def test_list_namespaced_egress_network_policy(self):\n pass", "def test_replace_namespaced_egress_network_policy(self):\n pass", "def test_p...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_group
def test_create_group(self): pass
[ "def test_verify_that_you_can_create_a_new_group():", "def test_create_resource_group(self):\n pass", "def test_user_group_controller_create(self):\n pass", "def test_add_group(self):\n pass", "def test_create_device_group(self):\n pass", "def create_group(self, groupdata: Dict...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_host_subnet
def test_create_host_subnet(self): pass
[ "def test_create_subnet(self):\n client_token = generate_client_token()\n subnet_name = 'test_subnet_name1' + client_token\n subnet_cidr = '192.168.0.64/26'\n self.assertEqual(\n type(self.the_client.create_subnet(subnet_name,\n 'cn-b...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_identity
def test_create_identity(self): pass
[ "def test_create_user_identity_mapping(self):\n pass", "def _valid_identity():\n return Identity(account_number=\"some account number\")", "def test_patch_identity(self):\n pass", "def test_read_identity(self):\n pass", "def m_create_identity(DID, domain_name, website, commercial...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_image
def test_create_image(self): pass
[ "def test_create_image_signature(self):\n pass", "def create_image(self, instance, name):", "def maketestimage(self, *args, **kwargs):\n return _image.image_maketestimage(self, *args, **kwargs)", "def test_created_image_successful(self):\n with tempfile.NamedTemporaryFile(suffix='.png') a...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_image_signature
def test_create_image_signature(self): pass
[ "def test_create_image(self):\n pass", "def test_delete_image_signature(self):\n pass", "def computeSignature(self, image, signature=None): # real signature unknown; restored from __doc__\n pass", "def test_get_device_signature(self):\n pass", "def test_create_namespaced_image_st...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_image_stream_for_all_namespaces
def test_create_image_stream_for_all_namespaces(self): pass
[ "def test_create_image_stream_tag_for_all_namespaces(self):\n pass", "def test_create_image_stream_mapping_for_all_namespaces(self):\n pass", "def test_create_namespaced_image_stream(self):\n pass", "def test_create_image_stream_import_for_all_namespaces(self):\n pass", "def test...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_image_stream_import_for_all_namespaces
def test_create_image_stream_import_for_all_namespaces(self): pass
[ "def test_create_namespaced_image_stream_import(self):\n pass", "def test_create_image_stream_for_all_namespaces(self):\n pass", "def test_create_image_stream_mapping_for_all_namespaces(self):\n pass", "def test_create_image_stream_tag_for_all_namespaces(self):\n pass", "def test...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_image_stream_mapping_for_all_namespaces
def test_create_image_stream_mapping_for_all_namespaces(self): pass
[ "def test_create_namespaced_image_stream_mapping(self):\n pass", "def test_create_image_stream_for_all_namespaces(self):\n pass", "def test_create_image_stream_tag_for_all_namespaces(self):\n pass", "def test_create_image_stream_import_for_all_namespaces(self):\n pass", "def test...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_image_stream_tag_for_all_namespaces
def test_create_image_stream_tag_for_all_namespaces(self): pass
[ "def test_create_namespaced_image_stream_tag(self):\n pass", "def test_create_image_stream_for_all_namespaces(self):\n pass", "def test_list_image_stream_tag_for_all_namespaces(self):\n pass", "def test_create_namespaced_image_stream(self):\n pass", "def test_create_image_stream_...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_local_resource_access_review_for_all_namespaces
def test_create_local_resource_access_review_for_all_namespaces(self): pass
[ "def test_create_resource_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_local_resource_access_review(self):\n pass", "def test_create_local_subject_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_resource_access_review(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_local_subject_access_review_for_all_namespaces
def test_create_local_subject_access_review_for_all_namespaces(self): pass
[ "def test_create_subject_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_local_subject_access_review(self):\n pass", "def test_create_namespaced_subject_access_review(self):\n pass", "def test_create_local_resource_access_review_for_all_namespaces(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_build
def test_create_namespaced_build(self): pass
[ "def test_create_build_for_all_namespaces(self):\n pass", "def test_create_namespaced_build_config(self):\n pass", "def test_replace_namespaced_build(self):\n pass", "def test_read_namespaced_build(self):\n pass", "def test_patch_namespaced_build(self):\n pass", "def tes...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_build_config
def test_create_namespaced_build_config(self): pass
[ "def test_create_build_config_for_all_namespaces(self):\n pass", "def test_read_namespaced_build_config(self):\n pass", "def test_replace_namespaced_build_config(self):\n pass", "def test_patch_namespaced_build_config(self):\n pass", "def test_create_namespaced_build(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_build_request_clone
def test_create_namespaced_build_request_clone(self): pass
[ "def test_create_namespaced_build_request_instantiate(self):\n pass", "def create_namespaced_build_request_clone(self, body, namespace, name, **kwargs):\n\n all_params = ['body', 'namespace', 'name', 'pretty']\n all_params.append('callback')\n\n params = locals()\n for key, val ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_build_request_instantiate
def test_create_namespaced_build_request_instantiate(self): pass
[ "def test_create_namespaced_deployment_request_instantiate(self):\n pass", "def test_create_namespaced_build_request_clone(self):\n pass", "def create_namespaced_build_request_instantiate(self, body, namespace, name, **kwargs):\n\n all_params = ['body', 'namespace', 'name', 'pretty']\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_deployment_config
def test_create_namespaced_deployment_config(self): pass
[ "def test_generate_namespaced_deployment_config(self):\n pass", "def test_create_namespaced_deployment(self):\n pass", "def test_create_deployment_config_for_all_namespaces(self):\n pass", "def test_create_namespaced_deployment_config_rollback(self):\n pass", "def test_replace_na...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_deployment_config_rollback
def test_create_namespaced_deployment_config_rollback(self): pass
[ "def test_create_namespaced_deployment_config_rollback_rollback(self):\n pass", "def test_create_namespaced_deployment_rollback(self):\n pass", "def test_create_deployment_config_rollback_for_all_namespaces(self):\n pass", "def test_create_namespaced_deployment_config(self):\n pass...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_deployment_config_rollback_rollback
def test_create_namespaced_deployment_config_rollback_rollback(self): pass
[ "def test_create_namespaced_deployment_config_rollback(self):\n pass", "def test_create_namespaced_deployment_rollback(self):\n pass", "def test_create_deployment_config_rollback_for_all_namespaces(self):\n pass", "def create_namespaced_deployment_config_rollback(self, body, namespace, **...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_deployment_request_instantiate
def test_create_namespaced_deployment_request_instantiate(self): pass
[ "def test_create_namespaced_build_request_instantiate(self):\n pass", "def test_create_namespaced_deployment(self):\n pass", "def test_create_namespaced_build_request_clone(self):\n pass", "def test_create_namespaced_deployment_config(self):\n pass", "def create_namespaced_build_...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_egress_network_policy
def test_create_namespaced_egress_network_policy(self): pass
[ "def test_replace_namespaced_egress_network_policy(self):\n pass", "def test_create_egress_network_policy_for_all_namespaces(self):\n pass", "def test_delete_namespaced_egress_network_policy(self):\n pass", "def test_patch_namespaced_egress_network_policy(self):\n pass", "def tes...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_image_stream
def test_create_namespaced_image_stream(self): pass
[ "def test_create_namespaced_image_stream_tag(self):\n pass", "def test_create_namespaced_image_stream_import(self):\n pass", "def test_create_namespaced_image_stream_mapping(self):\n pass", "def test_create_image_stream_for_all_namespaces(self):\n pass", "def test_read_namespaced...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_image_stream_import
def test_create_namespaced_image_stream_import(self): pass
[ "def test_create_namespaced_image_stream(self):\n pass", "def test_create_image_stream_import_for_all_namespaces(self):\n pass", "def test_create_namespaced_image_stream_tag(self):\n pass", "def test_create_namespaced_image_stream_mapping(self):\n pass", "def test_read_namespaced...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_image_stream_mapping
def test_create_namespaced_image_stream_mapping(self): pass
[ "def test_create_image_stream_mapping_for_all_namespaces(self):\n pass", "def test_create_namespaced_image_stream(self):\n pass", "def test_create_namespaced_image_stream_import(self):\n pass", "def test_create_namespaced_image_stream_tag(self):\n pass", "def test_create_image_st...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_image_stream_tag
def test_create_namespaced_image_stream_tag(self): pass
[ "def test_create_namespaced_image_stream(self):\n pass", "def test_create_image_stream_tag_for_all_namespaces(self):\n pass", "def test_replace_namespaced_image_stream_tag(self):\n pass", "def test_patch_namespaced_image_stream_tag(self):\n pass", "def test_read_namespaced_image_...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_local_resource_access_review
def test_create_namespaced_local_resource_access_review(self): pass
[ "def test_create_namespaced_resource_access_review(self):\n pass", "def test_create_local_resource_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_local_subject_access_review(self):\n pass", "def test_create_resource_access_review_for_all_namespaces(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_local_subject_access_review
def test_create_namespaced_local_subject_access_review(self): pass
[ "def test_create_namespaced_subject_access_review(self):\n pass", "def test_create_local_subject_access_review_for_all_namespaces(self):\n pass", "def test_create_subject_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_local_resource_access_review(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_pod_security_policy_review
def test_create_namespaced_pod_security_policy_review(self): pass
[ "def test_create_namespaced_pod_security_policy_subject_review(self):\n pass", "def test_create_namespaced_pod_security_policy_self_subject_review(self):\n pass", "def test_create_pod_security_policy_review_for_all_namespaces(self):\n pass", "def test_create_pod_security_policy(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_pod_security_policy_self_subject_review
def test_create_namespaced_pod_security_policy_self_subject_review(self): pass
[ "def test_create_namespaced_pod_security_policy_subject_review(self):\n pass", "def test_create_pod_security_policy_self_subject_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_pod_security_policy_review(self):\n pass", "def test_create_pod_security_policy_subject_re...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_pod_security_policy_subject_review
def test_create_namespaced_pod_security_policy_subject_review(self): pass
[ "def test_create_namespaced_pod_security_policy_self_subject_review(self):\n pass", "def test_create_pod_security_policy_subject_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_pod_security_policy_review(self):\n pass", "def test_create_pod_security_policy_self_subje...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_policy
def test_create_namespaced_policy(self): pass
[ "def test_create_namespaced_network_policy(self):\n pass", "def test_create_namespaced_policy_binding(self):\n pass", "def test_create_policy_for_all_namespaces(self):\n pass", "def test_create_namespaced_pod_security_policy_review(self):\n pass", "def test_replace_namespaced_pol...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_policy_binding
def test_create_namespaced_policy_binding(self): pass
[ "def test_create_namespaced_policy(self):\n pass", "def test_create_policy_binding_for_all_namespaces(self):\n pass", "def test_replace_namespaced_policy_binding(self):\n pass", "def test_create_namespaced_network_policy(self):\n pass", "def test_patch_namespaced_policy_binding(s...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_processed_template
def test_create_namespaced_processed_template(self): pass
[ "def test_create_namespaced_template(self):\n pass", "def test_create_processed_template_for_all_namespaces_v1(self):\n pass", "def test_create_template_for_all_namespaces(self):\n pass", "def test_read_namespaced_template(self):\n pass", "def test_replace_namespaced_template(sel...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_resource_access_review
def test_create_namespaced_resource_access_review(self): pass
[ "def test_create_resource_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_local_resource_access_review(self):\n pass", "def test_create_namespaced_subject_access_review(self):\n pass", "def test_create_local_resource_access_review_for_all_namespaces(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_role
def test_create_namespaced_role(self): pass
[ "def test_create_role_for_all_namespaces(self):\n pass", "def test_create_namespaced_role_binding(self):\n pass", "def test_create_role(self):\n pass", "def test_create_cluster_role(self):\n pass", "def test_replace_namespaced_role(self):\n pass", "def test_create_namesp...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_role_binding
def test_create_namespaced_role_binding(self): pass
[ "def test_create_namespaced_role_binding_restriction(self):\n pass", "def test_create_namespaced_role(self):\n pass", "def test_create_role_binding_for_all_namespaces(self):\n pass", "def test_replace_namespaced_role_binding(self):\n pass", "def test_create_cluster_role_binding(s...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_role_binding_restriction
def test_create_namespaced_role_binding_restriction(self): pass
[ "def test_create_namespaced_role_binding(self):\n pass", "def test_replace_namespaced_role_binding_restriction(self):\n pass", "def test_create_role_binding_restriction_for_all_namespaces(self):\n pass", "def test_patch_namespaced_role_binding_restriction(self):\n pass", "def tes...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_route
def test_create_namespaced_route(self): pass
[ "def test_create_route_for_all_namespaces(self):\n pass", "def test_replace_namespaced_route(self):\n pass", "def test_patch_namespaced_route(self):\n pass", "def test_read_namespaced_route(self):\n pass", "def test_list_namespaced_route(self):\n pass", "def test_delete_...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_self_subject_rules_review
def test_create_namespaced_self_subject_rules_review(self): pass
[ "def test_create_namespaced_subject_rules_review(self):\n pass", "def test_create_self_subject_rules_review_for_all_namespaces(self):\n pass", "def test_create_subject_rules_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_subject_access_review(self):\n pass", ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_subject_access_review
def test_create_namespaced_subject_access_review(self): pass
[ "def test_create_namespaced_local_subject_access_review(self):\n pass", "def test_create_subject_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_subject_rules_review(self):\n pass", "def test_create_local_subject_access_review_for_all_namespaces(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_subject_rules_review
def test_create_namespaced_subject_rules_review(self): pass
[ "def test_create_subject_rules_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_self_subject_rules_review(self):\n pass", "def test_create_self_subject_rules_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_subject_access_review(self):\n pa...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_namespaced_template
def test_create_namespaced_template(self): pass
[ "def test_create_namespaced_processed_template(self):\n pass", "def test_create_template_for_all_namespaces(self):\n pass", "def test_create_processed_template_for_all_namespaces_v1(self):\n pass", "def test_replace_namespaced_template(self):\n pass", "def test_read_namespaced_te...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_net_namespace
def test_create_net_namespace(self): pass
[ "def test_replace_net_namespace(self):\n pass", "def test_create_namespaced_network_policy(self):\n pass", "def test_create_namespace(self):\n\n status, body = self.api_create_namespace(self.current_db, self.test_ns)\n self.assertEqual(True, status == self.API_STATUS['success'], body...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_o_auth_access_token
def test_create_o_auth_access_token(self): pass
[ "def test_create_obtain_auth_token(self):\n pass", "def test_create_o_auth_authorize_token(self):\n pass", "def test_get_access_token(self):\n pass", "def test_read_o_auth_access_token(self):\n pass", "def test_list_o_auth_access_token(self):\n pass", "def test_access_to...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_o_auth_authorize_token
def test_create_o_auth_authorize_token(self): pass
[ "def test_create_o_auth_access_token(self):\n pass", "def test_read_o_auth_authorize_token(self):\n pass", "def test_create_obtain_auth_token(self):\n pass", "def test_list_o_auth_authorize_token(self):\n pass", "def test_patch_o_auth_authorize_token(self):\n pass", "def...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_o_auth_client
def test_create_o_auth_client(self): pass
[ "def test_create_o_auth_client_authorization(self):\n pass", "def test_create_o_auth2_client(self):\n pass", "def test_create_client(self):\n pass", "def test_get_o_auth2_client(self):\n pass", "def test_set_o_auth2_client(self):\n pass", "def test_client_create(self):\n...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_o_auth_client_authorization
def test_create_o_auth_client_authorization(self): pass
[ "def test_create_o_auth_client(self):\n pass", "def test_create_o_auth2_client(self):\n pass", "def test_replace_o_auth_client_authorization(self):\n pass", "def test_read_o_auth_client_authorization(self):\n pass", "def test_list_o_auth_client_authorization(self):\n pass"...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_pod_security_policy_review_for_all_namespaces
def test_create_pod_security_policy_review_for_all_namespaces(self): pass
[ "def test_create_pod_security_policy_subject_review_for_all_namespaces(self):\n pass", "def test_create_pod_security_policy_self_subject_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_pod_security_policy_review(self):\n pass", "def test_create_namespaced_pod_securit...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_pod_security_policy_self_subject_review_for_all_namespaces
def test_create_pod_security_policy_self_subject_review_for_all_namespaces(self): pass
[ "def test_create_pod_security_policy_subject_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_pod_security_policy_self_subject_review(self):\n pass", "def test_create_pod_security_policy_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_pod_securit...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_pod_security_policy_subject_review_for_all_namespaces
def test_create_pod_security_policy_subject_review_for_all_namespaces(self): pass
[ "def test_create_pod_security_policy_self_subject_review_for_all_namespaces(self):\n pass", "def test_create_pod_security_policy_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_pod_security_policy_subject_review(self):\n pass", "def test_create_namespaced_pod_securit...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_policy_binding_for_all_namespaces
def test_create_policy_binding_for_all_namespaces(self): pass
[ "def test_create_policy_for_all_namespaces(self):\n pass", "def test_create_namespaced_policy_binding(self):\n pass", "def test_list_policy_binding_for_all_namespaces(self):\n pass", "def test_create_role_binding_restriction_for_all_namespaces(self):\n pass", "def test_create_rol...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_policy_for_all_namespaces
def test_create_policy_for_all_namespaces(self): pass
[ "def test_create_policy_binding_for_all_namespaces(self):\n pass", "def test_create_namespaced_policy(self):\n pass", "def test_list_policy_for_all_namespaces(self):\n pass", "def test_list_network_policy_for_all_namespaces(self):\n pass", "def test_create_pod_security_policy_rev...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_processed_template_for_all_namespaces_v1
def test_create_processed_template_for_all_namespaces_v1(self): pass
[ "def test_create_template_for_all_namespaces(self):\n pass", "def test_create_namespaced_processed_template(self):\n pass", "def test_create_namespaced_template(self):\n pass", "def test_list_template_for_all_namespaces(self):\n pass", "def test_read_namespaced_template(self):\n ...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_project_request
def test_create_project_request(self): pass
[ "def test_create_project(self):\n pass", "def test_iam_project_create(self):\n pass", "def test_projects_create(self):\n pass", "def test_api_projects_post(self):\n pass", "def test_create_project_invalid(self):\n payload = {'name': '', 'organization': self.ngo}\n r...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_resource_access_review_for_all_namespaces
def test_create_resource_access_review_for_all_namespaces(self): pass
[ "def test_create_local_resource_access_review_for_all_namespaces(self):\n pass", "def test_create_namespaced_resource_access_review(self):\n pass", "def test_create_subject_access_review_for_all_namespaces(self):\n pass", "def test_create_local_subject_access_review_for_all_namespaces(sel...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_role_binding_for_all_namespaces
def test_create_role_binding_for_all_namespaces(self): pass
[ "def test_create_role_binding_restriction_for_all_namespaces(self):\n pass", "def test_create_namespaced_role_binding(self):\n pass", "def test_create_role_for_all_namespaces(self):\n pass", "def test_list_role_binding_for_all_namespaces(self):\n pass", "def test_create_namespace...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
Test case for create_role_binding_restriction_for_all_namespaces
def test_create_role_binding_restriction_for_all_namespaces(self): pass
[ "def test_create_namespaced_role_binding_restriction(self):\n pass", "def test_create_role_binding_for_all_namespaces(self):\n pass", "def test_list_role_binding_restriction_for_all_namespaces(self):\n pass", "def test_list_namespaced_role_binding_restriction(self):\n pass", "def...
{ "objective": { "paired": [], "self": [], "triplet": [ [ "query", "document", "negatives" ] ] } }