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 |
|---|---|---|---|---|---|---|
Area Under Power Curve | def nWSR(qELT: Union[List, np.ndarray]) -> float:
qELT = oyIN.array(qELT)
YB6i = [(djTC, oyIN.mean(qELT <= djTC)) for djTC in oyIN.unique(qELT)]
f0tD, Wr3h, rxXw = (0, 0, 0)
for WKvO, LVAh in YB6i:
f0tD += (WKvO - Wr3h) * rxXw
Wr3h, rxXw = (WKvO, LVAh)
f0tD += (1 - Wr3h) * rxXw
r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a3PS(WKvO, LVAh):\n jzdc = 0.0\n for YRbF in range(0, len(WKvO) - 1):\n jzdc += (WKvO[YRbF + 1] - WKvO[YRbF]) * (LVAh[YRbF + 1] + LVAh[YRbF])\n jzdc = jzdc * 0.5\n return jzdc",
"def f0tD(YKHO):\n he6J = YKHO.tr - YKHO.bl\n return he6J.x * he6J.y",
"def f0tD(YKHO):\n return YKHO... | [
"0.7234745",
"0.7071542",
"0.6980378",
"0.692957",
"0.68193734",
"0.6709845",
"0.663851",
"0.66363573",
"0.6570438",
"0.6545884",
"0.6545376",
"0.6540156",
"0.65136445",
"0.64998484",
"0.64618677",
"0.6431811",
"0.64164925",
"0.63959426",
"0.6394272",
"0.63852024",
"0.6376468... | 0.0 | -1 |
generates a dict from list by splitting up the key value pairs seperated by = | def Y_Bi(WLTT, Jyyj):
rEbP = WLTT[Jyyj]
WLTT[Jyyj] = {}
for p52P in rEbP:
J7bj = []
for YRbF in p52P:
J7bj.append(YRbF.split('=', 1)[1])
WLTT[Jyyj][J7bj[0]] = {'data': J7bj[1:]}
return WLTT | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zT8f(mpdT):\n Csk6 = {}\n for YRbF in mpdT:\n G1Hx, Ty9i = YRbF.split('=')\n Csk6[G1Hx.lower()] = Ty9i\n return Csk6",
"def MNRr(WdDP):\n if WdDP:\n return {mWFP: BWXx for mWFP, BWXx in [xqoZ.split('=') for xqoZ in WdDP]}\n else:\n return None",
"def _1q8(hqkT, g8... | [
"0.77563065",
"0.74964327",
"0.73744273",
"0.7257675",
"0.72359854",
"0.71849936",
"0.70785373",
"0.7041416",
"0.69875216",
"0.68803465",
"0.6845884",
"0.6810938",
"0.68031895",
"0.6744099",
"0.6723929",
"0.66265243",
"0.6539901",
"0.6506105",
"0.6496925",
"0.6496728",
"0.647... | 0.64578897 | 22 |
Created pool will be freed only during this destructor. This allows to use ``__call__`` multiple times with the same initialized workers. | def fFx9(YKHO):
if not YKHO.debug_mode:
try:
YKHO.pool.close()
YKHO.pool.join()
except Exception as e:
RKD7.warning("Can't close and join process pool.", exc_info=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fFx9(YKHO):\n YKHO.pool.shutdown()",
"def eB7C(YKHO):\n if 'pool' in YKHO.__dict__.keys():\n if YKHO.pool is not None:\n YKHO.pool.close()\n del YKHO.pool",
"def fFx9(YKHO):\n YKHO.shutdown_workers()",
"def fFx9(YKHO):\n YKHO.shutdown_workers()",
"def Qsjz(YKHO,... | [
"0.74128515",
"0.70005673",
"0.69470775",
"0.69470775",
"0.6869743",
"0.66995424",
"0.66760325",
"0.66316354",
"0.6514671",
"0.6503208",
"0.6503208",
"0.64564013",
"0.64564013",
"0.6446961",
"0.6440703",
"0.63414854",
"0.6335547",
"0.6305647",
"0.62886906",
"0.6262701",
"0.62... | 0.686917 | 5 |
Just compute the error | def crsw(FgvF, EcIH, nPrm, oHE7, xAU6, PJWX=False):
SItB = 0
IWr5 = 0.0
for bGrB, pJsJ in oHE7:
WKvO, ZHfW, LVAh = EcIH([nPrm[0][a1PO] for a1PO in pJsJ], XTiz.array(nPrm[1])[pJsJ], maxlen=xAU6['max_len'])
aTLP = FgvF(WKvO, ZHfW)
x6A0 = XTiz.array(nPrm[1])[pJsJ]
SItB += (aTLP ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Gv3L(YKHO):\n Ty9i = (YKHO.u - YKHO.old_u).flat\n return oyIN.sqrt(oyIN.dot(Ty9i, Ty9i))",
"def RDdK(YKHO, pan_):\n pass",
"def RDdK(YKHO, qqrj):\n wGcT = YKHO._meanFibersFr - YKHO._meanFiringRateProfile\n P1dF = qqrj - wGcT\n return P1dF",
"def XObx(YKHO):\n if YKHO.total == 0:\n ... | [
"0.79839134",
"0.7976165",
"0.795395",
"0.7796089",
"0.77596885",
"0.7653143",
"0.7626866",
"0.7580889",
"0.7558794",
"0.75180954",
"0.7437892",
"0.7381876",
"0.73558754",
"0.7335474",
"0.73296154",
"0.7322699",
"0.73124576",
"0.73123217",
"0.7308957",
"0.73005223",
"0.723911... | 0.0 | -1 |
Given two dicts, merge them into a new dict as a shallow copy. | def yQxF(WKvO, LVAh):
epBp = WKvO.copy()
epBp.update(LVAh)
return epBp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IYhE(jzdc, Fg_i):\n Aofo = jzdc.copy()\n Aofo.update(Fg_i)\n return Aofo",
"def ywpZ(WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp",
"def yQxF(WKvO, LVAh):\n epBp = WKvO.copy()\n epBp.update(LVAh)\n return epBp",
"def yQxF(WbPA, S69B):\n lXgg = WbPA.cop... | [
"0.86373323",
"0.8522353",
"0.8480119",
"0.8461926",
"0.84596014",
"0.84394103",
"0.83482695",
"0.82588917",
"0.8238454",
"0.818875",
"0.81687456",
"0.8150417",
"0.8141936",
"0.8067988",
"0.8055447",
"0.8014138",
"0.7995745",
"0.7988674",
"0.7987371",
"0.79846054",
"0.7983249... | 0.8382824 | 12 |
Returns the last message in the thread. | def veB9(Emd4, Tl1c: str) -> wZir:
MgeT = L4Dw.get_by_id(Tl1c)
Ol8d = Emd4.get(Tl1c, MgeT.message_count - 1)
return Ol8d | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CCH_(YKHO, vYBr=5):\n if YKHO._thread is not None:\n YKHO._thread.join(timeout=vYBr)\n return YKHO._task.last_message",
"def RIUm(YKHO):\n return YKHO.tweets[-1].text",
"def FRPD(YKHO, komd=False):\n My6x = YKHO.get_messages(ghost=komd).order_by('-id')\n return My6x[0]",
"def Eair(Y... | [
"0.8354978",
"0.80488884",
"0.79988307",
"0.7716724",
"0.7578394",
"0.7478992",
"0.74213403",
"0.7263088",
"0.7110595",
"0.70361257",
"0.7035279",
"0.7035279",
"0.70156765",
"0.6987534",
"0.6964592",
"0.6949146",
"0.69337744",
"0.69329655",
"0.6930124",
"0.6895626",
"0.688214... | 0.7133639 | 8 |
Gets the FeedbackThreadUserModel corresponding to the given user and the thread. | def NMoC(Emd4, uJjO: str, Tl1c: str) -> h8nf[eaj_]:
o_gm = Emd4.generate_full_id(uJjO, Tl1c)
return super(eaj_, Emd4).get(o_gm, strict=False) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eLpg(Emd4, uJjO: str, Tl1c: str) -> eaj_:\n return Emd4.create_multi(uJjO, [Tl1c])[0]",
"def CBIr(YKHO):\n from . import _threads\n return _threads.User(session=YKHO, id=YKHO._user_id)",
"def egNl(YKHO):\n return egNl()",
"def fR46(Emd4, qL6X):\n TPHe.type_of(qL6X, hZ8J)\n SJfY = [YSSJ.... | [
"0.7094869",
"0.5930502",
"0.59046966",
"0.57389945",
"0.57141566",
"0.5697619",
"0.5462673",
"0.5407376",
"0.5359878",
"0.5339226",
"0.53084016",
"0.53075624",
"0.5224386",
"0.5224386",
"0.51884574",
"0.51751214",
"0.51751214",
"0.51751214",
"0.5158808",
"0.5154413",
"0.5146... | 0.74850595 | 0 |
Creates a new FeedbackThreadUserModel instance and returns it. | def eLpg(Emd4, uJjO: str, Tl1c: str) -> eaj_:
return Emd4.create_multi(uJjO, [Tl1c])[0] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eLpg(Emd4, Tl1c: str) -> L4Dw:\n if Emd4.get_by_id(Tl1c):\n raise Exception('Feedback thread ID conflict on create.')\n return Emd4(id=Tl1c)",
"def NMoC(Emd4, uJjO: str, Tl1c: str) -> h8nf[eaj_]:\n o_gm = Emd4.generate_full_id(uJjO, Tl1c)\n return super(eaj_, Emd4).get(o_gm, strict=False)"... | [
"0.6961794",
"0.6510457",
"0.6038916",
"0.57442695",
"0.5646703",
"0.5643416",
"0.56389195",
"0.563372",
"0.56022084",
"0.5548801",
"0.55382234",
"0.55050546",
"0.54889756",
"0.5484242",
"0.5430523",
"0.5418686",
"0.5415954",
"0.5391916",
"0.5366033",
"0.534723",
"0.53470427"... | 0.7784401 | 0 |
Gets the ExplorationUserDataModel corresponding to the given user and the thread ids. | def sFEc(Emd4, uJjO: str, P7I4: List[str]) -> x1iM[h8nf[eaj_]]:
AUhR = [Emd4.generate_full_id(uJjO, Tl1c) for Tl1c in P7I4]
return super(eaj_, Emd4).get_multi(AUhR) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CBIr(YKHO):\n from . import _threads\n return _threads.User(session=YKHO, id=YKHO._user_id)",
"def A5ou(Emd4, uJjO: str) -> cuzp[str, cuzp[str, uLKX[str, bool, None]]]:\n gFsc = {}\n i_H1: bdIy[L4Dw] = Emd4.get_all().filter(Emd4.original_author_id == uJjO).fetch()\n for xZQ1 in i_H1:\n ... | [
"0.5555602",
"0.5332398",
"0.53118014",
"0.52948296",
"0.5243195",
"0.52281666",
"0.5225466",
"0.5207719",
"0.5189896",
"0.5115291",
"0.507255",
"0.5043445",
"0.50390995",
"0.5016759",
"0.5016759",
"0.50004536",
"0.49969134",
"0.4972969",
"0.49524027",
"0.4944126",
"0.4934771... | 0.5428174 | 1 |
Normalize src with mean and std. | def VYlc(zZcM, JBMS, M1Jx=None):
if JBMS is not None:
zZcM -= JBMS
if M1Jx is not None:
zZcM /= M1Jx
return zZcM | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NkkI(VXjJ, JBMS, M1Jx):\n return (VXjJ - JBMS) / M1Jx",
"def Q7gV(WbAn, eQSh):\n return (WbAn - JBMS) / (M1Jx + 1e-07)",
"def jnV4(VXjJ, B9EC, NdnM):\n VXjJ = VXjJ.copy()\n for Z9rn, JBMS, M1Jx in zip(range(VXjJ.shape[-1]), B9EC, NdnM):\n VXjJ[..., Z9rn] = (VXjJ[..., Z9rn] - JBMS) / (M1J... | [
"0.7991311",
"0.77142817",
"0.7702343",
"0.7609717",
"0.75793713",
"0.7553975",
"0.7508262",
"0.746628",
"0.7459612",
"0.74326545",
"0.7420785",
"0.7418462",
"0.73771983",
"0.7249801",
"0.72029865",
"0.71608615",
"0.7157074",
"0.7140392",
"0.71212053",
"0.7115899",
"0.7108482... | 0.7805576 | 1 |
Apply list of augmenters in random order | def nayM(i8WE):
def pChn(zZcM):
"""Augumenter body"""
zZcM = [zZcM]
tuKI.shuffle(i8WE)
for a1PO in i8WE:
zZcM = [r845 for YRbF in zZcM for r845 in a1PO(YRbF)]
return zZcM
return pChn | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v0hw(VXjJ):\n for eHNT in xghR:\n if tuKI.random() >= 0.66:\n IznC = eHNT.__name__\n if IznC in ['change_sharpness', 'change_saturation', 'change_contrast', 'change_brightness']:\n VXjJ = eHNT(VXjJ, factor=tuKI.uniform(0.4, 1.6))\n if IznC == 'rotate_im... | [
"0.74842507",
"0.69432425",
"0.6810627",
"0.6800732",
"0.6775346",
"0.6732712",
"0.6670095",
"0.6658907",
"0.65128297",
"0.6426532",
"0.64258575",
"0.6425837",
"0.64113146",
"0.6377827",
"0.63560456",
"0.6341624",
"0.63101006",
"0.63048685",
"0.62629265",
"0.61921227",
"0.618... | 0.6297192 | 18 |
Create a board initialized with zero elements. | def fbIl(ywwl):
iBIi = {}
for LEev, Xyq7 in Hs6x.product(range(ywwl), repeat=2):
iBIi[LEev, Xyq7] = 0
return iBIi | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AFif():\n return [10 * [0] for bGrB in wPFE(0, 10)]",
"def efGj():\n iBIi = oyIN.zeros((RMvA, Sktm))\n return iBIi",
"def x5RN():\n return [[0 for bGrB in range(9)] for bGrB in range(9)]",
"def hfkN(_pRX, l0e3):\n iBIi = oyIN.zeros(shape=(len(_pRX), *l0e3))\n return iBIi",
"def AFif()... | [
"0.8527101",
"0.80603963",
"0.8033126",
"0.80253106",
"0.7992018",
"0.7979388",
"0.7928744",
"0.79230475",
"0.78537154",
"0.78360254",
"0.7780727",
"0.7745196",
"0.77023023",
"0.7648827",
"0.76295924",
"0.7612699",
"0.7568894",
"0.755906",
"0.75453407",
"0.7522107",
"0.751423... | 0.0 | -1 |
Parse numberidentifiers. This parser will be called by the engine when a user supplies a search term. The search term must be analyzed to determine if the user wants to differentiate between multiple matches (usually found during a previous search). This method should separate out any identifiers from the search string... | def TigG(PrQl):
if not isinstance(PrQl, exCv):
return (None, PrQl)
if not '-' in PrQl:
return (None, PrQl)
try:
d6pt = PrQl.find('-')
FGW3 = int(PrQl[:d6pt]) - 1
return (FGW3, PrQl[d6pt + 1:])
except ValueError:
return (None, PrQl)
except IndexError:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sqbL(trT6):\n cWFu = None\n for OXAZ in aDgv.keys():\n E4RY = OXAZ.split()\n if trT6[:len(E4RY)] == E4RY:\n cWFu = aDgv[OXAZ]\n for r845 in range(len(E4RY)):\n trT6.pop(0)\n return (cWFu, trT6)",
"def zmNu(V22M):\n HId8 = V22M\n MxXY = None\n ... | [
"0.57954484",
"0.57110727",
"0.5592395",
"0.5517981",
"0.51418436",
"0.51410866",
"0.5135717",
"0.5071577",
"0.50597674",
"0.50064635",
"0.49461734",
"0.49321073",
"0.48960736",
"0.48903623",
"0.48887038",
"0.487421",
"0.48637038",
"0.48578042",
"0.48498997",
"0.48258075",
"0... | 0.5810109 | 0 |
The authentication type. Expected value is 'accessKey'. | def zkAN(YKHO) -> str:
return qe4Y.get(YKHO, 'auth_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zkAN(YKHO):\n return YKHO._auth_type",
"def zkAN(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'auth_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v... | [
"0.7460153",
"0.73089",
"0.7281868",
"0.7281868",
"0.7281868",
"0.7281868",
"0.72250134",
"0.72016495",
"0.72016495",
"0.71454626",
"0.7124512",
"0.7048486",
"0.7048486",
"0.7048486",
"0.70136666",
"0.67708266",
"0.67708266",
"0.6723611",
"0.6705326",
"0.66226125",
"0.6566626... | 0.7524249 | 2 |
The azure resource type. Expected value is 'KeyVault'. | def type(YKHO) -> str:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_type')",
"def Qjbs(YKHO) -> str:\n ... | [
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.686147",
"0.6675744",
"0.6675744",
"0.6675744",
"0.6675744",
"0.66631395",
"0.66631395",
"0.66631395",
"0.66631395"... | 0.0 | -1 |
The target service type. Expected value is 'AzureResource'. | def type(YKHO) -> str:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vY7o(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'target_resource_type')",
"def vY7o(YKHO):\n return YKHO._target_resource_type",
"def vY7o(YKHO) -> h8nf[qe4Y.Input['ConditionArgs']]:\n return qe4Y.get(YKHO, 'target_resource_type')",
"def mkSl():\n raise NotImplementedError",
"def vY7o(YKHO... | [
"0.68835974",
"0.6734116",
"0.6471741",
"0.64599705",
"0.64062256",
"0.63742626",
"0.63365513",
"0.6324946",
"0.6228735",
"0.6165671",
"0.61152923",
"0.6098552",
"0.5971653",
"0.59624046",
"0.59624046",
"0.59624046",
"0.59624046",
"0.59624046",
"0.59624046",
"0.59624046",
"0.... | 0.0 | -1 |
The Id of azure resource. | def id(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def id(YKHO):\n return YKHO._getValue('resource-id')",
"def PcW4(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_id')",
"def PcW4(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_id')",
"def PcW4(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_id')",
"def id(YKHO):\n return YKHO._resource_id"... | [
"0.78678006",
"0.78022426",
"0.78022426",
"0.78022426",
"0.76067895",
"0.75274444",
"0.7518586",
"0.74118096",
"0.74118096",
"0.74118096",
"0.74118096",
"0.74118096",
"0.74077713",
"0.74077713",
"0.74077713",
"0.74077713",
"0.74077713",
"0.7358586",
"0.73409665",
"0.7327654",
... | 0.0 | -1 |
The target service type. Expected value is 'ConfluentSchemaRegistry'. | def type(YKHO) -> str:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NvwP(YKHO):\n raise NotImplementedError",
"def mkSl():\n raise NotImplementedError",
"def NvwP(YKHO) -> str:\n return YKHO._service_description['service_type']",
"def NvwP(YKHO) -> str:\n return YKHO._service_info.service_type",
"def EgZm(YKHO):\n return YKHO.framework_type",
"def LFau... | [
"0.66858214",
"0.6592477",
"0.62924457",
"0.6222406",
"0.5807183",
"0.578436",
"0.5731457",
"0.5679442",
"0.5655691",
"0.5521828",
"0.5457266",
"0.5377812",
"0.5346252",
"0.53278595",
"0.5314738",
"0.53038687",
"0.5291159",
"0.5285681",
"0.5273719",
"0.5262345",
"0.52493995",... | 0.0 | -1 |
Allow Azure services to access the target service if true. | def Tfvc(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'azure_services') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lJ41(YKHO, zVa7: ServiceDescriptor) -> bool:\n pass",
"def Ap4U(oTDm):\n SRIv([BDaX, 'enable-service-access', oTDm])",
"def SuYp(OaeV, bSEa):\n OaeV.cmd.enable(OaeV, bSEa)",
"def CSqs(cuiw, pan_, CBIr):\n if type(pan_) == mv1M:\n if not pan_.is_service_account:\n return Fals... | [
"0.6228556",
"0.61638415",
"0.5969866",
"0.5690636",
"0.56591904",
"0.5578785",
"0.55672383",
"0.5530358",
"0.54893667",
"0.5488053",
"0.5488053",
"0.5484616",
"0.5452061",
"0.54502624",
"0.54151064",
"0.54117924",
"0.5404633",
"0.5399847",
"0.53901315",
"0.53853774",
"0.5376... | 0.0 | -1 |
The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId. | def FIMM(Ro_8, *, wPlS: str, mWFP: Optional[str]=None, DpZH: Optional[str]=None):
qe4Y.set(Ro_8, 'secret_type', 'keyVaultSecretReference')
if mWFP is not None:
qe4Y.set(Ro_8, 'name', mWFP)
if DpZH is not None:
qe4Y.set(Ro_8, 'version', DpZH) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vg2s(YKHO) -> h8nf[ImMB]:\n return qe4Y.get(YKHO, 'secret_info')",
"def xshI(YKHO):\n mwuo = i1ks()\n fNgx = LNB1(vault_url='https://my-key-vault.vault.azure.net/', credential=mwuo)\n DXni = fNgx.get_secret('secret-name')\n print(DXni.name)\n print(DXni.value)",
"def BGnl(x0hE: SecretsMan... | [
"0.7425702",
"0.7417262",
"0.6918644",
"0.6784644",
"0.67724717",
"0.6640593",
"0.6640593",
"0.6640593",
"0.6640593",
"0.6640593",
"0.6640593",
"0.6640593",
"0.6640593",
"0.66345924",
"0.66024095",
"0.65885645",
"0.6572111",
"0.650749",
"0.6504012",
"0.6501133",
"0.6484774",
... | 0.0 | -1 |
The secret type. Expected value is 'keyVaultSecretReference'. | def wPlS(YKHO) -> str:
return qe4Y.get(YKHO, 'secret_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def type(YKHO) -> str:\n return 'secret'",
"def xshI(YKHO):\n mwuo = i1ks()\n fNgx = LNB1(vault_url='https://my-key-vault.vault.azure.net/', credential=mwuo)\n DXni = fNgx.get_secret('secret-name')\n print(DXni.name)\n print(DXni.value)",
"def FIMM(Ro_8, *, wPlS: str, mWFP: Optional[str]=None... | [
"0.7022364",
"0.6482321",
"0.64804",
"0.6388687",
"0.6382666",
"0.6382666",
"0.6382666",
"0.6377834",
"0.6377834",
"0.63724744",
"0.63301456",
"0.63301456",
"0.63301456",
"0.63301456",
"0.63301456",
"0.63301456",
"0.630437",
"0.6284141",
"0.61738",
"0.61738",
"0.6168966",
"... | 0.8360327 | 2 |
Name of the Key Vault secret. | def mWFP(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qnCX(YKHO) -> str:\n return qe4Y.get(YKHO, 'secret_name')",
"def rywm(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'key_vault_secret_name')",
"def qnCX(YKHO) -> str:\n return laHg.cast(str, YKHO._properties.get('secretName'))",
"def qnCX(YKHO) -> str:\n return laHg.cast(str, YKHO._properties.g... | [
"0.8844006",
"0.8620146",
"0.8592645",
"0.8592645",
"0.82923937",
"0.81512827",
"0.80259126",
"0.80259126",
"0.7965287",
"0.76974857",
"0.76974857",
"0.7588377",
"0.7588377",
"0.7588377",
"0.7588377",
"0.7588377",
"0.7588377",
"0.7588377",
"0.7588377",
"0.7580452",
"0.7541470... | 0.0 | -1 |
The secret type. Expected value is 'keyVaultSecretUri'. | def wPlS(YKHO) -> str:
return qe4Y.get(YKHO, 'secret_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(Ro_8, *, wPlS: str, BWXx: Optional[str]=None):\n qe4Y.set(Ro_8, 'secret_type', 'keyVaultSecretUri')\n if BWXx is not None:\n qe4Y.set(Ro_8, 'value', BWXx)",
"def type(YKHO) -> str:\n return 'secret'",
"def DXni(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'secret')",
"def DXni(YKHO... | [
"0.7035785",
"0.697923",
"0.6640098",
"0.6640098",
"0.6640098",
"0.6640098",
"0.6640098",
"0.6640098",
"0.658484",
"0.658484",
"0.65822214",
"0.65822214",
"0.65822214",
"0.6510712",
"0.6443462",
"0.6443462",
"0.6443462",
"0.6443462",
"0.6443462",
"0.6443462",
"0.6443462",
"... | 0.8317887 | 1 |
The key vault id to store secret | def sAuW(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'key_vault_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rTi7(YKHO) -> str:\n return qe4Y.get(YKHO, 'secret_id')",
"def rTi7(YKHO):\n try:\n with open(YKHO.settings['GLUU_SECRET_VAULT_SECRET_ID_FILE']) as eHNT:\n rTi7 = eHNT.read()\n except FileNotFoundError:\n rTi7 = ''\n return rTi7",
"def sAuW(YKHO) -> qe4Y.Output[str]:\n ... | [
"0.81427085",
"0.76186574",
"0.76130635",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.75636166",
"0.7532692",
"0.7527548",
"0.72325283",
"0.71873814",
"0.71433824",
"0.7062809",
... | 0.7349011 | 16 |
The authentication type. Expected value is 'servicePrincipalCertificate'. | def zkAN(YKHO) -> str:
return qe4Y.get(YKHO, 'auth_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v7lV(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n ... | [
"0.6953808",
"0.6891724",
"0.68676454",
"0.68676454",
"0.68676454",
"0.68676454",
"0.68470544",
"0.6827541",
"0.6827541",
"0.6827541",
"0.658196",
"0.65343225",
"0.6491214",
"0.6416419",
"0.6288802",
"0.626665",
"0.626665",
"0.6126612",
"0.6088872",
"0.60109556",
"0.5918258",... | 0.6557639 | 16 |
Application clientId for servicePrincipal auth. | def zb3C(YKHO) -> str:
return qe4Y.get(YKHO, 'client_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Emo9(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'arc_application_client_id')",
"def RTzd(YKHO):\n H5ew = 'PREDIX_SECURITY_UAA_CLIENT_ID'\n if H5ew not in YKHO.manifest['env']:\n raise ValueError('%s undefined in manifest.' % H5ew)\n YKHO.client_id = YKHO.manifest['env'][H5ew]\n return ... | [
"0.76189405",
"0.71716726",
"0.7146127",
"0.71191627",
"0.7080511",
"0.7080511",
"0.7051316",
"0.6722865",
"0.6722365",
"0.6717616",
"0.6717616",
"0.6717616",
"0.6717616",
"0.6717616",
"0.67058843",
"0.6608249",
"0.6601775",
"0.6573327",
"0.65620947",
"0.65615714",
"0.6555391... | 0.66783875 | 25 |
The name of setting. | def mWFP(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tRVS(YKHO) -> QMSQ:\n ...",
"def mWFP(YKHO):\n return YKHO.details().settings.name",
"def mWFP(YKHO):\n return YKHO._config['name']",
"def mWFP(YKHO):\n return YKHO.cfg.name",
"def mWFP(YKHO):\n return YKHO._config.name",
"def mWFP(YKHO):\n return YKHO._config.name",
"def mWFP(YKH... | [
"0.8595229",
"0.8102318",
"0.77326715",
"0.7637475",
"0.7611089",
"0.7611089",
"0.7611089",
"0.75945973",
"0.75931287",
"0.75434935",
"0.75364935",
"0.75364935",
"0.74983585",
"0.7493361",
"0.71413404",
"0.713009",
"0.7033752",
"0.6991306",
"0.69164413",
"0.6913765",
"0.69102... | 0.0 | -1 |
The authentication type. Expected value is 'systemAssignedIdentity'. | def zkAN(YKHO) -> str:
return qe4Y.get(YKHO, 'auth_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zkAN(YKHO):\n return YKHO._auth_type",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",... | [
"0.75813496",
"0.7534664",
"0.7534664",
"0.7534664",
"0.7534664",
"0.74498427",
"0.74498427",
"0.74498427",
"0.7441673",
"0.7434573",
"0.7434573",
"0.7433852",
"0.7344345",
"0.7250365",
"0.68564785",
"0.67384875",
"0.66478074",
"0.66396064",
"0.6554512",
"0.64754313",
"0.6469... | 0.7725705 | 4 |
Optional, this value specifies the Azure role to be assigned | def Tf5Y(YKHO) -> h8nf[bdIy[str]]:
return qe4Y.get(YKHO, 'roles') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def LmAn(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role')",
"def LmAn(YKHO) -> h8nf[str]... | [
"0.7158639",
"0.7158639",
"0.7158639",
"0.7124331",
"0.7124331",
"0.7124331",
"0.70075095",
"0.70075095",
"0.6979808",
"0.6979808",
"0.6979808",
"0.6979808",
"0.6979808",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6936563",
... | 0.0 | -1 |
The identity that created the resource. | def tC0c(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'created_by') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _E99(YKHO):\n return YKHO._id",
"def _E99(YKHO) -> h8nf[qe4Y.Input['ResourceIdentityArgs']]:\n return qe4Y.get(YKHO, 'identity')",
"def _E99(YKHO) -> h8nf[qe4Y.Input['ResourceIdentityArgs']]:\n return qe4Y.get(YKHO, 'identity')",
"def _E99(YKHO):\n return YKHO._identity",
"def _E99(YKHO):\n... | [
"0.7843232",
"0.77704716",
"0.77704716",
"0.73647237",
"0.72918636",
"0.72405744",
"0.720839",
"0.7151771",
"0.713974",
"0.7068865",
"0.7068865",
"0.706653",
"0.704077",
"0.704077",
"0.704077",
"0.7016467",
"0.70125633",
"0.6995592",
"0.6965497",
"0.6965497",
"0.6960262",
"... | 0.0 | -1 |
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) -> h8nf[qe4Y.Input['ResourceIdentityType']]:\n return qe4Y.get(YKHO, 'type')",
"def type(YKHO) -> qe4Y.Input[uLKX[str, 'ResourceIdentityType']]:\n return qe4Y.get(YKHO, 'type')",
"def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ResourceIdentityType']]]:\n return qe4Y.get(YKHO, 'type')",
... | [
"0.80184454",
"0.7972079",
"0.7768516",
"0.76645863",
"0.7625614",
"0.73793274",
"0.72017866",
"0.7081784",
"0.69903845",
"0.69852734",
"0.69852734",
"0.6944054",
"0.6918072",
"0.6907633",
"0.6907633",
"0.6907633",
"0.6907633",
"0.6907633",
"0.6907633",
"0.6907633",
"0.690763... | 0.6751919 | 41 |
The identity that last modified the resource. | def TM74(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'last_modified_by') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def id(YKHO):\n return YKHO.mtime",
"def TM74(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_by')",
"def TM74(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_by')",
"def TM74(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_by')",
"def TM74(YKHO) -> str:\n return qe4Y.get(YKHO... | [
"0.76169413",
"0.7415523",
"0.7415523",
"0.7415523",
"0.7415523",
"0.7372433",
"0.73428905",
"0.73428905",
"0.7320304",
"0.7320304",
"0.7320304",
"0.71454936",
"0.71454936",
"0.71454936",
"0.71454936",
"0.71287775",
"0.71122986",
"0.7091997",
"0.7077446",
"0.70386225",
"0.699... | 0.70475525 | 23 |
The type of identity that last modified the resource. | def V6O_(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'last_modified_by_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def kMPX(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_time')",
"def kMPX(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_time')",
"def kMPX(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified_time')",
"def TO1Y(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_modified')",
"def type(YKH... | [
"0.6575318",
"0.6575318",
"0.6575318",
"0.6528215",
"0.65214217",
"0.6509069",
"0.65038365",
"0.6493626",
"0.6487821",
"0.64729625",
"0.6455677",
"0.6444357",
"0.6416347",
"0.6416347",
"0.6416347",
"0.6416347",
"0.6391224",
"0.6390971",
"0.63890123",
"0.6375214",
"0.6335787",... | 0.77267426 | 1 |
The authentication type. Expected value is 'userAccount'. | def zkAN(YKHO) -> str:
return qe4Y.get(YKHO, 'auth_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zkAN(YKHO):\n return YKHO._auth_type",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",... | [
"0.7983553",
"0.78829706",
"0.78829706",
"0.78829706",
"0.78829706",
"0.7744668",
"0.77418685",
"0.77418685",
"0.7738859",
"0.7723483",
"0.7668701",
"0.7668701",
"0.7668701",
"0.75003546",
"0.7334597",
"0.71849334",
"0.7100482",
"0.7100482",
"0.702597",
"0.6993797",
"0.697873... | 0.80586153 | 1 |
The authentication type. Expected value is 'userAssignedIdentity'. | def zkAN(YKHO) -> str:
return qe4Y.get(YKHO, 'auth_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zkAN(YKHO):\n return YKHO._auth_type",
"def zkAN(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'auth_type')",
"def zkAN(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'auth_type')",
"def v7lV(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'authentication_type')",
"def ... | [
"0.73813915",
"0.72044116",
"0.72044116",
"0.71949494",
"0.71949494",
"0.71949494",
"0.71949494",
"0.7116199",
"0.7116199",
"0.7116199",
"0.708156",
"0.7036241",
"0.70263034",
"0.6744984",
"0.6679863",
"0.661297",
"0.6491449",
"0.6426956",
"0.64145505",
"0.6319747",
"0.620370... | 0.7384352 | 0 |
Optional, this value specifies the Azure role to be assigned | def Tf5Y(YKHO) -> h8nf[bdIy[str]]:
return qe4Y.get(YKHO, 'roles') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def LmAn(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role')",
"def LmAn(YKHO) -> h8nf[str]... | [
"0.7158639",
"0.7158639",
"0.7158639",
"0.7124331",
"0.7124331",
"0.7124331",
"0.70075095",
"0.70075095",
"0.6979808",
"0.6979808",
"0.6979808",
"0.6979808",
"0.6979808",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6965243",
"0.6936563",
... | 0.0 | -1 |
The secret type. Expected value is 'rawValue'. | def wPlS(YKHO) -> str:
return qe4Y.get(YKHO, 'secret_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def type(YKHO) -> str:\n return 'secret'",
"def FIMM(Ro_8, *, wPlS: str, BWXx: Optional[str]=None):\n qe4Y.set(Ro_8, 'secret_type', 'rawValue')\n if BWXx is not None:\n qe4Y.set(Ro_8, 'value', BWXx)",
"def dNfI(YKHO):\n pass",
"def lC7b(YKHO):\n return YKHO._get_value('TYPE')",
"def t... | [
"0.7418388",
"0.6945722",
"0.65651953",
"0.6525797",
"0.6442437",
"0.64396214",
"0.64396214",
"0.638312",
"0.6372883",
"0.62936664",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338",
"0.628338... | 0.8186502 | 0 |
calculate the algebraic distance between the data points and the mean circle centered at c=(xc, yc) | def eHNT(Z9rn, WKvO, LVAh):
W8At = IzHd(WKvO, LVAh, *Z9rn)
return W8At - W8At.mean() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JKS4(hkuO, Gp5U, _M41, Jm8X):\n return epAf.sqrt((hkuO - _M41) ** 2 + (Gp5U - Jm8X) ** 2)",
"def pImw(WKvO, LVAh, g0Hx=0.0, dlau=0.0):\n return oyIN.sqrt((WKvO - g0Hx) ** 2 + (LVAh - dlau) ** 2)",
"def e6ux(nPrm, WKvO, LVAh):\n g0Hx = oyIN.dot(WKvO, oyIN.sum(nPrm, axis=1))\n dlau = oyIN.dot(LVA... | [
"0.7233904",
"0.71729755",
"0.6996696",
"0.682899",
"0.67675865",
"0.6647583",
"0.66052604",
"0.6575291",
"0.65183413",
"0.6454857",
"0.64427876",
"0.6415339",
"0.6389344",
"0.6389344",
"0.6389344",
"0.6365088",
"0.6355415",
"0.6342047",
"0.6335943",
"0.63204014",
"0.6274522"... | 0.0 | -1 |
Returns the whole reponse object | async def async_get_response(bD7m, MOPg={}, vYBr=5 * 60):
VmfX = piYe.ClientTimeout(connect=vYBr)
async with piYe.ClientSession(timeout=VmfX) as cuiw:
async with cuiw.get(bD7m, headers=MOPg) as geh0:
try:
qQXR = await geh0.json()
except:
qQXR = {}
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EbXM(YKHO):\n return YKHO.response",
"def wuCN(YKHO):\n return YKHO.__response",
"def T_2m(YKHO):\n pass",
"def geh0(YKHO):\n return YKHO.__res",
"def geh0(YKHO):\n return YKHO.__get()",
"def GkmR(YKHO):\n return YKHO.http_response",
"def GkmR(YKHO):\n return YKHO.http_response... | [
"0.74648625",
"0.7459245",
"0.74006975",
"0.7318702",
"0.7306028",
"0.7237035",
"0.7237035",
"0.7157983",
"0.7134695",
"0.7124776",
"0.7089879",
"0.7089879",
"0.7089879",
"0.70826435",
"0.7023841",
"0.69635993",
"0.6957998",
"0.6957998",
"0.69378835",
"0.69367456",
"0.6922284... | 0.0 | -1 |
Pick out a random substring of a certain length. If the original string is shorter than the desired length of the substring, the whole string is returned. | def DIpc(YKHO, l5Ny, u54L=100):
if YKHO.randomize:
oyIN.random.shuffle(l5Ny)
a__r = len(l5Ny)
if a__r <= u54L:
w6vw = l5Ny
else:
shMF = a__r - u54L
yKcO = tuKI.randint(0, shMF)
w6vw = l5Ny[yKcO:yKcO + u54L]
return w6vw | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W4oG(YKHO, vIwR, u54L):\n if type(vIwR) != str:\n vIwR = str(vIwR)\n if len(vIwR) > u54L:\n return vIwR[0:u54L]\n return vIwR",
"def FIBn(zNig=3, gLiZ=vIwR.ascii_lowercase + vIwR.digits):\n return ''.join((tuKI.choice(gLiZ) for bGrB in range(zNig)))",
"def BWvy(u54L, m1Oc=False, S... | [
"0.72676706",
"0.7239265",
"0.7063637",
"0.69551986",
"0.6725025",
"0.6710356",
"0.66826373",
"0.66826373",
"0.6666311",
"0.6654335",
"0.66416734",
"0.6615869",
"0.65986073",
"0.65904844",
"0.6590246",
"0.65860265",
"0.6573671",
"0.65596867",
"0.6551471",
"0.65374535",
"0.653... | 0.8029154 | 2 |
Pick out a random substring of a certain length. If the original string is shorter than the desired length of the substring, the whole string is returned. | def DIpc(YKHO, l5Ny, u54L=100):
if YKHO.randomize:
oyIN.random.shuffle(l5Ny)
a__r = len(l5Ny)
if a__r <= u54L:
w6vw = l5Ny
else:
shMF = a__r - u54L
yKcO = tuKI.randint(0, shMF)
w6vw = l5Ny[yKcO:yKcO + u54L]
return w6vw | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W4oG(YKHO, vIwR, u54L):\n if type(vIwR) != str:\n vIwR = str(vIwR)\n if len(vIwR) > u54L:\n return vIwR[0:u54L]\n return vIwR",
"def FIBn(zNig=3, gLiZ=vIwR.ascii_lowercase + vIwR.digits):\n return ''.join((tuKI.choice(gLiZ) for bGrB in range(zNig)))",
"def BWvy(u54L, m1Oc=False, S... | [
"0.7267922",
"0.72399217",
"0.70645726",
"0.6955939",
"0.672558",
"0.6710192",
"0.6683675",
"0.6683675",
"0.6667277",
"0.6655085",
"0.664288",
"0.66170603",
"0.6599733",
"0.6591916",
"0.65914756",
"0.6587037",
"0.6575052",
"0.65609264",
"0.65526676",
"0.6538449",
"0.653663",
... | 0.802994 | 0 |
Pick out a random substring of a certain length. If the original string is shorter than the desired length of the substring, the whole string is returned. | def DIpc(YKHO, l5Ny, u54L=100):
if YKHO.randomize:
oyIN.random.shuffle(l5Ny)
a__r = len(l5Ny)
if a__r <= u54L:
w6vw = l5Ny
else:
shMF = a__r - u54L
yKcO = tuKI.randint(0, shMF)
w6vw = l5Ny[yKcO:yKcO + u54L]
return w6vw | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W4oG(YKHO, vIwR, u54L):\n if type(vIwR) != str:\n vIwR = str(vIwR)\n if len(vIwR) > u54L:\n return vIwR[0:u54L]\n return vIwR",
"def FIBn(zNig=3, gLiZ=vIwR.ascii_lowercase + vIwR.digits):\n return ''.join((tuKI.choice(gLiZ) for bGrB in range(zNig)))",
"def BWvy(u54L, m1Oc=False, S... | [
"0.7267922",
"0.72399217",
"0.70645726",
"0.6955939",
"0.672558",
"0.6710192",
"0.6683675",
"0.6683675",
"0.6667277",
"0.6655085",
"0.664288",
"0.66170603",
"0.6599733",
"0.6591916",
"0.65914756",
"0.6587037",
"0.6575052",
"0.65609264",
"0.65526676",
"0.6538449",
"0.653663",
... | 0.802994 | 3 |
Pick out a random substring of a certain length. If the original string is shorter than the desired length of the substring, the whole string is returned. | def DIpc(YKHO, l5Ny, u54L=100):
if YKHO.randomize:
oyIN.random.shuffle(l5Ny)
a__r = len(l5Ny)
if a__r <= u54L:
w6vw = l5Ny
else:
shMF = a__r - u54L
yKcO = tuKI.randint(0, shMF)
w6vw = l5Ny[yKcO:yKcO + u54L]
return w6vw | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W4oG(YKHO, vIwR, u54L):\n if type(vIwR) != str:\n vIwR = str(vIwR)\n if len(vIwR) > u54L:\n return vIwR[0:u54L]\n return vIwR",
"def FIBn(zNig=3, gLiZ=vIwR.ascii_lowercase + vIwR.digits):\n return ''.join((tuKI.choice(gLiZ) for bGrB in range(zNig)))",
"def BWvy(u54L, m1Oc=False, S... | [
"0.7270177",
"0.7238556",
"0.70634353",
"0.6955321",
"0.67245144",
"0.6710622",
"0.6682603",
"0.6682603",
"0.66660374",
"0.6654415",
"0.66413707",
"0.6615731",
"0.6598388",
"0.6590232",
"0.6589906",
"0.6586133",
"0.65733695",
"0.6559738",
"0.65513194",
"0.6537392",
"0.6536414... | 0.8029292 | 1 |
parse the embedding model arguments | def dCXb():
kYFu = j1Jz.ArgumentParser(description='Graphlet based time-ordering embedding.')
kYFu.add_argument('filename', type=str, default='', help='embedding graph filename')
kYFu.add_argument('train_graphlet_filename', type=str, default='', help='Training graphlet freq filename')
kYFu.add_argument(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BzGc(wvEv):\n uOe2 = wvEv.add_argument_group('Model-Embeddings')\n uOe2.add_argument('-src_word_vec_size', type=int, default=500, help='Word embedding size for src.')\n uOe2.add_argument('-tgt_word_vec_size', type=int, default=500, help='Word embedding size for tgt.')\n uOe2.add_argument('-word_vec... | [
"0.72963136",
"0.7032074",
"0.69167256",
"0.6782683",
"0.6629538",
"0.653571",
"0.65150726",
"0.64837235",
"0.6456964",
"0.6440565",
"0.6429728",
"0.64193803",
"0.6387903",
"0.6356645",
"0.6355333",
"0.6338221",
"0.6328731",
"0.63282746",
"0.6323765",
"0.626666",
"0.62330425"... | 0.61002624 | 26 |
Test that if the operator is not passed a Request Body, an AirflowException is raised | def ABxq(YKHO):
wpLl = {'task_id': 'test_create_datapipeline', 'body': {}, 'project_id': U2KL, 'location': gW8r, 'gcp_conn_id': eSgo}
with trZe.raises(cAYI):
OIph(**wpLl).execute(TMAJ.MagicMock()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def i2_Y(YKHO) -> None:\n vC92 = YKHO.example_email('hamlet')\n nG3o = YKHO.example_email('othello')\n Aofo = YKHO.api_post(vC92, '/api/v1/typing', {'to': nG3o, 'op': 'foo'})\n YKHO.assert_json_error(Aofo, \"Invalid 'op' value (should be start or stop)\")",
"def c5_f(YKHO):\n wpLl = {'task_id': 't... | [
"0.68314934",
"0.6546965",
"0.653817",
"0.65104175",
"0.6473953",
"0.6215529",
"0.6212841",
"0.6056099",
"0.6027107",
"0.59666944",
"0.59363097",
"0.59328634",
"0.5929639",
"0.5915492",
"0.5882348",
"0.58710897",
"0.5835471",
"0.58231914",
"0.5802916",
"0.577891",
"0.5755478"... | 0.7375631 | 0 |
Test that if the operator is not passed a location, an AirflowException is raised | def F0mm(YKHO):
wpLl = {'task_id': 'test_create_datapipeline', 'body': ZTbQ, 'project_id': U2KL, 'location': None, 'gcp_conn_id': eSgo}
with trZe.raises(cAYI):
OIph(**wpLl).execute(TMAJ.MagicMock()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OU99(YKHO):\n wpLl = {'task_id': qaLu, 'data_pipeline_name': tAuy, 'project_id': U2KL, 'location': None, 'gcp_conn_id': eSgo}\n with trZe.raises(cAYI):\n XTwY(**wpLl).execute(TMAJ.MagicMock())",
"def NAfJ():\n trZe.raises(LzUK, Ethm.avail_locations, 'action')",
"def _eQd(YKHO):\n with YK... | [
"0.7876615",
"0.6259886",
"0.6175294",
"0.5973208",
"0.5895331",
"0.5874908",
"0.5871552",
"0.5827862",
"0.5827806",
"0.5811771",
"0.5811325",
"0.5791652",
"0.5766031",
"0.57265556",
"0.5726519",
"0.5714974",
"0.5702036",
"0.5701335",
"0.56534886",
"0.56533265",
"0.56353265",... | 0.77112615 | 1 |
Test that if the Response Body contains an error message, an AirflowException is raised | def c5_f(YKHO):
wpLl = {'task_id': 'test_create_datapipeline', 'body': {'error': 'Testing that AirflowException is raised'}, 'project_id': U2KL, 'location': gW8r, 'gcp_conn_id': eSgo}
with trZe.raises(cAYI):
OIph(**wpLl).execute(TMAJ.MagicMock()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OJfQ(YKHO):\n wpLl = {'task_id': qaLu, 'data_pipeline_name': tAuy, 'project_id': U2KL, 'location': gW8r, 'gcp_conn_id': eSgo}\n with trZe.raises(cAYI):\n XTwY(**wpLl).execute(TMAJ.MagicMock()).return_value = {'error': {'message': 'example error'}}",
"def eJMC(YKHO):\n try:\n hvq8._chec... | [
"0.7465783",
"0.713237",
"0.70779955",
"0.70054525",
"0.6992",
"0.6991173",
"0.6984373",
"0.69623345",
"0.6961586",
"0.69297785",
"0.6921592",
"0.6913682",
"0.6888695",
"0.6888428",
"0.68818396",
"0.68436605",
"0.68402314",
"0.6829963",
"0.67847717",
"0.67664564",
"0.6759787"... | 0.7423721 | 1 |
Test that AirflowException is raised if Run Operator is not given a data pipeline name. | def HJ63(YKHO):
wpLl = {'task_id': qaLu, 'data_pipeline_name': None, 'project_id': U2KL, 'location': gW8r, 'gcp_conn_id': eSgo}
with trZe.raises(cAYI):
XTwY(**wpLl).execute(TMAJ.MagicMock()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NqPx(YKHO):\n wpLl = {'task_id': qaLu, 'data_pipeline_name': tAuy, 'project_id': None, 'location': gW8r, 'gcp_conn_id': eSgo}\n with trZe.raises(cAYI):\n XTwY(**wpLl).execute(TMAJ.MagicMock())",
"def nR8U(YKHO):\n wpLl = {'task_id': 'test_create_datapipeline', 'body': ZTbQ, 'project_id': None... | [
"0.75272727",
"0.7224187",
"0.7137233",
"0.6876676",
"0.6838609",
"0.66688967",
"0.6542869",
"0.6489547",
"0.6279049",
"0.6263983",
"0.62005323",
"0.6164332",
"0.6158602",
"0.6123495",
"0.61121017",
"0.6102154",
"0.6099748",
"0.60568017",
"0.6019928",
"0.6015597",
"0.60113347... | 0.8696741 | 0 |
Test that AirflowException is raised if Run Operator is not given a location. | def OU99(YKHO):
wpLl = {'task_id': qaLu, 'data_pipeline_name': tAuy, 'project_id': U2KL, 'location': None, 'gcp_conn_id': eSgo}
with trZe.raises(cAYI):
XTwY(**wpLl).execute(TMAJ.MagicMock()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def F0mm(YKHO):\n wpLl = {'task_id': 'test_create_datapipeline', 'body': ZTbQ, 'project_id': U2KL, 'location': None, 'gcp_conn_id': eSgo}\n with trZe.raises(cAYI):\n OIph(**wpLl).execute(TMAJ.MagicMock())",
"def MoS5(YKHO):\n Gzkj = KFD0({'description': 'Run a task', 'steps': {1: {'task': 'raise_... | [
"0.77787364",
"0.6795838",
"0.67268443",
"0.6583348",
"0.6540992",
"0.651243",
"0.64878637",
"0.64002305",
"0.6378523",
"0.6355997",
"0.63028055",
"0.6272145",
"0.6261137",
"0.6168852",
"0.61590254",
"0.6101516",
"0.6096262",
"0.6026726",
"0.6023891",
"0.60133517",
"0.6009673... | 0.811345 | 0 |
Test that AirflowException is raised if Run Operator fails execution and returns error. | def OJfQ(YKHO):
wpLl = {'task_id': qaLu, 'data_pipeline_name': tAuy, 'project_id': U2KL, 'location': gW8r, 'gcp_conn_id': eSgo}
with trZe.raises(cAYI):
XTwY(**wpLl).execute(TMAJ.MagicMock()).return_value = {'error': {'message': 'example error'}} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mNV3():\n with trZe.raises(x2pC):\n KAU7.run(None)",
"def c2Rp(YKHO):\n Gzkj = KFD0({'description': 'Run a task', 'steps': {1: {'task': 'raise_exception'}}})\n _uqo = SI7s(YKHO.project_config, Gzkj)\n with trZe.raises(Exception):\n _uqo.run(YKHO.org_config)",
"def GCo5(TMgA, cO4L,... | [
"0.7489599",
"0.727768",
"0.71130466",
"0.7079722",
"0.69081634",
"0.6899347",
"0.6866201",
"0.6844083",
"0.6798029",
"0.67458296",
"0.67159104",
"0.66563374",
"0.66500944",
"0.6642923",
"0.65664953",
"0.6555323",
"0.6550012",
"0.65496314",
"0.6544932",
"0.6541079",
"0.653675... | 0.6854889 | 7 |
Freeze out the input node of layers, currently only working on dense layer | def FIMM(YKHO, mgU1, JxU2, C3ST, g4y1=None, o4Jx=None, Tuqy=None):
super().__init__(inputs=g4y1, outputs=o4Jx, mode=Tuqy)
YKHO.model = C3ST
YKHO.layer_idx = mFWN(mgU1)
YKHO.prob = mFWN(JxU2)
if len(YKHO.prob) == 1 and len(YKHO.layer_idx) > 1:
YKHO.prob = YKHO.prob * len(YKHO.layer_idx)
Y... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RD7Q(YKHO):\n pass",
"def RI2M(YKHO, eVVj):\n print('Freezing hidden layers')\n for xqoZ in eVVj.named_parameters():\n _N6A = xqoZ[0]\n assert 'hidden' in _N6A or 'output' in _N6A or 'embedding' in _N6A, 'Name {} of network layers not understood'.format(_N6A)\n if 'output' not i... | [
"0.7349052",
"0.66961074",
"0.6443619",
"0.6311107",
"0.6278899",
"0.6257629",
"0.6230378",
"0.6208162",
"0.61889213",
"0.61210746",
"0.61002725",
"0.6062369",
"0.6060882",
"0.6037758",
"0.60136354",
"0.5988523",
"0.59870636",
"0.5966496",
"0.5953027",
"0.5937561",
"0.5926116... | 0.0 | -1 |
This functions parses the arguments given to the script. It returns the arguments as an object. | def gGZX():
def H4si(pmON):
"""
Check the input path sanity
"""
if Hy7s.path.isfile(pmON):
return pmON
raise j1Jz.ArgumentTypeError(f'Error: file:{pmON} does not exist')
def Pbsk(oHSC):
"""
Check if the user input CPU nb is valid
"""
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Y8nX():\n wvEv = ugLM()\n return wvEv.parse_args()",
"def gGZX(YKHO):\n return YKHO._parser.parse_args()",
"def M1CD(Ltpw=None):\n wvEv = bqk2(None)\n return wvEv.parse_known_args(Ltpw)",
"def M1CD(Ltpw=None):\n wvEv = bqk2(None)\n return wvEv.parse_known_args(Ltpw)",
"def dCXb():\... | [
"0.76446503",
"0.7637838",
"0.7636655",
"0.7636655",
"0.7541435",
"0.7406809",
"0.740168",
"0.740096",
"0.7392467",
"0.7384565",
"0.7384565",
"0.73758817",
"0.73700583",
"0.73616654",
"0.73428327",
"0.73407066",
"0.7339859",
"0.7331879",
"0.7318588",
"0.73095566",
"0.73054236... | 0.0 | -1 |
Check the input path sanity | def H4si(pmON):
if Hy7s.path.isfile(pmON):
return pmON
raise j1Jz.ArgumentTypeError(f'Error: file:{pmON} does not exist') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H4si():\n return 0",
"def JK0O(YKHO, pmON: str) -> bool:\n pass",
"def Zngb(YKHO):\n YKHO.assertTrue(gnPz.valid_path('/valid/path/'))",
"def UQ5S(YKHO, pmON):\n if not pmON:\n raise TcJ5('Must specify path')\n if not isinstance(pmON, str):\n raise TcJ5('input path must be of ... | [
"0.806833",
"0.79296905",
"0.78107435",
"0.7739674",
"0.75744414",
"0.75061846",
"0.7462327",
"0.73047245",
"0.73047245",
"0.7301885",
"0.7290131",
"0.72880274",
"0.72535783",
"0.7250342",
"0.7240197",
"0.7237738",
"0.7200406",
"0.7197793",
"0.7197793",
"0.71376383",
"0.71361... | 0.7281597 | 12 |
Test the normal distribution detection | def rzIJ(YKHO):
oyIN.random.seed(987654321)
Cwt5 = 0.05
KOz6 = 'norm'
QOe9 = KL3A(aevO.norm.rvs(size=100), KOz6, alpha=Cwt5, display=False)
hlel = '\n\nKolmogorov-Smirnov Test\n-----------------------\n\nalpha = 0.0500\nD value = 0.0584\np value = 0.8853\n\nH0: Data is matched to the norm distr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CqLI(YKHO):\n mhAC = QmN4.NormalDistribution(0, 2)\n YKHO.assertEqual(mhAC(-1.5), 0.15056871607740221)\n YKHO.assertEqual(mhAC(0), 0.19947114020071635)\n YKHO.assertEqual(mhAC(10), 7.433597573671488e-07)",
"def FcU7(YKHO):\n with IPme.device(HVPw()):\n exwG = 1000\n for yDqo in Y... | [
"0.7490514",
"0.7240645",
"0.7172192",
"0.7033285",
"0.6991364",
"0.6971231",
"0.68430424",
"0.68021184",
"0.6756774",
"0.6748142",
"0.6723939",
"0.6707176",
"0.66984403",
"0.66415244",
"0.66279274",
"0.66267574",
"0.660155",
"0.6596562",
"0.65689707",
"0.6555629",
"0.6460848... | 0.6082056 | 46 |
Test the normal distribution detection | def Mxdw(YKHO):
oyIN.random.seed(987654321)
Cwt5 = 0.05
KOz6 = 'norm'
YKHO.assertEqual(KL3A(aevO.norm.rvs(size=100), KOz6, alpha=Cwt5, display=False).distribution, KOz6) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CqLI(YKHO):\n mhAC = QmN4.NormalDistribution(0, 2)\n YKHO.assertEqual(mhAC(-1.5), 0.15056871607740221)\n YKHO.assertEqual(mhAC(0), 0.19947114020071635)\n YKHO.assertEqual(mhAC(10), 7.433597573671488e-07)",
"def FcU7(YKHO):\n with IPme.device(HVPw()):\n exwG = 1000\n for yDqo in Y... | [
"0.7490514",
"0.7240645",
"0.7172192",
"0.7033285",
"0.6991364",
"0.6971231",
"0.68430424",
"0.68021184",
"0.6756774",
"0.6723939",
"0.6707176",
"0.66984403",
"0.66415244",
"0.66279274",
"0.66267574",
"0.660155",
"0.6596562",
"0.65689707",
"0.6555629",
"0.64608485",
"0.643014... | 0.6748142 | 9 |
Test the normal distribution detection | def i6PA(YKHO):
oyIN.random.seed(987654321)
Cwt5 = 0.05
KOz6 = 'norm'
YKHO.assertTrue(KL3A(aevO.norm.rvs(size=100), KOz6, alpha=Cwt5, display=False).statistic) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CqLI(YKHO):\n mhAC = QmN4.NormalDistribution(0, 2)\n YKHO.assertEqual(mhAC(-1.5), 0.15056871607740221)\n YKHO.assertEqual(mhAC(0), 0.19947114020071635)\n YKHO.assertEqual(mhAC(10), 7.433597573671488e-07)",
"def FcU7(YKHO):\n with IPme.device(HVPw()):\n exwG = 1000\n for yDqo in Y... | [
"0.7490514",
"0.7240645",
"0.7172192",
"0.7033285",
"0.6991364",
"0.68430424",
"0.68021184",
"0.6756774",
"0.6748142",
"0.6723939",
"0.6707176",
"0.66984403",
"0.66415244",
"0.66279274",
"0.66267574",
"0.660155",
"0.6596562",
"0.65689707",
"0.6555629",
"0.64608485",
"0.643014... | 0.6971231 | 5 |
Test the normal distribution detection | def F5bH(YKHO):
oyIN.random.seed(987654321)
Cwt5 = 0.05
KOz6 = 'norm'
YKHO.assertTrue(KL3A(aevO.norm.rvs(size=100), KOz6, alpha=Cwt5, display=False).d_value) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def CqLI(YKHO):\n mhAC = QmN4.NormalDistribution(0, 2)\n YKHO.assertEqual(mhAC(-1.5), 0.15056871607740221)\n YKHO.assertEqual(mhAC(0), 0.19947114020071635)\n YKHO.assertEqual(mhAC(10), 7.433597573671488e-07)",
"def FcU7(YKHO):\n with IPme.device(HVPw()):\n exwG = 1000\n for yDqo in Y... | [
"0.7490514",
"0.7240645",
"0.7172192",
"0.7033285",
"0.6991364",
"0.6971231",
"0.68430424",
"0.68021184",
"0.6756774",
"0.6748142",
"0.6723939",
"0.66984403",
"0.66415244",
"0.66279274",
"0.66267574",
"0.660155",
"0.6596562",
"0.65689707",
"0.6555629",
"0.64608485",
"0.643014... | 0.6707176 | 11 |
Filter a gray scale bird's eye view in such a way as to remove all digits. | def _XaG(zZcM, pQzY, jcIH, z44E, Cf2R, vnO_):
Hw9C = XC5k.adaptiveThreshold(zZcM, 255, XC5k.ADAPTIVE_THRESH_MEAN_C, XC5k.THRESH_BINARY, pQzY, jcIH)
Hw9C = XC5k.medianBlur(Hw9C, z44E)
geyT = XC5k.getStructuringElement(XC5k.MORPH_ELLIPSE, (Cf2R, Cf2R))
Bhlt = XC5k.dilate(Hw9C, geyT, iterations=vnO_)
J... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def By5z(VXjJ):\n VXjJ = XC5k.GaussianBlur(VXjJ, (5, 5), 0)\n U5bT, VXjJ = XC5k.threshold(VXjJ, 27, 255, XC5k.THRESH_TOZERO)\n return VXjJ",
"def O41W(LNo8):\n O3mL = kzqU(LNo8)\n O3mL = cCos(O3mL, 3)\n O3mL = cCos(O3mL, 2)\n return Cqti(qfpW(HKoa(O3mL)))",
"def xlg9() -> None:\n p4m8 =... | [
"0.62287134",
"0.6169404",
"0.6154029",
"0.6109389",
"0.6107239",
"0.60723966",
"0.5870559",
"0.58169204",
"0.5801705",
"0.5798857",
"0.5792402",
"0.5785655",
"0.57764965",
"0.57697666",
"0.5759714",
"0.5740196",
"0.57239366",
"0.5713261",
"0.5671022",
"0.5654129",
"0.5642596... | 0.0 | -1 |
Interface for the Tokenizer component. This handles the vocabulary construction as well as encoding input sequences for the NLP model. | def FIMM(YKHO, JZXy: Text, HVdK: Dict[Text, Any], _73Q: Optional[ChannelParameter]=None, b0j5: Optional[ChannelParameter]=None, dF5z: Optional[ChannelParameter]=None, zeTD: Optional[Text]=None):
_73Q = _73Q or DIz8(type=T11B.Examples)
b0j5 = b0j5 or DIz8(type=T11B.Model)
dF5z = dF5z or DIz8(type=T11B.Exampl... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wr3U(YKHO):\n b0j5 = isxO(num_words=YKHO.config.vocab_size, oov_token=YKHO.config.oov_tok)\n b0j5.fit_on_texts(YKHO.training_sentences)\n jWe2 = b0j5.texts_to_sequences(YKHO.training_sentences)\n YKHO.padded = S5Za(jWe2, maxlen=YKHO.config.max_length, truncating=YKHO.config.trunc_type)\n Xm00 = ... | [
"0.7088437",
"0.69020414",
"0.68880564",
"0.67184603",
"0.6535171",
"0.65193486",
"0.64877224",
"0.64197546",
"0.63986766",
"0.63234854",
"0.63042974",
"0.62907994",
"0.6286983",
"0.62391084",
"0.62197787",
"0.6218746",
"0.61901253",
"0.6173492",
"0.6172851",
"0.6147771",
"0.... | 0.0 | -1 |
Delete the global configuration for the given VO | def YM2D(YKHO, MP2k):
chwN = PHcq(QePW, from_query=True)
tNdC = chwN.get('vo_name')
if not tNdC or tNdC == '*':
raise ja9q('Missing VO name')
try:
DMju.query(R6kj).filter(R6kj.vo_name == tNdC).delete()
DMju.commit()
except:
DMju.rollback()
raise
MP2k('204 ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X5Wv(YKHO):\n jxQ2.delvmconfig(YKHO._env._e)",
"def u04x(Y1pQ):\n G9jH.info('looger output: {} )'.format('this is DELETE method '))\n return xPVy.delete_globalconfig(Y1pQ)",
"def PQ5f():\n if Hy7s.path.exists('vk_config.v2.json'):\n Hy7s.system('rm vk_config.v2.json')\n Hy7s.walk('..'... | [
"0.6837683",
"0.6687802",
"0.66325176",
"0.6589083",
"0.64833057",
"0.6402181",
"0.6353642",
"0.63342386",
"0.628865",
"0.6224036",
"0.62184733",
"0.62089914",
"0.6113047",
"0.6091042",
"0.60800993",
"0.6045242",
"0.604196",
"0.5993492",
"0.5991549",
"0.5962379",
"0.59570044"... | 0.7752153 | 0 |
Test for resetting the plotting configuration. | def EDqP(TxtW: Any) -> None:
I8kJ.rcParams['text.usetex'] = True
assert I8kJ.rcParams['text.usetex'] is True
SExX.restore_defaults()
assert I8kJ.rcParams['text.usetex'] is False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tBIc(YKHO):\n kj9G._SETUP_DONE = False",
"def ZNol(TxtW: Any) -> None:\n assert I8kJ.rcParams['text.usetex'] is False\n SExX.configure()\n assert I8kJ.rcParams['text.usetex'] is True\n assert I8kJ.rcParams['legend.fontsize'] == 18.0",
"def roxB(YKHO):\n YKHO.assertTrue(kj9G.setup_plotting... | [
"0.7473744",
"0.74006045",
"0.7279609",
"0.7231566",
"0.71931213",
"0.7120337",
"0.7086344",
"0.70759916",
"0.7046482",
"0.698479",
"0.694149",
"0.69365156",
"0.6904316",
"0.68426365",
"0.683652",
"0.6807072",
"0.6647936",
"0.6642196",
"0.6630361",
"0.66196626",
"0.66060054",... | 0.74132425 | 1 |
Skip a test via `pytest.skip` if the `binary` executable is not found. Keyword arguments are passed to `nltk.internals.find_binary`. | def BtFO(neaT: str, **qIxc):
import pytest
try:
XBhQ(neaT, **qIxc)
except LookupError:
pytest.skip(f'Skipping test because the {neaT} binary was not found.') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def IYI7():\n trZe.dbgfunc()\n Mkmy = gOuo.run('nosuchbinary')\n assert 'ERR:' in Mkmy\n assert 'No such file or directory' in Mkmy",
"def AgvG(TBXe):\n ykvB = g1wE()\n ykvB._run_binary(executable='echo hello world', stdout=Hy7s.path.join(TBXe, 'log.txt'))\n with trZe.raises(SystemExit):\n ... | [
"0.63090295",
"0.6305358",
"0.6184318",
"0.613045",
"0.60469204",
"0.6028249",
"0.58880514",
"0.58544534",
"0.5718419",
"0.5665578",
"0.56290305",
"0.5621135",
"0.56070095",
"0.55762005",
"0.5567478",
"0.5560857",
"0.55551356",
"0.55506104",
"0.5495696",
"0.54615265",
"0.5448... | 0.7658108 | 0 |
Get start time filter. | def SWox(YKHO):
if not YKHO._start_time:
try:
bZt2 = e4h_.instance().logs.describe_log_group(YKHO._log_group_name).get('creationTime')
YKHO._start_time = ublw(bZt2)
except wsmU as e:
raise XQSr(f'Unable to retrieve creation time of log group {YKHO._log_group_name}... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jSV8(YKHO):\n raise NotImplementedError",
"def jSV8(YKHO):\n raise NotImplementedError",
"def jSV8(YKHO):\n return YKHO.start_time",
"def jSV8(YKHO):\n return YKHO.start_time",
"def SWox(YKHO):\n return YKHO.time_range()[0]",
"def lAAs(YKHO):\n return YKHO.base.get('start_time', [])... | [
"0.712975",
"0.712975",
"0.7128078",
"0.7081903",
"0.70426065",
"0.7000812",
"0.6952708",
"0.69518816",
"0.6914757",
"0.69092566",
"0.69092566",
"0.69092566",
"0.6899525",
"0.6899525",
"0.686273",
"0.686273",
"0.67826754",
"0.67826754",
"0.67826754",
"0.67826754",
"0.67826754... | 0.6407267 | 90 |
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. | def zVa7(YKHO) -> str:
return qe4Y.get(YKHO, 'service') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zVa7(OaeV):\n k8wH.echo(KGNQ(OaeV, qv1X(OaeV, 'get', 'services')))",
"def B373(V_D6=None, *qIxc, **B2fa):\n return uQwP.status.utils.get_services(*qIxc, fields=V_D6, **B2fa)",
"def B373(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'services')",
"def GnjK(YKHO):\n GnjK = {}\n oGoZ = ['ceilom... | [
"0.6277041",
"0.61805445",
"0.59979945",
"0.59338284",
"0.58652",
"0.5857519",
"0.58463573",
"0.58398765",
"0.58345276",
"0.5832904",
"0.5802201",
"0.5802201",
"0.5802201",
"0.5802201",
"0.5802201",
"0.5792016",
"0.5785065",
"0.5756439",
"0.5753733",
"0.574296",
"0.5729702",
... | 0.0 | -1 |
URI of a Cloud SQL instance network or empty string if the instance does not have one. | def BAhH(YKHO) -> str:
return qe4Y.get(YKHO, 'network_uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def D0tQ(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_url')",
"def KMW5(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluster_network_uri')",
"def eVVj(YKHO) -> str:\n return qe4Y.get(YKHO, 'network')",
"def eVVj(YKHO) -> str:\n return qe4Y.get(YKHO, 'network')",
"def eVVj(YKHO) -> str:\n return ... | [
"0.7017284",
"0.6778471",
"0.6715515",
"0.6715515",
"0.6715515",
"0.6715515",
"0.6715515",
"0.6715515",
"0.655137",
"0.65489596",
"0.62248456",
"0.6221203",
"0.62206167",
"0.6219605",
"0.6207964",
"0.6207964",
"0.61542743",
"0.6129233",
"0.6117731",
"0.6117105",
"0.6117105",
... | 0.75479233 | 0 |
Region in which the Cloud SQL instance is running. | def zn0c(YKHO) -> str:
return qe4Y.get(YKHO, 'region') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zn0c():\n return gP7g.utils.get_instance_metadata()['placement']['availability-zone'][:-1]",
"def kuab():\n return iVGz.session.Session().region_name",
"def oMHX(YKHO):\n return YKHO.unit.ec2metadata['availability-zone'][:-1]",
"def oMHX():\n return P7hP()[:-1]",
"def zn0c(YKHO):\n retur... | [
"0.7327998",
"0.7262928",
"0.70235354",
"0.69730985",
"0.6928191",
"0.6893837",
"0.6867044",
"0.68399495",
"0.6833245",
"0.6830332",
"0.67785525",
"0.6761506",
"0.67210126",
"0.67210126",
"0.67210126",
"0.67085767",
"0.66411895",
"0.6641081",
"0.66260093",
"0.66260093",
"0.66... | 0.7088403 | 7 |
Target type where the packet is delivered to. | def pan_(YKHO) -> str:
return qe4Y.get(YKHO, 'target') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wYEv(YKHO) -> h8nf[qe4Y.Input['PacketCaptureTargetType']]:\n return qe4Y.get(YKHO, 'target_type')",
"def wYEv(YKHO):\n return YKHO._target_type",
"def wYEv(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'target_type')",
"def wYEv(YKHO):\n return YKHO.target.__class__.__name__.lower(... | [
"0.80020416",
"0.7741658",
"0.715542",
"0.7147553",
"0.7113503",
"0.65406096",
"0.63878125",
"0.63270146",
"0.6310877",
"0.6204935",
"0.6194382",
"0.6192434",
"0.614243",
"0.6093667",
"0.6014594",
"0.60096097",
"0.60096097",
"0.600057",
"0.600057",
"0.5966588",
"0.5943067",
... | 0.0 | -1 |
Name of the metropolitan area. | def Cd_f(YKHO) -> str:
return qe4Y.get(YKHO, 'metropolitan_area') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO) -> str:\n return YKHO.coordinator.get_first(\"$.doorWindow.doorWindowDevice[?(@.deviceLabel=='%s')].area\", YKHO._device_label)",
"def mWFP(YKHO):\n return Kb4M.get_first(\"$.doorWindow.doorWindowDevice[?(@.deviceLabel=='%s')].area\", YKHO._device_label)",
"def mWFP(YKHO):\n return '{} ... | [
"0.69849586",
"0.6924326",
"0.62760866",
"0.6214311",
"0.6083665",
"0.60702074",
"0.60537523",
"0.60360706",
"0.6033042",
"0.6000068",
"0.59443897",
"0.59431595",
"0.5934259",
"0.5926851",
"0.5918414",
"0.5904982",
"0.5903574",
"0.58798087",
"0.5861483",
"0.5848856",
"0.58312... | 0.80442536 | 0 |
URI of the source telemetry agent this packet originates from. | def nwQc(YKHO) -> str:
return qe4Y.get(YKHO, 'source_agent_uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JZXy(YKHO) -> str:\n return YKHO.observation['source']",
"def O3kU(YKHO) -> str:\n return qe4Y.get(YKHO, 'source_network_uri')",
"def JZXy(YKHO) -> str:\n return YKHO._data.get('Source')",
"def F8A2(YKHO):\n return YKHO._source_url",
"def j8eK(YKHO):\n return YKHO.source.base_uri + '/' +... | [
"0.70694077",
"0.69419277",
"0.67697996",
"0.6682296",
"0.6668347",
"0.66624373",
"0.66624373",
"0.66624373",
"0.66624373",
"0.65184975",
"0.6480177",
"0.64650905",
"0.6451632",
"0.6441615",
"0.642421",
"0.63294804",
"0.62981826",
"0.62979543",
"0.62979543",
"0.62979543",
"0.... | 0.799341 | 0 |
URI of the network where this packet originates from. | def O3kU(YKHO) -> str:
return qe4Y.get(YKHO, 'source_network_uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BAhH(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_uri')",
"def BAhH(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_uri')",
"def BAhH(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_uri')",
"def BAhH(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_uri')",
"def BAhH(YKHO) -> str:\n return ... | [
"0.8526017",
"0.8526017",
"0.8526017",
"0.8526017",
"0.8526017",
"0.8526017",
"0.8526017",
"0.7965234",
"0.7855648",
"0.7548066",
"0.728643",
"0.728643",
"0.728643",
"0.728643",
"0.728643",
"0.728643",
"0.72710025",
"0.7104352",
"0.70581406",
"0.6972319",
"0.6961843",
"0.69... | 0.75951356 | 9 |
ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers. | def _2LX(YKHO) -> str:
return qe4Y.get(YKHO, 'load_balancer_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _2LX(YKHO):\n return YKHO._load_balancer_id",
"def _2LX(YKHO):\n return YKHO._load_balancer_id",
"def E4qv(YKHO) -> str:\n return qe4Y.get(YKHO, 'balancer_id')",
"def _2LX(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'load_balancer_id')",
"def _2LX(YKHO) -> h8nf[qe4Y.Input[str]]:... | [
"0.7383275",
"0.7383275",
"0.6919871",
"0.6888616",
"0.6888616",
"0.68600124",
"0.6768443",
"0.61821425",
"0.5988507",
"0.5950087",
"0.5922568",
"0.59077597",
"0.5887044",
"0.5854196",
"0.5810995",
"0.5800151",
"0.5792182",
"0.5792182",
"0.57541955",
"0.57517415",
"0.574284",... | 0.69850904 | 2 |
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source. | def KqpV(YKHO) -> str:
return qe4Y.get(YKHO, 'network_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def type(YKHO) -> oPEq:\n return YKHO.__type",
"def type(YKHO) -> oPEq:\n return YKHO.__type",
"def KqpV(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'network_type')",
"def KqpV(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'network_type')",
"def cret(YKHO):\n return gnPz.network_from_address(Y... | [
"0.7781451",
"0.7781451",
"0.7675002",
"0.7675002",
"0.7260485",
"0.70536524",
"0.6949024",
"0.6911168",
"0.6911168",
"0.68129104",
"0.67511886",
"0.6677108",
"0.6659882",
"0.66352856",
"0.66352856",
"0.66352856",
"0.66352856",
"0.66352856",
"0.66352856",
"0.6613281",
"0.6608... | 0.7803546 | 0 |
Textual representation of an expression in Common Expression Language syntax. | def lsX7(YKHO) -> str:
return qe4Y.get(YKHO, 'expression') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TnQa(lsX7):\n owmC = MiUm()\n owmC.generic_visit(lsX7)\n return owmC.result",
"def lsX7(YKHO, J_Es):\n assert J_Es.data == 'expression'\n return YKHO.expr_visitor.expression(J_Es)",
"def v0jN(Q6kx):\n if lVMs(Q6kx, GkW1):\n return str(v0jN(Q6kx[0])) + ' ' + QP6c[Q6kx.type] + ' ' + ... | [
"0.6872954",
"0.68546",
"0.66778076",
"0.6671421",
"0.6671421",
"0.66561",
"0.66060567",
"0.65955627",
"0.65798855",
"0.65387034",
"0.65364647",
"0.65218115",
"0.6428404",
"0.6373807",
"0.63699824",
"0.63520604",
"0.63290495",
"0.6328594",
"0.63156897",
"0.6249879",
"0.622679... | 0.650825 | 16 |
The firewall rule's type. | def iuLO(YKHO) -> str:
return qe4Y.get(YKHO, 'firewall_rule_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VVOC(YKHO) -> qe4Y.Input[uLKX[str, 'WebApplicationFirewallRuleType']]:\n return qe4Y.get(YKHO, 'rule_type')",
"def VVOC(YKHO) -> str:\n return qe4Y.get(YKHO, 'rule_type')",
"def VVOC(YKHO) -> str:\n return qe4Y.get(YKHO, 'rule_type')",
"def VVOC(YKHO) -> str:\n return qe4Y.get(YKHO, 'rule_typ... | [
"0.8684281",
"0.8346328",
"0.8346328",
"0.8346328",
"0.8346328",
"0.83311445",
"0.8196032",
"0.8196032",
"0.8196032",
"0.8196032",
"0.8149826",
"0.78436",
"0.70680624",
"0.67387676",
"0.6572382",
"0.6531832",
"0.64321756",
"0.63975024",
"0.6363217",
"0.6363217",
"0.6363217",
... | 0.9256563 | 0 |
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules. | def BAhH(YKHO) -> str:
return qe4Y.get(YKHO, 'network_uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ThtI(YKHO) -> str:\n return qe4Y.get(YKHO, 'destination_network_uri')",
"def D0tQ(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_url')",
"def Yi3x(YKHO) -> qe4Y.Input['NetworkRefArgs']:\n return qe4Y.get(YKHO, 'destination_network')",
"def O3kU(YKHO) -> str:\n return qe4Y.get(YKHO, 'source_ne... | [
"0.73751223",
"0.6836975",
"0.665049",
"0.66457576",
"0.64350986",
"0.6348271",
"0.6348271",
"0.6348271",
"0.6348271",
"0.6348271",
"0.6348271",
"0.6283163",
"0.6283163",
"0.6198529",
"0.6155243",
"0.6155243",
"0.61311466",
"0.6118537",
"0.6098673",
"0.6098673",
"0.6098673",
... | 0.7418542 | 2 |
The priority of the firewall rule. | def Ey19(YKHO) -> int:
return qe4Y.get(YKHO, 'priority') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ey19(YKHO):\n return YKHO.config['priority']",
"def Ey19(YKHO):\n return YKHO._priority",
"def Ey19(YKHO):\n return YKHO.mParameters['priority']",
"def Ey19(YKHO):\n return YKHO.__priority",
"def Ey19(YKHO) -> zXQX.transport.Priority:\n return YKHO._priority",
"def Ey19(YKHO):\n ret... | [
"0.7537701",
"0.75019497",
"0.7464779",
"0.74491805",
"0.7442076",
"0.742117",
"0.742117",
"0.742117",
"0.742117",
"0.73648113",
"0.73648113",
"0.73648113",
"0.73648113",
"0.73648113",
"0.73648113",
"0.73648113",
"0.73648113",
"0.73648113",
"0.73648113",
"0.7360699",
"0.73334... | 0.74178296 | 11 |
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. | def IHqq(YKHO) -> bdIy[str]:
return qe4Y.get(YKHO, 'target_tags') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def agGM(YKHO) -> bdIy['outputs.FirewallPolicyRuleSecureTagResponse']:\n return qe4Y.get(YKHO, 'target_secure_tags')",
"def IHqq(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'target_tags')",
"def mYQk(YKHO):\n return YKHO._get_norm_tags(YKHO.tag_manager.target_tags)",... | [
"0.74215007",
"0.68021303",
"0.6762",
"0.6211345",
"0.6180505",
"0.6010903",
"0.59375626",
"0.58971494",
"0.58425605",
"0.58196217",
"0.58196217",
"0.5811952",
"0.5790626",
"0.5770541",
"0.56372964",
"0.5633881",
"0.561482",
"0.56046003",
"0.5600266",
"0.5590353",
"0.5578129"... | 0.7231506 | 1 |
Name of a Compute Engine instance. | def qQNS(YKHO) -> str:
return qe4Y.get(YKHO, 'display_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO):\n return YKHO._client.project_name + '/instances/' + YKHO.instance_id",
"def zeTD(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_name')",
"def zeTD(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_name')",
"def zeTD(YKHO) -> str:\n return qe4Y.get(YKHO, 'instance_name')",
"def m... | [
"0.8111477",
"0.80946666",
"0.80946666",
"0.80946666",
"0.78763753",
"0.7743603",
"0.744312",
"0.72231436",
"0.72040427",
"0.71884596",
"0.7160009",
"0.7118954",
"0.70840913",
"0.70839274",
"0.6922211",
"0.69220257",
"0.68633616",
"0.68350506",
"0.6815778",
"0.6808031",
"0.68... | 0.0 | -1 |
Name of the network interface of a Compute Engine instance. | def wohN(YKHO) -> str:
return qe4Y.get(YKHO, 'interface') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rh3n(YKHO) -> str:\n return qe4Y.get(YKHO, 'interface_name')",
"def vG87(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_interface_id')",
"def vG87(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_interface_id')",
"def vG87(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_interface_id')",
"def v... | [
"0.7692445",
"0.7664316",
"0.7664316",
"0.7664316",
"0.7664316",
"0.76456285",
"0.7549362",
"0.7452694",
"0.7452694",
"0.73898536",
"0.73000777",
"0.72512543",
"0.7190121",
"0.7181903",
"0.71583563",
"0.7121201",
"0.70969945",
"0.7091352",
"0.70862246",
"0.70571196",
"0.70571... | 0.6919146 | 33 |
Information for the loadbalancer backends. | def zxMY(YKHO) -> bdIy['outputs.LoadBalancerBackendResponse']:
return qe4Y.get(YKHO, 'backends') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aeJp(YKHO):\n return [WKvO.name for WKvO in EiKG.backends]",
"def i1XI(YKHO, YoW8=-1):\n return YKHO.stats(YoW8, obj_type=2)['backends']",
"def rB7g(Emd4) -> cuzp[str, IQ9R]:\n ...",
"def zxMY(YKHO) -> bdIy['outputs.BackendResponse']:\n return qe4Y.get(YKHO, 'backends')",
"def zxMY(YKHO) ->... | [
"0.7462911",
"0.7380165",
"0.736875",
"0.7137072",
"0.71287364",
"0.7070963",
"0.6944933",
"0.691053",
"0.6856723",
"0.6856723",
"0.6834723",
"0.6708916",
"0.6671848",
"0.6637033",
"0.65627366",
"0.6530111",
"0.65237623",
"0.643997",
"0.63108546",
"0.6270391",
"0.6151924",
... | 0.7738373 | 0 |
Name of a Compute Engine network. | def qQNS(YKHO) -> str:
return qe4Y.get(YKHO, 'display_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tvqd(YKHO):\n pass",
"def mWFP(YKHO):\n return YKHO._network_name",
"def tvqd(YKHO):\n with YKHO.top_level_cmd() as jdOK:\n return f'{jdOK.project.name}_default'",
"def Nj26(YKHO):\n return YKHO._net_name",
"def vLMo(YKHO):\n return lY0q.cast(YKHO.n.GetNetName_bn(YKHO.net), lY0q.c... | [
"0.85209477",
"0.8282202",
"0.7902768",
"0.7682671",
"0.75524837",
"0.74697924",
"0.7466909",
"0.73809016",
"0.73431396",
"0.7284445",
"0.728232",
"0.728232",
"0.728232",
"0.728232",
"0.728232",
"0.728232",
"0.7038692",
"0.7038692",
"0.6981321",
"0.69105387",
"0.6773",
"0.6... | 0.0 | -1 |
The EdgeLocation from which a packet destined for/originating from the internet will egress/ingress the Google network. This will only be populated for a connectivity test which has an internet destination/source address. The absence of this field must not be used as an indication that the destination/source is part of... | def wabb(YKHO) -> 'outputs.EdgeLocationResponse':
return qe4Y.get(YKHO, 'destination_egress_location') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def meyg(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'edge_location')",
"def meyg(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'edge_location')",
"def meyg(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'edge_location')",
"def RYr6(YKHO):\n return YKHO.__netloc",
"def aXUr(YKHO, ... | [
"0.7182663",
"0.7104417",
"0.69815975",
"0.6332762",
"0.6151179",
"0.60069275",
"0.5978687",
"0.5978687",
"0.594055",
"0.5916936",
"0.5904325",
"0.5834148",
"0.5834148",
"0.5833255",
"0.5833255",
"0.5826694",
"0.58193904",
"0.58193904",
"0.58193904",
"0.58193904",
"0.5800873"... | 0.7277622 | 0 |
Display information of the final state "drop" and reason. | def ReNU(YKHO) -> 'outputs.DropInfoResponse':
return qe4Y.get(YKHO, 'drop') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def nOaJ(YKHO):\n print(YKHO.get_final_state_message())",
"def ReNU(YKHO):\n YKHO.delete()\n YKHO.location = tRnr.location\n YKHO.reveal()\n return 'You dropped {}.'.format(YKHO.name.upper())",
"def wygi(YKHO):\n print('Database rollbacked.')",
"def XLh7(YKHO):\n YKHO.display.out_queue.a... | [
"0.6224576",
"0.61702913",
"0.59199315",
"0.5781731",
"0.57217973",
"0.5707041",
"0.5662303",
"0.56549764",
"0.5649873",
"0.56427187",
"0.5619953",
"0.56106573",
"0.56072396",
"0.557389",
"0.5569995",
"0.5564796",
"0.5564796",
"0.5564796",
"0.5564796",
"0.5564796",
"0.5564796... | 0.6110041 | 2 |
URI of a VPC connector. | def j8eK(YKHO) -> str:
return qe4Y.get(YKHO, 'uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RPxX(YKHO) -> str:\n return qe4Y.get(YKHO, 'desktop_vpc_endpoint')",
"def RPxX(YKHO) -> str:\n return qe4Y.get(YKHO, 'desktop_vpc_endpoint')",
"def RPxX(YKHO) -> str:\n return qe4Y.get(YKHO, 'desktop_vpc_endpoint')",
"def iOlB(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'vpc_conn... | [
"0.6721932",
"0.6721932",
"0.6721932",
"0.67079854",
"0.6543661",
"0.65080637",
"0.6504989",
"0.6504989",
"0.6480522",
"0.63652956",
"0.63450634",
"0.61618286",
"0.612109",
"0.612109",
"0.612109",
"0.61127794",
"0.6103087",
"0.6102184",
"0.60689133",
"0.60582316",
"0.6015253"... | 0.5540473 | 96 |
URI of a Compute Engine network where the VPN gateway is configured. | def BAhH(YKHO) -> str:
return qe4Y.get(YKHO, 'network_uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def D0tQ(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_url')",
"def eVVj(YKHO) -> str:\n return qe4Y.get(YKHO, 'network')",
"def eVVj(YKHO) -> str:\n return qe4Y.get(YKHO, 'network')",
"def eVVj(YKHO) -> str:\n return qe4Y.get(YKHO, 'network')",
"def eVVj(YKHO) -> str:\n return qe4Y.get(YKH... | [
"0.7614654",
"0.7230854",
"0.7230854",
"0.7230854",
"0.7230854",
"0.7230854",
"0.7230854",
"0.70671314",
"0.6831317",
"0.6784532",
"0.661292",
"0.66035444",
"0.66023594",
"0.655267",
"0.6548097",
"0.6540634",
"0.6536997",
"0.65195894",
"0.65195894",
"0.64049166",
"0.63994825"... | 0.7888549 | 1 |
Name of a Google Cloud region where this VPN gateway is configured. | def zn0c(YKHO) -> str:
return qe4Y.get(YKHO, 'region') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aGvo(YKHO):\n A2F6 = YKHO._provider.parse_url(YKHO._zone['region'])\n return A2F6.parameters['region']",
"def Q_zX(YKHO):\n return YKHO.region_name",
"def zn0c(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'region')",
"def zn0c(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'region')",
"def z... | [
"0.80117035",
"0.76163757",
"0.7349419",
"0.7349419",
"0.7334956",
"0.73307425",
"0.73077786",
"0.7264433",
"0.7264433",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",
"0.7158748",... | 0.7568876 | 8 |
URI of a VPN gateway. | def j8eK(YKHO) -> str:
return qe4Y.get(YKHO, 'uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _rBG(YKHO):\n return YKHO.license['ROBOT_GATEWAY_URL']",
"def lNfD(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'vpn_gateway')",
"def GVTp(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpn_tunnel_uri')",
"def kdXA(YKHO) -> str:\n return qe4Y.get(YKHO, 'gateway')",
"def kdXA(YKHO) -> str:\n ... | [
"0.7355188",
"0.7316852",
"0.7199582",
"0.7188248",
"0.7188248",
"0.7188248",
"0.7188248",
"0.7188248",
"0.7188248",
"0.6917663",
"0.68745863",
"0.6817337",
"0.6811322",
"0.6754544",
"0.67081034",
"0.65878385",
"0.6517482",
"0.6517482",
"0.64479125",
"0.6354295",
"0.63440883"... | 0.568324 | 82 |
URI of a Compute Engine network where the VPN tunnel is configured. | def BAhH(YKHO) -> str:
return qe4Y.get(YKHO, 'network_uri') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def D0tQ(YKHO) -> str:\n return qe4Y.get(YKHO, 'network_url')",
"def GVTp(YKHO) -> str:\n return qe4Y.get(YKHO, 'vpn_tunnel_uri')",
"def ThtI(YKHO) -> str:\n return qe4Y.get(YKHO, 'destination_network_uri')",
"def eVVj(YKHO) -> str:\n return qe4Y.get(YKHO, 'network')",
"def eVVj(YKHO) -> str:\n... | [
"0.7700888",
"0.7355153",
"0.70827883",
"0.7052559",
"0.7052559",
"0.7052559",
"0.7052559",
"0.7052559",
"0.7052559",
"0.6966356",
"0.66552967",
"0.6585422",
"0.64999235",
"0.6481586",
"0.6437967",
"0.6437967",
"0.6437452",
"0.6423585",
"0.64020336",
"0.6320926",
"0.6320926",... | 0.7855719 | 2 |
Name of a Google Cloud region where this VPN tunnel is configured. | def zn0c(YKHO) -> str:
return qe4Y.get(YKHO, 'region') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aGvo(YKHO):\n A2F6 = YKHO._provider.parse_url(YKHO._zone['region'])\n return A2F6.parameters['region']",
"def zn0c(YKHO) -> h8nf[str]:\n return N4yN.get('region') or i5mz.get_env('ALICLOUD_REGION')",
"def Q_zX(YKHO):\n return YKHO.region_name",
"def zn0c(YKHO) -> h8nf[str]:\n return qe4Y.g... | [
"0.7709061",
"0.7296685",
"0.72686696",
"0.7120764",
"0.7120764",
"0.7073437",
"0.7060974",
"0.7043522",
"0.7043522",
"0.6995699",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
"0.6976753",
... | 0.73302376 | 9 |
Type of the routing policy. | def yBRI(YKHO) -> str:
return qe4Y.get(YKHO, 'routing_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gnKP(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'policy_type')",
"def dCq9(YKHO):\n return YKHO.__route_type",
"def EpG8(YKHO) -> str:\n return qe4Y.get(YKHO, 'routing_mode')",
"def type(YKHO) -> qe4Y.Input['EndpointPolicyType']:\n return qe4Y.get(YKHO, 'type')",
"def zn34(YKHO... | [
"0.6994479",
"0.6899145",
"0.6882352",
"0.68519306",
"0.65411365",
"0.64127225",
"0.6346719",
"0.6339803",
"0.6276609",
"0.6230575",
"0.6230575",
"0.6230575",
"0.6230575",
"0.6197247",
"0.6179501",
"0.6103497",
"0.6018485",
"0.5948727",
"0.5938879",
"0.5935781",
"0.5922231",
... | 0.77463925 | 0 |
Update the vertical position of the bird based on user activity and gravity. | def haew(YKHO, Tuqy):
YKHO._bird.draw_on(YKHO._trellis, XDQs)
if YKHO._should_flap(Tuqy):
YKHO._bird.flap()
else:
YKHO._bird.update()
YKHO._bird.draw_on(YKHO._trellis)
YKHO._trellis.pixels.show() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QdZT(YKHO):\n YKHO.rect.top -= YKHO.vy",
"def QdZT(YKHO):\n YKHO.rect.top += YKHO.vy",
"def cdpt(YKHO):\n YKHO._veloc_y += vDGs",
"def QdZT(YKHO):\n YKHO.gravity()\n YKHO.update_motion()",
"def QdZT(YKHO):\n if YKHO.steps_to_move_to_top > 0:\n if YKHO.y > 0:\n YKHO.y... | [
"0.67977387",
"0.679662",
"0.64878",
"0.6428815",
"0.6426988",
"0.63710785",
"0.6357797",
"0.63451844",
"0.62123543",
"0.61805284",
"0.6180404",
"0.6174794",
"0.6166601",
"0.6162909",
"0.61377937",
"0.61377937",
"0.6110857",
"0.61086243",
"0.60663635",
"0.60662377",
"0.605197... | 0.0 | -1 |
Test for Organization accessors | def hauM(YKHO):
YKHO.organization.extensions = J87D.Extensions()
YKHO.organization.organization_name.append(J87D.organization_name_from_string(zWS8.TEST_ORGANIZATION_NAME))
YKHO.organization.organization_display_name.append(J87D.organization_display_name_from_string(zWS8.TEST_ORGANIZATION_DISPLAY_NAME))
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZrPM(YKHO):\n pass",
"def hauM(YKHO):\n YKHO.organization.extensions = J87D.Extensions()\n YKHO.organization.organization_name.append(J87D.organization_name_from_string(zWS8.TEST_ORGANIZATION_NAME))\n YKHO.organization.organization_display_name.append(J87D.organization_display_name_from_string(zW... | [
"0.77536154",
"0.76139545",
"0.7547966",
"0.75218457",
"0.74932355",
"0.7431284",
"0.73953676",
"0.73549014",
"0.7329278",
"0.7162677",
"0.71340305",
"0.7118011",
"0.7051948",
"0.69919115",
"0.68356717",
"0.6800519",
"0.6741843",
"0.67281973",
"0.6704308",
"0.6685968",
"0.668... | 0.75549203 | 2 |
Test for manage_name_id_service_from_string() using test data. | def pjw9(YKHO):
EBE5 = J87D.manage_name_id_service_from_string(zWS8.TEST_MANAGE_NAMEID_SERVICE)
assert EBE5.binding == Z7rY.BINDING_HTTP_POST
assert EBE5.location == 'http://www.example.com/endpoint'
assert EBE5.response_location == 'http://www.example.com/response' | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pjw9(YKHO):\n EBE5 = J87D.manage_name_id_service_from_string(zWS8.TEST_MANAGE_NAMEID_SERVICE)\n assert EBE5.binding == Z7rY.BINDING_HTTP_POST\n assert EBE5.location == 'http://www.example.com/endpoint'\n assert EBE5.response_location == 'http://www.example.com/response'",
"def pjw9(YKHO):\n F1... | [
"0.7394777",
"0.7038279",
"0.6932192",
"0.6760199",
"0.6691536",
"0.64723176",
"0.64692223",
"0.64054054",
"0.6303365",
"0.62662274",
"0.622109",
"0.5954562",
"0.5941915",
"0.58944696",
"0.58824766",
"0.587256",
"0.5852268",
"0.5829457",
"0.58186203",
"0.5817406",
"0.5801495"... | 0.74098796 | 0 |
Initialize a DL1DataWriter instance. Provides some options for controlling the output file sizes. | def FIMM(YKHO, D7A8=None, tCIv=None, aoV9=None, emN4=YYXE, rQM7=None, Ybzh=None, m0Ag='parallel', mOls=10737418240, l4e_=None, MIHC=False, E3k3=None, oyPT=None, w0Gb=None):
YKHO.event_source_class = D7A8
YKHO.event_source_settings = tCIv if tCIv else {}
YKHO.selected_telescope_ids = aoV9
YKHO.data_dumpe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, Ep8u):\n print('- Data init started')\n YKHO.batch_size = Ep8u\n print('- Data init finished')",
"def FIMM(YKHO):\n oekH.IndexDataSet1D_swiginit(YKHO, oekH.new_IndexDataSet1D())",
"def FIMM(YKHO, WJI9=HwRy.stdout, TVTK=16):\n YKHO._writer = WJI9\n YKHO._width = TVTK",
"def FI... | [
"0.57019687",
"0.56079304",
"0.55973226",
"0.55947036",
"0.5569853",
"0.5500029",
"0.5454121",
"0.544062",
"0.54311955",
"0.5424742",
"0.53941464",
"0.539414",
"0.53813195",
"0.53670144",
"0.53668815",
"0.5276327",
"0.5272561",
"0.5269776",
"0.5235464",
"0.52347827",
"0.52047... | 0.0 | -1 |
Starts the auto_renew thread. | def tCEh(YKHO, VOlW):
class AutoRenewThread(T6FA.Thread):
"""Used by the auto_renew code to renew a subscription from within
a thread.
"""
def FIMM(YKHO, VOlW, QBym, finE, *qIxc, **B2fa):
super().__init__(*qIxc, **B2fa)
YKHO.interval = VOlW
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def augz(YKHO):\n assert not YKHO._lease_renewer\n YKHO._lease_renewer = T6FA.Timer(Msmd._randomized_worker_polling_time(), YKHO._renew_ownership)\n YKHO._lease_renewer.start()",
"def xqij(YKHO):\n YKHO._auto_renew_thread_flag.set()",
"def QxlG(YKHO):\n if YKHO.auto_refresh:\n return\n ... | [
"0.7370753",
"0.7255979",
"0.6724517",
"0.6428923",
"0.6145559",
"0.59851485",
"0.59394777",
"0.59028924",
"0.58727837",
"0.5861114",
"0.58006597",
"0.5778852",
"0.5741245",
"0.573041",
"0.5704539",
"0.5699625",
"0.5689997",
"0.56508017",
"0.56426954",
"0.5630943",
"0.5625829... | 0.7832876 | 0 |
>>> num_features('011') 2 >>> num_features('000') 0 | def HhVR(WKvO):
return sum(oyIN.array(WKvO.split('-')) == '1') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HkL2(YKHO) -> int:\n raise NotImplementedError()",
"def H44g(Pht2):\n return int(ZO_c.GetCount_management(Pht2).getOutput(0))",
"def HkL2(YKHO):\n raise NotImplementedError()",
"def HkL2(YKHO) -> int:\n return YKHO._call_java('numFeatures')",
"def HkL2(YKHO) -> int:\n return YKHO._call_j... | [
"0.71690166",
"0.7102919",
"0.7088842",
"0.70582926",
"0.70582926",
"0.69974315",
"0.69812596",
"0.6914327",
"0.68418056",
"0.6836684",
"0.6809021",
"0.6766562",
"0.6752595",
"0.6740841",
"0.6736618",
"0.669178",
"0.66702986",
"0.6608453",
"0.6555162",
"0.65333074",
"0.651824... | 0.7772192 | 0 |
If this role can log in, this specifies how many concurrent connections the role can establish. `1` (the default) means no limit. | def RMXK(YKHO) -> h8nf[qe4Y.Input[int]]:
return qe4Y.get(YKHO, 'connection_limit') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q8Ws(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_connections_per_instance')",
"def WWaa(Emd4):\n Emd4.__maximum_connection_tries += 1",
"def b0_5(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_connections')",
"def b0_5(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_connections')",
"def RMXK(YKHO) ->... | [
"0.6744228",
"0.6692472",
"0.66378456",
"0.66378456",
"0.6574977",
"0.65137196",
"0.65010697",
"0.64591193",
"0.64379436",
"0.64376456",
"0.64376456",
"0.64376456",
"0.64376456",
"0.64286166",
"0.64286166",
"0.6396335",
"0.6386603",
"0.63707274",
"0.6315141",
"0.62243056",
"0... | 0.6458478 | 11 |
Defines whether the role is a "superuser", and therefore can override all access restrictions within the database. Default value is `false`. | def COmz(YKHO) -> h8nf[qe4Y.Input[bool]]:
return qe4Y.get(YKHO, 'superuser') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qMrd(YKHO):\n return YKHO.sesh.curr_role == 'admin'",
"def qMrd(YKHO):\n return YKHO.admin",
"def hSiU(CBIr):\n assert isinstance(CBIr, mv1M)\n return gCuF.SU_ACCESS_OVERRIDE and CBIr.is_superuser",
"def qMrd(YKHO) -> bool:\n return YKHO.is_admin",
"def qMrd(YKHO):\n if YKHO.admin:\n ... | [
"0.7348825",
"0.733883",
"0.72398794",
"0.72395796",
"0.71878207",
"0.70545685",
"0.7051002",
"0.6995971",
"0.69385886",
"0.69148904",
"0.68508273",
"0.6837937",
"0.6834876",
"0.6776556",
"0.6776556",
"0.6732192",
"0.67121",
"0.6669537",
"0.666269",
"0.6641707",
"0.6608179",
... | 0.68789613 | 10 |
Defines the date and time after which the role's password is no longer valid. Established connections past this `valid_time` will have to be manually terminated. This value corresponds to a PostgreSQL datetime. If omitted or the magic value `NULL` is used, `valid_until` will be set to `infinity`. Default is `NULL`, the... | def WkNg(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'valid_until') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zGPQ(YKHO) -> qcWV:\n pass",
"def PeWH(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'password_expiration_time')",
"def PeWH(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'password_expiration_time')",
"def fO0v(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'valid_time')",
... | [
"0.6659179",
"0.644362",
"0.618998",
"0.61713874",
"0.61127365",
"0.60389113",
"0.60241944",
"0.60165393",
"0.6004263",
"0.5961393",
"0.5961393",
"0.5956451",
"0.59359586",
"0.593204",
"0.59193295",
"0.59126",
"0.5862909",
"0.5817746",
"0.5808627",
"0.57943326",
"0.56883377",... | 0.62373585 | 2 |
If this role can log in, this specifies how many concurrent connections the role can establish. `1` (the default) means no limit. | def RMXK(YKHO) -> h8nf[qe4Y.Input[int]]:
return qe4Y.get(YKHO, 'connection_limit') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q8Ws(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_connections_per_instance')",
"def WWaa(Emd4):\n Emd4.__maximum_connection_tries += 1",
"def b0_5(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_connections')",
"def b0_5(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_connections')",
"def RMXK(YKHO) ->... | [
"0.67448014",
"0.66924644",
"0.66379714",
"0.66379714",
"0.65749055",
"0.6513604",
"0.65007466",
"0.6458051",
"0.6438095",
"0.64369625",
"0.64369625",
"0.64369625",
"0.64369625",
"0.6426681",
"0.6426681",
"0.6395661",
"0.6385716",
"0.6369149",
"0.63151854",
"0.62238467",
"0.6... | 0.64580137 | 10 |