query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Add agent to model's spill queue.
def ymyA(YKHO, YWSi): YKHO.spill_list.append(YWSi)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dXIj(YKHO, YWSi):\n YKHO.pipes[YWSi.grid_queue].send('add')\n YKHO.pipes[YWSi.grid_queue].send(YWSi)", "def O2rw(YKHO, YWSi):\n YKHO.agents[YWSi.name] = YWSi\n YKHO.network.add_node(YWSi)\n EL8Z = [foIj for foIj in YKHO.grid_queues.values() if foIj.accepts(YWSi)][YWSi.sex]\n YWSi.grid_queue...
[ "0.7249907", "0.724359", "0.6364773", "0.6199888", "0.610778", "0.59546876", "0.59015363", "0.58994764", "0.5738974", "0.5690717", "0.5538615", "0.5536676", "0.5536676", "0.5536676", "0.5536676", "0.5536676", "0.5536676", "0.5536676", "0.5536676", "0.5536676", "0.5536676", ...
0.82388806
0
Returns the next action in the path chosen earlier (in registerInitialState). Return Directions.STOP if there is no further action to take.
def bk5W(YKHO, QTBn): if 'actionIndex' not in dir(YKHO): YKHO.actionIndex = 0 YRbF = YKHO.actionIndex YKHO.actionIndex += 1 if YRbF < len(YKHO.actions): return YKHO.actions[YRbF] else: return o5oX.STOP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XeOP(YKHO):\n HUMG = YKHO.strategy.get_next_move(YKHO)\n return HUMG", "def AMEM(YKHO, QTBn):\n if YKHO.globSeq == []:\n YKHO.globSeq = YKHO.graphSearch(QTBn)\n if not YKHO.globSeq:\n return o5oX.STOP\n return YKHO.globSeq.pop(0)", "def AMEM(YKHO, QTBn):\n if YKHO.gl...
[ "0.72942245", "0.703718", "0.703718", "0.6975734", "0.687244", "0.68233156", "0.6763603", "0.66571885", "0.65745246", "0.6558087", "0.6465374", "0.64216137", "0.63660026", "0.63593185", "0.621351", "0.61860585", "0.6183947", "0.6181521", "0.61599606", "0.61497635", "0.6118962...
0.701559
4
Validate if email is already used by other user.
def YBiq(YKHO): D3lj = YKHO.cleaned_data['email'].lower() if mv1M.objects.filter(email__iexact=D3lj).exists(): raise sUXu(bGrB('A user with that email already exists.')) return D3lj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bt7w(YKHO, D3lj):\n if D3lj.data != c5ow.email:\n CBIr = mv1M.query.filter_by(email=D3lj.data).first()\n if CBIr:\n raise sUXu('That email already exists. Please choose another email.')", "def YBiq(YKHO):\n try:\n CBIr = mv1M.objects.get(email__iexact=YKHO.cleaned_data['...
[ "0.7807831", "0.7748905", "0.7703968", "0.77026623", "0.7623712", "0.76225734", "0.75870395", "0.75870395", "0.7544878", "0.75052977", "0.7495125", "0.7474632", "0.7456973", "0.7412911", "0.738862", "0.7304129", "0.729272", "0.7292294", "0.7270725", "0.72010756", "0.71731097"...
0.71971816
20
Validate password with settings constraints.
def BhJx(YKHO): jTXt = YKHO.cleaned_data.get('password') AVNP.validate_password(YKHO.cleaned_data.get('password'), YKHO.instance) return jTXt
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tg18(YKHO, BWXx):\n Qabx = A1zr.from_names(length=8, uppercase=1, numbers=1, special=1, nonletters=1)\n UAju = [rSb6[XP5J.name()] for XP5J in Qabx.test(BWXx)]\n if UAju:\n raise sUXu(UAju)", "def SqNO(YKHO):\n RnXU = wsY0(''.join(['x' * int(YKHO.app.config['MAX_PWD_LEN'])]))\n UpdD(None...
[ "0.7843949", "0.78396183", "0.76012516", "0.754959", "0.75224483", "0.74456346", "0.7356819", "0.7329701", "0.729943", "0.7290045", "0.7280439", "0.7245891", "0.7228651", "0.7214994", "0.7207353", "0.7188498", "0.7177668", "0.71768767", "0.7148098", "0.7129629", "0.7114455", ...
0.69429576
31
Creates a DataBucket to be used for strategy tuning.
def ePwS(Hvmc: str, oRyx: list, _laP: str, HS9d: str, QmFD: float): ecF5 = a3iU.create_label_map(Hvmc, _laP) q8jr = LsVC.create_resource_loader(Hvmc) rVTq = q8jr.get_flattened_label_set(label_set=_laP) if fBEX.ENTITY.value in oRyx: ecF5.entity2id = a3iU._get_entity_mappings(rVTq) ecF5.id...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DiQD() -> None:\n try:\n x0hE.make_bucket(OZXz)\n except kUEN:\n bo34.debug(f'Not creating bucket {OZXz}: Bucket already exists')\n pass\n else:\n bo34.debug(f'Successfully created bucket {OZXz}')", "def DiQD(YKHO, uPxI, c55i, oPhP='Replace'):\n bD7m = YKHO.prism_endpo...
[ "0.66712546", "0.64462686", "0.6387001", "0.63800037", "0.6142138", "0.6073936", "0.6030172", "0.59908855", "0.59375703", "0.59357345", "0.5933943", "0.5915313", "0.59029347", "0.58879966", "0.58430094", "0.57862043", "0.57170695", "0.5711254", "0.56925535", "0.56899697", "0....
0.6229102
4
Sets the check_revocation of this TypesConsoleCertificateSettings.
def ATyp(YKHO, ATyp): YKHO._check_revocation = ATyp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XsqU(yOZO):\n if PSrQ.loaded:\n raise Exception('compatibility_check must be set before before using any other functionalities in libclang.')\n PSrQ.compatibility_check = yOZO", "def aCWy(LsTQ, kXIV, pwmc, wyXJ, o_DP, mPzc, vSkh, Ms4i):\n pass", "def OMsE(LsTQ, kXIV, GFXh, pwmc, wyXJ, o_DP,...
[ "0.50971395", "0.45247346", "0.4501634", "0.44256946", "0.43760172", "0.43499175", "0.43033206", "0.42995754", "0.42879218", "0.42419428", "0.42351454", "0.42196298", "0.41943878", "0.41834015", "0.4180629", "0.4163931", "0.4148873", "0.41426238", "0.41319498", "0.41168395", ...
0.7481139
0
Sets the console_ca_cert of this TypesConsoleCertificateSettings.
def K8_W(YKHO, K8_W): YKHO._console_ca_cert = K8_W
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DeTR(YKHO, DeTR):\n YKHO._ca_cert = DeTR", "def e3eO(YKHO, e3eO):\n YKHO._console_custom_cert = e3eO", "def r6v8(YKHO, r6v8: str):\n YKHO._ca_cert_path = r6v8", "def b_SO():\n Q4rt = Hy7s.environ.get('HOME') + '/.cat_installer/ca.pem'\n dsE5('saving cert')\n with open(Q4rt, 'w') as LSCv...
[ "0.68265325", "0.65130776", "0.6440239", "0.58595866", "0.5228995", "0.5037131", "0.5037131", "0.5013002", "0.490777", "0.48871157", "0.48593655", "0.48507708", "0.48467252", "0.4803529", "0.48032707", "0.47784925", "0.4713782", "0.46828216", "0.46399626", "0.4594442", "0.456...
0.85301137
0
Sets the console_custom_cert of this TypesConsoleCertificateSettings.
def e3eO(YKHO, e3eO): YKHO._console_custom_cert = e3eO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def K8_W(YKHO, K8_W):\n YKHO._console_ca_cert = K8_W", "def ZAZg(YKHO, D1tj):\n gTEQ('PrlVmCfg_SetCustomProperty', YKHO.handle, D1tj)", "def c2zA(YKHO, c2zA):\n YKHO._custom_compliance_domain = c2zA", "def BN4g(YKHO, BN4g):\n YKHO._custom_domain = BN4g", "def n4kf(YKHO, n4kf):\n YKHO._custom...
[ "0.6610284", "0.54055816", "0.53626394", "0.52227587", "0.51395243", "0.5006331", "0.49909642", "0.4988925", "0.49661958", "0.49389002", "0.49314305", "0.49158552", "0.489311", "0.4870659", "0.48248613", "0.4814451", "0.47850242", "0.4669491", "0.460155", "0.4534467", "0.4508...
0.8813465
0
Sets the hpkp of this TypesConsoleCertificateSettings.
def jRfU(YKHO, jRfU): YKHO._hpkp = jRfU
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eCvY(YKHO, eCvY):\n YKHO._pssh = eCvY\n return YKHO", "def tIVJ(YKHO, tIVJ):\n YKHO._hdp_version = tIVJ", "def PQlY():\n iZHj = QePW.params.get('kp', 0, type=float)\n Ii1o = QePW.params.get('pid', 1, type=int)\n RI88 = YlXr.rp_PIDSetKp(Ii1o, gk2W.c_float(iZHj))\n if RI88 != 0:\n ...
[ "0.56403214", "0.5224331", "0.5040199", "0.50149983", "0.48443633", "0.48201424", "0.48000458", "0.4754778", "0.47419602", "0.4728604", "0.46491504", "0.45619443", "0.45580828", "0.45580828", "0.45580828", "0.4547807", "0.4547807", "0.4547807", "0.4473194", "0.4460671", "0.44...
0.7709247
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, GUEL): return False return YKHO.to_dict() == Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): if not isinstance(Elif, GUEL): return True return YKHO.to_dict() != Elif.to_dict()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", ...
0.0
-1
View function for home page of site.
def QxIo(QePW): uFxM = FYrf.Course.objects.all().count() UsCW = FYrf.Quiz.objects.all().count() TFlq = FYrf.Question.objects.count() EQLe = FYrf.User.objects.count() RTwz = QePW.session.get('num_visits', 1) QePW.session['num_visits'] = RTwz + 1 QpfX = {'num_courses': uFxM, 'num_quizzes': UsC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy(QePW):\n return _1tc(QePW, 'compta/home.html')", "def vja_(QePW):\n return _1tc(QePW, 'ez_main/home_page.html')", "def kZiy(QePW):\n return _1tc(QePW, 'home.html')", "def C_QL(QePW):\n return _1tc(QePW, 'core/homepage.html')", "def C_QL(QePW):\n return SGJU('h1ds_core/homepage.html'...
[ "0.8493426", "0.84268916", "0.83415145", "0.83306193", "0.82976943", "0.8295291", "0.8276345", "0.82545686", "0.82155704", "0.8132563", "0.81246215", "0.81224865", "0.8121264", "0.81049734", "0.8098485", "0.80935514", "0.80935514", "0.80935514", "0.80935514", "0.80935514", "0...
0.0
-1
Gives default department by checking if present in the context
def pJlL(YKHO, KBgZ, PObu, QpfX=None): XnWo = YKHO.pool.get('res.users').browse(KBgZ, PObu, PObu).employee_ids if XnWo: XCUD = YKHO.pool.get('res.users').browse(KBgZ, PObu, PObu).employee_ids[0].department_id and YKHO.pool.get('res.users').browse(KBgZ, PObu, PObu).employee_ids[0].department_id.id or Fal...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def X5CZ(YKHO):\n if 'department' in YKHO._prop_dict:\n return YKHO._prop_dict['department']\n else:\n return None", "def X5CZ(YKHO):\n if 'department' in YKHO._prop_dict:\n return YKHO._prop_dict['department']\n else:\n return None", "def X5CZ(lNHy):\n return TvZl('d...
[ "0.727264", "0.727264", "0.6299022", "0.62791663", "0.6205959", "0.6025972", "0.59099317", "0.58730555", "0.5781836", "0.5762072", "0.57508874", "0.5684379", "0.5670995", "0.564136", "0.5601505", "0.5576277", "0.5553041", "0.55370617", "0.5526694", "0.55206823", "0.5495728", ...
0.8002562
0
Return a string that identifies the current platform. By default, will return the value returned by sysconfig.get_platform(), but it can be changed by calling set_platform().
def Z5O9(): global _PLATFORM if uumT is None: uumT = YsTX.get_platform() return uumT
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def X7ke():\n if cZl2:\n return cZl2\n if Njvv():\n return 'win32'\n if jWLO():\n return 'linux'\n if i5z2():\n return 'mac'\n raise NotImplementedError('Unknown platform \"%s\".' % HwRy.platform)", "def IOdl() -> str:\n if HwRy.platform.startswith('linux'):\n ...
[ "0.86419976", "0.86189526", "0.84946406", "0.84425676", "0.84221816", "0.8408329", "0.8267858", "0.8102998", "0.80069953", "0.79900736", "0.79565233", "0.79265183", "0.78920996", "0.78262705", "0.77958465", "0.7738521", "0.77015126", "0.7699097", "0.76611334", "0.765293", "0....
0.83564013
6
Return 'pathname' with 'new_root' prepended. If 'pathname' is relative, this is equivalent to "os.path.join(new_root,pathname)". Otherwise, it requires making 'pathname' relative and then joining the two, which is tricky on DOS/Windows and Mac OS.
def TFE5(wyPV, uvd8): if Hy7s.name == 'posix': if not Hy7s.path.isabs(uvd8): return Hy7s.path.join(wyPV, uvd8) else: return Hy7s.path.join(wyPV, uvd8[1:]) elif Hy7s.name == 'nt': RSBG, pmON = Hy7s.path.splitdrive(uvd8) if pmON[0] == '\\': pmON ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hRQ6(y0cW, uvd8):\n VLdg = Hy7s.path.join(Hy7s.path.dirname(uvd8), y0cW + Hy7s.path.basename(uvd8))\n return VLdg", "def eH5C(uj08, tk5Y):\n if tk5Y.endswith('/') and (not uj08[0] == '/') or (not tk5Y.endswith('/') and uj08[0] == '/'):\n return tk5Y + uj08\n elif tk5Y.endswith('/') and uj0...
[ "0.6437045", "0.59677273", "0.5884409", "0.57894766", "0.5737389", "0.56540275", "0.5632758", "0.560187", "0.55786604", "0.55463153", "0.54867226", "0.5479389", "0.5465328", "0.5434634", "0.5426187", "0.5377088", "0.5376396", "0.52881503", "0.5265455", "0.5238494", "0.5189643...
0.77424914
0
Generate a useful error message from an EnvironmentError. This will generate an IOError or an OSError exception object. Handles Python 1.5.1 and 1.5.2 styles, and does what it can to deal with exception objects that don't have a filename (which happens when the error is due to a twofile operation, such as 'rename()' or...
def JCqO(BQDi, y0cW='error: '): if hasattr(BQDi, 'filename') and hasattr(BQDi, 'strerror'): if BQDi.filename: P1dF = y0cW + '%s: %s' % (BQDi.filename, BQDi.strerror) else: P1dF = y0cW + '%s' % BQDi.strerror else: P1dF = y0cW + str(BQDi[-1]) return P1dF
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BuEc():\n\n def ZB9Y():\n \"\"\"Returns detailed OS release.\"\"\"\n if a9EH.linux_distribution()[0]:\n return ' '.join(a9EH.linux_distribution())\n elif a9EH.mac_ver()[0]:\n return '%s %s' % (a9EH.mac_ver()[0], a9EH.mac_ver()[2])\n else:\n return...
[ "0.6228609", "0.61467487", "0.6119618", "0.6091069", "0.6041068", "0.6019442", "0.60053355", "0.60053355", "0.60053355", "0.59858197", "0.59780866", "0.59780866", "0.59780866", "0.59780866", "0.59780866", "0.59780866", "0.59780866", "0.59780866", "0.5958574", "0.59230393", "0...
0.79304963
0
Split a string up according to Unix shelllike rules for quotes and backslashes.
def U91O(KCHu): if LP1N is None: rTxM() KCHu = KCHu.strip() V22M = [] oeNL = 0 while KCHu: r8hN = LP1N.match(KCHu, oeNL) Os4s = r8hN.end() if Os4s == len(KCHu): V22M.append(KCHu[:Os4s]) break if KCHu[Os4s] in vIwR.whitespace: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lpha(KCHu, xgnN=True):\n if isinstance(KCHu, bytes):\n KCHu = KCHu.decode('utf-8')\n return URgV.split(KCHu, posix=xgnN)", "def mk7b(m9m1: str) -> x1iM[str]:\n return URgV.split(m9m1, comments=False, posix=False)", "def mk7b(YKHO, l5Ny):\n if jKi7.PY2:\n l5Ny = l5Ny.encode('utf-8'...
[ "0.78362286", "0.7329921", "0.7217792", "0.72064894", "0.71627724", "0.7052283", "0.705191", "0.67389745", "0.65934944", "0.65557235", "0.655108", "0.6530101", "0.64702815", "0.63966805", "0.6376275", "0.6368482", "0.6346435", "0.62923265", "0.62834394", "0.6271737", "0.62683...
0.6048011
26
Return a version of the string escaped for inclusion in an RFC822 header, by ensuring there are 8 spaces space after each newline.
def t5Iy(WBPg): Nqlg = WBPg.split('\n') VWe_ = '\n' + 8 * ' ' return VWe_.join(Nqlg)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Kt9e(KCHu: str) -> str:\n KCHu = KCHu.encode('ascii', errors='ignore').decode(J1mx)\n KCHu = KCHu.replace('\\r', '').replace('\\t', '').replace('\\n', '')\n return KCHu", "def RVdM(l5Ny):\n l5Ny = ZbWC.sub('\\n{3,}', '\\n\\n', l5Ny)\n l5Ny = ZbWC.sub('\\n+$', '\\n', l5Ny)\n return l5Ny", ...
[ "0.6096191", "0.5934842", "0.59084433", "0.59060633", "0.5887525", "0.5677352", "0.5667074", "0.56499064", "0.56388175", "0.55878687", "0.55177206", "0.5498205", "0.5489415", "0.54656357", "0.5455645", "0.54367644", "0.54303896", "0.5425611", "0.53949904", "0.538119", "0.5353...
0.7909112
0
Like os.path.splitext, but take off .tar too
def gLx5(pmON): P8oC, YBcr = Qumu.splitext(pmON) if P8oC.lower().endswith('.tar'): YBcr = P8oC[-4:] + YBcr P8oC = P8oC[:-4] return (P8oC, YBcr)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ud_i(VqRE):\n FYKK, YBcr = Hy7s.path.splitext(VqRE)\n if YBcr == '.gz':\n FYKK, YBcr = Hy7s.path.splitext(FYKK)\n YBcr += '.gz'\n return (FYKK, YBcr)", "def gLx5(Ux0P):\n d6pt = Ux0P.find('.')\n if d6pt == 0:\n d6pt = 1 + Ux0P[1:].find('.')\n if d6pt == -1:\n ret...
[ "0.7256462", "0.7026987", "0.68934464", "0.6722942", "0.66994846", "0.66748786", "0.66710615", "0.66696054", "0.66661364", "0.6614728", "0.65565413", "0.6543803", "0.6525695", "0.64786565", "0.645979", "0.64352673", "0.64048153", "0.63310933", "0.6310813", "0.62845665", "0.62...
0.80011797
0
Quote commandline arguments for DOS/Windows conventions. Just wraps every argument which contains blanks in double quotes, and returns a new argument list.
def XW9n(qIxc): for YRbF, d7pR in enumerate(qIxc): if ' ' in d7pR: qIxc[YRbF] = '"%s"' % d7pR return qIxc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Hh2a(qIxc):\n if isinstance(qIxc, str):\n fddJ = [qIxc]\n else:\n fddJ = qIxc\n xG6K = []\n for jzdc in fddJ:\n rQ8K = v4KO(jzdc)\n if ' ' in rQ8K or \"'\" in rQ8K:\n rQ8K = \"'\" + rQ8K + \"'\"\n xG6K.append(rQ8K)\n return ' '.join(xG6K)", "def qY...
[ "0.727529", "0.7251283", "0.72008514", "0.685263", "0.67948896", "0.6764882", "0.6530536", "0.6420306", "0.637898", "0.63067955", "0.6251415", "0.62015647", "0.6195781", "0.6184979", "0.6129439", "0.6106405", "0.6061542", "0.5926107", "0.5858475", "0.5774904", "0.5765774", ...
0.78102744
0
Verifies an input team is acceptable and returns a boolean
def s_el(zNig, vELP, PtQX): return roeU(zNig) and int(zNig) >= vELP and (int(zNig) <= PtQX)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def validate_team(YKHO, dZPi, g1Rj, *, h7D2=0, iezW=epAf.inf):\n g1Rj = BfDw.name_to_id(g1Rj)\n dZPi = dZPi or 'null'\n await YKHO.upload_team(dZPi, delay=h7D2, lifespan=iezW)\n await YKHO.add_output('|/vtm {}'.format(g1Rj), delay=h7D2, lifespan=iezW)", "def QIqV(Emd4, *qIxc):\n return Emd4....
[ "0.67006654", "0.6519993", "0.6371233", "0.63663113", "0.63397926", "0.6335435", "0.6324468", "0.6309282", "0.63051116", "0.6235396", "0.6210397", "0.6076636", "0.604586", "0.5996683", "0.5972928", "0.59400946", "0.5881027", "0.58694565", "0.58569884", "0.5838882", "0.5816535...
0.56892246
30
Provide tests for request to retrieve non existent objects.
def QI6v(YKHO): bD7m = gxEw('notification', kwargs={'way_id': 999, 'notification_id': 100}) geh0 = YKHO.client.get(bD7m) YKHO.assertEqual(geh0.status_code, 400) bD7m = gxEw('notification', kwargs={'way_id': 100, 'notification_id': 999}) geh0 = YKHO.client.get(bD7m) YKHO.assertEqual(geh0.status_c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hfTy(YKHO):\n YKHO.factory.create()\n geh0 = YKHO._get(get_kwargs={'search': 'hello'})\n YKHO.assertEquals(geh0.status_code, 200)\n YKHO.assertTemplateUsed(geh0, YKHO.template_name)\n YKHO.assertEquals(geh0.context['object_list'].count(), 0)", "def eLoI(YKHO):\n GLfr = 2\n mv1M.objects.f...
[ "0.75758815", "0.71741575", "0.71435493", "0.71141475", "0.7053728", "0.70359236", "0.69748956", "0.69697344", "0.69670606", "0.6834804", "0.6827738", "0.68085784", "0.68022287", "0.6796541", "0.6785499", "0.6772848", "0.6761102", "0.6751092", "0.6740959", "0.6734323", "0.673...
0.0
-1
Method that tests the success post request for creating notification.
def iD95(YKHO): nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'} AZHA = {'way': 100, 'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'} bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id, 'notification_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yfW7(YKHO):\n _q9F = JbaM.objects.all()\n YKHO.assertEqual(len(_q9F), 0)\n Anu3(user=YKHO.user_with_targets, title='Hi.', body='Hello there, friend.')\n TV5Q = JbaM.objects.all()\n YKHO.assertEqual(len(TV5Q), 1)", "def aNA7(YKHO):\n nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-2...
[ "0.7629735", "0.7618578", "0.7364911", "0.7363563", "0.7363563", "0.7052963", "0.7042657", "0.69984055", "0.6988693", "0.6985212", "0.6984905", "0.68905956", "0.6883018", "0.68676347", "0.6836012", "0.6821067", "0.67853075", "0.6779246", "0.6734471", "0.6721667", "0.66970336"...
0.7656309
0
Method that tests unsuccessful post request for creating notification with invalid post data.
def UCye(YKHO): nPrm = {'week_day': 'd', 'time': 'd'} bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id, 'notification_id': YKHO.notification.id}) geh0 = YKHO.client.post(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json') YKHO.assertEqual(geh0.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def j_ko(YKHO):\n with YKHO.client:\n KSyl = r_Ty(YKHO, YKHO.token)\n Bv0m = qQXR.loads(KSyl.data.decode())\n YKHO.assertTrue(Bv0m['errors'] != None)", "def aNA7(YKHO):\n nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'}\n bD7m = gxEw('...
[ "0.748908", "0.7362392", "0.727116", "0.7229355", "0.7158507", "0.7016817", "0.69638264", "0.695092", "0.69368654", "0.689105", "0.6859958", "0.6832937", "0.68327", "0.68105704", "0.67939985", "0.6764749", "0.6753879", "0.6751137", "0.6747767", "0.67406535", "0.67373455", "...
0.77954644
0
Method that tests unsuccessful post request with empty JSON data.
def yLVB(YKHO): nPrm = {} bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id, 'notification_id': YKHO.notification.id}) geh0 = YKHO.client.post(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json') YKHO.assertEqual(geh0.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rUvv(YKHO):\n nPrm = {'title': 'Example Post'}\n geh0 = YKHO.client.post('/api/posts', data=qQXR.dumps(nPrm), content_type='application/json', headers=[('Accept', 'application/json')])\n YKHO.assertEqual(geh0.status_code, 422)\n nPrm = qQXR.loads(geh0.data)\n YKHO.assertEqual(nPrm['message'], \"...
[ "0.80441666", "0.7749052", "0.77270865", "0.7574347", "0.7527644", "0.7512489", "0.7511428", "0.7503339", "0.750238", "0.7471226", "0.73760986", "0.73705995", "0.7363015", "0.73613787", "0.7355544", "0.73533607", "0.73203945", "0.72921515", "0.7282576", "0.72331876", "0.72312...
0.7766148
1
Method that tests when notification was not created
def aNA7(YKHO): nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'} bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id, 'notification_id': YKHO.notification.id}) with TMAJ.patch('notification.views.Notification.create') as kii8: kii8.r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lBw1(YKHO):\n tO9_ = YKHO._send(YKHO.reg_conn, '1')\n YKHO.assertEqual(len(tO9_.responses), 1)\n YKHO.assertEqual(tO9_.responses[0].text, YKHO.app.no_reminders)", "def lBw1(YKHO):\n tO9_ = YKHO._send(YKHO.reg_conn, '1')\n YKHO.assertEqual(len(tO9_.responses), 1)\n YKHO.assertEqual(tO9_.resp...
[ "0.7590763", "0.7590763", "0.70368165", "0.6943726", "0.6893877", "0.68580735", "0.6836645", "0.67977685", "0.6790158", "0.6781682", "0.6740494", "0.6719812", "0.6718092", "0.67094886", "0.6702535", "0.6676803", "0.6672681", "0.6672681", "0.660182", "0.6599026", "0.6596544", ...
0.5952441
87
Provide tests post request for updating notification with another `way_id`.
def i1Xy(YKHO): nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'} bD7m = gxEw('notification', kwargs={'way_id': 543, 'notification_id': YKHO.notification.id}) geh0 = YKHO.client.put(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json') YKHO.ass...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vGdI(YKHO):\n nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'}\n bD7m = gxEw('notification', kwargs={'way_id': 908, 'notification_id': YKHO.notification.id})\n geh0 = YKHO.client.post(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json')\n ...
[ "0.7309353", "0.7287713", "0.70464474", "0.69682556", "0.68557084", "0.6814788", "0.6658717", "0.6463719", "0.64070153", "0.6393831", "0.63803446", "0.63698304", "0.6313824", "0.6292307", "0.62720644", "0.6193457", "0.61715186", "0.6160451", "0.6157474", "0.6146517", "0.60856...
0.75480807
0
Provide tests post request for updating notification with another `way_id`.
def Bo0u(YKHO): nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'} bD7m = gxEw('notification', kwargs={'way_id': 101, 'notification_id': YKHO.notification.id}) geh0 = YKHO.client.put(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json') YKHO.ass...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i1Xy(YKHO):\n nPrm = {'start_time': '2019-10-29', 'end_time': '2019-12-29', 'week_day': 6, 'time': '23:58:59'}\n bD7m = gxEw('notification', kwargs={'way_id': 543, 'notification_id': YKHO.notification.id})\n geh0 = YKHO.client.put(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json')\n ...
[ "0.7549038", "0.73112965", "0.70488214", "0.6971227", "0.685967", "0.68185854", "0.6662724", "0.646378", "0.640702", "0.6395875", "0.6385076", "0.63703424", "0.6313816", "0.6292449", "0.6273746", "0.61928606", "0.6171587", "0.61620533", "0.6157349", "0.6145325", "0.60851175",...
0.72894514
2
Method that tests request to update object without notification id.
def NtsL(YKHO): nPrm = {'time': '23:38:54'} bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id}) geh0 = YKHO.client.put(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json') YKHO.assertEqual(geh0.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E7zM(YKHO, fRMf: Dict[str, Any]):\n MOPg = fRMf\n btDY = dzFO()\n geh0 = gjjO(btDY, MOPg)\n assert nrEm(geh0)", "def XoLx(YKHO):\n pass", "def IsIF(YKHO):\n YKHO.client.force_authenticate(user=YKHO.admin)\n nPrm = {'retreat': gxEw('retreat:retreat-detail', args=[YKHO.retreat.id]), 'use...
[ "0.7326445", "0.69764525", "0.6881176", "0.68677974", "0.68598765", "0.6816024", "0.6782119", "0.6691785", "0.66868764", "0.66868764", "0.66868764", "0.6674698", "0.6672613", "0.6658596", "0.6653552", "0.66272783", "0.66236734", "0.6617037", "0.6596818", "0.659552", "0.658176...
0.693124
2
Method that tests unsuccessful put request with invalid data.
def MCr1(YKHO): nPrm = {'start_time': '201-10-29'} bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id, 'notification_id': YKHO.notification.id}) geh0 = YKHO.client.put(bD7m, qQXR.dumps(nPrm, cls=cm0j), content_type='application/json') YKHO.assertEqual(geh0.status_code, 400)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tTh4(YKHO):\n Zwka = {}\n geh0 = YKHO.client.put(YKHO.url, qQXR.dumps(Zwka), content_type='application/json')\n YKHO.assertEquals(geh0.status_code, 400)", "def _oJ8(YKHO):\n NWnT = YKHO.create_article()\n bD7m = NWnT[0]\n eOtH = NWnT[2]\n geh0 = YKHO.test_client.put(bD7m, YKHO.article_in...
[ "0.80603", "0.7946233", "0.784097", "0.77523243", "0.75244886", "0.7508853", "0.75016356", "0.7400866", "0.7241939", "0.72137624", "0.7200401", "0.71775615", "0.7172664", "0.7149172", "0.7140384", "0.71386945", "0.71179557", "0.70906204", "0.7073103", "0.7069364", "0.70652556...
0.7636739
4
Method that tests successful delete request
def f3Gb(YKHO): bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id, 'notification_id': YKHO.notification.id}) geh0 = YKHO.client.delete(bD7m) YKHO.assertEqual(geh0.status_code, 200)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def R2UQ(YKHO):\n geh0 = YKHO.httpbin_4.test_requests_delete_method()\n YKHO.assertEqual(geh0.request.method, 'DELETE')\n YKHO.assertEqual(geh0.status_code, 200)", "def rKcr(YKHO):\n _dqi.sign_in('admin@example.com', 123567890)\n with gr_i.app.test_request_context(YKHO.request_path):\n eZFu...
[ "0.82243276", "0.7960768", "0.79481703", "0.79142106", "0.7868135", "0.7867293", "0.7829174", "0.78112143", "0.7803392", "0.772959", "0.77106404", "0.7710564", "0.7703078", "0.7690606", "0.76722753", "0.7660884", "0.7646906", "0.7623302", "0.76144546", "0.75957584", "0.759070...
0.76712584
15
Method that tests unsuccessful delete request when db deleting is failed.
def BCOs(YKHO): bD7m = gxEw('notification', kwargs={'way_id': YKHO.notification.way_id, 'notification_id': YKHO.notification.id}) with TMAJ.patch('notification.views.Notification.delete_by_id') as tqJz: tqJz.return_value = False geh0 = YKHO.client.delete(bD7m) YKHO.assertEqual(geh0.status_co...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ErUj(qRRv, kK4m, pyA3, gkFZ):\n w2Td = VCLV(sjgj, {'db_path': qRRv, 'master_table': kK4m}).processor(pyA3.get('invalid'))\n assert w2Td == gkFZ.get('invalid_delete')", "def mtOG(YKHO):\n with YKHO.assertRaises(wT3d):\n ABS7.delete(1)", "def Xm0h(YKHO):\n YKHO.user_api()\n YKHO.base.me...
[ "0.7845363", "0.7661133", "0.7618815", "0.7579205", "0.74916613", "0.74349666", "0.73349035", "0.7333713", "0.72599447", "0.72522247", "0.7246481", "0.722398", "0.72110033", "0.71876705", "0.7169879", "0.7162017", "0.7146241", "0.7146241", "0.70829624", "0.707316", "0.7072797...
0.80490714
0
Convert a string to unicode
def brQJ(vIwR): if not isinstance(vIwR, QMSQ): for ZGum in Nos9: try: LVYF = QMSQ(vIwR, ZGum) except UnicodeError: pass except TypeError: break else: return LVYF return vIwR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def brQJ(vIwR):\n if isinstance(vIwR, str):\n return vIwR.decode('utf-8')\n else:\n return QMSQ(vIwR)", "def brQJ(YKHO, fRyv):\n if not isinstance(fRyv, QMSQ):\n try:\n fRyv = QMSQ(fRyv)\n except:\n try:\n fRyv = fRyv.decode('utf-8')\n ...
[ "0.8182828", "0.793152", "0.79177076", "0.789158", "0.7860761", "0.7840225", "0.77812076", "0.774326", "0.77316", "0.7710195", "0.76987106", "0.7689813", "0.76821315", "0.7632413", "0.7602784", "0.75839925", "0.7465702", "0.7465702", "0.74596316", "0.7439076", "0.7414595", ...
0.78011256
6
Returs a list of all pandigital primes up to ``n``.
def Nuz4(exwG=10000000): TEzZ = [WKvO for WKvO in rPed(exwG) if POJ5(WKvO)] return TEzZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DwOa(exwG):\n return list(uVDW(exwG))", "def rPed(exwG):\n return [YRbF for YRbF in Ni9Y(1, exwG + 1) if kU5Q(YRbF)]", "def OoZ3(exwG):\n rPed = [' ']\n mLGw = 2\n while len(rPed) < exwG + 1:\n if T1qg(mLGw):\n rPed.append(mLGw)\n mLGw += 1\n return rPed", "def ...
[ "0.8037789", "0.79828346", "0.78280413", "0.7799131", "0.7784345", "0.77557623", "0.7705573", "0.7680708", "0.75602317", "0.75260603", "0.75113", "0.74893403", "0.7445755", "0.74427813", "0.74221474", "0.7414387", "0.739986", "0.736477", "0.7353285", "0.7333225", "0.73293346"...
0.83678913
0
Mark token as revoked. Any futher use will be prohibited
async def revoke_token(YKHO, eOtH: str, PhGN: str) -> None: i8WE = qcWV.datetime.utcnow() if eOtH in YKHO.revoked_tokens: return None kLQb = qcWV.datetime.fromtimestamp(jAkw(eOtH, PhGN)) tO9_ = {'token': eOtH, 'ts': i8WE.isoformat(), 'expired': kLQb.isoformat()} YKHO.publish(Pqze(vsUu.dumps(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def revoke_token(YKHO, QePW: Request, eOtH: str) -> None:\n V4tB = ...\n V4tB.revoked = True\n V4tB.save()", "def lzQp(YKHO, f9DO: str) -> None:\n OeZe = YKHO._conn_redis()\n bTKY = OeZe.get(f9DO)\n if bTKY and bTKY == 'true':\n raise pgG1(status_code=401, detail='Token has been re...
[ "0.7645683", "0.72017646", "0.69608617", "0.68647873", "0.6853826", "0.684368", "0.669052", "0.6648324", "0.66042507", "0.6603621", "0.6569389", "0.6490145", "0.64201844", "0.6412793", "0.640162", "0.63951135", "0.6387365", "0.6341848", "0.62859935", "0.6222544", "0.6222079",...
0.64807594
12
Tests PUT method on google authenticator
def b0cf(YKHO): bD7m = gxEw('admin_google_authenticator') nPrm = {} YKHO.client.force_authenticate(user=YKHO.admin) geh0 = YKHO.client.put(bD7m, nPrm) YKHO.assertEqual(geh0.status_code, jGRS.HTTP_405_METHOD_NOT_ALLOWED)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xlwL(YKHO):\n if not YKHO.url:\n return\n geh0 = YKHO.client.put(YKHO.url, {}, format='json')\n YKHO.assertIn(geh0.status_code, [jGRS.HTTP_405_METHOD_NOT_ALLOWED, jGRS.HTTP_401_UNAUTHORIZED])", "def leHA(YKHO):\n YKHO.getPage('/blah', method='PUT')\n YKHO.assertStatus('200 OK')\n YKH...
[ "0.75060594", "0.74279714", "0.7279392", "0.7239791", "0.71154946", "0.7027044", "0.6975747", "0.6921709", "0.68776083", "0.68717974", "0.6840171", "0.6779103", "0.6754017", "0.6685355", "0.6685355", "0.6670062", "0.6611915", "0.6585054", "0.6574342", "0.6565525", "0.65529203...
0.74890983
1
Tests POST method on google authenticator
def q2LW(YKHO): bD7m = gxEw('admin_google_authenticator') nPrm = {} YKHO.client.force_authenticate(user=YKHO.admin) geh0 = YKHO.client.post(bD7m, nPrm) YKHO.assertEqual(geh0.status_code, jGRS.HTTP_405_METHOD_NOT_ALLOWED)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gfho(YKHO):\n geh0 = YKHO.fetch('/registration', method='POST', follow_redirects=False, body=QIYp({'name': 'anoop', 'email': 'pqr@example.com', 'password': 'openlabs', 'confirm_password': 'wrong'}))\n YKHO.assertEqual(geh0.code, 200)\n YKHO.assertEqual(geh0.body.count(u'There were error(s) in processi...
[ "0.71235955", "0.69123614", "0.68825096", "0.6866466", "0.68049127", "0.67935437", "0.6757084", "0.667855", "0.6642896", "0.66332465", "0.6562463", "0.6533614", "0.65188736", "0.64831114", "0.6460359", "0.6424149", "0.64141566", "0.6398847", "0.6398251", "0.6341648", "0.63391...
0.71679026
0
Tests DELETE method on ga without being an admin
def TWVN(YKHO): bD7m = gxEw('admin_google_authenticator') nPrm = {'google_authenticator_id': YKHO.ga.id} YKHO.client.force_authenticate(user=YKHO.test_user_obj) geh0 = YKHO.client.delete(bD7m, nPrm) YKHO.assertEqual(geh0.status_code, jGRS.HTTP_403_FORBIDDEN)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EcFW(YKHO):\n bD7m = gxEw('admin_google_authenticator')\n nPrm = {}\n YKHO.client.force_authenticate(user=YKHO.admin)\n geh0 = YKHO.client.delete(bD7m, nPrm)\n YKHO.assertEqual(geh0.status_code, jGRS.HTTP_400_BAD_REQUEST)", "def Hu6Y(YKHO):\n bD7m = gxEw('admin_google_authenticator')\n n...
[ "0.78405344", "0.7798382", "0.7431772", "0.73222965", "0.73197466", "0.7210531", "0.71509945", "0.71504116", "0.71398807", "0.71240693", "0.71109575", "0.7097844", "0.7097153", "0.70948076", "0.705479", "0.70487773", "0.7041551", "0.70338", "0.700916", "0.6971044", "0.6954457...
0.80400723
0
Returns the module path of the test, e.g. integ_tests/test_simulator_quantum_task
def VV6r(): MCcV = Hy7s.environ.get('PYTEST_CURRENT_TEST') return MCcV.rsplit('.py')[0].replace('test/', '')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lp6m() -> str:\n DJlJ = Hy7s.path.abspath(xAKo)\n return Hy7s.path.dirname(DJlJ)", "def wBA9():\n pmON, mWFP = Hy7s.path.split(xAKo)\n return Hy7s.path.join(pmON, '..', 'test-data')", "def QOe9():\n return Hy7s.path.dirname(xAKo)", "def l_jd():\n return Hy7s.path.abspath(Hy7s.path.dirna...
[ "0.78093123", "0.7635861", "0.74251395", "0.7400401", "0.73989546", "0.7383977", "0.72226346", "0.71984273", "0.7129021", "0.711519", "0.7034605", "0.69752324", "0.69719654", "0.6909714", "0.6781431", "0.6727347", "0.67246187", "0.67236024", "0.6715504", "0.6674065", "0.66175...
0.0
-1
Create a dictionary with file attributes for FUSE.
def mdkW(w0rQ, ITS7, zNig): return {'st_mode': QmN4.S_IFREG | w0rQ, 'st_ctime': ITS7, 'st_mtime': ITS7, 'st_atime': ITS7, 'st_size': zNig, 'st_uid': Hy7s.getuid(), 'st_gid': Hy7s.getgid(), 'st_nlink': 1}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tlBy(Emd4, nUeQ, qaEx):\n GkYq = {}\n GkYq['path'] = qaEx\n GkYq['hash'] = Emd4.get_256_hash_from_file(qaEx)\n GkYq['type'] = 'file'\n GkYq['name'] = nUeQ\n GkYq['perm'] = QmN4.S_IMODE(Hy7s.lstat(qaEx).st_mode)\n return GkYq", "def jOo2(YKHO, Tuqy):\n wzkt = Va72()\n QmN4 = {'st_mo...
[ "0.6876256", "0.6477355", "0.642789", "0.63974553", "0.6374335", "0.636785", "0.63562584", "0.6264039", "0.62063867", "0.61930203", "0.6149867", "0.61277133", "0.60900444", "0.6011493", "0.59660053", "0.59634185", "0.5940534", "0.5900107", "0.58942765", "0.5891259", "0.588044...
0.7342417
0
Initialize the file system resolver.
def FIMM(YKHO, wyyA, rJRb, zN5o, pNYt): YKHO.cache = wyyA YKHO.userProjects = rJRb YKHO.tagRefs = zN5o YKHO.commitTimes = pNYt YKHO.initTime = ITS7.time()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, eLdm, xhv7):\n super(UWCJ, YKHO).__init__(eLdm, xhv7)\n YKHO._file_object = None\n YKHO._fsfat_volume = None\n YKHO._root_directory_identifier = None", "def ZYWA(YKHO):\n ZiQJ = {}\n for iGvk, bGrB, iumf in sorted(Hy7s.walk(YKHO._root)):\n for Ux0P in sorted(iumf):\n ...
[ "0.66651976", "0.6454042", "0.6405603", "0.6320611", "0.61738366", "0.60796", "0.6059691", "0.60032433", "0.5938865", "0.5936926", "0.59035516", "0.5886037", "0.5838677", "0.5831634", "0.57965046", "0.5789152", "0.57848793", "0.5781777", "0.57721424", "0.572982", "0.57222754"...
0.0
-1
Try to resolve a path as the root of a project, group or user.
def SgpZ(YKHO, pmON): try: Q6kx = YKHO.cache.get_tree(YKHO.userProjects)[pmON] if type(Q6kx) is JsBs.v4.objects.Group: return ahCL(UVYx.GROUP, pmON, B95m(YKHO.initTime), {'group': Q6kx}) elif type(Q6kx) is JsBs.v4.objects.User: return ahCL(UVYx.USER, pmON, B95m(YKHO.i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xBs1(YKHO, pmON=''):\n pmON = YKHO._sep.join([YKHO.root] + pmON.split('/'))\n return RUFc(pmON)", "def FKU_(Emd4, pmON):\n try:\n dzhn, N9kq, OFy7 = eCGc(Hy7s.path.realpath(pmON), 1)\n return Hy7s.path.abspath(dzhn.as_pathname().decode(u'utf-8'))\n except y_oj.Error as e:\n r...
[ "0.690271", "0.6536511", "0.63718057", "0.63490874", "0.6301866", "0.62900126", "0.6237765", "0.61903673", "0.61896497", "0.6180588", "0.6035004", "0.60347724", "0.6028328", "0.59886265", "0.59836733", "0.59700334", "0.5952076", "0.5937991", "0.5922994", "0.59141296", "0.5866...
0.5268292
96
Try to resolve a path as something within a project.
def iI0E(YKHO, pmON): for bb0K, Q6kx in YKHO.cache.get_tree(YKHO.userProjects).items(): if type(Q6kx) is JsBs.v4.objects.Project and pmON.startswith(bb0K): kyZs = oAb3.Path(pmON).relative_to(oAb3.Path(bb0K)) return (Q6kx, kyZs) return (None, None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xBs1(YKHO, pmON=''):\n pmON = YKHO._sep.join([YKHO.root] + pmON.split('/'))\n return RUFc(pmON)", "def xBs1(mWFP):\n d7pR = GkAb(mWFP)\n return str(d7pR.resolve())", "def jKOp(YKHO, pmON):\n if pmON:\n if pmON[0] == '/':\n try:\n return YKHO.unrestrictedTrave...
[ "0.6934809", "0.6887386", "0.6778996", "0.676396", "0.6690466", "0.64114004", "0.6330802", "0.6270743", "0.6252713", "0.6207397", "0.61828643", "0.61801094", "0.6173589", "0.6131582", "0.60505766", "0.59710646", "0.59427816", "0.59411895", "0.59350175", "0.5914711", "0.591217...
0.65733105
5
Try to resolve a path as the root of a ref.
def WzEO(YKHO, pmON): bNKA, bf9h, kyZs = YKHO.resolve_ref_prefix(pmON) if not bf9h or kyZs.as_posix() != '.': return None JEAJ = bifY.parse_date(bf9h.commit['committed_date']).timestamp() return ahCL(UVYx.REPOSITORY_DIR, pmON, B95m(JEAJ), {'project': bNKA, 'ref': bf9h})
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xBs1(YKHO, pmON=''):\n pmON = YKHO._sep.join([YKHO.root] + pmON.split('/'))\n return RUFc(pmON)", "def FKU_(Emd4, pmON):\n try:\n dzhn, N9kq, OFy7 = eCGc(Hy7s.path.realpath(pmON), 1)\n return Hy7s.path.abspath(dzhn.as_pathname().decode(u'utf-8'))\n except y_oj.Error as e:\n r...
[ "0.7158143", "0.68397033", "0.676219", "0.67599744", "0.67315334", "0.6719798", "0.67155963", "0.6660632", "0.6504497", "0.62912154", "0.62896556", "0.62786454", "0.6272115", "0.61823636", "0.61473644", "0.61236966", "0.6055172", "0.6030336", "0.6001333", "0.59940606", "0.597...
0.6833471
2
From 0 to positive infinity.
def NXpY(oqGu): WKvO = 0 while oqGu(1): WKvO += 1 return WKvO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FfMS(YKHO):\n return YKHO._inf", "def jVJG(WKvO):\n return False", "def UZXl(a1PO):\n return a1PO.float().fill_(float('-inf')).type_as(a1PO)", "def YLPo(YKHO):\n return _VfD.ASTNode_isInfinity(YKHO)", "def H6Iz(BWXx):\n if BWXx == float('inf') or BWXx == float('-inf'):\n return Tr...
[ "0.74205124", "0.7011005", "0.68522996", "0.68498147", "0.658942", "0.65669304", "0.65312845", "0.65211093", "0.6454594", "0.64146763", "0.6392522", "0.6364933", "0.6337372", "0.6335443", "0.6289076", "0.62520576", "0.6175854", "0.61369663", "0.611988", "0.6090568", "0.607692...
0.0
-1
From 0 to positive infinity.
def tEl6(oqGu): riFU = 0 while oqGu(1): riFU += 1 return 2 ** riFU + oqGu(riFU) - 1
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FfMS(YKHO):\n return YKHO._inf", "def jVJG(WKvO):\n return False", "def UZXl(a1PO):\n return a1PO.float().fill_(float('-inf')).type_as(a1PO)", "def YLPo(YKHO):\n return _VfD.ASTNode_isInfinity(YKHO)", "def H6Iz(BWXx):\n if BWXx == float('inf') or BWXx == float('-inf'):\n return Tr...
[ "0.7419534", "0.70103866", "0.6852276", "0.68489885", "0.65879995", "0.6568186", "0.65308875", "0.65205", "0.64529145", "0.64138526", "0.63921684", "0.63641196", "0.63368535", "0.6335251", "0.6289104", "0.6252908", "0.61746687", "0.6135361", "0.61183196", "0.60907626", "0.607...
0.0
-1
Parse Text2Text model training arguments
def gGZX(qIxc): wvEv = j1Jz.ArgumentParser(description='Text2Text: Read input text training files, output item files and train a model') wvEv.add_argument('-i', '--input-text-path', type=str, required=True, metavar='INPUT_TEXT_PATH', help='Text input file name. Format: in each line, OUTPUT_ID1,OUTPUT_ID2,OUTPUT...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xbm0():\n wvEv = j1Jz.ArgumentParser('Train a Text Summarization Model')\n wvEv.add_argument('--hiddenDim', type=int, default=50, help='The size of the hidden dimension to be used for all layers')\n wvEv.add_argument('--numLayers', type=int, default=2, help='The number of LSTM layers')\n wvEv.add_a...
[ "0.686333", "0.67426586", "0.6403633", "0.63728684", "0.63588935", "0.63261265", "0.63138217", "0.6302748", "0.62799126", "0.6250235", "0.6242753", "0.62252027", "0.6123396", "0.6101539", "0.607476", "0.6056414", "0.6046505", "0.60454464", "0.60431504", "0.60165226", "0.59678...
0.6688534
2
Return the configuration object based on the name.
def WQFC(Zu8l: str='production'): if Zu8l in ['production', 'staging', 'default']: GPtr = sToe() elif Zu8l == 'testing': GPtr = LV7V() elif Zu8l == 'development': GPtr = Yv3P() else: raise KeyError(f'Unknown configuration: {Zu8l}') return GPtr
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tgzD(YKHO, mWFP):\n return YKHO.configs[mWFP][0]", "def ONFV(mWFP):\n o8Kj = AX1r(mWFP)\n if o8Kj['online']:\n GPtr = YF8x[mWFP]()\n else:\n GPtr = YF8x[mWFP]\n GPtr['_call']['name'] = mWFP\n return GPtr", "def ccBJ(YKHO, mWFP):\n for GPtr in YKHO._config:\n if mWF...
[ "0.8064526", "0.77655816", "0.77019644", "0.74938506", "0.73495984", "0.72860664", "0.72388405", "0.72321206", "0.7196328", "0.7142278", "0.71287477", "0.7099421", "0.69440746", "0.69259566", "0.66691816", "0.65930384", "0.6522588", "0.6522556", "0.65188694", "0.65184826", "0...
0.748673
4
UserResponse a model defined in Swagger
def FIMM(YKHO, dhPZ=None, HmwW=None, GKwX=None, Ag8D=None, jGRS=None, uJjO=None, NtEF=None): YKHO._account_type = None YKHO._business_account = None YKHO._individual_account = None YKHO._registration_marketplace_id = None YKHO._status = None YKHO._user_id = None YKHO._username = None YKH...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P9t4(YKHO, nPrm):\n pass", "def RuJL(YKHO, QePW: Request) -> oGir:\n ZMzz = YKHO.get_serializer(instance=QePW.user)\n return oGir(ZMzz.data)", "def Yxsy(YKHO):\n NArs = {'tweet.fields': 'created_at,public_metrics,entities', 'expansions': 'author_id', 'user.fields': 'description'}\n return YK...
[ "0.6416418", "0.611457", "0.6068402", "0.60660547", "0.6036755", "0.59606844", "0.59422576", "0.59139943", "0.58684826", "0.58683", "0.5817401", "0.580789", "0.57984364", "0.57502323", "0.57425076", "0.570621", "0.5667755", "0.5619348", "0.5608451", "0.5582353", "0.5549562", ...
0.0
-1
Sets the account_type of this UserResponse.
def dhPZ(YKHO, dhPZ): YKHO._account_type = dhPZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dhPZ(YKHO, dhPZ):\n BbPm = ['USER_ACCOUNT', 'SERVICE_ACCOUNT', 'INACTIVE_SERVICE_ACCOUNT']\n if dhPZ not in BbPm:\n raise ValueError('Invalid value for `account_type` ({0}), must be one of {1}'.format(dhPZ, BbPm))\n YKHO._account_type = dhPZ", "def r92r(YKHO, ZrNc):\n with xgRs.step('Type ...
[ "0.769533", "0.6538228", "0.6500076", "0.63005424", "0.62570584", "0.6248823", "0.6172584", "0.6130132", "0.602886", "0.6022206", "0.5954991", "0.5954991", "0.5954991", "0.5954991", "0.58775336", "0.58745277", "0.58745277", "0.5874434", "0.5863808", "0.57894033", "0.5764235",...
0.8373349
3
Sets the business_account of this UserResponse.
def HmwW(YKHO, HmwW): YKHO._business_account = HmwW
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RFDe(YKHO, RFDe):\n YKHO._business_id = RFDe", "def _U6u(YKHO, _U6u):\n YKHO._business_email = _U6u", "def SUUa(YKHO, SUUa):\n YKHO._business_owner = SUUa", "def OY_H(YKHO, OY_H):\n YKHO._business_phone = OY_H", "def Dx5W(YKHO, Dx5W):\n YKHO._business_model = Dx5W", "def DjHn(YKHO, DjH...
[ "0.68295044", "0.6694788", "0.65968657", "0.64488673", "0.63704747", "0.61454445", "0.60893625", "0.58178234", "0.58178234", "0.5807157", "0.5681304", "0.5420851", "0.5420851", "0.5420851", "0.5420851", "0.53558195", "0.5355273", "0.53436404", "0.5324513", "0.52895993", "0.52...
0.8394445
0
Sets the individual_account of this UserResponse.
def GKwX(YKHO, GKwX): YKHO._individual_account = GKwX
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nPha(YKHO, Z31E):\n YKHO.data_struct['_setAccount'] = Z31E", "def AwQC(YKHO, ZrNc: str):\n U5bT = YKHO._call_txtrader_api('set_account', {'account': ZrNc})\n if U5bT:\n YKHO.account = ZrNc\n return U5bT", "def ZrNc(YKHO, ZrNc):\n YKHO._account = ZrNc", "def ZrNc(YKHO, ZrNc):\n YK...
[ "0.6242222", "0.62353134", "0.6195874", "0.6195874", "0.6195874", "0.6195874", "0.6064232", "0.6054456", "0.599", "0.5941063", "0.59252465", "0.58991206", "0.5867289", "0.5867289", "0.5867289", "0.5867289", "0.5867289", "0.5867289", "0.58530086", "0.56883174", "0.5645553", ...
0.80935436
0
Sets the registration_marketplace_id of this UserResponse.
def Ag8D(YKHO, Ag8D): YKHO._registration_marketplace_id = Ag8D
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aZe0(YKHO, aZe0):\n YKHO._marketplace_id = aZe0", "def NpNj(YKHO, **B2fa):\n hLKG = {'pushRegKey': ['id', '+']}\n try:\n YKHO.check_params_conform(hLKG)\n except p0uW:\n return\n uJjO = B2fa['id']\n CBIr = FYrf.User.get_by_id(uJjO)\n if CBIr is None:\n YKHO.abort(422...
[ "0.65472084", "0.563777", "0.5593157", "0.55648047", "0.5374765", "0.52975535", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", "0.52847886", ...
0.7918989
0
Sets the status of this UserResponse.
def jGRS(YKHO, jGRS): YKHO._status = jGRS
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def w8Lw(YKHO, jGRS):\n YKHO.status = jGRS", "def tZbN(YKHO, jGRS):\n YKHO.__status = jGRS", "def jGRS(YKHO, jGRS):\n YKHO._status = jGRS", "def jGRS(YKHO, jGRS):\n YKHO._status = jGRS", "def j...
[ "0.74828047", "0.74828047", "0.74828047", "0.7289848", "0.72221553", "0.72221553", "0.72221553", "0.72221553", "0.72221553", "0.72221553", "0.72221553", "0.7198546", "0.7092023", "0.7053926", "0.7053926", "0.7014277", "0.7011542", "0.69944286", "0.6962982", "0.6766823", "0.66...
0.7238996
23
Sets the user_id of this UserResponse.
def uJjO(YKHO, uJjO): YKHO._user_id = uJjO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uJjO(YKHO, uJjO):\n if uJjO is None:\n raise ValueError('Invalid value for `user_id`, must not be `None`')\n YKHO._user_id = uJjO", "def uJjO(YKHO, uJjO):\n if uJjO is None:\n raise ValueError('Invalid value for `user_id`, must not be `None`')\n YKHO._user_id = uJjO", "def r2U1(YK...
[ "0.80819875", "0.80819875", "0.8024789", "0.79389626", "0.792101", "0.73899055", "0.72080636", "0.6856244", "0.6813643", "0.6710162", "0.65760064", "0.6520053", "0.6400696", "0.6400696", "0.6400696", "0.6400696", "0.6400696", "0.6400696", "0.6400696", "0.6400696", "0.6400696"...
0.80791456
14
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, t4wm): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.80891633", "0.80891633", "0.8055254", "0.7983334", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", "0.7967544", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748" ]
0.0
-1
Convert a pygame surface into string
def P3Sr(J20S): return a9eO.image.tostring(J20S, 'RGB')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def g3Oe(J20S):\n Ll8m = jbYn.CreateImageHeader(J20S.get_size(), jbYn.IPL_DEPTH_8U, 3)\n AW93 = P3Sr(J20S)\n jbYn.SetData(Ll8m, AW93)\n return Ll8m", "def XtPF(YKHO):\n YKHO.surface = YKHO.capture.get_image(YKHO.surface)\n TVTK, H2v2 = YKHO.surface.get_size()\n return (a9eO.image.tostring(YK...
[ "0.6516572", "0.6308944", "0.59656525", "0.5701781", "0.552377", "0.5499506", "0.54991174", "0.54027945", "0.53784376", "0.5358556", "0.53564054", "0.5315486", "0.5277987", "0.5269198", "0.526664", "0.5256117", "0.52520627", "0.52384955", "0.52231586", "0.5221528", "0.5211215...
0.9001708
0
Sets the link_data of this TopologyAttachmentResultDto.
def XLTp(YKHO, XLTp): YKHO._link_data = XLTp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NXJN(YKHO, wEf2=None):\n if wEf2 != None:\n YKHO.linked_data = wEf2", "def QZnA(YKHO, QZnA):\n YKHO.container['link'] = QZnA", "def QZnA(YKHO, QZnA):\n YKHO._link = QZnA", "def QZnA(YKHO, QZnA):\n YKHO._link = QZnA", "def QZnA(YKHO, QZnA):\n YKHO._link = QZnA", "def QZnA(YKHO, Q...
[ "0.5885388", "0.5762334", "0.5706907", "0.5706907", "0.5706907", "0.5706907", "0.5706907", "0.5706907", "0.5706907", "0.5507466", "0.5478151", "0.54773843", "0.5213641", "0.518306", "0.51407033", "0.513635", "0.5109374", "0.5109374", "0.5109374", "0.5109374", "0.5109374", "...
0.7365313
0
Sets the node_data of this TopologyAttachmentResultDto.
def tckm(YKHO, tckm): YKHO._node_data = tckm
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tckm(YKHO, tckm):\n YKHO.node_data_ = tckm\n YKHO.label = tckm.label\n YKHO.node_type = tckm.node_type\n YKHO.arity = tckm.arity\n YKHO.min_depth = tckm.min_depth\n YKHO.child_type = tckm.child_type\n YKHO.numpy_func = tckm.numpy_func\n YKHO.tensorflow_func = tckm.tensorflow_func", "d...
[ "0.5924504", "0.56284124", "0.5487792", "0.52650934", "0.522697", "0.52221644", "0.5181747", "0.5177556", "0.5148225", "0.5126763", "0.51123697", "0.51031524", "0.51031524", "0.51031524", "0.5067002", "0.5042375", "0.5041182", "0.50394917", "0.50161797", "0.4974361", "0.49511...
0.6978998
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, Fz3k): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.8456082", "0.83912885", "0.81436425", "0.81406975", "0.8131807", "0.8093013", "0.80912536", "0.80912536", "0.80912536", "0.8084505", "0.8084505", "0.8075543", "0.8075543", "0.8065009" ]
0.0
-1
The call rate limit Cognitive Services account.
def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse': return qe4Y.get(YKHO, 'call_rate_limit')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u3PP(YKHO):\n _hkX = YKHO._session.get(YKHO.API_ROOT + '/rate_limit')\n RKD7.info(_hkX.text)", "def OaeV(YKHO):\n return qqpO()", "def u3PP(x0hE):\n xDcj = 'query {\\n rateLimit {\\n limit\\n remaining\\n resetAt\\n }\\n }'\n geh0 = x0hE.exec...
[ "0.6358268", "0.6162561", "0.60568434", "0.5990054", "0.5918794", "0.58661646", "0.573936", "0.57365024", "0.5668265", "0.5640884", "0.56161267", "0.5614316", "0.5562859", "0.5551392", "0.5523943", "0.5515391", "0.54717577", "0.54716563", "0.5464131", "0.5456545", "0.54448587...
0.73106307
2
Gets the date of cognitive services account creation.
def JjkJ(YKHO) -> str: return qe4Y.get(YKHO, 'date_created')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def o1cz(YKHO):\n return YKHO.account_created_date", "def mWTI(YKHO):\n return YKHO.account_created_date_formatted", "def d8PD(YKHO) -> str:\n return qe4Y.get(YKHO, 'creation_date')", "def d8PD(YKHO) -> str:\n return qe4Y.get(YKHO, 'creation_date')", "def d8PD(YKHO) -> str:\n return qe4Y.get...
[ "0.81209767", "0.743392", "0.7200769", "0.7200769", "0.7200769", "0.6544591", "0.64716315", "0.6429377", "0.6429377", "0.6415792", "0.64151484", "0.64151484", "0.64151484", "0.6406308", "0.6400229", "0.6400229", "0.6400229", "0.63968235", "0.63506657", "0.63506657", "0.635066...
0.66924393
5
The deletion date, only available for deleted account.
def dTlU(YKHO) -> str: return qe4Y.get(YKHO, 'deletion_date')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F0B_(YKHO) -> str:\n return qe4Y.get(YKHO, 'deleted_time')", "def DmiH(YKHO):\n return YKHO._decommission_date", "def Yq1m(YKHO) -> str:\n return qe4Y.get(YKHO, 'delete_time')", "def Yq1m(YKHO) -> str:\n return qe4Y.get(YKHO, 'delete_time')", "def x7F_(YKHO) -> str:\n return qe4Y.get(YKH...
[ "0.75667304", "0.7024116", "0.6854214", "0.6854214", "0.6547442", "0.6326043", "0.6143451", "0.6114624", "0.6068728", "0.6068728", "0.5996998", "0.5946708", "0.59344095", "0.58662504", "0.586075", "0.58573246", "0.58573246", "0.58573246", "0.5817896", "0.5817896", "0.5806128"...
0.90385526
0
(QnAMaker Only) The Azure Search endpoint key of QnAMaker.
def SzUY(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'qna_azure_search_endpoint_key')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Trom(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'qna_azure_search_endpoint_id')", "def Aohk(YKHO, NArs: Dict) -> h8nf[str]:\n return None", "def _R4q(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'endpoint_id')", "def _R4q(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'endpoint_id')"...
[ "0.760087", "0.6005936", "0.59957916", "0.59957916", "0.59957916", "0.59957916", "0.5990177", "0.59611803", "0.59611803", "0.58993065", "0.58993065", "0.58993065", "0.58993065", "0.58035594", "0.58035594", "0.579497", "0.579497", "0.579497", "0.579497", "0.579497", "0.579497"...
0.84970903
0
(Personalization Only) The storage account connection string.
def kwfZ(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'storage_account_connection_string')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OBjx(YKHO) -> str:\n return qe4Y.get(YKHO, 'rdb_storage_connection_string')", "def LPUP(YKHO) -> str:\n return qe4Y.get(YKHO, 'account_connection_string')", "def I6MY(YKHO) -> str:\n return qe4Y.get(YKHO, 'storage_account')", "def I7Gx(YKHO) -> str:\n return qe4Y.get(YKHO, 'storage_account_na...
[ "0.78525084", "0.77868885", "0.7490864", "0.7084924", "0.68205947", "0.680374", "0.6798149", "0.65964776", "0.6592029", "0.65299773", "0.63563156", "0.6331491", "0.63102967", "0.6303591", "0.62777317", "0.6277717", "0.6274107", "0.6228608", "0.6228479", "0.6141211", "0.614121...
0.8600586
0
The call rate limit Cognitive Services account.
def FIMM(Ro_8, *, UHFx: Optional[float]=None, y0QB: Optional[float]=None, c_NS: Optional[Sequence['outputs.ThrottlingRuleResponse']]=None): if UHFx is not None: qe4Y.set(Ro_8, 'count', UHFx) if y0QB is not None: qe4Y.set(Ro_8, 'renewal_period', y0QB) if c_NS is not None: qe4Y.set(Ro_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse':\n return qe4Y.get(YKHO, 'call_rate_limit')", "def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse':\n return qe4Y.get(YKHO, 'call_rate_limit')", "def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse':\n return qe4Y.get(YKHO, 'call_rate_limit')", "def u3PP(...
[ "0.73106307", "0.73106307", "0.73106307", "0.6358268", "0.6162561", "0.60568434", "0.5990054", "0.5918794", "0.58661646", "0.573936", "0.57365024", "0.5668265", "0.5640884", "0.56161267", "0.5614316", "0.5562859", "0.5551392", "0.5523943", "0.5515391", "0.54717577", "0.547165...
0.0
-1
Commitment period end date.
def KhBf(YKHO) -> str: return qe4Y.get(YKHO, 'end_date')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KhBf(YKHO):\n return YKHO.__end_date", "def KhBf(YKHO):\n return YKHO._end_date", "def KhBf(YKHO):\n return YKHO._end_date", "def KhBf(YKHO):\n return YKHO._end_date", "def j6Bz(YKHO):\n if YKHO.enddate:\n vgXP = qcWV.timedelta(days=1 if YKHO.inclusive else 0)\n return YKHO...
[ "0.72664535", "0.7117559", "0.7117559", "0.7117559", "0.7070606", "0.6941111", "0.6776933", "0.67016834", "0.67016834", "0.66824603", "0.6518314", "0.65141875", "0.6463101", "0.64071155", "0.6389012", "0.63748705", "0.63725436", "0.63416606", "0.63072854", "0.6300031", "0.629...
0.70362073
6
Commitment period start date.
def kepv(YKHO) -> str: return qe4Y.get(YKHO, 'start_date')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Kx9c(YKHO):\n return qcWV.date(2016, 1, 4)", "def kepv(YKHO):\n return YKHO.__start_date", "def kepv(YKHO):\n return YKHO._start_date", "def kepv(YKHO):\n return YKHO._start_date", "def kepv(YKHO):\n return YKHO._start_date", "def kepv(YKHO):\n return YKHO._start_date", "def nUNa(...
[ "0.6839815", "0.68031985", "0.66874164", "0.66874164", "0.66874164", "0.66874164", "0.6584549", "0.6583291", "0.6506471", "0.64989716", "0.6378951", "0.6378951", "0.6342821", "0.6279255", "0.62256783", "0.62214386", "0.6180699", "0.6159274", "0.6134331", "0.61129344", "0.6101...
0.66267425
7
Properties of Cognitive Services account deployment model.
def FIMM(Ro_8, *, Jtl4: 'outputs.CallRateLimitResponse', format: Optional[str]=None, mWFP: Optional[str]=None, JZXy: Optional[str]=None, DpZH: Optional[str]=None): qe4Y.set(Ro_8, 'call_rate_limit', Jtl4) if format is not None: qe4Y.set(Ro_8, 'format', format) if mWFP is not None: qe4Y.set(Ro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BmHl(YKHO) -> h8nf[qe4Y.Input['EnvironmentDeploymentPropertiesArgs']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def BmHl(YKHO) -> qe4Y.Output[h8nf['outputs.EnvironmentDeploymentPropertiesResponse']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def C9U5(YKHO) -> 'outputs.DeploymentP...
[ "0.5764301", "0.5752091", "0.5590139", "0.5254803", "0.5201687", "0.5007838", "0.49920905", "0.49592757", "0.4896395", "0.48747262", "0.48150942", "0.48005962", "0.47651693", "0.47592697", "0.47568217", "0.4752785", "0.47427654", "0.47425056", "0.47424388", "0.474131", "0.474...
0.0
-1
The call rate limit Cognitive Services account.
def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse': return qe4Y.get(YKHO, 'call_rate_limit')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u3PP(YKHO):\n _hkX = YKHO._session.get(YKHO.API_ROOT + '/rate_limit')\n RKD7.info(_hkX.text)", "def OaeV(YKHO):\n return qqpO()", "def u3PP(x0hE):\n xDcj = 'query {\\n rateLimit {\\n limit\\n remaining\\n resetAt\\n }\\n }'\n geh0 = x0hE.exec...
[ "0.6358268", "0.6162561", "0.60568434", "0.5990054", "0.5918794", "0.58661646", "0.573936", "0.57365024", "0.5668265", "0.5640884", "0.56161267", "0.5614316", "0.5562859", "0.5551392", "0.5523943", "0.5515391", "0.54717577", "0.54716563", "0.5464131", "0.5456545", "0.54448587...
0.73106307
0
Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
def DpZH(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'version')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def E2le(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'model_version_id')", "def TBez(YKHO) -> str:\n return qe4Y.get(YKHO, 'model_version')", "def DpZH(YKHO, DpZH: Optional[str]) -> h8nf[cV7Y]:\n if DpZH is None or DpZH == '':\n return YKHO.latest\n uzVK = q4YV.SimpleSpec(DpZH)\n for Mkmy...
[ "0.6756223", "0.65918255", "0.6303875", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.63008827", "0.62859136", "0.6258136", ...
0.61447006
25
The call rate limit Cognitive Services account.
def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse': return qe4Y.get(YKHO, 'call_rate_limit')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def u3PP(YKHO):\n _hkX = YKHO._session.get(YKHO.API_ROOT + '/rate_limit')\n RKD7.info(_hkX.text)", "def OaeV(YKHO):\n return qqpO()", "def u3PP(x0hE):\n xDcj = 'query {\\n rateLimit {\\n limit\\n remaining\\n resetAt\\n }\\n }'\n geh0 = x0hE.exec...
[ "0.6358268", "0.6162561", "0.60568434", "0.5990054", "0.5918794", "0.58661646", "0.573936", "0.57365024", "0.5668265", "0.5640884", "0.56161267", "0.5614316", "0.5562859", "0.5551392", "0.5523943", "0.5515391", "0.54717577", "0.54716563", "0.5464131", "0.5456545", "0.54448587...
0.73106307
1
Properties of Cognitive Services account deployment model.
def C3ST(YKHO) -> h8nf['outputs.DeploymentModelResponse']: return qe4Y.get(YKHO, 'model')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BmHl(YKHO) -> h8nf[qe4Y.Input['EnvironmentDeploymentPropertiesArgs']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def BmHl(YKHO) -> qe4Y.Output[h8nf['outputs.EnvironmentDeploymentPropertiesResponse']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def C9U5(YKHO) -> 'outputs.DeploymentP...
[ "0.576061", "0.5748149", "0.558791", "0.52540296", "0.5202421", "0.5008409", "0.49905658", "0.48957098", "0.48766568", "0.48135006", "0.4802074", "0.47638035", "0.47576737", "0.47554222", "0.47512716", "0.4743688", "0.47434357", "0.47413507", "0.4739745", "0.47396374", "0.473...
0.49561757
7
Properties of Cognitive Services account deployment model.
def hTNY(YKHO) -> h8nf['outputs.DeploymentScaleSettingsResponse']: return qe4Y.get(YKHO, 'scale_settings')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BmHl(YKHO) -> h8nf[qe4Y.Input['EnvironmentDeploymentPropertiesArgs']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def BmHl(YKHO) -> qe4Y.Output[h8nf['outputs.EnvironmentDeploymentPropertiesResponse']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def C9U5(YKHO) -> 'outputs.DeploymentP...
[ "0.576061", "0.5748149", "0.558791", "0.52540296", "0.5202421", "0.5008409", "0.49905658", "0.49561757", "0.48957098", "0.48766568", "0.48135006", "0.4802074", "0.47638035", "0.47576737", "0.47554222", "0.47512716", "0.4743688", "0.47434357", "0.47413507", "0.4739745", "0.473...
0.0
-1
Properties of Cognitive Services account deployment model.
def FIMM(Ro_8, *, JKUI: int, b7hB: Optional[int]=None, c2zJ: Optional[str]=None): qe4Y.set(Ro_8, 'active_capacity', JKUI) if b7hB is not None: qe4Y.set(Ro_8, 'capacity', b7hB) if c2zJ is not None: qe4Y.set(Ro_8, 'scale_type', c2zJ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BmHl(YKHO) -> h8nf[qe4Y.Input['EnvironmentDeploymentPropertiesArgs']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def BmHl(YKHO) -> qe4Y.Output[h8nf['outputs.EnvironmentDeploymentPropertiesResponse']]:\n return qe4Y.get(YKHO, 'deployment_properties')", "def C9U5(YKHO) -> 'outputs.DeploymentP...
[ "0.576061", "0.5748149", "0.558791", "0.52540296", "0.5202421", "0.5008409", "0.49905658", "0.49561757", "0.48957098", "0.48766568", "0.48135006", "0.4802074", "0.47638035", "0.47576737", "0.47554222", "0.47512716", "0.4743688", "0.47434357", "0.47413507", "0.4739745", "0.473...
0.0
-1
Name of the Key from KeyVault
def zAat(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'key_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAat(YKHO) -> str:\n return qe4Y.get(YKHO, 'key_name')", "def ogdV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'key_vault_cert_name')", "def nyvP(YKHO) -> str:\n return qe4Y.get(YKHO, 'key_pair_name')", "def sAuW(YKHO) -> str:\n return qe4Y.get(YKHO, 'key_vault_id')", "def zAat(YKHO):...
[ "0.77167165", "0.7603939", "0.74588174", "0.7155055", "0.70759636", "0.70245236", "0.70245236", "0.70245236", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899", "0.6964899...
0.726185
3
The provisioning state of the private endpoint connection resource.
def mX_9(YKHO) -> str: return qe4Y.get(YKHO, 'provisioning_state')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eA9P(YKHO):\n bD7m = '/api/v1/machine/{}'.format(YKHO.machine_id)\n return YKHO.urlhandler.get(bD7m)", "def ZUSg(YKHO) -> 'outputs.PrivateLinkServiceConnectionStateResponse':\n return qe4Y.get(YKHO, 'private_link_service_connection_state')", "def ZUSg(YKHO) -> h8nf['outputs.PrivateLinkServiceConne...
[ "0.72285354", "0.68424946", "0.66898847", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.6656034", "0.65973026", "0.65973026", "0.65973026", "0.65973026", "0.638049...
0.6708338
20
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
def type(YKHO) -> str: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qjbs(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'resource_type')", "def Qjbs(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'resource_type')", "def Qjbs(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'resource_type')", "def Qjbs(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, '...
[ "0.7918516", "0.7918516", "0.7866337", "0.7866337", "0.7866337", "0.7866337", "0.7866337", "0.7708053", "0.75534964", "0.7282099", "0.70591027", "0.6979169", "0.69202054", "0.6868452", "0.67303157", "0.67049116", "0.6654272", "0.6646357", "0.65510035", "0.65426683", "0.654266...
0.66396123
55
The call rate limit Cognitive Services account.
def FIMM(Ro_8, *, GXfk: Optional[str]=None, mWFP: Optional[str]=None, BWXx: Optional[float]=None): if GXfk is not None: qe4Y.set(Ro_8, 'customsubdomain', GXfk) if mWFP is not None: qe4Y.set(Ro_8, 'name', mWFP) if BWXx is not None: qe4Y.set(Ro_8, 'value', BWXx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse':\n return qe4Y.get(YKHO, 'call_rate_limit')", "def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse':\n return qe4Y.get(YKHO, 'call_rate_limit')", "def Jtl4(YKHO) -> 'outputs.CallRateLimitResponse':\n return qe4Y.get(YKHO, 'call_rate_limit')", "def u3PP(...
[ "0.73106307", "0.73106307", "0.73106307", "0.6358268", "0.6162561", "0.60568434", "0.5990054", "0.5918794", "0.58661646", "0.573936", "0.57365024", "0.5668265", "0.5640884", "0.56161267", "0.5614316", "0.5562859", "0.5551392", "0.5523943", "0.5515391", "0.54717577", "0.547165...
0.0
-1
Name of the region.
def mWFP(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aGvo(YKHO):\n return YKHO.random_element(YKHO._regions)[1]", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO, 'region')", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO, 'region')", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO, 'region')", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO,...
[ "0.8747073", "0.82721585", "0.82721585", "0.82721585", "0.82721585", "0.82721585", "0.82721585", "0.81702864", "0.8110433", "0.7965388", "0.7929299", "0.7929299", "0.7929299", "0.7929299", "0.7929299", "0.7929299", "0.7872648", "0.7786387", "0.7786387", "0.7786387", "0.778638...
0.0
-1
The name of the SkuCapability.
def mWFP(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mDSP(YKHO) -> str:\n return qe4Y.get(YKHO, 'sku_name')", "def mDSP(YKHO) -> str:\n return qe4Y.get(YKHO, 'sku_name')", "def mDSP(YKHO) -> str:\n return qe4Y.get(YKHO, 'sku_name')", "def mDSP(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'sku_name')", "def mDSP(YKHO) -> h8nf[qe4Y.I...
[ "0.7394996", "0.7394996", "0.7394996", "0.7127446", "0.7127446", "0.70643705", "0.693639", "0.6608983", "0.6601351", "0.6323481", "0.6323481", "0.63075024", "0.63075024", "0.62782514", "0.6137717", "0.6104975", "0.60995936", "0.60995936", "0.6080549", "0.60667115", "0.6052637...
0.0
-1
The value of the SkuCapability.
def BWXx(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'value')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PXIM(YKHO):\n return YKHO._sku", "def PXIM(YKHO) -> qe4Y.Output['outputs.IotHubDpsSku']:\n return qe4Y.get(YKHO, 'sku')", "def PXIM(YKHO) -> qe4Y.Output['outputs.SkuResponse']:\n return qe4Y.get(YKHO, 'sku')", "def PXIM(YKHO) -> qe4Y.Output[h8nf['outputs.SkuDescriptionResponse']]:\n return qe...
[ "0.7050685", "0.69792026", "0.69721967", "0.6952778", "0.6952778", "0.6919825", "0.6919825", "0.68543214", "0.68543214", "0.6831363", "0.6831363", "0.66993695", "0.6684792", "0.66706693", "0.6573286", "0.65543294", "0.65283", "0.64675206", "0.6413709", "0.61848974", "0.613538...
0.0
-1
Gets the count of downgrades.
def iQOR(YKHO) -> h8nf[float]: return qe4Y.get(YKHO, 'count_of_downgrades')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rs6E(YKHO) -> h8nf[float]:\n return qe4Y.get(YKHO, 'count_of_upgrades_after_downgrades')", "def Xsac(YKHO):\n return YKHO.filter(value=-1).count()", "def JpMz():\n pass", "def JpMz():\n pass", "def RKtw(YKHO) -> int:\n try:\n YKHO._serial.transmit(b'U\\x00')\n geh0 = YKHO._...
[ "0.8287235", "0.67211527", "0.62132925", "0.62132925", "0.6082984", "0.6066136", "0.59956974", "0.59314454", "0.5926545", "0.58456475", "0.57416725", "0.563767", "0.5635512", "0.56127214", "0.55500185", "0.54669005", "0.5453762", "0.5427202", "0.542651", "0.54143727", "0.5398...
0.8500595
0
Gets the last change date.
def aK6G(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'last_change_date')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OEdr(L4A2):\n pass", "def nFRz(YKHO):\n return YKHO.last_update", "def Ghb5(YKHO) -> str:\n return qe4Y.get(YKHO, 'status_change_date')", "def iCvq(YKHO):\n return BfDw.run('git', ['log', '--all', '-1', '--format=%cI'], YKHO.__project.location).rstrip()", "def xZYY(YKHO):\n if hasattr(YK...
[ "0.7332252", "0.7219531", "0.71956813", "0.71701235", "0.71467483", "0.7004979", "0.69549567", "0.69372267", "0.69336087", "0.68705344", "0.68644184", "0.68644184", "0.6829638", "0.68113947", "0.67973435", "0.6780454", "0.67783314", "0.6749812", "0.67184407", "0.67096853", "0...
0.8572634
0
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
def EcuX(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'tier')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EO8h(YKHO):\n pass", "def vnyA():\n return 'PUT'", "def EcuX(YKHO, EcuX):\n YKHO._tier = EcuX", "def m8z6(YKHO, EcuX):\n if YKHO._from_cluster:\n raise AJ5d.OperationNotPermitted\n try:\n EcuX = EcuX.as_dict()\n na1r.debug('storage tier post dict= %s' % EcuX)\n ...
[ "0.5875488", "0.57447296", "0.5693533", "0.566215", "0.5656812", "0.5543094", "0.5497317", "0.54348516", "0.54160964", "0.5350421", "0.5350164", "0.5287727", "0.5275415", "0.5265335", "0.52464986", "0.5240691", "0.52340543", "0.5232816", "0.5215241", "0.5214215", "0.5196083",...
0.51187545
32
The type of identity that created the resource.
def IM__(YKHO) -> h8nf[str]: return qe4Y.get(YKHO, 'created_by_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def type(YKHO) -> qe4Y.Input['ResourceIdentityType']:\n return qe4Y.get(YKHO, 'type')", "def type(YKHO) -> h8nf[qe4Y.Input['ResourceIdentityType']]:\n return qe4Y.get(YKHO, 'type')", "def IM__(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'IdentityType']]]:\n return qe4Y.get(YKHO, 'created_by_type')", "def typ...
[ "0.8255673", "0.8014981", "0.7372117", "0.71985024", "0.7168418", "0.71437", "0.7070173", "0.70280266", "0.69838005", "0.68890923", "0.686309", "0.6844002", "0.67700636", "0.6763271", "0.6724401", "0.6703369", "0.6695644", "0.6664346", "0.66642934", "0.65966016", "0.65327346"...
0.6752386
19
Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/subnet1'.
def id(YKHO) -> str: return qe4Y.get(YKHO, 'id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pyfM(YKHO) -> str:\n return qe4Y.get(YKHO, 'subnet_id')", "def Ll4v(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'subnet_resource_id')", "def pyfM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'subnet_id')", "def pyfM(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'subnet_id...
[ "0.8063851", "0.8047559", "0.7693853", "0.75608104", "0.75608104", "0.7479363", "0.7479363", "0.74655336", "0.74591607", "0.74558216", "0.73330986", "0.7293803", "0.66670346", "0.66211975", "0.66166234", "0.64410806", "0.6400703", "0.6184769", "0.6160635", "0.61162025", "0.60...
0.0
-1
Wrapper to return the desired api response only if the specified project type is valid
def eqVi(wa6H, Aofo): if wa6H not in MBow: return Fntb(wa6H) return Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SyZN(n0X3, WBAH):\n geh0 = None\n try:\n if n0X3 not in set(['projects', 'studies']):\n raise Exception('Invalid object type specified')\n WTHe = {}\n WTHe.update(gAll[n0X3]['valid'])\n WTHe.update(gAll[n0X3]['invalid'])\n if WBAH in WTHe.keys():\n ...
[ "0.64074504", "0.584251", "0.57444906", "0.5642053", "0.55687165", "0.55578846", "0.5441781", "0.54382634", "0.5401079", "0.5363507", "0.53115785", "0.53091395", "0.5285356", "0.52749294", "0.52570665", "0.52514297", "0.52415955", "0.5230785", "0.5206412", "0.52010256", "0.51...
0.80576724
0
Returns the nth item
def _J4B(OxJJ, d6pt): return next(Hs6x.islice(OxJJ, d6pt, None))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _J4B(exwG, Q6uT):\n try:\n return Q6uT[exwG]\n except TypeError:\n return next(Hs6x.islice(Q6uT, exwG, None))", "def _J4B(OxJJ, exwG, WmM4=None):\n return next(uOgj(OxJJ, exwG, None), WmM4)", "def _J4B(OxJJ, exwG, WmM4=None):\n return next(uOgj(OxJJ, exwG, None), WmM4)", "def _J...
[ "0.7396352", "0.72852194", "0.72852194", "0.72852194", "0.7229926", "0.7180901", "0.70936525", "0.69702876", "0.6887761", "0.6603851", "0.6541124", "0.6488166", "0.6476991", "0.64401025", "0.64200073", "0.6405436", "0.63758516", "0.6363515", "0.63572127", "0.62999797", "0.629...
0.7512134
0
Return random item for a type specified by a mode and a single format character.
def qbwc(Tuqy, hcXw, YEnM): WKvO = qukk(*y9OU[Tuqy][hcXw]) if hcXw == 'c': WKvO = bytes([WKvO]) if YEnM == 'numpy' and WKvO == b'\x00': WKvO = b'\x01' if hcXw == '?': WKvO = bool(WKvO) if hcXw == 'f' or hcXw == 'd': WKvO = BlNT.pack(hcXw, WKvO) WKvO = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hLeQ(exwG, YEnM='ndarray', Tuqy=None, hcXw=None):\n if Tuqy is None:\n Tuqy = Acvy(Fd1k[YEnM][ixS5])\n if hcXw is None:\n hcXw = Acvy(tuple(y9OU[Tuqy]))\n pSDG = Acvy(Fd1k[YEnM][MdIT])\n FMLJ = Tuqy + '#' + hcXw * int(pSDG if pSDG else 1)\n DumB = GXIA(exwG, FMLJ, YEnM)\n ZfUD =...
[ "0.6796878", "0.6796878", "0.60390544", "0.60390544", "0.5697757", "0.56245166", "0.55712277", "0.5493748", "0.5452205", "0.537199", "0.5334354", "0.5267052", "0.52179533", "0.5095594", "0.5086428", "0.5081015", "0.5081015", "0.5054717", "0.50137657", "0.50027424", "0.4957444...
0.5423713
9
Return a list of random items (or a scalar).
def GXIA(exwG, FMLJ, YEnM): if exwG == 0: return BRj5(FMLJ, YEnM) yv6U = [0] * exwG for YRbF in range(exwG): yv6U[YRbF] = BRj5(FMLJ, YEnM) return yv6U
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mvm2(YKHO):\n return YKHO.items[YKHO.np_random.choice(len(YKHO.items))]", "def c2Yh(YKHO, tuKI, qIxc):\n if YKHO.duplicates:\n n6mp = [YKHO.capacity // ZfUD[0] for ZfUD in YKHO.items]\n return [tuKI.randint(0, r8hN) for r8hN in n6mp]\n else:\n return [tuKI.choice([0, 1]) for bGr...
[ "0.7186447", "0.68290174", "0.67713726", "0.6744953", "0.6688288", "0.6684551", "0.661171", "0.6610131", "0.6610131", "0.6610131", "0.6610131", "0.65993875", "0.6582984", "0.6574758", "0.65567404", "0.6546218", "0.65396774", "0.6507699", "0.65028495", "0.65009904", "0.6481836...
0.0
-1
Calculate strides of a contiguous array. Layout is 'C' or 'F' (Fortran).
def BeeB(qC1Y, ROpF, GuM9, LAOT): if qC1Y == 0: return () if LAOT == 'C': FEri = list(ROpF[1:]) + [GuM9] for YRbF in range(qC1Y - 2, -1, -1): FEri[YRbF] *= FEri[YRbF + 1] else: FEri = [GuM9] + list(ROpF[:-1]) for YRbF in range(1, qC1Y): FEri[YR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BeeB(qC1Y, ROpF, GuM9, LAOT):\n if qC1Y == 0:\n return ()\n if LAOT == 'C':\n FEri = list(ROpF[1:]) + [GuM9]\n for YRbF in range(qC1Y - 2, -1, -1):\n FEri[YRbF] *= FEri[YRbF + 1]\n else:\n FEri = [GuM9] + list(ROpF[:-1])\n for YRbF in range(1, qC1Y):\n ...
[ "0.6671998", "0.6667623", "0.63901645", "0.62995565", "0.6209812", "0.62079126", "0.6108434", "0.60595614", "0.60080725", "0.5996222", "0.5996222", "0.5860129", "0.57919973", "0.57440704", "0.56975204", "0.56885684", "0.56631756", "0.5634464", "0.56175673", "0.5605618", "0.55...
0.6674238
0
Verify that the parameters represent a valid array within
def lY50(WRfu, GuM9, qC1Y, ROpF, FEri, vgXP): if vgXP % GuM9: return False if vgXP < 0 or vgXP + GuM9 > WRfu: return False if any((Ty9i % GuM9 for Ty9i in FEri)): return False if qC1Y <= 0: return qC1Y == 0 and (not ROpF) and (not FEri) if 0 in ROpF: return Tr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def G4sA(a1PO):\n TVLI = a1PO.type\n if PFXX(TVLI):\n raise OK0X(a1PO)\n xzCw(TVLI)", "def ICtp(gwfI):\n if isinstance(gwfI, dict):\n if all((len(oeNL) == 3 for oeNL in gwfI.values())):\n return True\n elif isinstance(gwfI, str):\n return Hy7s.path.exists(gwfI)\n ...
[ "0.7270341", "0.69448113", "0.683705", "0.6811981", "0.6776789", "0.67708015", "0.6727861", "0.6655488", "0.6578328", "0.6572302", "0.65476936", "0.6494485", "0.64726275", "0.64687735", "0.64408755", "0.6395904", "0.6385423", "0.635954", "0.63554", "0.63529444", "0.63336235",...
0.0
-1
Location of an item in the underlying memory.
def QI30(_0VL, a1PO): WRfu, GuM9, qC1Y, ROpF, FEri, vgXP = a1PO XP5J = vgXP for YRbF in range(qC1Y): XP5J += FEri[YRbF] * _0VL[YRbF] return XP5J
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hksT(YKHO):\n return YKHO._loc", "def hksT(YKHO):\n return YKHO._loc", "def REqx(YKHO, REqx):\n YKHO._item_location = REqx", "def Rci7(YKHO, ZfUD):\n return gxEw(ZfUD)", "def Nag5(YKHO, ZfUD):\n dUrJ = YKHO.__find(ZfUD)\n if dUrJ is not None and dUrJ.item == ZfUD:\n return dUrJ...
[ "0.64741904", "0.64741904", "0.6460164", "0.630083", "0.6235623", "0.61925596", "0.61581695", "0.61156976", "0.6103149", "0.6092022", "0.60529405", "0.6024192", "0.6024192", "0.6024192", "0.60195667", "0.59354365", "0.59073675", "0.5875071", "0.5874959", "0.58549565", "0.5850...
0.0
-1
Create a random slice of len slicelen that fits into listlen.
def hJXC(SLkt, LOx4): OhOo = LOx4 - SLkt yKcO = qukk(OhOo + 1) MN4O = (LOx4 - yKcO) // SLkt if SLkt else 1 YPaw = qukk(1, MN4O + 1) JCyR = yKcO + SLkt * YPaw KCHu = slice(yKcO, JCyR, YPaw) bGrB, bGrB, bGrB, z5su = kFs2(KCHu, LOx4) if z5su != SLkt: raise RuntimeError return KC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hJXC(SLkt, LOx4):\n OhOo = LOx4 - SLkt\n yKcO = qukk(OhOo + 1)\n MN4O = (LOx4 - yKcO) // SLkt if SLkt else 1\n YPaw = qukk(1, MN4O + 1)\n JCyR = yKcO + SLkt * YPaw\n KCHu = slice(yKcO, JCyR, YPaw)\n bGrB, bGrB, bGrB, z5su = kFs2(KCHu, LOx4)\n if z5su != SLkt:\n raise RuntimeError...
[ "0.83833927", "0.80226773", "0.714893", "0.7132235", "0.6567857", "0.6413113", "0.62118304", "0.61636114", "0.6134608", "0.6101278", "0.61010647", "0.6062314", "0.60282576", "0.6016087", "0.59929234", "0.5939068", "0.59296066", "0.59249735", "0.59247345", "0.5907804", "0.5882...
0.8387383
0
Create two sets of slices for an array x with shape 'shape' such that shapeof(x[lslices]) == shapeof(x[rslices]).
def PLl8(qC1Y, ROpF): A9XV = [0] * qC1Y TiPN = [0] * qC1Y for exwG in range(qC1Y): vC9B = ROpF[exwG] SLkt = qukk(1, vC9B + 1) if vC9B > 0 else 0 A9XV[exwG] = hJXC(SLkt, vC9B) TiPN[exwG] = hJXC(SLkt, vC9B) return (tuple(A9XV), tuple(TiPN))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PLl8(qC1Y, ROpF):\n A9XV = [0] * qC1Y\n TiPN = [0] * qC1Y\n for exwG in range(qC1Y):\n vC9B = ROpF[exwG]\n SLkt = qukk(1, vC9B + 1) if vC9B > 0 else 0\n A9XV[exwG] = hJXC(SLkt, vC9B)\n TiPN[exwG] = hJXC(SLkt, vC9B)\n return (tuple(A9XV), tuple(TiPN))", "def gFik(qC1Y, ...
[ "0.6905628", "0.65749097", "0.6485385", "0.6485385", "0.6428866", "0.64170295", "0.64149487", "0.6344559", "0.6343766", "0.6329222", "0.62940896", "0.6255896", "0.62288624", "0.6182799", "0.59876955", "0.5903534", "0.58359647", "0.5818925", "0.5786385", "0.5780439", "0.572824...
0.6896135
1
Interpret the raw memory of 'exporter' as a list of items with size 'itemsize'. If shape=None, the new structure is assumed to be 1D with n itemsize = bytelen. If shape is given, the usual constraint for contiguous arrays prod(shape) itemsize = bytelen applies. On success, return (items, shape). If the constraints cann...
def HMC8(Fp1S, FMLJ, GuM9, ROpF=None): lqqq = Fp1S.nbytes if ROpF: if QRFO(ROpF) * GuM9 != lqqq: return (None, ROpF) elif ROpF == []: if Fp1S.ndim == 0 or GuM9 != lqqq: return (None, ROpF) else: exwG, Mkmy = divmod(lqqq, GuM9) ROpF = [exwG] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HMC8(Fp1S, FMLJ, GuM9, ROpF=None):\n lqqq = Fp1S.nbytes\n if ROpF:\n if QRFO(ROpF) * GuM9 != lqqq:\n return (None, ROpF)\n elif ROpF == []:\n if Fp1S.ndim == 0 or GuM9 != lqqq:\n return (None, ROpF)\n else:\n exwG, Mkmy = divmod(lqqq, GuM9)\n ROpF =...
[ "0.77506953", "0.49568605", "0.48241737", "0.48023552", "0.47398067", "0.4713811", "0.47077888", "0.46982223", "0.4669957", "0.4669957", "0.4669957", "0.4669957", "0.46594286", "0.4643557", "0.459365", "0.4521161", "0.45037562", "0.44983464", "0.4494086", "0.4490511", "0.4454...
0.77280533
1
Generate random slice for a single dimension of length n. If zero=True, the slices may be empty, otherwise they will be nonempty.
def V1Au(exwG, fSWM=False): TcGQ = 0 if fSWM or exwG == 0 else 1 SLkt = qukk(TcGQ, exwG + 1) return hJXC(SLkt, exwG)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V1Au(exwG, fSWM=False):\n TcGQ = 0 if fSWM or exwG == 0 else 1\n SLkt = qukk(TcGQ, exwG + 1)\n return hJXC(SLkt, exwG)", "def hcIl(YKHO, exwG):\n if exwG == 0:\n return slice(YKHO._lo_atom, YKHO._lo_atom + YKHO._n_atoms)\n raise IndexError(f'{exwG} is invalid for a 1 dimension Slice ')"...
[ "0.77326006", "0.70148605", "0.6813906", "0.6813906", "0.6412858", "0.63864595", "0.62999004", "0.6264508", "0.61941475", "0.6164201", "0.616065", "0.6156945", "0.6141035", "0.61246413", "0.61231834", "0.605221", "0.60043675", "0.60013884", "0.59873164", "0.5930526", "0.59282...
0.77208936
1