query
stringlengths
10
2k
document
stringlengths
20
51.2k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Compute crossentropy loss on argument labels.
def _get_argument_loss(self, argument_scores, argument_labels): # Need to add one for the null class. scores_flat = argument_scores.view(-1, self._n_argument_labels + 1) # Need to add 1 so that the null label is 0, to line up with indices into prediction matrix. labels_flat = argument_la...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cross_entropy_loss(self, logits, labels):\n return F.cross_entropy(logits, labels)", "def cross_entropy_loss(outputs, labels): \n# works properly\n \n m = labels.shape[0]\n p = outputs\n log_likelihood = -1*torch.log(p[range(m),labels])\n loss = torch.sum(log_likelihood) / m\n retu...
[ "0.8102463", "0.8009125", "0.7812815", "0.770733", "0.76494616", "0.76321894", "0.76148593", "0.7476527", "0.7463156", "0.746285", "0.74615985", "0.73371905", "0.7329349", "0.7317724", "0.7315477", "0.729111", "0.7275848", "0.7269455", "0.7262822", "0.7262822", "0.7259871", ...
0.6669383
93
Get the method this WebEngine request is using.
def get_method(self) -> MethodStr: return METHODS.inverse[self.method()]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getMethod(self):\n return self.__get('method')", "def get_requestmethod(self):\n return self.request.method.lower()", "def which_method(event):\n return event['context']['http_method']", "def method(self):\n return self._method", "def method(self):\n return self._method",...
[ "0.79956245", "0.7764374", "0.76037395", "0.75965124", "0.75965124", "0.7302585", "0.7271048", "0.7250398", "0.7209776", "0.7179296", "0.70942783", "0.70201075", "0.70163155", "0.6868091", "0.68232745", "0.6808924", "0.68051755", "0.6798631", "0.6798412", "0.6745954", "0.6728...
0.67528003
19
Convert from dayHour to hours
def dayHourToHours(dayHour): return dayHour[0] * 24 + dayHour[1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hoursToDayHour(hours):\n day = hours%(7*24)/24\n hour = hours%(7*24) - day*24\n return (day, hour)", "def date_hour(date):\n return date.hour", "def calculate_hours(time):\n return int(time / 3600)", "def hours(input=None):\n return get(input).hours", "def hours_to_24h_tim...
[ "0.7937075", "0.72407734", "0.6999563", "0.6841289", "0.6720024", "0.6616497", "0.6584598", "0.6558432", "0.65180236", "0.64602065", "0.64420825", "0.6441045", "0.64111125", "0.64073116", "0.63957", "0.63636094", "0.63547444", "0.63547444", "0.63547444", "0.63547444", "0.6290...
0.8912514
0
Convert from hours to dayHour
def hoursToDayHour(hours): day = hours%(7*24)/24 hour = hours%(7*24) - day*24 return (day, hour)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dayHourToHours(dayHour):\n return dayHour[0] * 24 + dayHour[1]", "def date_hour(date):\n return date.hour", "def hours_to_24h_time(hours: float) -> str:\n return (\n dt.datetime(2001, 1, 2) + dt.timedelta(hours=hours)\n ).time().isoformat()", "def AstroDecHours2DecDay(decimalHo...
[ "0.8397278", "0.6978807", "0.69219255", "0.6762243", "0.66276217", "0.65281284", "0.65052354", "0.64798987", "0.6394315", "0.638083", "0.63314813", "0.63003474", "0.62778425", "0.6271165", "0.62147826", "0.62147826", "0.62147826", "0.62147826", "0.61698496", "0.61328834", "0....
0.8153483
1
if the file ext include in suffixList
def suffix(file_, suffix_list_): array = map(file_.endswith, suffix_list_) if True in array: return True else: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def matching_file(suffixes, file_name):\n (root, ext) = os.path.splitext(file_name)\n\n if len(ext) > 1:\n return ext in suffixes\n else:\n return False", "def is_suffix_right(file: Path, extension: str):\n ext = extension.lower()\n fext = file.suffix.lower()[1:]\n jpgs = {\"jpg\"...
[ "0.7285265", "0.72546804", "0.716655", "0.71057785", "0.7014613", "0.69920236", "0.6939772", "0.69129694", "0.6875441", "0.681909", "0.6750354", "0.6732758", "0.6678505", "0.6616039", "0.657233", "0.6570268", "0.6565933", "0.655888", "0.65397346", "0.6522987", "0.65096575", ...
0.8070566
0
returnd female ratio in movie crew for all movies or NULL if data is missing.
def get_female_diversity_movies_lst(): cnx,cur = connect_to_db() #get connection with db cur.execute("SELECT movies.movie_id, movies.title as title, COUNT(IF(profile.gender='1',1,NULL)) / NULLIF(COUNT(IF(profile.gender='1',1,NULL))+COUNT(IF(profile.gender='2',1,NULL)), 0) as ratio" + " FROM movi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _find_male_female_percentage():\r\n count, male = 0, 0\r\n for resource in resources:\r\n patient = resource[\"resource\"]\r\n if \"gender\" in patient:\r\n count += 1\r\n if patient[\"gender\"] == \"male\":\r\n male += 1\r\n if count == 0:\r\n ...
[ "0.63052785", "0.56925154", "0.5619383", "0.5616633", "0.5566029", "0.5447945", "0.5386111", "0.5260145", "0.52555877", "0.52282083", "0.51620466", "0.5156269", "0.5154307", "0.5144613", "0.5082942", "0.5081683", "0.5070487", "0.5065608", "0.5051129", "0.50402385", "0.5029965...
0.6855065
0
the distance between XYZ1 and XYZ2
def distance(XYZ1=np.array([0, 0, 0], dtype='float32'), XYZ2=np.array([1, 1, 1], dtype='float32')): a=XYZ2-XYZ1 b=a**2 c=b.sum() return np.sqrt(c)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def distance_checker(xyz1, xyz2):\n return math.sqrt((xyz1[0] - xyz2[0])**2 + (xyz1[1] - xyz2[1])**2 +\n (xyz1[2] - xyz2[2])**2)", "def distance(self, coord1, coord2):\n return (abs(coord1.x - coord2.x) + abs(coord1.y - coord2.y) + abs(coord1.z - coord2.z))//2", "def nn_distance(xyz1,...
[ "0.83254284", "0.8035158", "0.79549634", "0.7812954", "0.77764976", "0.77309227", "0.77300996", "0.7622272", "0.76175225", "0.75870013", "0.75810266", "0.7580824", "0.75692993", "0.7559177", "0.7554321", "0.75298625", "0.752346", "0.75219285", "0.751534", "0.7510841", "0.7505...
0.8461445
0
Gets a closure to create a dataset.
def get_dataset_fn(input_file_pattern, max_seq_length, global_batch_size, is_training=True): def _dataset_fn(ctx=None): """Returns tf.data.Dataset for distributed BERT pretraining.""" batch_size = ctx.get_per_replica_batch_size( global_batch_size) if ctx else global_batch_size dataset = input_pipe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def factory(*args):\n\n def wrapper(dataset):\n return Factory(dataset, *args)\n\n return wrapper", "def make_dataset(self, df, **kwargs):\n\t\treturn df", "def _dataset_fn(ctx=None):\n batch_size = ctx.get_per_replica_batch_size(\n global_batch_size) if ctx else global_batch_size\n d...
[ "0.6588046", "0.658119", "0.6396186", "0.6310189", "0.6294536", "0.6237167", "0.6173231", "0.6093439", "0.6092594", "0.60310817", "0.6002282", "0.59597456", "0.58807504", "0.5831867", "0.58302253", "0.58297914", "0.5824391", "0.58216435", "0.5819279", "0.5791462", "0.578119",...
0.5812544
19
Hide the entire view.
def hide(self): self.root.iconify() # self.root.withdraw()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hide(self):\n self.set_visible(False)", "def hide(self):\n self.visible = False", "def unHide(self):\n self.visible = True", "def hide(self):\r\n\t\tself.frame.Show(False)", "def hide(self):\n self.frame.grid_forget()\n self.visible = False", "def hide(self):\n ...
[ "0.8425587", "0.83607894", "0.7973642", "0.79577565", "0.7895819", "0.765344", "0.76267797", "0.755318", "0.75408214", "0.7514902", "0.7514902", "0.75087017", "0.7473274", "0.73759073", "0.73759073", "0.73061174", "0.7271944", "0.72521824", "0.7233293", "0.72282916", "0.72261...
0.70489204
27
Hide the widget in its parent.
def hide(self): self.frame.grid_forget() self.visible = False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HideMe(self, event):\n self.Hide()", "def hide(self):\n self.set_visible(False)", "def hide(self):\n\n # if there is no view/dockable, then there's nothing to try and hide\n if not(self.view and self.dockable):\n return\n\n # hide the dockable, and drop referen...
[ "0.7513122", "0.74928373", "0.73922265", "0.7233782", "0.722061", "0.7176195", "0.705322", "0.70229745", "0.701327", "0.701327", "0.7010614", "0.69770014", "0.6962978", "0.6950961", "0.6950961", "0.6927654", "0.6921892", "0.68977654", "0.6892662", "0.67627656", "0.6737297", ...
0.7245465
3
Sets the current time as the span's end time. The span's end time is the wall time at which the operation finished. Only the first call to `end` should modify the span, and implementations are free to ignore or raise on further calls.
def end(self, end_time: Optional[int] = None) -> None: is_transaction = isinstance(self.elastic_span, elasticapm.traces.Transaction) if self.elastic_span.ended_time: # Already ended return self._set_types() if end_time: if is_transaction: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def end_time(self, end_time):\n self._end_time = end_time", "def end_time(self, end_time):\n self._end_time = end_time", "def end_time(self, end_time):\n\n self._end_time = end_time", "def end_time(self, end_time):\n\n self._end_time = end_time", "def end_time(self, end_time):\n...
[ "0.702914", "0.702914", "0.698572", "0.698572", "0.698572", "0.6508229", "0.6377876", "0.63630885", "0.62174535", "0.62174535", "0.62174535", "0.62154895", "0.6207471", "0.618974", "0.61672926", "0.6044099", "0.5993276", "0.59559345", "0.59235346", "0.59204894", "0.59154135",...
0.69964254
2
Gets the span's SpanContext. Get an immutable, serializable identifier for this span that can be used to create new child spans.
def get_span_context(self) -> "SpanContext": return SpanContext( trace_id=int(self.elastic_span.transaction.trace_parent.trace_id, base=16), span_id=int(self.elastic_span.id, base=16), is_remote=False, trace_flags=TraceFlags( TraceFlags.SAMPLED if ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_current_span(cls) -> Span:\n return execution_context.get_current_span()", "def span_instance(self) -> Span:\n return self._span_instance", "def _find_parent_span_id(span: Span) -> bytes:\n for ref in span.references:\n ref: SpanRef = ref\n if ref.trace_id == ...
[ "0.69673425", "0.6701817", "0.6398975", "0.6025314", "0.5992022", "0.5902299", "0.54798776", "0.528805", "0.52552825", "0.5177428", "0.5167686", "0.5156717", "0.51151973", "0.5110383", "0.5087465", "0.5058877", "0.50387514", "0.501822", "0.50158745", "0.4972219", "0.4968383",...
0.74331594
0
Returns whether this span will be recorded. Returns true if this Span is active and recording information like events with the add_event operation and attributes using set_attribute.
def is_recording(self) -> bool: return self.elastic_span.transaction.is_sampled and not self.elastic_span.ended_time
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_recording(self):\n return self._isrecording", "def is_recording(self):\n return self._recording_status in RECORDING_STATUS", "def is_recording(self):\n return True if self._device.device_data[self._uuid]['streaming_state'] == \\\n 'streaming-enabled' else False", "def i...
[ "0.6949476", "0.68603706", "0.6636954", "0.6536332", "0.64022106", "0.632599", "0.6308412", "0.5990814", "0.5946713", "0.5778547", "0.57752436", "0.5753895", "0.57518107", "0.57408404", "0.57110083", "0.570826", "0.5706867", "0.5700976", "0.5697869", "0.5695388", "0.5680746",...
0.76505053
0
Checks if board is in a solved state.
def checkSolution(self): movesToEndblock = self.gridSize - self.changeable[0] - 2 if self.checkMove(0,movesToEndblock) == 0: return 0 return 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def check_if_solved(self):\n for cell in self.board.values():\n if not cell.value:\n return False\n return True", "def is_solved(self):\n # Asserting board is valid.\n if not self.is_legal():\n return False\n\n # Asserting board is filled.\n...
[ "0.7789804", "0.75899243", "0.74068826", "0.7302252", "0.7251156", "0.71808815", "0.71563005", "0.7116314", "0.7106331", "0.70899355", "0.7086659", "0.7077491", "0.7004577", "0.7004577", "0.7004577", "0.69862014", "0.6950134", "0.6928772", "0.6918604", "0.68893975", "0.685660...
0.6930763
17
Rotates 3D vector around xaxis
def yz_rotation(vector,theta): R = np.array([[1,0,0], [0, np.cos(theta),-np.sin(theta)], [0, np.sin(theta), np.cos(theta)] ]) return np.dot(R,vector)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_rotate_around_v3_x_axis(self):\n from pedemath.vec3 import rotate_around_vector_v3\n\n vec_a = Vec3(3, 4, 5)\n vec_b = Vec3(1, 0, 0)\n\n result = rotate_around_vector_v3(vec_a, math.pi, vec_b)\n expected = Vec3(3, -4, -5)\n\n self.assertAlmostEqual(result.x, expec...
[ "0.745216", "0.7168547", "0.70707", "0.69359255", "0.6822147", "0.6791827", "0.6783231", "0.67001414", "0.65974534", "0.6565518", "0.65377605", "0.6484106", "0.642753", "0.6423596", "0.63623005", "0.635896", "0.6336873", "0.6317931", "0.628146", "0.62749773", "0.62749773", ...
0.59281087
70
Rotates 3D vector around zaxis
def xy_rotation(vector,theta): R = np.array([[np.cos(theta), -np.sin(theta),0], [np.sin(theta), np.cos(theta),0], [0,0,1] ]) return np.dot(R,vector)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_rotate_around_v3_z_axis(self):\n from pedemath.vec3 import rotate_around_vector_v3\n\n vec_a = Vec3(3, 4, 5)\n vec_b = Vec3(0, 0, 1)\n\n result = rotate_around_vector_v3(vec_a, math.pi, vec_b)\n expected = Vec3(-3, -4, 5)\n\n self.assertAlmostEqual(result.x, expec...
[ "0.79685146", "0.7772246", "0.7456548", "0.7281333", "0.72764075", "0.72690815", "0.72690815", "0.72690815", "0.72690815", "0.7200916", "0.71885866", "0.71765435", "0.7049393", "0.7039442", "0.70344377", "0.69698024", "0.69606864", "0.6939838", "0.69331735", "0.6882503", "0.6...
0.6206452
62
Determine if the price history is completewe can't use stocks with partial histories.
def are_historical_prices_complete(self, required_num_historical_prices: int) -> bool: if required_num_historical_prices == -1: # -1 signals that we're in test mode, so price history is always valid return True else: return len(self.price_history) == required_num_hist...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_out_of_stock(self) -> bool:\n return self.on_hand == 0", "def is_consolidating(symbol):\n \n try:\n df = web.DataReader(symbol, source, start, end)\n df['52wk High'] = df.High.rolling(250).max()\n if df['52wk High'][-1] == df['52wk High'][-20]:\n return True\n ...
[ "0.64826447", "0.6151527", "0.6138433", "0.61287713", "0.60715914", "0.59869087", "0.59549546", "0.58867043", "0.5825584", "0.58232075", "0.5821788", "0.5790132", "0.575792", "0.56676376", "0.5662289", "0.5634733", "0.56337917", "0.5628226", "0.56168646", "0.5612685", "0.5571...
0.65783775
0
Buy a fixed value worth of shares of this stock, and return postpurchase cash balance.
def buy(self, date_idx: int, cash_balance: float, buy_budget: float) -> float: todays_price: float = float(self.price_history.iat[date_idx, 1]) bought_shares: float = buy_budget / todays_price self.shares = bought_shares new_cash_balance: float = cash_balance - buy_budget self.la...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _pay(self, asked_value):\n\t\tpayment_value = min(self.stock, asked_value)\n\t\tself.stock -= payment_value\n\t\treturn payment_value", "def buy(self, stock, amount):\n self.orders[stock] += amount", "async def buy(self, ctx, name, shares: int):\n\t\tplural = 's' if shares != 1 else ''\n\t\tcurrency...
[ "0.681833", "0.67136455", "0.6712106", "0.6639873", "0.6533521", "0.6418039", "0.6354535", "0.63155806", "0.6302284", "0.62978804", "0.62771595", "0.6276398", "0.62295955", "0.61957103", "0.61510074", "0.6140673", "0.6131333", "0.61236316", "0.6107711", "0.60954744", "0.60951...
0.6761582
1
Sell all shares of this stock and return postsale cash balance.
def sell(self, date_idx: int, cash_balance: float, buy_budget: float) -> float: todays_price: float = self.price_history.iat[date_idx, 1] sell_value: float = self.shares * todays_price new_cash_balance: float = cash_balance + sell_value profit_or_loss = sell_value - buy_budget if...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sell_all(self):\n\n from_symbol = self.symbol\n to_symbol = self.currency\n price = self.data[0].close\n amount = self.portfolio['buy_sell_amount'][self.currency]\n date = self.date\n\n if self.slippage:\n slip_factor = (self.data[-1].high - self.data[-1].cl...
[ "0.7301501", "0.68563324", "0.6753179", "0.6286442", "0.62047607", "0.61199635", "0.61119694", "0.6096221", "0.6084713", "0.6065258", "0.60498875", "0.60306907", "0.59894216", "0.5985045", "0.59848636", "0.59648335", "0.5941572", "0.5939489", "0.5922993", "0.58815354", "0.587...
0.6537653
3
Buy initial shares of each stock.
def ramp_up(self) -> None: self.cash_balance: float = self.initial_cash_balance() for stock in self.stocks: initial_date_idx = 0 self.cash_balance = stock.buy(initial_date_idx, self.cash_balance, self.buy_budget)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def buy(self, stock, amount):\n self.orders[stock] += amount", "def buy_stock (self, ticker, buy_date, sell_date, amount):\n\n if self.__buy_stock_init__(ticker, buy_date, sell_date, amount) == False:\n return\n\n if self.__get_hist__() == False:\n return\n\n sel...
[ "0.65276843", "0.65002215", "0.630925", "0.6265346", "0.6134108", "0.59956604", "0.5893807", "0.5875289", "0.58539927", "0.5823931", "0.5823715", "0.58211595", "0.5816876", "0.5792299", "0.5760585", "0.57598615", "0.5754664", "0.5746373", "0.5737933", "0.56979966", "0.5684521...
0.65788734
0
Initializes a test analyzer.
def __init__(self): super(TestAnalyzer, self).__init__() self._results = []
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def initAnalyzer():\n return controller.initAnalyzer()", "def init():\n # analyzer es utilizado para interactuar con el modelo\n analyzer = model.newAnalyzer()\n return analyzer", "def test_analyzer():\n import analyzer\n\n analyzer # Fake usage.", "def setUp(self):\n self.twitter =...
[ "0.7351114", "0.72212964", "0.686595", "0.6554035", "0.647998", "0.6466419", "0.6405424", "0.6327982", "0.63093835", "0.6297712", "0.6292576", "0.6292576", "0.6285251", "0.62620044", "0.6231864", "0.6199252", "0.6197375", "0.61921483", "0.61798495", "0.61262584", "0.61062354"...
0.6665277
3
Calculates the Euclidean distance between two poses.
def get_dist(pose1, pose2): return math.sqrt((pose1.position.x - pose2.position.x)**2 + (pose1.position.y - pose2.position.y)**2 + (pose1.position.z - pose2.position.z)**2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def euclidean(p1, p2):\n return p1.distance(p2)", "def euclid_dist(p1, p2):\n \n return float(np.linalg.norm(np.array(p1)-np.array(p2)))", "def get_euclidean_distance(p1, p2):\n return np.sqrt(np.power((p2[0] - p1[0]), 2) + np.power((p2[1] - p1[1]), 2))", "def euclidean_distance(self,):\n ...
[ "0.75829107", "0.7551673", "0.7488864", "0.74352956", "0.73967475", "0.722395", "0.72233725", "0.72226304", "0.7208453", "0.7201625", "0.7140905", "0.7140349", "0.713469", "0.7112267", "0.71048164", "0.7086662", "0.7081695", "0.7081387", "0.7079467", "0.7066402", "0.70656663"...
0.6783957
89
Adds a 3d hyperplane to plot
def svm_add_3d_hyperplane(model, ax, plotted_points): SPACE_SAMPLING_POINTS = 70 X_MIN = np.min(plotted_points[:, 0]) X_MAX = np.max(plotted_points[:, 0]) Y_MIN = np.min(plotted_points[:, 1]) Y_MAX = np.max(plotted_points[:, 1]) Z_MIN = np.min(plotted_points[:, 2]) Z_MAX = np.max(plotted_poi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def plot3d(self):\n plot_rupture_wire3d(self)", "def plot_3d_plot(self, features, headers, labels):\n self.master_plot.scatter(features[:, 0], features[:, 1], features[:, 2], c=labels)\n self.master_plot.set_xlabel(headers[0])\n self.master_plot.set_ylabel(headers[1])\n self.ma...
[ "0.7152768", "0.7124425", "0.6859061", "0.683599", "0.6778506", "0.6750584", "0.66774154", "0.65980196", "0.65299135", "0.6519744", "0.6501602", "0.6479949", "0.644964", "0.64455837", "0.6351462", "0.63193595", "0.63081276", "0.6296681", "0.6280989", "0.6263939", "0.62559927"...
0.7950049
0
Computes malahanobis distance of point x(1xD, D dimensions) from the distribution with means and covs
def compute_malahanobis(mu, S, x): return np.sqrt(np.matmul(np.matmul((x - mu), np.linalg.inv(S)), np.transpose(x - mu)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def calculate_mahalanobis_distance(point, centroid, sd, dimension):\n x = 0 # initialize\n for i in range(dimension):\n x += ((point[i]-centroid[i]) / sd[i]) ** 2 # calculate sum of squares\n\n return x ** 0.5 # return mahalanobis distance", "def mahalanobis_distance(self, x: np.ndarray) -...
[ "0.73171186", "0.7305238", "0.69803214", "0.6925692", "0.65162873", "0.6451543", "0.62475735", "0.6166766", "0.6165344", "0.61515594", "0.6127702", "0.6101121", "0.6071253", "0.6051228", "0.605117", "0.5989023", "0.5977436", "0.5965837", "0.59325296", "0.5910337", "0.58894557...
0.5816071
34
nums[index] is always larger. It is guarentted that num[index] + nums[right] > nums[left] and num[index] + nums[left] > nums[right]
def find_valid_pairs(self, nums, index): left, right = 0, index - 1 count = 0 while left < right: if nums[left] + nums[right] > nums[index]: count += right - left right -= 1 else: left += 1 return count
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def method2(self, nums):\n N = len(nums)\n inc = 1\n dec = 1\n \n for i in range(1, N):\n if nums[i] > nums[i - 1]:\n dec = inc + 1\n elif nums[i] < nums[i - 1]:\n inc = dec + 1\n \n return max(inc, dec)", "def c...
[ "0.7006188", "0.69919723", "0.6641683", "0.65819925", "0.6451726", "0.64324117", "0.64203537", "0.64052904", "0.6385791", "0.6333255", "0.6307522", "0.628435", "0.6218906", "0.61826104", "0.6172727", "0.61470306", "0.61258245", "0.6101484", "0.6091296", "0.6052261", "0.603369...
0.6989895
2
Renders the home page.
def home(request): assert isinstance(request, HttpRequest) return render( request, 'app/index.html', { 'title':'Ana Sayfa', 'year':datetime.now().year, } )
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def render_home():\r\n\treturn render_template(\"index.html\")", "def home():\n\n return render_template('home_page.html')", "def home():\n\n return render_template(\"home.html\")", "def home():\n return render_template('home.html')", "def home():\n return render_template('home.html')", "def ...
[ "0.85574406", "0.853399", "0.8351404", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.82762724", "0.827363", "...
0.0
-1
Renders the about page.
def about(request): assert isinstance(request, HttpRequest) return render( request, 'app/about.html', { 'title':'Hakkimizda', 'year':datetime.now().year, } )
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def about():\n return render_template('about.html', title='About')", "def about():\n\n return render_template('about_page.html', title='About')", "def about():\n\n\treturn render_template(\"about.html\")", "def on_about(self):\n render_about_window()", "def about():\n return render_temp...
[ "0.85650355", "0.85034525", "0.84489655", "0.84044397", "0.8394454", "0.82935613", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82709616", "0.82680845",...
0.7298118
96
Returns the message data.
def data(self): return self._data
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def toData(self):\n\n lines = []\n # 1. Request and protocol version\n lines.append(self.request + \" \" + BANNER)\n # 2. Request arguments\n lines.extend(['%s: %s' % (arg, self.args[arg]) for arg in self.args])\n # 3. End of message (double CR-LF)\n data = \"\\r\\n...
[ "0.7561272", "0.73387927", "0.72320414", "0.7104323", "0.70295906", "0.6987202", "0.69730294", "0.6961528", "0.6950634", "0.69492584", "0.6938942", "0.6897974", "0.6894602", "0.6894602", "0.6878571", "0.68760294", "0.68760294", "0.6861505", "0.6861505", "0.6861505", "0.686037...
0.6715804
68
Returns True if this message has attached data, returns False otherwise.
def has_data(self): return self._data is not None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def attached(self) -> bool:\n return typing.cast(\n bool,\n self._properties.get(\"attached\"),\n )", "def has_data(self) -> bool:\n return bool(self.data)", "def has_data(self):\n\n return self._data is not None", "def has_data(self):\n\n return self....
[ "0.73385245", "0.72755253", "0.71334016", "0.71334016", "0.7079288", "0.70045507", "0.6955519", "0.6907017", "0.66508687", "0.6614485", "0.660013", "0.660013", "0.656412", "0.65414685", "0.6459598", "0.6434611", "0.638921", "0.6334202", "0.63131297", "0.6211488", "0.61974925"...
0.71405643
2
Getter method for interface_id, mapped from YANG variable /qos/interfaces/interface/config/interface_id (string)
def _get_interface_id(self): return self.__interface_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_interface_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name=\"interface-id\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.n...
[ "0.73603135", "0.73603135", "0.73603135", "0.7358776", "0.7358776", "0.7358776", "0.6503984", "0.6503984", "0.6503984", "0.64951575", "0.5911032", "0.5665618", "0.5640957", "0.55904895", "0.5454259", "0.54091066", "0.53866446", "0.5327795", "0.5327795", "0.5327795", "0.532779...
0.61705065
13
Getter method for interface_id, mapped from YANG variable /qos/interfaces/interface/state/interface_id (string)
def _get_interface_id(self): return self.__interface_id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_interface_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name=\"interface-id\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.n...
[ "0.6969564", "0.6969564", "0.6969564", "0.69607663", "0.69607663", "0.69607663", "0.6148083", "0.6148083", "0.6148083", "0.61186785", "0.5699105", "0.5373275", "0.5330802", "0.5308362", "0.5236989", "0.5216467", "0.5195581", "0.5195581", "0.5195581", "0.5195581", "0.5195581",...
0.61869895
14
Setter method for interface_id, mapped from YANG variable /qos/interfaces/interface/state/interface_id (string)
def _set_interface_id(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="interface-id", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/qos',...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_interface_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name=\"interface-id\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.n...
[ "0.7782438", "0.7782438", "0.7782438", "0.6774489", "0.6774489", "0.6774489", "0.5807226", "0.5768262", "0.57586175", "0.56652474", "0.56652474", "0.56652474", "0.56652474", "0.56652474", "0.56652474", "0.5657688", "0.5652167", "0.5652167", "0.5652167", "0.5652167", "0.565216...
0.77902234
1
Getter method for config, mapped from YANG variable /qos/interfaces/interface/interface_ref/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_interface_ref_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper, extme...
[ "0.763672", "0.7636432", "0.7628587", "0.7472776", "0.7423011", "0.74192935", "0.6885126", "0.67696744", "0.6760358", "0.6367595", "0.63513064", "0.6342866", "0.63346654", "0.63297325", "0.63143647", "0.6221356", "0.61113507", "0.60791117", "0.6079049", "0.6028315", "0.599547...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/interface_ref/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_interface_ref_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_interface_ref_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper, extme...
[ "0.8146012", "0.8117423", "0.7953249", "0.7907186", "0.78786486", "0.73867154", "0.72686774", "0.72409487", "0.6881878", "0.6877423", "0.68684834", "0.6847415", "0.68434215", "0.6832938", "0.6687303", "0.65838116", "0.65828574", "0.6532064", "0.6504658", "0.6457596", "0.63441...
0.8143564
1
Getter method for name, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/config/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.716246", "0.716246", "0.716246", "0.716246", "0.716246", "0.716246", "0.71614623", "0.71614623", "0.71614623", "0.71614623", "0.71614623", "0.71614623", "0.6257838", "0.6257838", "0.6257838", "0.6257838", "0.6257838", "0.6257838", "0.62532145", "0.62532145", "0.62532145", ...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/config/name (leafref)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf=True, yang...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.7873037", "0.7873037", "0.7873037", "0.7873037", "0.7873037", "0.7873037", "0.7048889", "0.7048889", "0.7048889", "0.7048889", "0.7048889", "0.7048889", "0.70437604", "0.70437604", "0.70437604", "0.70437604", "0.70437604", "0.70437604", "0.66904104", "0.66904104", "0.66904...
0.7871626
11
Getter method for type, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/config/type (enumeration)
def _get_type(self): return self.__type
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def type(self) -> str:\n return self._config.get('type')", "def _set_type(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type=\"dict_key\", ...
[ "0.5780967", "0.5772234", "0.5772234", "0.5772234", "0.57689774", "0.57689774", "0.57689774", "0.57048506", "0.57048506", "0.57048506", "0.57048506", "0.57048506", "0.57048506", "0.57029927", "0.57029927", "0.57029927", "0.57029927", "0.57029927", "0.57029927", "0.5606663", "...
0.0
-1
Setter method for type, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/config/type (enumeration)
def _set_type(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type="dict_key", restriction_arg={u'MPLS': {}, u'IPV4': {'value': 4}, u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_type(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type=\"dict_key\", restriction_arg={u'ETHERNET': {}, u'MPLS'...
[ "0.6433125", "0.6433125", "0.6433125", "0.64300513", "0.64300513", "0.64300513", "0.6362665", "0.6362665", "0.6362665", "0.6362665", "0.6362665", "0.6362665", "0.5834749", "0.5834749", "0.5834749", "0.58235586", "0.58235586", "0.58235586", "0.58118623", "0.5805362", "0.562300...
0.6366212
8
Getter method for name, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/state/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.6664206", "0.6664206", "0.6664206", "0.6664206", "0.6664206", "0.6664206", "0.6660558", "0.6660558", "0.6660558", "0.6660558", "0.6660558", "0.6660558", "0.62820363", "0.5797425", "0.5797425", "0.5797425", "0.5797425", "0.5797425", "0.5797425", "0.5790796", "0.5790796", ...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/state/name (leafref)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf=True, yang...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.73880714", "0.73880714", "0.73880714", "0.73880714", "0.73880714", "0.73880714", "0.6617535", "0.6617535", "0.6617535", "0.6617535", "0.6617535", "0.6617535", "0.66112685", "0.66112685", "0.66112685", "0.66112685", "0.66112685", "0.66112685", "0.6302552", "0.6302552", "0.6...
0.73861676
10
Getter method for id, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/terms/term/config/id (leafref)
def _get_id(self): return self.__id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.7318537", "0.7318537", "0.7318537", "0.7318537", "0.7318537", "0.7318537", "0.7317401", "0.7317401", "0.7317401", "0.7317401", "0.7317401", "0.7317401", "0.6085691", "0.6085691", "0.6085691", "0.6085691", "0.6085691", "0.6085691", "0.6085691", "0.6085691", "0.6085691", "...
0.0
-1
Setter method for id, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/terms/term/config/id (leafref)
def _set_id(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper=self._path...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.7901872", "0.7901872", "0.7901872", "0.7901872", "0.7901872", "0.7901872", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.6648131", "0.56207347", "0.56207347", "0.56207347", ...
0.7900423
8
Setter method for id, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/terms/term/state/id (leafref)
def _set_id(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper=self._path...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.73609436", "0.73609436", "0.73609436", "0.73609436", "0.73609436", "0.73609436", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.6188761", "0.55459225", "0.53724563", "0.53724...
0.735234
10
Getter method for id, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/terms/term/id (leafref)
def _get_id(self): return self.__id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.7126552", "0.7126552", "0.7126552", "0.7126552", "0.7126552", "0.7126552", "0.71185106", "0.71185106", "0.71185106", "0.71185106", "0.71185106", "0.71185106", "0.6108936", "0.5803727", "0.5755298", "0.55416006", "0.5492075", "0.5437502", "0.54089963", "0.54089963", "0.5408...
0.0
-1
Setter method for id, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/terms/term/id (leafref)
def _set_id(self, v, load=False): parent = getattr(self, "_parent", None) if parent is not None and load is False: raise AttributeError("Cannot set keys directly when" + " within an instantiated list") if hasattr(v, "_utype"): v = v._utype(v) try: t = YANG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.7645959", "0.7645959", "0.7645959", "0.7645959", "0.7645959", "0.7645959", "0.76407486", "0.76407486", "0.76407486", "0.76407486", "0.76407486", "0.76407486", "0.5973892", "0.5958326", "0.5955816", "0.591531", "0.5903737", "0.5900307", "0.57754976", "0.5753974", "0.5702287...
0.5972668
22
Getter method for config, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_input_classifers_classifier_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path...
[ "0.77224", "0.7705804", "0.7695228", "0.74884474", "0.7478135", "0.7466183", "0.72255903", "0.7070036", "0.7049358", "0.6868546", "0.6835331", "0.68213457", "0.66975844", "0.6667957", "0.66615623", "0.62343603", "0.61062074", "0.60800254", "0.6051635", "0.60332924", "0.602614...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_input_classifers_classifier_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, extmethods=self...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_input_classifers_classifier_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path...
[ "0.8145628", "0.809792", "0.79226816", "0.791101", "0.78818464", "0.7638528", "0.7476497", "0.7442925", "0.7424228", "0.7408714", "0.73673475", "0.7268389", "0.7236966", "0.7205969", "0.6777764", "0.6619697", "0.6574061", "0.65522754", "0.6492285", "0.64859265", "0.64172995",...
0.8127788
1
Setter method for state, mapped from YANG variable /qos/interfaces/interface/input/classifers/classifier/state (container)
def _set_state(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_state_openconfig_qos__qos_interfaces_interface_input_classifers_classifier_state, is_container='container', yang_name="state", parent=self, path_helper=self._path_helper, extmethods=self._ex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_state(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_state_openconfig_qos_interfaces__qos_interfaces_interface_input_classifers_classifier_state, is_container='container', yang_name=\"state\", parent=self, path_helper=self._path_hel...
[ "0.8306941", "0.82454526", "0.80452716", "0.80269146", "0.7996698", "0.7942272", "0.7838756", "0.7770802", "0.77588135", "0.7724778", "0.76856166", "0.75645226", "0.75358456", "0.75073624", "0.7225943", "0.71405953", "0.70932406", "0.706191", "0.7046025", "0.7013806", "0.6970...
0.82861716
1
Getter method for name, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/config/name (string)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def name(self):\n return self._config_name", "def name(self) -> str:\n name = self._config[\"name\"]\n assert isinstance(name, str) # noqa: S101\n return name", "def queue_name(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"queue_name\")", "def name(self...
[ "0.63875926", "0.63682735", "0.6080883", "0.5987385", "0.5908946", "0.5661242", "0.5647971", "0.5553507", "0.5494295", "0.5457403", "0.5436797", "0.5376592", "0.53603256", "0.53346986", "0.52800643", "0.52800643", "0.52602863", "0.5239573", "0.5226153", "0.51753795", "0.51617...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/config/name (string)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/qos', defining_module...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def configName(name):\n s.setConfigName(name)", "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name=\"name\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_path...
[ "0.6073092", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.6030109", "0.590272", "0.5765706", "0...
0.60621345
2
Getter method for name, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/state/name (string)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def state_name(self):\n return self.state.name if self.state else None", "def state_name(self):\n return task_states.to_str(self.state)", "def name(self):\n return self.NAMES[self._mystate]", "def state_name(self):\n return TASK_STATE.get(self.state, 'UNKNOWN')", "def getstate(s...
[ "0.66528374", "0.63765585", "0.59071726", "0.58928835", "0.58529663", "0.58209467", "0.5789036", "0.5645224", "0.5633051", "0.5520784", "0.5512756", "0.54796845", "0.5366639", "0.53608805", "0.5356053", "0.5343833", "0.53433675", "0.5296472", "0.52940875", "0.5283992", "0.528...
0.0
-1
Getter method for name, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def queue_name(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"queue_name\")", "def get_queue_name(namelength = 513):\n\n appender = \"/queues/\" + binascii.b2a_hex(os.urandom(namelength))\n url = common.functionlib.create_url_from_appender(appender)\n return url", "def get_na...
[ "0.61990505", "0.6047577", "0.60094684", "0.58833337", "0.58827734", "0.57900333", "0.55680853", "0.554473", "0.5465444", "0.5459096", "0.5436108", "0.5384545", "0.5384545", "0.5384545", "0.5384545", "0.5384545", "0.5384545", "0.5380025", "0.5380025", "0.5380025", "0.5380025"...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/name (leafref)
def _set_name(self, v, load=False): parent = getattr(self, "_parent", None) if parent is not None and load is False: raise AttributeError("Cannot set keys directly when" + " within an instantiated list") if hasattr(v, "_utype"): v = v._utype(v) try: t = YA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name=\"name\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/qos', de...
[ "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.6311447", "0.63011426", "0.63011426", "0.63011426", ...
0.5643474
97
Getter method for config, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_input_queues_queue_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper, extmethods=...
[ "0.812573", "0.810969", "0.80803734", "0.80524707", "0.7973029", "0.7957919", "0.7944879", "0.7924207", "0.7915969", "0.7453904", "0.73535144", "0.73309267", "0.6467747", "0.64587146", "0.6454973", "0.64430356", "0.64421105", "0.64306575", "0.6272528", "0.62671167", "0.625694...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_input_queues_queue_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, extmethods=self._extmeth...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_input_queues_queue_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper, ...
[ "0.85493946", "0.85262656", "0.8500836", "0.8441009", "0.84041727", "0.83886164", "0.83562607", "0.8350517", "0.7915482", "0.780932", "0.7755462", "0.70047677", "0.6975069", "0.6974222", "0.69704825", "0.6967435", "0.69445616", "0.6840074", "0.6824799", "0.68040514", "0.68007...
0.85683334
0
Setter method for state, mapped from YANG variable /qos/interfaces/interface/input/queues/queue/state (container)
def _set_state(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_state_openconfig_qos__qos_interfaces_interface_input_queues_queue_state, is_container='container', yang_name="state", parent=self, path_helper=self._path_helper, extmethods=self._extmethods,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_state(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_state_openconfig_qos_interfaces__qos_queues_queue_state, is_container='container', yang_name=\"state\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, re...
[ "0.8598562", "0.8544639", "0.8544324", "0.85001516", "0.848391", "0.8263619", "0.8260857", "0.8232529", "0.7937532", "0.7864681", "0.78576434", "0.7141913", "0.7135628", "0.7129301", "0.69494706", "0.69312835", "0.69303346", "0.69251883", "0.69057214", "0.68994606", "0.685972...
0.8546665
1
Getter method for name, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/config/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../scheduler-policies/scheduler-policy/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True...
[ "0.7005919", "0.7005919", "0.7005919", "0.7005919", "0.7005919", "0.7005919", "0.6987488", "0.6987488", "0.6987488", "0.6987488", "0.6987488", "0.6987488", "0.6206113", "0.61239374", "0.5741912", "0.5686478", "0.5617601", "0.5549218", "0.5549218", "0.5549218", "0.5549218", ...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/config/name (leafref)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../scheduler-policies/scheduler-policy/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../scheduler-policies/scheduler-policy/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True...
[ "0.76609707", "0.76609707", "0.76609707", "0.76609707", "0.76609707", "0.76609707", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633", "0.62431633"...
0.7641522
7
Getter method for sequence, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/schedulers/scheduler/state/sequence (leafref)
def _get_sequence(self): return self.__sequence
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_sequence(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../scheduler-policies/scheduler-policy[name=current()/../../../../config/name]/schedulers/scheduler/config/sequence', caller=se...
[ "0.74943304", "0.74943304", "0.74943304", "0.74943304", "0.74943304", "0.74943304", "0.68950087", "0.68950087", "0.68950087", "0.68950087", "0.68950087", "0.68950087", "0.65824425", "0.65824425", "0.65824425", "0.6123607", "0.5885163", "0.5885163", "0.580537", "0.580537", "0....
0.5829219
29
Setter method for sequence, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/schedulers/scheduler/state/sequence (leafref)
def _set_sequence(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../scheduler-policies/scheduler-policy[name=current()/../../../../config/name]/schedulers/scheduler/config/sequence', caller=self._path() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_sequence(self, v, load=False):\n parent = getattr(self, \"_parent\", None)\n if parent is not None and load is False:\n raise AttributeError(\"Cannot set keys directly when\" +\n \" within an instantiated list\")\n\n if hasattr(v, \"_utype\"):\n v = v._utype(...
[ "0.7625014", "0.7625014", "0.7625014", "0.7625014", "0.7625014", "0.7625014", "0.73314804", "0.73314804", "0.73314804", "0.681465", "0.681465", "0.681465", "0.5877199", "0.56628495", "0.5619349", "0.5594366", "0.55710024", "0.5540959", "0.55405134", "0.5519232", "0.5486848", ...
0.8168452
0
Getter method for sequence, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/schedulers/scheduler/sequence (leafref)
def _get_sequence(self): return self.__sequence
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_sequence(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../scheduler-policies/scheduler-policy[name=current()/../../../../config/name]/schedulers/scheduler/config/sequence', caller=se...
[ "0.77526665", "0.77526665", "0.77526665", "0.77526665", "0.77526665", "0.77526665", "0.6626104", "0.6626104", "0.6626104", "0.6626104", "0.6626104", "0.6626104", "0.6575429", "0.6575429", "0.6575429", "0.60300374", "0.60300374", "0.60300374", "0.59542733", "0.5918529", "0.591...
0.5968661
26
Setter method for sequence, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/schedulers/scheduler/sequence (leafref)
def _set_sequence(self, v, load=False): parent = getattr(self, "_parent", None) if parent is not None and load is False: raise AttributeError("Cannot set keys directly when" + " within an instantiated list") if hasattr(v, "_utype"): v = v._utype(v) try: t ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_sequence(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../scheduler-policies/scheduler-policy[name=current()/../../../../config/name]/schedulers/scheduler/config/sequence', caller=se...
[ "0.8400972", "0.8400972", "0.8400972", "0.8400972", "0.8400972", "0.8400972", "0.7333826", "0.7333826", "0.7333826", "0.7056649", "0.7056649", "0.7056649", "0.5966815", "0.57948923", "0.5748413", "0.5737454", "0.57235515", "0.5609441", "0.56081545", "0.5603566", "0.56019384",...
0.7374715
9
Setter method for state, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/schedulers/scheduler/state (container)
def _set_state(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_state_openconfig_qos__qos_interfaces_interface_input_scheduler_policy_schedulers_scheduler_state, is_container='container', yang_name="state", parent=self, path_helper=self._path_helper, ext...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_state(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_state_openconfig_qos_interfaces__qos_interfaces_interface_input_scheduler_policy_schedulers_scheduler_state, is_container='container', yang_name=\"state\", parent=self, path_helpe...
[ "0.85829854", "0.85523367", "0.8343554", "0.8319389", "0.83153313", "0.815104", "0.81015325", "0.80955666", "0.80718", "0.8071354", "0.80625486", "0.805942", "0.80505455", "0.8041153", "0.7802713", "0.7769864", "0.7732571", "0.7673839", "0.76294446", "0.7622091", "0.6826872",...
0.8563165
1
Getter method for config, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_input_scheduler_policy_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_help...
[ "0.7855985", "0.78411806", "0.78015566", "0.75964195", "0.7572159", "0.7540343", "0.7519419", "0.74522495", "0.7390809", "0.7375724", "0.7357383", "0.7345387", "0.73050386", "0.7283658", "0.72563773", "0.7063957", "0.6996291", "0.69962436", "0.6615926", "0.65876794", "0.65755...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_input_scheduler_policy_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, extmethods=self._ext...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_input_scheduler_policy_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_help...
[ "0.8289139", "0.8207138", "0.8022214", "0.7997773", "0.79815596", "0.7946043", "0.7934231", "0.7862154", "0.7843452", "0.7823392", "0.78116095", "0.77843887", "0.7754998", "0.77095157", "0.7546412", "0.74693906", "0.7453335", "0.69370055", "0.69068795", "0.6882541", "0.662068...
0.8267032
1
Setter method for state, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy/state (container)
def _set_state(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_state_openconfig_qos__qos_interfaces_interface_input_scheduler_policy_state, is_container='container', yang_name="state", parent=self, path_helper=self._path_helper, extmethods=self._extmeth...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_state(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_state_openconfig_qos_interfaces__qos_interfaces_interface_input_scheduler_policy_state, is_container='container', yang_name=\"state\", parent=self, path_helper=self._path_helper, ...
[ "0.8397227", "0.834604", "0.8329469", "0.83268225", "0.82868063", "0.82148343", "0.81745994", "0.81391096", "0.81198186", "0.8111341", "0.81002504", "0.80127233", "0.7994244", "0.7971899", "0.78262204", "0.7788399", "0.7772415", "0.7664347", "0.7608935", "0.7598689", "0.66493...
0.8362562
1
Getter method for queues, mapped from YANG variable /qos/interfaces/interface/input/queues (container)
def _get_queues(self): return self.__queues
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_queues(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_queues_openconfig_qos_interfaces__qos_interfaces_interface_input_queues, is_container='container', yang_name=\"queues\", parent=self, path_helper=self._path_helper, extmethods=se...
[ "0.81760776", "0.81626004", "0.8126081", "0.7850532", "0.7849245", "0.7832448", "0.76915133", "0.7678368", "0.75204426", "0.75023574", "0.73293144", "0.6706069", "0.670377", "0.66575646", "0.6638411", "0.65731823", "0.6477488", "0.6464745", "0.6450894", "0.63891584", "0.62070...
0.66531825
14
Setter method for queues, mapped from YANG variable /qos/interfaces/interface/input/queues (container)
def _set_queues(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_queues_openconfig_qos__qos_interfaces_interface_input_queues, is_container='container', yang_name="queues", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_queues(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_queues_openconfig_qos_interfaces__qos_interfaces_interface_input_queues, is_container='container', yang_name=\"queues\", parent=self, path_helper=self._path_helper, extmethods=se...
[ "0.8787366", "0.8717671", "0.84376115", "0.84341115", "0.8398558", "0.83081317", "0.8107147", "0.80586", "0.74887836", "0.74788487", "0.74230385", "0.72503704", "0.72306025", "0.7208694", "0.703104", "0.699172", "0.68401974", "0.6809384", "0.6650297", "0.6246243", "0.6220935"...
0.8779778
1
Getter method for scheduler_policy, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy (container)
def _get_scheduler_policy(self): return self.__scheduler_policy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_scheduler_policy(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_scheduler_policy_openconfig_qos_interfaces__qos_interfaces_interface_input_scheduler_policy, is_container='container', yang_name=\"scheduler-policy\", parent=self, path...
[ "0.8215334", "0.820263", "0.82022387", "0.7683756", "0.7667965", "0.7656283", "0.6818648", "0.6773497", "0.674794", "0.64071184", "0.6330585", "0.6321334", "0.6040359", "0.60136616", "0.59821707", "0.5894575", "0.587668", "0.5870874", "0.56390584", "0.5635086", "0.5633906", ...
0.6470997
14
Setter method for scheduler_policy, mapped from YANG variable /qos/interfaces/interface/input/scheduler_policy (container)
def _set_scheduler_policy(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_scheduler_policy_openconfig_qos__qos_interfaces_interface_input_scheduler_policy, is_container='container', yang_name="scheduler-policy", parent=self, path_helper=self._path_helpe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_scheduler_policy(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_scheduler_policy_openconfig_qos_interfaces__qos_interfaces_interface_input_scheduler_policy, is_container='container', yang_name=\"scheduler-policy\", parent=self, path...
[ "0.89205074", "0.8891641", "0.8450722", "0.84218806", "0.8419282", "0.76007885", "0.7539055", "0.7537697", "0.6955926", "0.6861096", "0.6855201", "0.66060585", "0.65786105", "0.6572738", "0.6381015", "0.6376672", "0.6362954", "0.6361828", "0.6360223", "0.6351105", "0.63469756...
0.89036167
1
Setter method for interface, mapped from YANG variable /qos/interfaces/interface/output/interface_ref/state/interface (leafref)
def _set_interface(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='/oc-if:interfaces/oc-if:interface/oc-if:name', caller=self._path() + ['interface'], path_helper=self._path_helper, require_instance=True), is_leaf=True, yang_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_interface(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='/oc-if:interfaces/oc-if:interface/oc-if:name', caller=self._path() + ['interface'], path_helper=self._path_helper, require_instance=True), is_leaf=...
[ "0.7816361", "0.7816361", "0.7816361", "0.7816361", "0.7816361", "0.7816361", "0.6845125", "0.6815663", "0.67919", "0.66707563", "0.66406894", "0.6609781", "0.6320229", "0.6315031", "0.6259627", "0.62400025", "0.622189", "0.6207381", "0.59811175", "0.59811175", "0.59811175", ...
0.7815893
6
Getter method for config, mapped from YANG variable /qos/interfaces/interface/output/interface_ref/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_output_interface_ref_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper...
[ "0.7758881", "0.7718344", "0.77081734", "0.7430665", "0.742883", "0.7425216", "0.6671708", "0.65618116", "0.65558493", "0.6517043", "0.65087503", "0.65011936", "0.6226398", "0.6142559", "0.61104435", "0.6108844", "0.60964483", "0.60945445", "0.6091653", "0.60736924", "0.59873...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/output/interface_ref/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_output_interface_ref_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, extmethods=self._extme...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_output_interface_ref_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper...
[ "0.82096887", "0.8139721", "0.7903638", "0.7901546", "0.78700286", "0.71449894", "0.7037141", "0.6998581", "0.69784313", "0.6977814", "0.6970553", "0.67155844", "0.6635088", "0.6586258", "0.6567787", "0.65642416", "0.655797", "0.6541144", "0.64374363", "0.6393987", "0.6380605...
0.81714624
1
Getter method for name, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/config/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.71124774", "0.71124774", "0.71124774", "0.71124774", "0.71124774", "0.71124774", "0.71115744", "0.71115744", "0.71115744", "0.71115744", "0.71115744", "0.71115744", "0.61995214", "0.61995214", "0.61995214", "0.61995214", "0.61995214", "0.61995214", "0.61943793", "0.61943793"...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/config/name (leafref)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf=True, yang...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.7846721", "0.7846721", "0.7846721", "0.7846721", "0.7846721", "0.7846721", "0.70086527", "0.70086527", "0.70086527", "0.70086527", "0.70086527", "0.70086527", "0.7003182", "0.7003182", "0.7003182", "0.7003182", "0.7003182", "0.7003182", "0.658838", "0.658838", "0.658838", ...
0.78454375
7
Getter method for type, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/config/type (enumeration)
def _get_type(self): return self.__type
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def type(self) -> str:\n return self._config.get('type')", "def type(self):\n return self.config['type']", "def _set_type(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, ...
[ "0.5873641", "0.56840324", "0.56508696", "0.56508696", "0.56508696", "0.56466687", "0.56466687", "0.56466687", "0.55917525", "0.55917525", "0.55917525", "0.55917525", "0.55917525", "0.55917525", "0.5588711", "0.5588711", "0.5588711", "0.5588711", "0.5588711", "0.5588711", "0....
0.0
-1
Setter method for type, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/config/type (enumeration)
def _set_type(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type="dict_key", restriction_arg={u'MPLS': {}, u'IPV4': {'value': 4}, u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_type(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type=\"dict_key\", restriction_arg={u'ETHERNET': {}, u'MPLS'...
[ "0.6340185", "0.6340185", "0.6340185", "0.63357246", "0.63357246", "0.63357246", "0.6276482", "0.6276482", "0.6276482", "0.6276482", "0.6276482", "0.6276482", "0.58046407", "0.57213175", "0.55863076", "0.55863076", "0.55863076", "0.55863076", "0.55863076", "0.55863076", "0.55...
0.6281626
10
Getter method for name, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/state/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.6632773", "0.6632773", "0.6632773", "0.6632773", "0.6632773", "0.6632773", "0.66295284", "0.66295284", "0.66295284", "0.66295284", "0.66295284", "0.66295284", "0.63890713", "0.58404285", "0.58002347", "0.57600856", "0.57600856", "0.57600856", "0.57600856", "0.57600856", "0...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/state/name (leafref)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf=True, yang...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../classifiers/classifier/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf...
[ "0.73857623", "0.73857623", "0.73857623", "0.73857623", "0.73857623", "0.73857623", "0.66061795", "0.66061795", "0.66061795", "0.66061795", "0.66061795", "0.66061795", "0.6600413", "0.6600413", "0.6600413", "0.6600413", "0.6600413", "0.6600413", "0.62225604", "0.62225604", "0...
0.73839843
7
Getter method for id, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/terms/term/config/id (leafref)
def _get_id(self): return self.__id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.73209983", "0.73209983", "0.73209983", "0.73209983", "0.73209983", "0.73209983", "0.73202974", "0.73202974", "0.73202974", "0.73202974", "0.73202974", "0.73202974", "0.6039599", "0.6039599", "0.6039599", "0.6039599", "0.6039599", "0.6039599", "0.6039599", "0.6039599", "0.6...
0.0
-1
Setter method for id, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/terms/term/config/id (leafref)
def _set_id(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper=self._path...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.79179543", "0.79179543", "0.79179543", "0.79179543", "0.79179543", "0.79179543", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.6601929", "0.5576776", "0.5576776", "0.5576776...
0.7916675
10
Setter method for id, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/terms/term/state/id (leafref)
def _set_id(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper=self._path...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.7390418", "0.7390418", "0.7390418", "0.7390418", "0.7390418", "0.7390418", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.6158848", "0.5511394", "0.53545976", "0.53265077", ...
0.73817503
9
Getter method for id, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/terms/term/id (leafref)
def _get_id(self): return self.__id
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.7149473", "0.7149473", "0.7149473", "0.7149473", "0.7149473", "0.7149473", "0.714171", "0.714171", "0.714171", "0.714171", "0.714171", "0.714171", "0.6103781", "0.5803056", "0.5765137", "0.5588668", "0.55633473", "0.54349685", "0.54122883", "0.5409583", "0.5409221", "0.5...
0.0
-1
Setter method for id, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/terms/term/id (leafref)
def _set_id(self, v, load=False): parent = getattr(self, "_parent", None) if parent is not None and load is False: raise AttributeError("Cannot set keys directly when" + " within an instantiated list") if hasattr(v, "_utype"): v = v._utype(v) try: t = YANG...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_id(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../../../../classifiers/classifier[name=current()/../../../../config/name]/terms/term/config/id', caller=self._path() + ['id'], path_helper...
[ "0.7675433", "0.7675433", "0.7675433", "0.7675433", "0.7675433", "0.7675433", "0.76698697", "0.76698697", "0.76698697", "0.76698697", "0.76698697", "0.76698697", "0.6017405", "0.60120296", "0.6002457", "0.60006326", "0.5993768", "0.5993431", "0.5844423", "0.5767068", "0.57381...
0.59304106
19
Getter method for config, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/terms/term/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_input_classifers_classifier_terms_term_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path...
[ "0.7360207", "0.7325143", "0.73037225", "0.7290383", "0.72882694", "0.7254634", "0.7220254", "0.7219525", "0.71926224", "0.6770034", "0.67577094", "0.6694569", "0.6440708", "0.6420641", "0.6356257", "0.6097047", "0.60604584", "0.5983607", "0.59652877", "0.5784339", "0.5736422...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/terms/term/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_output_classifers_classifier_terms_term_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, ext...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_input_classifers_classifier_terms_term_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path...
[ "0.77388465", "0.76850265", "0.76746833", "0.7667349", "0.76652575", "0.7603974", "0.75967175", "0.7564437", "0.71072376", "0.70918494", "0.7003026", "0.67343366", "0.671953", "0.66241574", "0.6428748", "0.6388894", "0.62865263", "0.60533005", "0.6051607", "0.60500747", "0.60...
0.7656708
5
Getter method for config, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_output_classifers_classifier_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._pat...
[ "0.7720436", "0.77098346", "0.7694907", "0.7678134", "0.7665194", "0.76530075", "0.73441654", "0.7204011", "0.7176278", "0.6870961", "0.68612784", "0.6842089", "0.6833649", "0.68330365", "0.6822631", "0.6336703", "0.622007", "0.6194674", "0.6160951", "0.61505765", "0.61347705...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_output_classifers_classifier_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, extmethods=sel...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_interfaces_interface_output_classifers_classifier_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._pat...
[ "0.81429225", "0.81013465", "0.80722946", "0.8057942", "0.8029607", "0.77432084", "0.75991064", "0.75426537", "0.74377394", "0.74214727", "0.7408569", "0.7394685", "0.7376355", "0.73586506", "0.6879397", "0.6736392", "0.66901594", "0.66655934", "0.6622195", "0.65673727", "0.6...
0.8131047
1
Setter method for state, mapped from YANG variable /qos/interfaces/interface/output/classifers/classifier/state (container)
def _set_state(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_state_openconfig_qos__qos_interfaces_interface_output_classifers_classifier_state, is_container='container', yang_name="state", parent=self, path_helper=self._path_helper, extmethods=self._e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_state(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_state_openconfig_qos_interfaces__qos_interfaces_interface_output_classifers_classifier_state, is_container='container', yang_name=\"state\", parent=self, path_helper=self._path_he...
[ "0.83300835", "0.83285743", "0.8307335", "0.82768804", "0.8267776", "0.8085201", "0.79827505", "0.79110223", "0.78316885", "0.7805964", "0.77980447", "0.7775499", "0.7761157", "0.7743521", "0.73869795", "0.73014486", "0.7268007", "0.72189873", "0.7188696", "0.7179737", "0.710...
0.8309686
2
Getter method for name, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/config/name (string)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def name(self):\n return self._config_name", "def name(self) -> str:\n name = self._config[\"name\"]\n assert isinstance(name, str) # noqa: S101\n return name", "def name(self):\n return self._config.get(CONF_NAME)", "def queue_name(self) -> Optional[pulumi.Input[str]]:\n ...
[ "0.6414441", "0.6312911", "0.59965986", "0.59808654", "0.5859897", "0.5726715", "0.5686303", "0.5497868", "0.5475545", "0.54442984", "0.5416193", "0.540262", "0.5384111", "0.53576905", "0.5321281", "0.5321281", "0.5263289", "0.5245942", "0.5222192", "0.5218408", "0.519253", ...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/config/name (string)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="name", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/qos', defining_module...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def configName(name):\n s.setConfigName(name)", "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name=\"name\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_path...
[ "0.59741664", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.59408826", "0.5869031",...
0.59724075
16
Getter method for name, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/state/name (string)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def state_name(self):\n return self.state.name if self.state else None", "def state_name(self):\n return task_states.to_str(self.state)", "def name(self):\n return self.NAMES[self._mystate]", "def state_name(self):\n return TASK_STATE.get(self.state, 'UNKNOWN')", "def _state_nam...
[ "0.6654198", "0.6401374", "0.5900208", "0.5887867", "0.58439326", "0.5787427", "0.57200116", "0.5670939", "0.550176", "0.54979324", "0.5493599", "0.54375255", "0.5428432", "0.5423771", "0.53782254", "0.53752434", "0.5348521", "0.5341927", "0.5323544", "0.5311768", "0.53016496...
0.0
-1
Getter method for name, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_queue_name(namelength = 513):\n\n appender = \"/queues/\" + binascii.b2a_hex(os.urandom(namelength))\n url = common.functionlib.create_url_from_appender(appender)\n return url", "def queue_name(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"queue_name\")", "def get_na...
[ "0.6116904", "0.60503834", "0.59988165", "0.59338075", "0.57859284", "0.57501924", "0.5595473", "0.55075777", "0.5449341", "0.53822136", "0.53822136", "0.5363447", "0.53562003", "0.53537655", "0.5341675", "0.5341675", "0.53176427", "0.5300914", "0.5300914", "0.5300914", "0.53...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/name (leafref)
def _set_name(self, v, load=False): parent = getattr(self, "_parent", None) if parent is not None and load is False: raise AttributeError("Cannot set keys directly when" + " within an instantiated list") if hasattr(v, "_utype"): v = v._utype(v) try: t = YA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name=\"name\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='http://openconfig.net/yang/qos', de...
[ "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.62066346", "0.6196261", "0.6196261", ...
0.5456133
94
Getter method for config, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/config (container)
def _get_config(self): return self.__config
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_output_queues_queue_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper, extmethods...
[ "0.808501", "0.8072171", "0.8072118", "0.80484855", "0.8011156", "0.8005797", "0.79900515", "0.7964505", "0.7939658", "0.7491891", "0.7402762", "0.7371029", "0.638642", "0.6379072", "0.6346478", "0.6291607", "0.62814444", "0.62801945", "0.6279268", "0.6276101", "0.62491465", ...
0.0
-1
Setter method for config, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/config (container)
def _set_config(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_config_openconfig_qos__qos_interfaces_interface_output_queues_queue_config, is_container='container', yang_name="config", parent=self, path_helper=self._path_helper, extmethods=self._extmet...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_config(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_config_openconfig_qos_interfaces__qos_queues_queue_config, is_container='container', yang_name=\"config\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods...
[ "0.85785747", "0.85512865", "0.85127085", "0.8509901", "0.84597176", "0.8434132", "0.8417029", "0.83928627", "0.7988547", "0.78966624", "0.7834702", "0.69675964", "0.6942987", "0.6926938", "0.68685675", "0.6864504", "0.6851238", "0.68466896", "0.68276703", "0.6819569", "0.681...
0.85676885
1
Getter method for state, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/state (container)
def _get_state(self): return self.__state
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_state(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_state_openconfig_qos_interfaces__qos_queues_queue_state, is_container='container', yang_name=\"state\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, re...
[ "0.8058789", "0.801927", "0.799266", "0.7961153", "0.7958512", "0.7949209", "0.7899529", "0.78984225", "0.7898285", "0.74300736", "0.7392164", "0.7370757", "0.6376261", "0.6346209", "0.63320965", "0.6313958", "0.62998766", "0.62840694", "0.62815183", "0.62566614", "0.62558746...
0.0
-1
Setter method for state, mapped from YANG variable /qos/interfaces/interface/output/queues/queue/state (container)
def _set_state(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=yc_state_openconfig_qos__qos_interfaces_interface_output_queues_queue_state, is_container='container', yang_name="state", parent=self, path_helper=self._path_helper, extmethods=self._extmethods...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_state(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=yc_state_openconfig_qos_interfaces__qos_queues_queue_state, is_container='container', yang_name=\"state\", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, re...
[ "0.8707938", "0.86597043", "0.85923827", "0.85812557", "0.85739636", "0.85385567", "0.85317737", "0.8507721", "0.8050921", "0.7982544", "0.7968638", "0.7066211", "0.70562565", "0.70525295", "0.6993296", "0.6987164", "0.69863474", "0.69741243", "0.696661", "0.69643426", "0.696...
0.8543335
5
Getter method for name, mapped from YANG variable /qos/interfaces/interface/output/scheduler_policy/config/name (leafref)
def _get_name(self): return self.__name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../scheduler-policies/scheduler-policy/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True...
[ "0.69561166", "0.69561166", "0.69561166", "0.69561166", "0.69561166", "0.69561166", "0.6936719", "0.6936719", "0.6936719", "0.6936719", "0.6936719", "0.6936719", "0.62488943", "0.6215903", "0.58294857", "0.5788802", "0.5759735", "0.54765135", "0.54765135", "0.54765135", "0.54...
0.0
-1
Setter method for name, mapped from YANG variable /qos/interfaces/interface/output/scheduler_policy/config/name (leafref)
def _set_name(self, v, load=False): if hasattr(v, "_utype"): v = v._utype(v) try: t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../scheduler-policies/scheduler-policy/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True), is_leaf=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _set_name(self, v, load=False):\n if hasattr(v, \"_utype\"):\n v = v._utype(v)\n try:\n t = YANGDynClass(v,base=ReferenceType(referenced_path='../../../../../../scheduler-policies/scheduler-policy/config/name', caller=self._path() + ['name'], path_helper=self._path_helper, require_instance=True...
[ "0.7660258", "0.7660258", "0.7660258", "0.7660258", "0.7660258", "0.7660258", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "0.6239995", "...
0.76401514
11