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 |
|---|---|---|---|---|---|---|
Set up test data for the whole TestCase (only run once for the TestCase) | def izSt(Emd4):
tOFR.run() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FCbF(YKHO):\n YKHO.test_data_path = 'testing/test_data/'",
"def FCbF(YKHO):\n YKHO.dataset = eis1()",
"def izSt(Emd4):\n BJsk.initialize_empty_volunteer()",
"def FCbF(YKHO):\n YKHO.dataset = YKHO.dataset_cls()",
"def FCbF(YKHO):\n YKHO.data_list = ['hello', 'world', 'funilrys', 'funceble... | [
"0.8151247",
"0.81397104",
"0.8050004",
"0.775654",
"0.7749413",
"0.77358264",
"0.75723577",
"0.7563123",
"0.75573385",
"0.75541633",
"0.75483334",
"0.7507037",
"0.75037056",
"0.74770427",
"0.74658823",
"0.74603325",
"0.74401635",
"0.7431206",
"0.7431103",
"0.74309117",
"0.74... | 0.80488545 | 5 |
Asynchronous generator for iterating through raw stations from the API. The station list is a paged response, but this generator abstracts that away. | async def _fetch_raw_stations(cuiw: ClientSession, MOPg: dict, TyBt: BuildQuery) -> dict:
SV4W = 1
IFBw = 0
while IFBw < SV4W:
bD7m, NArs = TyBt.query(IFBw)
S0MI.debug('loading station page %d...', IFBw)
async with cuiw.get(bD7m, headers=MOPg, params=NArs) as geh0:
ybRW =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Oj45(YKHO):\n for QmN4 in sorted(YKHO.station_records):\n yield YKHO.station_records[QmN4]",
"async def stations():\n with open('/data/station_list.json') as r845:\n nPrm = qQXR.load(r845)\n return nPrm",
"def Oj45():\n for rdlD in usx6():\n yield tuple(rdlD)",
"def Oj45(... | [
"0.67368126",
"0.6495092",
"0.62871516",
"0.6250763",
"0.6233968",
"0.617859",
"0.6159735",
"0.5937769",
"0.5905411",
"0.58789515",
"0.58734304",
"0.5849237",
"0.5838415",
"0.58252174",
"0.5797338",
"0.5739564",
"0.5685018",
"0.564997",
"0.5632827",
"0.5619016",
"0.56106275",... | 0.81258637 | 0 |
Transform from the json object returned by wf1, to our station object. | def rNNz(gnAD) -> nl77:
with open(SLnU) as G6EG:
sNEq = qQXR.load(G6EG)
S86T = SsVK.read_file(eP22)
yIfz = PvyL(float(gnAD['longitude']), float(gnAD['latitude']))
if gnAD['stationCode'] == '447':
pJVD = 'SUB-ARCTIC HIGHLANDS'
else:
for d6pt, rdlD in S86T.iterrows():
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pktP(zgjV: str, B1PV: type[Station | AvailabilityInfo | AvailableVehicleCategory | Coord] | None=None) -> njvh:\n hBFO = qQXR.loads(zgjV)\n return MsiZ.from_dict(hBFO, dest_class=B1PV)",
"def c2Hp(J_Es):\n tk5Y = J_Es.getroot()\n JGpk = tk5Y.findtext('{http://trackernet.lul.co.uk}WhenCreated')\n ... | [
"0.6231825",
"0.6018233",
"0.56866604",
"0.56725705",
"0.562914",
"0.54520166",
"0.5425616",
"0.5349745",
"0.5308549",
"0.52492243",
"0.52482665",
"0.52387005",
"0.5227275",
"0.5201967",
"0.5194102",
"0.51921135",
"0.51889974",
"0.51880383",
"0.51843244",
"0.5161492",
"0.5149... | 0.5829514 | 2 |
Get a list of stations by code, from local json files. | def iNGK(jUak: List[int]) -> x1iM[nl77]:
S0MI.info('Using pre-generated json to retrieve station by code')
with open(sDq6) as GJvs:
Oj45 = qQXR.load(GJvs)
dixj = []
for gnAD in Oj45['weather_stations']:
if int(gnAD['code']) in jUak:
dixj.append(nl77(**gnAD))
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DFub() -> x1iM[dict]:\n S0MI.info('Using pre-generated json to retrieve station list')\n with open(sDq6) as rN5e:\n zgjV = qQXR.load(rN5e)\n return zgjV['weather_stations']",
"async def stations():\n with open('/data/station_list.json') as r845:\n nPrm = qQXR.load(r845)\n ret... | [
"0.74574673",
"0.7159132",
"0.68774474",
"0.6798813",
"0.64631224",
"0.6418322",
"0.6371534",
"0.62950915",
"0.62937933",
"0.6224961",
"0.6178127",
"0.61669594",
"0.6069703",
"0.6005044",
"0.59697324",
"0.5929631",
"0.5880136",
"0.58779263",
"0.58657503",
"0.5856827",
"0.5791... | 0.8389391 | 0 |
Get a list of stations by code, from WFWX Fireweather API. | async def _get_stations_by_codes_remote(jUak: List[int]) -> x1iM[nl77]:
S0MI.info('Using WFWX to retrieve stations by code')
async with Qm_e() as cuiw:
WBPg = await bAKn(cuiw)
Oj45 = []
oHE7 = i4bl(cuiw, WBPg, FNQK(jUak))
async for uW2u in oHE7:
if TY3X(uW2u):
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def get_stations_by_codes(jUak: List[int]) -> x1iM[nl77]:\n f029 = GPtr.get('USE_WFWX') == 'True'\n if f029:\n return await SW_w(jUak)\n return iNGK(jUak)",
"def iNGK(jUak: List[int]) -> x1iM[nl77]:\n S0MI.info('Using pre-generated json to retrieve station by code')\n with open(sDq6) ... | [
"0.7805629",
"0.757525",
"0.68486214",
"0.66801566",
"0.6492312",
"0.6452452",
"0.6391615",
"0.6378871",
"0.6350558",
"0.6347543",
"0.6075032",
"0.60301447",
"0.6019879",
"0.5972413",
"0.59601486",
"0.59277767",
"0.5922856",
"0.59155476",
"0.5905507",
"0.58728063",
"0.5841201... | 0.7607099 | 1 |
Get a list of stations by code, from WFWX Fireweather API. | async def get_stations_by_codes(jUak: List[int]) -> x1iM[nl77]:
f029 = GPtr.get('USE_WFWX') == 'True'
if f029:
return await SW_w(jUak)
return iNGK(jUak) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def _get_stations_by_codes_remote(jUak: List[int]) -> x1iM[nl77]:\n S0MI.info('Using WFWX to retrieve stations by code')\n async with Qm_e() as cuiw:\n WBPg = await bAKn(cuiw)\n Oj45 = []\n oHE7 = i4bl(cuiw, WBPg, FNQK(jUak))\n async for uW2u in oHE7:\n if TY3X(uW... | [
"0.7606622",
"0.75749195",
"0.684837",
"0.6680998",
"0.6492543",
"0.64532334",
"0.63920206",
"0.6379954",
"0.63513964",
"0.63477105",
"0.6074862",
"0.6029056",
"0.6020498",
"0.5974272",
"0.59604603",
"0.5929188",
"0.5922481",
"0.5917066",
"0.59061295",
"0.58735603",
"0.584226... | 0.7804556 | 0 |
Get list of stations from local json files. | def DFub() -> x1iM[dict]:
S0MI.info('Using pre-generated json to retrieve station list')
with open(sDq6) as rN5e:
zgjV = qQXR.load(rN5e)
return zgjV['weather_stations'] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def stations():\n with open('/data/station_list.json') as r845:\n nPrm = qQXR.load(r845)\n return nPrm",
"async def stations_data():\n with open('/data/station_data.json') as r845:\n nPrm = qQXR.load(r845)\n return nPrm",
"def Oj45(YKHO):\n try:\n _zEX = G4JS.get(YKHO.... | [
"0.82146585",
"0.74564046",
"0.728124",
"0.7084637",
"0.7056293",
"0.70517755",
"0.69984025",
"0.69483215",
"0.67775536",
"0.6773161",
"0.67388767",
"0.672294",
"0.66115063",
"0.6608919",
"0.659881",
"0.6581752",
"0.65682846",
"0.6567644",
"0.6543293",
"0.6535716",
"0.6520563... | 0.8425784 | 0 |
Get list of stations from WFWX Fireweather API. | async def _get_stations_remote() -> x1iM[nl77]:
S0MI.info('Using WFWX to retrieve station list')
async with Qm_e() as cuiw:
WBPg = await bAKn(cuiw)
Oj45 = []
async for uW2u in i4bl(cuiw, WBPg, BnIZ()):
if TY3X(uW2u):
S0MI.info('Processing raw_station %d', int(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def get_stations() -> x1iM[nl77]:\n f029 = GPtr.get('USE_WFWX') == 'True'\n if f029:\n return await kWHq()\n return DFub()",
"def Oj45(YKHO):\n try:\n _zEX = G4JS.get(YKHO._stations_url)\n Oj45 = {}\n for gnAD in _zEX.json():\n zW8g = gnAD['id']\n ... | [
"0.82809913",
"0.7771363",
"0.74885744",
"0.7413649",
"0.72549707",
"0.72350067",
"0.722443",
"0.7072283",
"0.6935434",
"0.68678176",
"0.6863236",
"0.68527937",
"0.67632633",
"0.67337245",
"0.67000765",
"0.6685334",
"0.66791695",
"0.6652216",
"0.6647041",
"0.6636076",
"0.6613... | 0.7845371 | 1 |
Get list of stations from WFWX Fireweather API. | async def get_stations() -> x1iM[nl77]:
f029 = GPtr.get('USE_WFWX') == 'True'
if f029:
return await kWHq()
return DFub() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"async def _get_stations_remote() -> x1iM[nl77]:\n S0MI.info('Using WFWX to retrieve station list')\n async with Qm_e() as cuiw:\n WBPg = await bAKn(cuiw)\n Oj45 = []\n async for uW2u in i4bl(cuiw, WBPg, BnIZ()):\n if TY3X(uW2u):\n S0MI.info('Processing raw_stati... | [
"0.7845434",
"0.7771876",
"0.748899",
"0.741431",
"0.7255944",
"0.7235346",
"0.7226004",
"0.70730346",
"0.6936569",
"0.68690205",
"0.68634385",
"0.685369",
"0.676402",
"0.67349577",
"0.6700988",
"0.66859597",
"0.66799074",
"0.66532445",
"0.6648646",
"0.6637085",
"0.6614241",
... | 0.8281624 | 0 |
any leading/trailing whitespaces within a column will be stripped before concatenation occurs | def UH7i(YKHO):
YKHO.df['new_concat_field_ae'] = t9E4(YKHO.df, ['a', 'e'])
dpQW = rLdf.DataFrame({'new_concat_field_ae': ['x y12', 'y', 'x']})
U8GB(YKHO.df['new_concat_field_ae'], dpQW['new_concat_field_ae']) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KGYP(nPrm: pd.Series) -> rLdf.Series:\n nPrm = nPrm.replace('\\\\s+', value=' ', regex=True)\n return nPrm.str.strip()",
"def UCuR(jQ3Z, AAHb):\n return jQ3Z.withColumn(AAHb, O358(AAHb))",
"def EQOQ():\n pass",
"def dRdd(jQ3Z, iVRZ=None):\n if iVRZ is None:\n for WKvO in jQ3Z.column... | [
"0.6823222",
"0.6604545",
"0.6570077",
"0.6364026",
"0.6335646",
"0.6329843",
"0.6198812",
"0.6126812",
"0.59653634",
"0.59643805",
"0.59622455",
"0.59478277",
"0.58384967",
"0.58330184",
"0.5814154",
"0.58054256",
"0.57901293",
"0.57901293",
"0.57778543",
"0.57745075",
"0.57... | 0.76979816 | 0 |
Creates temporary directory and stores its info into context | def Fb4b(QpfX):
lp4b = gbPf.TemporaryDirectory()
QpfX.tempdir = lp4b | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jkFn(YKHO, *qIxc, **B2fa):\n nzu_ = gbPf.mkdtemp(*qIxc, **B2fa)\n try:\n yield w9ox(nzu_)\n finally:\n hqGI(nzu_)",
"def nzu_(**B2fa):\n nzu_ = gbPf.mkdtemp(**B2fa)\n try:\n yield nzu_\n finally:\n pass",
"def DMw_(YKHO):\n YKHO.temporary_directory = gbPf.mk... | [
"0.8158818",
"0.78283817",
"0.77372694",
"0.76806664",
"0.766208",
"0.74761015",
"0.74744624",
"0.7450188",
"0.7448393",
"0.7428337",
"0.74026716",
"0.7401885",
"0.7380455",
"0.7366078",
"0.73458976",
"0.7343354",
"0.73274374",
"0.728105",
"0.7277625",
"0.7271985",
"0.7268763... | 0.7921614 | 1 |
Given the inputs, calculates the lr that should be applicable for this iteration | def AkDU(dfHy, xMdD, aF2y, PsQ8):
n2fR = oyIN.floor(1 + dfHy / (2 * xMdD))
WKvO = oyIN.abs(dfHy / xMdD - 2 * n2fR + 1)
tspZ = aF2y + (PsQ8 - aF2y) * oyIN.maximum(0, 1 - WKvO)
return tspZ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tspZ(YKHO):\n if YKHO.T is None:\n return YKHO.lr0\n else:\n return Eszp(YKHO.lr0, YKHO.alpha, YKHO.T, YKHO.step)",
"def tspZ(YKHO):\n return 0.1 / YKHO.h ** 1.5",
"def tspZ(YKHO):\n pass",
"def tspZ(YKHO):\n return 0.1 / YKHO.h",
"def gWpO(YKHO):\n return [aF2y * YKHO.l... | [
"0.69248253",
"0.69122344",
"0.68865955",
"0.68415344",
"0.6538514",
"0.64989585",
"0.64885944",
"0.64875716",
"0.6415409",
"0.6414268",
"0.6408466",
"0.63696986",
"0.63568103",
"0.63403267",
"0.63403267",
"0.63403267",
"0.63403267",
"0.63346124",
"0.63101757",
"0.62867975",
... | 0.58042103 | 85 |
Test trying to convert a negative number to a timedelta. | def CIXi(YKHO):
@y3OZ.wrap
def lrgA(xqoZ: datetime.timedelta):
"""This shouldn't be called, converting should fail."""
pass
YKHO.assert_raises_request_error(lambda: lrgA(param='-60'), 3117) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def imcS(YKHO):\n\n @y3OZ.wrap\n def lrgA(xqoZ: datetime.timedelta):\n \"\"\"Make sure the parameter was converted correctly.\"\"\"\n YKHO.assertEqual(xqoZ, qcWV.timedelta(days=3, hours=2, minutes=5, seconds=43))\n lrgA(param=266743)",
"def obOA(YKHO):\n with YKHO.assertRaises(ValueErro... | [
"0.65716064",
"0.65337306",
"0.6441766",
"0.63511604",
"0.6298965",
"0.6296533",
"0.6236258",
"0.6233488",
"0.61981744",
"0.6161433",
"0.61524355",
"0.61211026",
"0.6095981",
"0.60812104",
"0.6051476",
"0.60107493",
"0.59801453",
"0.5962548",
"0.5876969",
"0.58166033",
"0.581... | 0.7731451 | 0 |
Returns a list of keys sorted by their values. Keys with the highest values will appear first. >>> a = Counter() >>> a['first'] = 2 >>> a['second'] = 4 >>> a['third'] = 1 >>> a.sortedKeys() ['second', 'third', 'first'] | def GnuM(YKHO):
qWex = list(YKHO.items())
def qk7K(WKvO, LVAh):
return Zihr(LVAh[1] - WKvO[1])
qWex.sort(cmp=qk7K)
return [WKvO[0] for WKvO in qWex] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GnuM(YKHO):\n qWex = YKHO.items()\n qk7K = lambda WKvO, LVAh: Zihr(LVAh[1] - WKvO[1])\n qWex.sort(cmp=qk7K)\n return [WKvO[0] for WKvO in qWex]",
"def X_7r(YKHO):\n sjXb = YKHO.data.keys()\n sjXb.sort(key=lambda WKvO: -len(YKHO[WKvO]))\n return sjXb",
"def sjXb(YKHO):\n ZT17 = dict.... | [
"0.7506836",
"0.74013406",
"0.71745616",
"0.71342456",
"0.7078661",
"0.69158924",
"0.68068534",
"0.6682699",
"0.665078",
"0.65501934",
"0.6485903",
"0.644709",
"0.6423489",
"0.64204615",
"0.6376498",
"0.62022436",
"0.617368",
"0.6019248",
"0.60163647",
"0.59563434",
"0.591510... | 0.76476187 | 0 |
Returns the sum of counts for all keys. | def J2DP(YKHO):
return sum(YKHO.values()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pcsc(UHFx):\n return sum(UHFx.values())",
"def ydVG(YKHO):\n return YKHO.datacounts + YKHO.bkgdcounts",
"def DUZc(mWFP, H5ew):\n wjRY = 0\n xDcj = AuHm.all().filter('name = ', mWFP).filter('reference_key = ', H5ew)\n for ewCu in xDcj:\n wjRY += ewCu.count\n return wjRY",
"def o1t... | [
"0.7183706",
"0.6880456",
"0.6808606",
"0.66978693",
"0.6642737",
"0.6632105",
"0.65920854",
"0.65344983",
"0.6528341",
"0.6483003",
"0.6459385",
"0.6419697",
"0.64181656",
"0.64181656",
"0.63738483",
"0.63677585",
"0.63391864",
"0.6333239",
"0.6333128",
"0.6324112",
"0.63241... | 0.73389053 | 1 |
Returns a HTTP Response containing JSON information needed to bulkreview organization applications. | def Y0B9(YKHO, QePW, NArs, Zwgo, Zy1o, BjTc):
_1Ja = nRzQ.logic.getFromKeyName(BjTc)
filter = {'scope': _1Ja, 'status': Zwgo}
L08R = NArs['logic'].getForFields(filter=filter)
QZEs = ['link_id', 'name']
qNmW = [fgcx.filter(YRbF.toDict(), QZEs) for YRbF in L08R]
oD7C = {'program': _1Ja.name, 'nr_a... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iMdN(YKHO):\n print('\\n=== Exporting all application data...')\n for SCWY in YKHO.client.applications:\n print('- Exporting application:', SCWY.name)\n qQXR = {'id': YKHO.get_id(SCWY), 'href': SCWY.href, 'name': SCWY.name, 'description': SCWY.description, 'status': SCWY.status, 'createdAt'... | [
"0.5873004",
"0.5849942",
"0.58458287",
"0.569721",
"0.55613834",
"0.538865",
"0.53674185",
"0.5317489",
"0.5289482",
"0.5252621",
"0.52431506",
"0.5240169",
"0.5195368",
"0.5152986",
"0.512302",
"0.51035005",
"0.5056591",
"0.5041342",
"0.50215906",
"0.502072",
"0.4987516",
... | 0.6416047 | 0 |
Get the redirect URL for the Members Only API. | def jbux(YKHO, *qIxc, **B2fa):
return E1CK(YKHO.request, YKHO.request.GET.get('next')) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LfXz(YKHO) -> str:\n return qe4Y.get(YKHO, 'redirect_url')",
"def e_W3(YKHO):\n bD7m = 'https://foursquare.com/oauth2/authenticate' + '?client_id=' + YKHO.cfg('client_id') + '&response_type=code' + '&redirect_uri=' + YKHO.cfg('callback')\n return bD7m",
"def jbux(YKHO):\n return gxEw('accounts:... | [
"0.6845919",
"0.6827106",
"0.6705729",
"0.65060234",
"0.64927363",
"0.64352816",
"0.63912815",
"0.6310423",
"0.6310423",
"0.6276686",
"0.6254143",
"0.6241895",
"0.6237751",
"0.6217135",
"0.6191014",
"0.6190021",
"0.6152806",
"0.6122085",
"0.6117526",
"0.61027724",
"0.60761946... | 0.5916349 | 35 |
Take file path as string; return text as string. Takes a string that is a file path, opens the file, and turns the file's contents as one string of text. | def OcVp(qaEx):
gIsw = open(qaEx).read()
return gIsw | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OcVp(qaEx):\n OwN0 = open(qaEx)\n LFxn = OwN0.read()\n OwN0.close()\n return LFxn",
"def OcVp(qaEx):\n OwN0 = open(qaEx)\n SFw1 = OwN0.read()\n return SFw1",
"def cHUw(VqRE):\n assert JC7M(VqRE), 'filepath does not exist'\n with open(VqRE, 'r', encoding='utf-8') as eHNT:\n ... | [
"0.80683595",
"0.80469716",
"0.8013247",
"0.7991296",
"0.79203224",
"0.7864458",
"0.7798385",
"0.76779044",
"0.7659031",
"0.7613771",
"0.7607828",
"0.7569348",
"0.7539111",
"0.75285417",
"0.75040627",
"0.75028455",
"0.7498196",
"0.7412504",
"0.73701435",
"0.7361696",
"0.73289... | 0.6778055 | 52 |
remove last part of category url , add href that will direct to the next page of the url | def suNV(hDk4):
return '/'.join(hDk4.split('/')[:-1]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LbvI(YKHO, ZMJR, VJUP):\n sEAN = YKHO.state.document.settings.env\n if not hasattr(sEAN, 'categories'):\n sEAN.categories = {}\n CO2W = ''\n W_Cr = 0\n for vhk0 in VJUP:\n Ghho = YKHO.register_category(vhk0, sEAN)\n Ghho.pages.add(QcEN(ZMJR, sEAN.docname))\n KSiW = vh... | [
"0.6270066",
"0.6062233",
"0.60437214",
"0.5970639",
"0.59061384",
"0.57277995",
"0.5680402",
"0.5653126",
"0.56484985",
"0.5643055",
"0.5628076",
"0.55685556",
"0.5505274",
"0.54883796",
"0.5480277",
"0.54729766",
"0.54386294",
"0.5432747",
"0.5420022",
"0.5414893",
"0.54096... | 0.6256492 | 1 |
Gets or sets the Snapshot Resource Group Uri. | def vFpg(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'resource_group_id') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zFcP(YKHO):\n if YKHO._uri is None:\n YKHO._uri = '{0}{1}/{2}'.format(YKHO.session.resource_prefix, YKHO.base_uri, YKHO.ip_or_ifname_or_group_name)\n return YKHO._uri",
"def Y1be(YKHO, Yj8_: str):\n hHld = YKHO.suggestSourceGroups(Yj8_)\n if hHld is not None and isinstance(hHld, list) and ... | [
"0.6674154",
"0.65856355",
"0.655779",
"0.6219353",
"0.61872977",
"0.60821575",
"0.60545504",
"0.60187066",
"0.60187066",
"0.60187066",
"0.60187066",
"0.60187066",
"0.60187066",
"0.58601505",
"0.58484656",
"0.58042437",
"0.57776105",
"0.57442045",
"0.5656326",
"0.56444883",
"... | 0.0 | -1 |
Gets or sets the Backup Instance friendly name. | def D7WV(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'friendly_name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZUM3(YKHO):\n if YKHO.instance is not None:\n return '%s_%s' % (YKHO.name, YKHO.instance)\n else:\n return YKHO.name",
"def xuAm(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'base_instance_name')",
"def eHWp(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'recovery_b... | [
"0.6856098",
"0.6756638",
"0.66634184",
"0.66634184",
"0.6636592",
"0.6622414",
"0.6599539",
"0.6565111",
"0.64920545",
"0.6442701",
"0.6422962",
"0.6302145",
"0.6264109",
"0.62619346",
"0.6215663",
"0.62055",
"0.62055",
"0.6185765",
"0.6179922",
"0.6179922",
"0.6179922",
"... | 0.6263948 | 13 |
DatasourceType of the resource. | def AjOf(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'datasource_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]... | [
"0.8126562",
"0.8126562",
"0.8126562",
"0.8126562",
"0.6924982",
"0.6771135",
"0.6762105",
"0.6757145",
"0.6757145",
"0.6676432",
"0.6616782",
"0.65630734",
"0.6558074",
"0.6558074",
"0.6558074",
"0.6558074",
"0.6558074",
"0.65022177",
"0.6381401",
"0.63401395",
"0.63123864",... | 0.8332458 | 0 |
Resource Type of Datasource. | def Qjbs(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'resource_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qjbs(Emd4):\n pass",
"def Qjbs(YKHO) -> str:\n return 'TABLE'",
"def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasou... | [
"0.7715713",
"0.7293414",
"0.7189991",
"0.7189991",
"0.7006099",
"0.7006099",
"0.7006099",
"0.7006099",
"0.6874316",
"0.6779358",
"0.67527145",
"0.67527145",
"0.67527145",
"0.67527145",
"0.67527145",
"0.663781",
"0.6331858",
"0.6200698",
"0.6200294",
"0.609024",
"0.609024",
... | 0.69505984 | 9 |
DatasourceType of the resource. | def AjOf(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'datasource_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]... | [
"0.8126562",
"0.8126562",
"0.8126562",
"0.8126562",
"0.6924982",
"0.6771135",
"0.6762105",
"0.6757145",
"0.6757145",
"0.6676432",
"0.6616782",
"0.65630734",
"0.6558074",
"0.6558074",
"0.6558074",
"0.6558074",
"0.6558074",
"0.65022177",
"0.6381401",
"0.63401395",
"0.63123864",... | 0.8332458 | 1 |
Resource Type of Datasource. | def Qjbs(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'resource_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Qjbs(Emd4):\n pass",
"def Qjbs(YKHO) -> str:\n return 'TABLE'",
"def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'datasource_type')",
"def AjOf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'datasou... | [
"0.7715713",
"0.7293414",
"0.7189991",
"0.7189991",
"0.7006099",
"0.7006099",
"0.7006099",
"0.7006099",
"0.6874316",
"0.6779358",
"0.67527145",
"0.67527145",
"0.67527145",
"0.67527145",
"0.67527145",
"0.663781",
"0.6331858",
"0.6200698",
"0.6200294",
"0.609024",
"0.609024",
... | 0.69505984 | 8 |
Whether Date is last date of month | def V5s8(YKHO) -> h8nf[bool]:
return qe4Y.get(YKHO, 'is_last') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oxvU(YKHO):\n M_lQ = 'find date last month'\n uDRR = 'year:' + qcWV.datetime.strftime(qcWV.datetime.today() + d5IO.relativedelta.relativedelta(months=-1), '%Y-%m')\n YKHO._compare_searches(uDRR, M_lQ)",
"def gCRe(YKHO):\n return ZylS.math.equal(YKHO._days, l3Gx(YKHO._months, YKHO._years))",
"de... | [
"0.77162737",
"0.7637003",
"0.7193566",
"0.70495266",
"0.7004585",
"0.7004585",
"0.6877646",
"0.6862508",
"0.682804",
"0.68218356",
"0.6819492",
"0.6755318",
"0.66948193",
"0.6609038",
"0.6583995",
"0.6571988",
"0.65471333",
"0.639158",
"0.62951434",
"0.6255444",
"0.6177465",... | 0.58730584 | 31 |
The identityType which can be either SystemAssigned or None | def type(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ManagedIdentityType']]]:\n return qe4Y.get(YKHO, 'type')",
"def H_dn(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'CmkIdentityType']]]:\n return qe4Y.get(YKHO, 'identity_type')",
"def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'IdentityType']]]:\n return qe4Y.get(YKHO, ... | [
"0.75816554",
"0.74341595",
"0.7400746",
"0.7229784",
"0.69520336",
"0.6785936",
"0.67084223",
"0.6648023",
"0.6622422",
"0.6600688",
"0.6586064",
"0.6586064",
"0.6508316",
"0.6442587",
"0.6383647",
"0.63552207",
"0.62491965",
"0.6175007",
"0.616516",
"0.616516",
"0.61416066"... | 0.59726226 | 37 |
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore. | def smPq(YKHO) -> h8nf[bdIy[str]]:
return qe4Y.get(YKHO, 'excluded_namespaces') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def smPq(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'excluded_namespaces')",
"def smPq(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'excluded_namespaces')",
"def X396(YKHO) -> qe4Y.Output[h8nf[bdIy[str]]]:\n return qe4Y.get(YKHO, 'network_exc... | [
"0.6890328",
"0.6890328",
"0.62034494",
"0.57558805",
"0.5741745",
"0.5658997",
"0.56179035",
"0.5606069",
"0.5606069",
"0.54797864",
"0.5416885",
"0.5362916",
"0.53373516",
"0.5171743",
"0.5167118",
"0.5167118",
"0.5160216",
"0.5151273",
"0.51392263",
"0.5133184",
"0.5118264... | 0.72699755 | 0 |
Gets or sets the Backup Data Source Parameters | def wSwF(YKHO) -> h8nf[bdIy[ImMB]]:
return qe4Y.get(YKHO, 'backup_datasource_parameters_list') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wSwF(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[uLKX['BlobBackupDatasourceParametersArgs', 'KubernetesClusterBackupDatasourceParametersArgs']]]]]:\n return qe4Y.get(YKHO, 'backup_datasource_parameters_list')",
"def XVUW(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['DataSourceParametersArgs']]]]:\n return qe4... | [
"0.65284705",
"0.6167608",
"0.60494995",
"0.57744884",
"0.5750568",
"0.56374073",
"0.5545736",
"0.55366623",
"0.55174905",
"0.5504011",
"0.54434407",
"0.5417025",
"0.5359193",
"0.53465897",
"0.52679724",
"0.5253878",
"0.5172687",
"0.51035506",
"0.50621635",
"0.5059192",
"0.50... | 0.65967256 | 0 |
Gets or sets the DataStore Parameters | def oEQo(YKHO) -> h8nf[bdIy['outputs.AzureOperationalStoreParametersResponse']]:
return qe4Y.get(YKHO, 'data_store_parameters_list') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def u2b_(YKHO):\n return YKHO.get_section_config('db')",
"def oEQo(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['AzureOperationalStoreParametersArgs']]]]:\n return qe4Y.get(YKHO, 'data_store_parameters_list')",
"def oEQo(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['AzureOperationalStoreParametersArgs']]]]:\n ... | [
"0.6543305",
"0.6497708",
"0.6497708",
"0.6396027",
"0.60769933",
"0.60487574",
"0.59728533",
"0.5954893",
"0.5902878",
"0.5873714",
"0.5806075",
"0.5778994",
"0.5533632",
"0.55123836",
"0.53959596",
"0.53892213",
"0.53793097",
"0.5341296",
"0.5333229",
"0.5328833",
"0.532785... | 0.62810415 | 4 |
This is day of the month from 1 to 28 other wise last of month | def Oaiy(YKHO) -> h8nf[bdIy['outputs.DayResponse']]:
return qe4Y.get(YKHO, 'days_of_month') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def o4Rw(x0eS):\n return qcWV(2020, x0eS, 28)",
"def vKLp():\n return (qcWV.now().replace(day=1) + enlf(months=1) + fCoM(days=-1)).strftime('%d-%m-%Y')",
"def sz_R(Csk6):\n return _c1T(Csk6.year, Csk6.month, wTnG(Csk6.year, Csk6.month)[1])",
"def JtWs():\n return qcWV.now() + enlf(months=-1)",
... | [
"0.72630197",
"0.72102946",
"0.69404685",
"0.68378407",
"0.6751712",
"0.6708872",
"0.66512066",
"0.66361827",
"0.66361827",
"0.6594036",
"0.6382701",
"0.63677865",
"0.6337808",
"0.6312749",
"0.6309078",
"0.63083476",
"0.63046056",
"0.62925106",
"0.62711346",
"0.6258508",
"0.6... | 0.0 | -1 |
It should be January/February/....../December | def WwFs(YKHO) -> h8nf[bdIy[str]]:
return qe4Y.get(YKHO, 'months_of_year') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pt3R(YKHO):\n YKHO.assertEqual(b0Jg.month_from_number(1).lower(), 'january')\n YKHO.assertEqual(b0Jg.month_from_number(2).lower(), 'february')\n YKHO.assertEqual(b0Jg.month_from_number(3).lower(), 'march')\n YKHO.assertEqual(b0Jg.month_from_number(4).lower(), 'april')\n YKHO.assertEqual(b0Jg.mon... | [
"0.68172014",
"0.66442615",
"0.6586663",
"0.6533554",
"0.6533554",
"0.6532018",
"0.64965624",
"0.6437708",
"0.64345396",
"0.64046437",
"0.63988155",
"0.637907",
"0.6368519",
"0.6345336",
"0.631004",
"0.6303499",
"0.62634605",
"0.6217942",
"0.62172925",
"0.6216173",
"0.6211108... | 0.0 | -1 |
Class representing a secret store resource. | def FIMM(Ro_8, *, RoiT: str, j8eK: Optional[str]=None, BWXx: Optional[str]=None):
qe4Y.set(Ro_8, 'secret_store_type', RoiT)
if j8eK is not None:
qe4Y.set(Ro_8, 'uri', j8eK)
if BWXx is not None:
qe4Y.set(Ro_8, 'value', BWXx) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def QMUg():\n pass",
"def SN8k(YKHO) -> h8nf['outputs.SecretStoreResponse']:\n return qe4Y.get(YKHO, 'secret_store')",
"def FXSn(YKHO):\n return YKHO._secrets_store",
"def FIMM(Ro_8, *, RoiT: pulumi.Input[Union[str, 'SecretStoreType']], j8eK: Optional[pulumi.Input[str]]=None, BWXx: Optional[pulumi.I... | [
"0.6171773",
"0.60597205",
"0.5969506",
"0.5872231",
"0.5844875",
"0.5803025",
"0.57169145",
"0.57089055",
"0.5687889",
"0.56631774",
"0.5640458",
"0.5571856",
"0.5555573",
"0.5554669",
"0.5450947",
"0.5418171",
"0.5418171",
"0.54017866",
"0.5349379",
"0.53453124",
"0.5345021... | 0.58767223 | 3 |
Gets or sets the type of the datastore. | def jYzT(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'datastore_type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jYzT(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'StorageSettingStoreTypes']]]:\n return qe4Y.get(YKHO, 'datastore_type')",
"def bzA2(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_store_type')",
"def bzA2(YKHO) -> str:\n return qe4Y.get(YKHO, 'data_store_type')",
"def bzA2(YKHO) -> qe4Y.Input[uLKX[str, 'Da... | [
"0.7673924",
"0.7282083",
"0.7282083",
"0.7005503",
"0.7005503",
"0.7005503",
"0.68426",
"0.67546064",
"0.6690773",
"0.6659043",
"0.66421914",
"0.6623806",
"0.66209894",
"0.66209894",
"0.6607081",
"0.6566162",
"0.6566162",
"0.6554883",
"0.6511155",
"0.6494774",
"0.64919704",
... | 0.83830196 | 0 |
Gets or sets the type. | def type(YKHO) -> h8nf[str]:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FRul(YKHO):\n return YKHO.type",
"def FRul(YKHO):\n return YKHO.type",
"def FRul(YKHO):\n return YKHO._type",
"def FRul(YKHO):\n return YKHO._type",
"def type(YKHO):\n return YKHO._getValue('type')",
"def FRul(YKHO):\n return YKHO._TYPE",
"def FRul(YKHO):\n return YKHO._type_ob... | [
"0.8533302",
"0.8533302",
"0.844054",
"0.844054",
"0.8312111",
"0.827963",
"0.8276462",
"0.82763165",
"0.81963736",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0.8196329",
"0... | 0.7964292 | 75 |
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 | 18 |
This function returns the best plan using a depth first search and dynamical programming approach. The best plan is returned as a nested array with end nodes. self.get_plan() must be run first in order to generate the possible plans. | def jSAD(YKHO, J_Es=None):
if J_Es is None:
J_Es = YKHO.root
if not J_Es.children:
j_aP = {}
NDLc = {}
for YWSi in range(len(J_Es.starts)):
Sl1N, KmmF = J_Es.return_end_nodes(YWSi, only_lowest_costs=True)
if J_Es == YKHO.root:
j_aP[YWSi] = ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qUyJ(YKHO):\n VjDF, oWnB = YKHO.optimizer.maximize(bounds=YKHO.bounds)\n iSli, Cu2M = (VjDF, oWnB)\n YKHO.traj_r.u = iSli\n YKHO.traj_r.u_th = iSli\n YKHO.traj_h.u = Cu2M\n YKHO.traj_h.u_th = Cu2M\n return YKHO.traj_r.u",
"def Ved8(YKHO, J_Es=None):\n if J_Es is None:\n J_Es = ... | [
"0.63290715",
"0.61633146",
"0.61324847",
"0.5913704",
"0.5904177",
"0.5897106",
"0.57983273",
"0.57454693",
"0.5740356",
"0.57123893",
"0.57042956",
"0.56803894",
"0.56620985",
"0.56599206",
"0.56048006",
"0.55538565",
"0.5506032",
"0.54961",
"0.54578984",
"0.54424745",
"0.5... | 0.7373169 | 0 |
Returns an array of node neighbors for RRT algorithm | def VW36(YKHO, Q6kx, YWSi):
A_IW = []
rDAo = len(YKHO.all_nodes[YWSi])
for M6CK in YKHO.all_nodes[YWSi]:
_pwG = oyIN.pi ** (YKHO.dim / 2) / JfyU.gamma(YKHO.dim / 2 + 1)
r1VO = min((YKHO.gamma / _pwG * oyIN.log(rDAo) / rDAo) ** (1 / YKHO.dim), YKHO.eta)
if oyIN.linalg.norm(M6CK.state ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qIRx(YKHO):\n return []",
"def QwJh(YKHO, Q6kx):\n A_IW = []\n if Q6kx > YKHO.cols:\n A_IW.append(Q6kx - YKHO.cols)\n if Q6kx <= YKHO.cols * (YKHO.rows - 1):\n A_IW.append(Q6kx + YKHO.cols)\n if Q6kx % YKHO.cols != 1:\n A_IW.append(Q6kx - 1)\n if Q6kx % YKHO.cols != 0:\... | [
"0.75271124",
"0.72182524",
"0.72051466",
"0.7082839",
"0.7075646",
"0.6978073",
"0.6978073",
"0.6978073",
"0.6978073",
"0.6969236",
"0.6962597",
"0.6955171",
"0.6953783",
"0.6939764",
"0.69227314",
"0.6907347",
"0.6881672",
"0.6860275",
"0.6847775",
"0.6834551",
"0.67821044"... | 0.65151936 | 46 |
Returns True if there is an observation at a previous node in the path starting at self.starts[agent] | def u4j4(YKHO, Q6kx, YWSi):
M6CK = Q6kx
while M6CK != YKHO.starts[YWSi]:
if M6CK.observed:
return (True, M6CK)
M6CK = M6CK.parent
return (False, None) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bFdH(YKHO):\n if YKHO.idx < len(YKHO.nodes):\n return True\n else:\n return False",
"def THkp(YKHO):\n return bool(YKHO._ll_tree.prev())",
"def U4tm(YKHO):\n if YKHO.ros_node.get_data('/diff_drive/path_achieved') is None:\n return False\n return not YKHO.ros_node.get_dat... | [
"0.7044784",
"0.6683463",
"0.6310851",
"0.6247671",
"0.6139303",
"0.608294",
"0.608294",
"0.58923775",
"0.58912426",
"0.5836648",
"0.57808614",
"0.57723486",
"0.57667726",
"0.57658356",
"0.57629865",
"0.5753989",
"0.5750322",
"0.5749349",
"0.57367253",
"0.57069296",
"0.566889... | 0.7417818 | 0 |
Flatten tree then find minimum diff. | def jhVM(YKHO, tk5Y: TreeNode) -> int:
def PWgb(Q6kx, JqV7):
if Q6kx:
PWgb(Q6kx.left, JqV7)
JqV7.append(Q6kx.val)
PWgb(Q6kx.right, JqV7)
Ziit = []
PWgb(tk5Y, Ziit)
yk4i = Ziit[1] - Ziit[0]
for YRbF in range(2, len(Ziit)):
yk4i = min(yk4i, Ziit[YRb... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YGkn(YKHO):\n Q6kx = YKHO\n while not Q6kx.is_leaf():\n Q6kx = Q6kx.children[0]\n return Q6kx.keys[0] if Q6kx.keys else None",
"def ssKb(YKHO, tk5Y: TreeNode) -> int:\n THkp = [-float('inf')]\n cL1f = [float('inf')]\n\n def M4wt(Q6kx, THkp, cL1f):\n if Q6kx:\n M4wt(... | [
"0.6990756",
"0.69780207",
"0.66325384",
"0.6581171",
"0.64683384",
"0.6451252",
"0.64479935",
"0.64121723",
"0.6408993",
"0.63551664",
"0.6350404",
"0.62785256",
"0.6259194",
"0.62562466",
"0.6186828",
"0.6155408",
"0.61127436",
"0.61116177",
"0.60902023",
"0.6066853",
"0.60... | 0.74339217 | 0 |
This function prints and plots the confusion matrix. Normalization can be applied by setting `normalize=True`. | def LwSz(Bcwd, KndY, NkkI=False, leAC='Confusion matrix', iMGt=QrM1.cm.Blues):
QrM1.figure()
QrM1.grid('off')
QrM1.imshow(Bcwd, interpolation='nearest', cmap=iMGt)
QrM1.title(leAC)
QrM1.colorbar()
wIWT = oyIN.arange(len(KndY))
QrM1.xticks(wIWT, KndY, rotation=45)
QrM1.yticks(wIWT, KndY)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LwSz(Bcwd, KndY=[0, 1], NkkI=False, leAC='Confusion matrix', RMso=False):\n if NkkI:\n Bcwd = Bcwd.astype('float') / Bcwd.sum(axis=1)[:, oyIN.newaxis]\n print('Normalized confusion matrix')\n else:\n print('Confusion matrix, without normalization')\n if RMso:\n print(Bcwd)"... | [
"0.81940335",
"0.8095006",
"0.80290395",
"0.8019189",
"0.7993875",
"0.7991161",
"0.79809004",
"0.7975263",
"0.7961412",
"0.7956938",
"0.7937461",
"0.7934524",
"0.7934342",
"0.7931134",
"0.7926225",
"0.79244965",
"0.792367",
"0.79231006",
"0.7922885",
"0.792215",
"0.7917699",
... | 0.0 | -1 |
Reads lines of a textfile | def Ueki(Ux0P):
with open(Ux0P, 'r') as VTg4:
gGnb = list(map(lambda zFiD: zFiD.strip(), VTg4))
return gGnb | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Np1T(gIsw):\n YB6w = open(gIsw)\n Nqlg = YB6w.readlines()\n YB6w.close()\n return Nqlg",
"def aA6_(Ux0P):\n with open(Ux0P, 'r') as eHNT:\n Nqlg = eHNT.readlines()\n return Nqlg",
"def M8nH(Ux0P):\n with open(Ux0P, 'r') as eHNT:\n Nqlg = eHNT.read().splitlines()\n retu... | [
"0.79203427",
"0.7834289",
"0.7631671",
"0.7612275",
"0.7600008",
"0.7580142",
"0.7558315",
"0.7512129",
"0.7485772",
"0.74588907",
"0.74447346",
"0.7402543",
"0.7372792",
"0.73097813",
"0.7274996",
"0.7274996",
"0.7274513",
"0.7255856",
"0.72452366",
"0.723928",
"0.7232468",... | 0.0 | -1 |
Returns the number of targets associated with this notification | def szAg(YKHO):
return len(YKHO.targets) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ue0m(YKHO):\n return YKHO.targetNames.size",
"def XjBI(YKHO):\n return hPFK.Target_getCount(YKHO)",
"def szAg(YKHO) -> int:\n return len(YKHO.targets)",
"def cQOW(YKHO) -> int:\n return len(YKHO.targets)",
"def lEHg(YKHO):\n return len(YKHO.getConTextModeNodes('target'))",
"def lEHg(YK... | [
"0.8013681",
"0.7537437",
"0.7077463",
"0.7026263",
"0.68618834",
"0.68618834",
"0.6731428",
"0.620861",
"0.6166421",
"0.61608946",
"0.6135816",
"0.607903",
"0.6072924",
"0.60703075",
"0.59770447",
"0.5971191",
"0.59608084",
"0.59414583",
"0.5930164",
"0.59287286",
"0.5908361... | 0.70100915 | 4 |
Return the string representation of the receiver. | def Napc(YKHO):
Ylbp = '<?xml version="1.0" encoding="UTF-8"?>'
YKHO.grammar_elem.attr['xmlns'] = 'http://relaxng.org/ns/structure/1.0'
YKHO.grammar_elem.attr['datatypeLibrary'] = 'http://www.w3.org/2001/XMLSchema-datatypes'
for PCpl in YKHO.namespaces:
YKHO.grammar_elem.attr['xmlns:' + YKHO.nam... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yLCI(YKHO):\n return YKHO.__str__()",
"def zAg0(YKHO):\n return str(YKHO.serialize())",
"def Sa1R(YKHO) -> str:\n raise NotImplementedError",
"def CZBi(YKHO):\n return YKHO.__repr__()",
"def Napc(YKHO):\n return str(YKHO)",
"def wHJl(YKHO):\n return YKHO.to_str()",
"def wHJl(YKHO)... | [
"0.8090345",
"0.78439534",
"0.7816119",
"0.7769524",
"0.76657593",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
"0.76590496",
... | 0.0 | -1 |
Strip local prefix of `stmt` from `qname` and return the result. | def MdZL(YKHO, ZlgM, cVnI):
SeW3, QXly, mWFP = cVnI.partition(':')
if QXly and SeW3 == ZlgM.i_module.i_prefix:
return mWFP
else:
return cVnI | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def aqKe(cVnI):\n try:\n if cVnI[0] != '{':\n return cVnI\n return cVnI[cVnI.rindex('}') + 1:]\n except IndexError:\n return ''\n except ValueError:\n raise gjl8('wrong format for a universal name! %r' % cVnI)\n except TypeError:\n if cVnI is None:\n ... | [
"0.5997633",
"0.55071884",
"0.5432745",
"0.5203686",
"0.5073312",
"0.5041236",
"0.503547",
"0.49707627",
"0.49465835",
"0.49230158",
"0.4890649",
"0.4822519",
"0.47977415",
"0.4778462",
"0.47706494",
"0.47654748",
"0.47652268",
"0.47515586",
"0.4736044",
"0.47320405",
"0.4706... | 0.7942398 | 0 |
Handle ``enumeration`` and ``union`` types. | def dEF_(YKHO, IqfN, YwWn):
LihS = ty6f.choice(YwWn, occur=2)
YKHO.handle_substmts(IqfN[0], LihS) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ityv(OaeV, ZlgM):\n sRHT = ZlgM.search_one('type')\n if sRHT is None or sRHT.arg != 'enumeration':\n return\n for qQ1Y in sRHT.search('enum'):\n if ZbWC.match('[a-z]', qQ1Y.arg):\n S_iL(OaeV.errors, ZlgM.pos, 'OC_ENUM_CASE', (qQ1Y.arg, qQ1Y.arg.upper().replace('-', '_')))\n ... | [
"0.6616531",
"0.63141835",
"0.59927225",
"0.57852894",
"0.5703658",
"0.5546579",
"0.55186015",
"0.5408878",
"0.54028016",
"0.5355055",
"0.53370315",
"0.53370315",
"0.53370315",
"0.5330483",
"0.5330483",
"0.5330483",
"0.5314073",
"0.5313516",
"0.5313516",
"0.5313516",
"0.53135... | 0.48888418 | 59 |
Return list of `kw` ranges defined in `tchain`. | def FVSo(YKHO, IqfN, YSA3):
nEeK, ekgN = ('min', 'max')
ecx4 = None
for a1PO in IqfN:
aSgv = a1PO.search_one(YSA3)
if aSgv is None:
continue
ecx4 = [YRbF.split('..') for YRbF in aSgv.arg.split('|')]
if ecx4[0][0] != 'min':
nEeK = ecx4[0][0]
if ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mxsS(qIxc):\n if 'kxmin' in qIxc and 'kxmax' in qIxc:\n qIxc['kx_range'] = [qIxc['kxmin'], qIxc['kxmax']]\n del qIxc['kxmin']\n del qIxc['kxmax']\n elif 'kxmin' in qIxc:\n qIxc['kx_range'] = [qIxc['kxmin'], 99999]\n del qIxc['kxmin']\n elif 'kxmax' in qIxc:\n ... | [
"0.5730874",
"0.5686587",
"0.56080914",
"0.5432732",
"0.52540684",
"0.524125",
"0.5223053",
"0.51997894",
"0.51913816",
"0.5182841",
"0.5101054",
"0.50757945",
"0.5036445",
"0.50330275",
"0.5012956",
"0.50011224",
"0.49688074",
"0.4956288",
"0.49299565",
"0.49273413",
"0.4869... | 0.7663811 | 0 |
Perform one hot encoding of the classes in the y. The classes array can be any dimensions. The classes to encode shouldn't have their dedicated dimension in the array but should lie in the last one. | def zGX0(LVAh, KndY=None):
rGCG = LVAh.reshape((Pusg(AdrB, LVAh.shape), 1))
MnDN = RHxJ(sparse=False)
if KndY is None:
ERVO = MnDN.fit_transform(rGCG)
else:
KndY = oyIN.array(KndY)
TFPw = KndY.shape[0]
MnDN.fit(KndY.reshape((TFPw, 1)))
ERVO = MnDN.transform(rGCG)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zGX0(fuBA, KndY):\n if type(KndY) is not int:\n return None\n if fuBA is None or type(fuBA) != oyIN.ndarray:\n return None\n for Z9rn in fuBA:\n if Z9rn >= KndY or Z9rn < 0:\n return None\n r8hN = fuBA.shape[0]\n t2_1 = oyIN.zeros((r8hN, KndY))\n for rdlD, lHSn... | [
"0.8511151",
"0.8371769",
"0.78031063",
"0.77900034",
"0.7739061",
"0.7619709",
"0.7611406",
"0.7609067",
"0.757142",
"0.7567008",
"0.7567008",
"0.74731636",
"0.7460917",
"0.7460917",
"0.74448484",
"0.74308133",
"0.7419644",
"0.7408223",
"0.7408223",
"0.73686385",
"0.7334103"... | 0.8637992 | 0 |
Returns the learning model name Raises `ImproperlyConfigured` when not set | def W0tD(Emd4):
if not Emd4.name:
raise rqaQ('%(cls)s is missing a name.' % {'cls': Emd4.__name__})
if not isinstance(Emd4.name, str) or not Emd4.name.strip():
raise rqaQ('%(cls)%s name must be a non empty string.' % {'cls': Emd4.__name__})
return Emd4.name | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TbE8(mWFP, Ep8u, b0Ix, qtWj):\n pmON = 'model_{0}_bs{1}_lr{2}_epoch{3}'.format(mWFP, Ep8u, b0Ix, qtWj)\n return pmON",
"def ZGE9(YKHO):\n YqMg = YKHO.get_setting_definition(YKHO.key, **YKHO.get_kwargs())\n return YqMg.get('model', None)",
"def TbE8(YKHO) -> str:\n raise NotImplementedError",... | [
"0.68168795",
"0.65929914",
"0.6503088",
"0.6428881",
"0.6412201",
"0.6362162",
"0.63206327",
"0.63194567",
"0.6315585",
"0.6270469",
"0.6255423",
"0.62469006",
"0.6246621",
"0.62344444",
"0.6181788",
"0.61369306",
"0.61352587",
"0.61227965",
"0.6072429",
"0.6033542",
"0.6011... | 0.0 | -1 |
Returns the model verbose name or the class name if not set | def Wi9H(YKHO):
return YKHO.verbose_name or YKHO.__class__.__name__ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n C3ST = YKHO._meta.verbose_name.title()\n return f'{C3ST:s}: {YKHO.name:s}'",
"def zAg0(YKHO):\n C3ST = YKHO._meta.verbose_name.title()\n return f'{C3ST:s}: {YKHO.name:s}'",
"def ZuBV(Emd4):\n return '{0}.{1}'.format(Emd4._meta.app_label, Emd4._meta.model_name)",
"def TbE8(KAO... | [
"0.7462652",
"0.7462652",
"0.74208504",
"0.7379812",
"0.72856224",
"0.72601146",
"0.7131421",
"0.7127411",
"0.7053817",
"0.70226717",
"0.7022179",
"0.6996813",
"0.69807076",
"0.6978967",
"0.697386",
"0.695609",
"0.69496256",
"0.6932535",
"0.6930846",
"0.69131535",
"0.6909634"... | 0.7878186 | 0 |
Returns the documents queryset Raises `ImproperlyConfigured` when not set | def k66M(YKHO):
if YKHO.queryset is None:
raise rqaQ('%(cls)s is missing a QuerySet.' % {'cls': YKHO.__class__.__name__})
return YKHO.queryset.all() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gHMr(YKHO):\n from ..models import LabelledDocument\n return LabelledDocument.objects.filter(model_name=YKHO.get_name())",
"def k66M(YKHO):\n umWR = super(tZvE, YKHO).get_queryset()\n return umWR.only(*YKHO.query_fields)",
"def ol4k(YKHO):\n return A97Q.Documents(YKHO)",
"def list(YKHO, Qe... | [
"0.6825285",
"0.6664703",
"0.6660116",
"0.6611386",
"0.66008663",
"0.6535525",
"0.6479121",
"0.6460258",
"0.6456809",
"0.64154553",
"0.6406898",
"0.6390462",
"0.6341103",
"0.6334941",
"0.63316184",
"0.6326081",
"0.630438",
"0.6302177",
"0.6298191",
"0.6284882",
"0.6242341",
... | 0.63086236 | 16 |
Returns LabelledDocument documents queryset | def gHMr(YKHO):
from ..models import LabelledDocument
return LabelledDocument.objects.filter(model_name=YKHO.get_name()) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def n0xU(YKHO):\n SR0I = YKHO.get_queryset()\n wBlS = YKHO.get_labelled_documents_queryset().values_list('document_id', flat=True)\n return SR0I.exclude(pk__in=wBlS)",
"def k66M(YKHO):\n Crrw = YKHO.kwargs['labels']\n return FYrf.Notes.objects.filter(labels__icontains=Crrw)",
"def TU4e(YKHO):\n ... | [
"0.69302315",
"0.6894066",
"0.6073662",
"0.6025831",
"0.59668005",
"0.5933614",
"0.5851047",
"0.5767919",
"0.57657164",
"0.573844",
"0.5722664",
"0.5711922",
"0.5707711",
"0.57021725",
"0.56993157",
"0.56138337",
"0.5610424",
"0.56020176",
"0.5599968",
"0.5597199",
"0.556046"... | 0.83305764 | 0 |
Returns the unlabelled documents queryset | def n0xU(YKHO):
SR0I = YKHO.get_queryset()
wBlS = YKHO.get_labelled_documents_queryset().values_list('document_id', flat=True)
return SR0I.exclude(pk__in=wBlS) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gHMr(YKHO):\n from ..models import LabelledDocument\n return LabelledDocument.objects.filter(model_name=YKHO.get_name())",
"def zaLw(YKHO):\n return YKHO.client[YKHO.db]['medical_corpus'].find({'crawled': 'No'})",
"def k66M(YKHO):\n Crrw = YKHO.kwargs['labels']\n return FYrf.Notes.objects.fi... | [
"0.71246237",
"0.6796483",
"0.6390843",
"0.6160633",
"0.61437064",
"0.6064219",
"0.60010093",
"0.5791833",
"0.56921595",
"0.5690972",
"0.5675089",
"0.5675089",
"0.56574583",
"0.56574583",
"0.56574583",
"0.56574583",
"0.56574583",
"0.56574583",
"0.56574583",
"0.56574583",
"0.5... | 0.8461942 | 0 |
checks if maltracker has reports for the given hashes | def QP9r(N5z6=None, rSTc=None, zr4t=None):
eZIr = dict()
for MKlR in zr4t:
try:
sWfS = g2u0(N5z6, rSTc, MKlR)
if not 'error' in sWfS:
RKD7.debug('Maltracker report for %s completed' % MKlR)
eZIr[MKlR] = sWfS
else:
RKD7.d... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Rmxw(YKHO, zr4t, UatT=True):\n Pgpp = {}\n for lNLE in zr4t:\n if lNLE.HasField('sha1'):\n dKPB = lNLE.sha1\n pam9 = YKHO.PATH.Add(str(dKPB))\n G9jH.info('Checking URN %s', str(pam9))\n Pgpp[pam9] = dKPB\n for yIVm in cdDE.FACTORY.Stat(list(Pgpp), tok... | [
"0.6564867",
"0.6218934",
"0.6090424",
"0.580916",
"0.5799469",
"0.57606876",
"0.5678859",
"0.56708014",
"0.56524944",
"0.55655205",
"0.5505181",
"0.5504652",
"0.54768014",
"0.54754037",
"0.54031944",
"0.5385794",
"0.53699636",
"0.5298316",
"0.5295055",
"0.5291072",
"0.527872... | 0.78541714 | 0 |
Convert seconds to minutes, hours, and days in a list of integers. | def RLCh(C6wh):
C6wh = int(C6wh)
Sm0u = C6wh // 86400
Wave = C6wh % 86400 // 3600
O66n = C6wh % 86400 % 3600 // 60
C6wh = C6wh % 86400 % 3600 % 60
W7im = [Sm0u, Wave, O66n, C6wh]
return W7im | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def NjWD(KCHu):\n Sm0u = KCHu // (24 * 3600)\n ITS7 = KCHu % (24 * 3600)\n Wave = ITS7 // 3600\n ITS7 %= 3600\n O66n = ITS7 // 60\n ITS7 %= 60\n C6wh = ITS7\n return [Sm0u, Wave, O66n, C6wh]",
"def _nMG(C6wh):\n O66n, C6wh = divmod(C6wh, 60)\n Wave, O66n = divmod(O66n, 60)\n Sm0u... | [
"0.7644667",
"0.688035",
"0.68784434",
"0.67160577",
"0.66871136",
"0.6615439",
"0.6447604",
"0.6432434",
"0.63365656",
"0.630859",
"0.6289671",
"0.61825264",
"0.61436427",
"0.6118472",
"0.60809314",
"0.60459423",
"0.60291994",
"0.59845054",
"0.5978474",
"0.5930688",
"0.59200... | 0.7905375 | 0 |
Sets the view_list of this ViewResourceModel. | def s7Rl(YKHO, s7Rl):
YKHO._view_list = s7Rl | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RCd1(YKHO, RCd1):\n YKHO._views = RCd1",
"def h0ca(YKHO, OXSq):\n YKHO._data_dict[YKHO.KEY_VIEW_STEPS] = OXSq",
"def list(YKHO, list):\n if list is None:\n raise ValueError('Invalid value for `list`, must not be `None`')\n YKHO._list = list",
"def FY6p(YKHO, list):\n if list is None... | [
"0.5840576",
"0.55937386",
"0.53025234",
"0.5241294",
"0.5240576",
"0.4936688",
"0.49179184",
"0.49031654",
"0.49024612",
"0.4886144",
"0.4883166",
"0.48418194",
"0.48321885",
"0.47605363",
"0.47489756",
"0.47255418",
"0.47153562",
"0.46860045",
"0.46849188",
"0.4633781",
"0.... | 0.7824339 | 0 |
Sets the view_id of this ViewResourceModel. | def JLBu(YKHO, JLBu):
YKHO._view_id = JLBu | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Y57T(YKHO, Y57T):\n YKHO._space_view_id = Y57T",
"def tTee(YKHO, JLBu):\n return JKCy.View(YKHO, JLBu)",
"def WjZ_(YKHO, WjZ_):\n YKHO._view_url = WjZ_",
"def JgKj(YKHO, JgKj):\n YKHO._view_name = JgKj",
"def ijNT(YKHO, tTee, CNA0):\n if YKHO.view_exists(tTee):\n oUZx = UdU8.UPDAT... | [
"0.6310345",
"0.60262775",
"0.57210386",
"0.5660168",
"0.5422694",
"0.53238976",
"0.5295751",
"0.5264674",
"0.5247825",
"0.51599884",
"0.5118258",
"0.5075774",
"0.5068436",
"0.5059748",
"0.5055416",
"0.5048538",
"0.49653623",
"0.49501443",
"0.49379167",
"0.49001542",
"0.48516... | 0.79226696 | 0 |
Sets the view_name of this ViewResourceModel. | def JgKj(YKHO, JgKj):
YKHO._view_name = JgKj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JgKj(YKHO):\n return YKHO._view_name",
"def JLBu(YKHO, JLBu):\n YKHO._view_id = JLBu",
"def WZrJ(YKHO, XWXe):\n YKHO.name = XWXe",
"def WjZ_(YKHO, WjZ_):\n YKHO._view_url = WjZ_",
"def ajGa(YKHO, Wq02):\n YKHO._view_fieldnames = Wq02",
"def WZrJ(YKHO, mWFP):\n YKHO._name = mWFP",
... | [
"0.60846865",
"0.58238786",
"0.57834435",
"0.5749881",
"0.57106483",
"0.56860495",
"0.56705356",
"0.5666391",
"0.56627756",
"0.56627756",
"0.56358546",
"0.5630409",
"0.5597082",
"0.5597082",
"0.5584095",
"0.5580923",
"0.5580923",
"0.5580923",
"0.5580923",
"0.5580923",
"0.5557... | 0.7877595 | 0 |
Sets the available_field_list of this ViewResourceModel. | def Szwd(YKHO, Szwd):
YKHO._available_field_list = Szwd | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Luvh(YKHO, Luvh):\n YKHO._selected_field_list = Luvh",
"def NJTs(YKHO, NJTs):\n YKHO._fields_in_list = NJTs",
"def NJTs(YKHO, NJTs):\n YKHO._fields_in_list = NJTs",
"def x_CO(YKHO) -> list:\n raise NotImplementedError('Each model has to have its list of update allowed fields')",
"def V_D6(Y... | [
"0.61273354",
"0.60992044",
"0.60992044",
"0.564537",
"0.5394741",
"0.52516496",
"0.52481925",
"0.52196485",
"0.50473416",
"0.50118285",
"0.50118285",
"0.50090116",
"0.4997094",
"0.4988327",
"0.49773186",
"0.4946575",
"0.48974147",
"0.48779872",
"0.4860509",
"0.48301265",
"0.... | 0.8479794 | 0 |
Returns true if both objects are equal | def xa14(YKHO, Elif):
if not isinstance(Elif, tNWl):
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, tNWl):
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 |
return the xid with only the row that is closest to self.ra, dec | def z4CF(YKHO, RQ5D):
print('[hscObj] multiple primary objects found, choose the closest one')
Z9rn = _P6x.SkyCoord(YKHO.ra, YKHO.dec, frame='icrs', unit='deg')
yWfL = [_P6x.SkyCoord(rdlD['ra'], rdlD['dec'], frame='icrs', unit='deg') for rdlD in RQ5D]
jzdc = oyIN.array([Z9rn.separation(WQWC).value for W... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def v3ok(YKHO, RQ5D):\n if len(RQ5D) == 1:\n YKHO._xid_sanity_check(RQ5D)\n elif len(RQ5D) > 1:\n print('[hscObj] multiple objects found, picking the closest')\n RQ5D = YKHO._resolve_multiple_sources(RQ5D)\n YKHO._xid_sanity_check(RQ5D)\n elif len(RQ5D) < 1:\n print('[hs... | [
"0.6046088",
"0.5874432",
"0.56241477",
"0.55693793",
"0.553488",
"0.55335134",
"0.5521013",
"0.5399741",
"0.5399387",
"0.5379303",
"0.5349823",
"0.5304873",
"0.5296013",
"0.5262588",
"0.5262319",
"0.52542853",
"0.5217914",
"0.5198409",
"0.51926744",
"0.515892",
"0.5145211",
... | 0.5065191 | 26 |
Returns the average daily number of searches that return zero results. | def h8a9(jQ3Z):
IvJt = OWZG(jQ3Z)
AHeB = jQ3Z.groupby([rLdf.TimeGrouper('D')]).apply(lambda rdlD: len(rdlD[rdlD['n_results'] == 0]))
eLOP = AHeB / IvJt
return eLOP.mean() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ULOG(jQ3Z):\n _6Xi = yk3H(jQ3Z)\n AHeB = jQ3Z.groupby([rLdf.TimeGrouper('D')]).apply(lambda rdlD: len(rdlD[rdlD['n_results'] == 0]))\n eLOP = AHeB / _6Xi\n return eLOP.groupby(level=[1]).mean()",
"def FtLZ(jzdc):\n if len([WKvO for WKvO in jzdc if WKvO != 0]) == 0:\n qqgr = 0\n else:... | [
"0.73215085",
"0.65778637",
"0.6322246",
"0.6195696",
"0.6005912",
"0.59973216",
"0.594631",
"0.593096",
"0.5928422",
"0.5891982",
"0.587515",
"0.5871526",
"0.58512473",
"0.58512473",
"0.58512473",
"0.5760377",
"0.574967",
"0.5742943",
"0.5739999",
"0.5730613",
"0.5718235",
... | 0.81951666 | 0 |
Returns the average daily number of searches that have zero results by group. | def ULOG(jQ3Z):
_6Xi = yk3H(jQ3Z)
AHeB = jQ3Z.groupby([rLdf.TimeGrouper('D')]).apply(lambda rdlD: len(rdlD[rdlD['n_results'] == 0]))
eLOP = AHeB / _6Xi
return eLOP.groupby(level=[1]).mean() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def h8a9(jQ3Z):\n IvJt = OWZG(jQ3Z)\n AHeB = jQ3Z.groupby([rLdf.TimeGrouper('D')]).apply(lambda rdlD: len(rdlD[rdlD['n_results'] == 0]))\n eLOP = AHeB / IvJt\n return eLOP.mean()",
"def C1BU(jQ3Z):\n _6Xi = yk3H(jQ3Z)\n pnjn = jQ3Z.groupby([rLdf.TimeGrouper('D'), 'group']).apply(lambda rdlD: le... | [
"0.78885406",
"0.63365245",
"0.5978021",
"0.58454555",
"0.5834144",
"0.57766557",
"0.571127",
"0.5600884",
"0.5585095",
"0.5582745",
"0.55681866",
"0.55594814",
"0.5549762",
"0.5532702",
"0.5516105",
"0.5515341",
"0.54913044",
"0.5483488",
"0.5465868",
"0.54628116",
"0.545990... | 0.83156896 | 0 |
return the archive path if the archive has been correctly generated | def Aej4():
_c1T = qcWV.datetime.now()
rZRz = 'versions/web_static_{}{}{}{}{}{}.tgz'.format(_c1T.year, _c1T.month, _c1T.day, _c1T.hour, _c1T.minute, _c1T.second)
WY3t('mkdir -p versions')
GfdN = WY3t('tar -cvzf {} web_static'.format(rZRz))
if GfdN.failed:
return None
else:
return... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q9qR(YKHO):\n return Hy7s.path.join(YKHO.destination_directory, YKHO.__archive_name__)",
"def jmDm(YKHO, dixj):\n pmON = Hy7s.path.join(YKHO.archive_path, dixj.version)\n if not Hy7s.path.exists(pmON):\n Hy7s.makedirs(pmON)\n return Hy7s.path.join(pmON, YKHO.get_archive_filename(dixj))",
... | [
"0.7802927",
"0.74924743",
"0.70728195",
"0.6804129",
"0.6511789",
"0.6490116",
"0.6354247",
"0.63525575",
"0.63286996",
"0.6153605",
"0.61379194",
"0.61006725",
"0.60853046",
"0.6080678",
"0.6063823",
"0.6034604",
"0.59555966",
"0.591776",
"0.5907436",
"0.59069127",
"0.58957... | 0.54957426 | 61 |
Recursively parameterize all strings contained in an object. Parameterizes all values of a Mapping, all items of a Sequence, an unicode string, or pass other objects through unmodified. Byte strings will be interpreted as UTF8. | def k334(YEnM):
if isinstance(YEnM, GySg):
return dict(((H5ew, k334(BWXx)) for H5ew, BWXx in YEnM.items()))
elif isinstance(YEnM, bytes):
return aJ70(YEnM.decode('utf8'))
elif isinstance(YEnM, str):
return aJ70(YEnM)
elif isinstance(YEnM, bdIy):
return list((k334(ZfUD) fo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rWNC(YEnM):\n if isinstance(YEnM, dict):\n return dict(((rWNC(G1Hx), rWNC(Ty9i)) for G1Hx, Ty9i in YEnM.items()))\n elif isinstance(YEnM, list):\n return list((rWNC(YRbF) for YRbF in YEnM))\n elif isinstance(YEnM, tuple):\n return tuple((rWNC(YRbF) for YRbF in YEnM))\n elif isi... | [
"0.6391636",
"0.63298553",
"0.61700183",
"0.59444875",
"0.5620654",
"0.5472676",
"0.5390708",
"0.5333234",
"0.5314831",
"0.529008",
"0.51635796",
"0.51515967",
"0.50929046",
"0.50890005",
"0.50630486",
"0.5057737",
"0.50435394",
"0.50361943",
"0.50150037",
"0.50066966",
"0.49... | 0.67839694 | 0 |
Renders the home page. | def kZiy():
return TvZl('index.html', title='Home Page', year=qcWV.now().year) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bVaH():\n return TvZl('index.html')",
"def kZiy():\n return TvZl('home_page.html')",
"def kZiy():\n return TvZl('home.html')",
"def kZiy():\n return TvZl('home.html')",
"def kZiy():\n return TvZl('home.html')",
"def kZiy():\n return TvZl('home.html')",
"def kZiy():\n return TvZ... | [
"0.85574406",
"0.853399",
"0.8351404",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.82762724",
"0.827363",
"... | 0.8061255 | 40 |
Renders the about page. | def vsuQ():
return TvZl('about.html', title='About', year=qcWV.now().year, message='Your application description page.') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vsuQ():\n return TvZl('about.html', title='About')",
"def vsuQ():\n return TvZl('about_page.html', title='About')",
"def vsuQ():\n return TvZl('about.html')",
"def wZMb(YKHO):\n LgJI()",
"def vsuQ():\n return TvZl('about.html', title='About', year=qcWV.now().year, message='about page.')"... | [
"0.85650355",
"0.85034525",
"0.84489655",
"0.84044397",
"0.8394454",
"0.82935613",
"0.82680845",
"0.8243358",
"0.8239194",
"0.8224137",
"0.82079816",
"0.8204868",
"0.8173699",
"0.8172736",
"0.80967313",
"0.80501616",
"0.80501616",
"0.80501616",
"0.80501616",
"0.80501616",
"0.... | 0.82709616 | 12 |
Calculate a rotation matrix for the given angle. | def bULF(rVnq):
return oyIN.asmatrix([[oyIN.cos(rVnq), -oyIN.sin(rVnq), 0], [oyIN.sin(rVnq), oyIN.cos(rVnq), 0], [0, 0, 1]]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def k4PZ(YylR: torch.Tensor) -> ht2j.Tensor:\n dUBp = XBKw(YylR)\n _Lrm: ht2j.Tensor = ht2j.cos(dUBp)\n ZaIS: ht2j.Tensor = ht2j.sin(dUBp)\n return ht2j.stack([_Lrm, ZaIS, -ZaIS, _Lrm], dim=-1).view(*YylR.shape, 2, 2)",
"def bULF(YylR) -> oyIN.array:\n return oyIN.array([[oyIN.cos(YylR), oyIN.sin(... | [
"0.8200142",
"0.81458515",
"0.80441713",
"0.79353994",
"0.7904268",
"0.7719027",
"0.7682493",
"0.75756633",
"0.75573456",
"0.75307375",
"0.7461041",
"0.74018425",
"0.7387808",
"0.7358776",
"0.73508453",
"0.73496133",
"0.7347889",
"0.7306764",
"0.7301186",
"0.72717464",
"0.724... | 0.7194626 | 31 |
Return list of indexes which were set | def aCeU(YKHO):
Aofo = []
for d6pt, Ty9i in YKHO._items.iteritems():
if Ty9i.isSet:
Aofo.append(d6pt)
return Aofo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DzXR(YKHO):\n return set((G1Hx.index for G1Hx in YKHO if G1Hx.has_index))",
"def FkPn(YKHO):\n LX1L = list()\n cZub = list()\n for H5ew in YKHO.index:\n LX1L.append(H5ew[0])\n cZub.append(H5ew[1])\n return (list(j_2z(LX1L)), list(j_2z(cZub)))",
"def HgL_(YRbF, lNWu):\n DNs0 ... | [
"0.842449",
"0.77748895",
"0.7333276",
"0.7247322",
"0.7236759",
"0.71381116",
"0.7115153",
"0.7113918",
"0.70559156",
"0.7044112",
"0.69898766",
"0.6966941",
"0.68756",
"0.68663436",
"0.6861796",
"0.684902",
"0.6809005",
"0.6739134",
"0.6732558",
"0.6722666",
"0.67112815",
... | 0.6872002 | 13 |
String definition of the object of ClassWithCollections object | def wHJl(YKHO, tX49=None, jeLr=False):
if tX49 is None:
tX49 = []
tX49 = tX49[:]
mxw9 = ''
Wr5F = ''
if __debug__:
if 'MODULE_IN_REPR' in dsE5.active:
jeLr = True
if 'ID_IN_REPR' in dsE5.active:
mxw9 = '#%s' % id(YKHO)
if jeLr:
ZUSD = '%s' ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def zAg0(YKHO):\n return type(YKHO).__name__ + str(vars(YKHO))",
"def zAg0(YKHO):\n return '{}({})'.format(type(YKHO).__name__, YKHO.__name)",
"def wHJl(Emd4):\n return Emd4.__name__",
"def wHJl(YKHO) -> str:\n _2Ld = dH2d.yaml_map(YKHO)\n jc5U = [f'{G1Hx}={Ty9i!r}' for G1Hx, Ty9i in sorted(_2... | [
"0.6513021",
"0.64517546",
"0.6439465",
"0.6417655",
"0.64044213",
"0.6397004",
"0.6395613",
"0.63702136",
"0.63547134",
"0.633789",
"0.63126135",
"0.6282115",
"0.6269582",
"0.6246458",
"0.62438476",
"0.62392867",
"0.62362015",
"0.622253",
"0.6217405",
"0.6187709",
"0.6187690... | 0.0 | -1 |
Returns Retrieves the last event timestamp | def tmKi(YKHO) -> qcWV:
return YKHO.activities[-1].timestamp | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VRN8(YKHO) -> str:\n return qe4Y.get(YKHO, 'last_event_time')",
"def cpro(YKHO):\n return YKHO._lastEventTime",
"def U_dL(YKHO):\n return YKHO._last_timestamp",
"def U_dL(YKHO):\n S0MI.debug('Getting last_timestamp as: %s', YKHO._last_timestamp)\n return YKHO._last_timestamp",
"def ikwY(... | [
"0.83376825",
"0.82172495",
"0.8095696",
"0.8044194",
"0.7909703",
"0.7772843",
"0.77328336",
"0.7648163",
"0.7558408",
"0.739905",
"0.7371306",
"0.7259861",
"0.72343963",
"0.7165988",
"0.7103382",
"0.704164",
"0.7026896",
"0.7022095",
"0.7016782",
"0.70094234",
"0.7004626",
... | 0.7483805 | 9 |
Convert a luminosity into flux density in Jy (or in 'mJy') for a given distance in Mpc and wavelength in [micron] | def KMno(TciU, pImw, _vMc, iqBC=False, WX1p=False, Hg8A=True, IsG8='Jy', DX2k=False):
if DX2k == False:
_vMc = oyIN.log10(_vMc)
QTg7 = oyIN.log10(299792000.0) - _vMc + 6
if WX1p == False:
pImw = oyIN.log10(pImw)
if Hg8A == False:
TciU = oyIN.log10(TciU)
YzMs = TciU - oyIN.log... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def w_Tc(fPqR, Ayfi, JhXb=0, Pixk=P6bq.angstrom, ZJ11=1, hxoY=P6bq.Unit('erg / (Angstrom cm2 s)')):\n Ayfi = P6bq.Unit(Ayfi)\n __d3, shSu = oyIN.loadtxt(fPqR, usecols=(JhXb, ZJ11), unpack=True)\n zpWt = oyIN.trapz(shSu, __d3) * (hxoY * Pixk)\n N0xI = (zpWt * 4 * oyIN.pi * Ayfi ** 2).to('erg/s')\n re... | [
"0.65098506",
"0.6422973",
"0.618267",
"0.60822135",
"0.60728395",
"0.60050327",
"0.5974596",
"0.5832187",
"0.5801674",
"0.57632214",
"0.5756511",
"0.57102656",
"0.5708604",
"0.56721187",
"0.566212",
"0.5533299",
"0.55140376",
"0.5513792",
"0.5511863",
"0.5488949",
"0.5473674... | 0.51146 | 62 |
Convert a flux density in Jy (or in 'mJy') into luminosity for a given distance in Mpc and wavelength in [micron] | def wO15(RdV2, pImw, _vMc, iqBC=False, WX1p=False, Hg8A=True, IsG8='Jy', DX2k=False):
if DX2k == False:
_vMc = oyIN.log10(_vMc)
QTg7 = oyIN.log10(299792000.0) - _vMc + 6
if iqBC == False:
RdV2 = oyIN.log10(RdV2)
if IsG8 == 'mJy':
RdV2 = RdV2 - 3
YzMs = RdV2 + QTg7 - 23
if... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def w_Tc(fPqR, Ayfi, JhXb=0, Pixk=P6bq.angstrom, ZJ11=1, hxoY=P6bq.Unit('erg / (Angstrom cm2 s)')):\n Ayfi = P6bq.Unit(Ayfi)\n __d3, shSu = oyIN.loadtxt(fPqR, usecols=(JhXb, ZJ11), unpack=True)\n zpWt = oyIN.trapz(shSu, __d3) * (hxoY * Pixk)\n N0xI = (zpWt * 4 * oyIN.pi * Ayfi ** 2).to('erg/s')\n re... | [
"0.6812176",
"0.6619846",
"0.62178636",
"0.6107638",
"0.6079786",
"0.59802467",
"0.5883287",
"0.58794874",
"0.584442",
"0.5808301",
"0.5796913",
"0.57776636",
"0.5775571",
"0.57507926",
"0.574004",
"0.5695164",
"0.5660567",
"0.5652479",
"0.56087625",
"0.55899453",
"0.54918617... | 0.5593648 | 19 |
AAD Profile specifies attributes for Azure Active Directory integration. | def FIMM(Ro_8, *, lU0x: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, QG3V: Optional[pulumi.Input[str]]=None, REcs: Optional[pulumi.Input[bool]]=None, lwBz: Optional[pulumi.Input[bool]]=None, XtbQ: Optional[pulumi.Input[str]]=None, LUie: Optional[pulumi.Input[str]]=None, mLXZ: Optional[pulumi.Input[str]]=No... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q93q(YKHO) -> h8nf[qe4Y.Input['AADProfileArgs']]:\n return qe4Y.get(YKHO, 'aad_profile')",
"def tuTB():\n pass",
"def KXEH():\n wvEv = j1Jz.ArgumentParser(description=KXEH.__doc__)\n BkAb = wvEv.add_mutually_exclusive_group(required=False)\n BkAb.add_argument('-i', '--iam', action='store_tru... | [
"0.72680557",
"0.5649395",
"0.56132436",
"0.55643153",
"0.55580693",
"0.5529592",
"0.5377004",
"0.53257716",
"0.52398247",
"0.5222247",
"0.5221797",
"0.51649415",
"0.51563936",
"0.51121587",
"0.509293",
"0.50730383",
"0.5054024",
"0.50460184",
"0.50362295",
"0.50292456",
"0.5... | 0.0 | -1 |
The list of AAD group object IDs that will have admin role of the cluster. | def lU0x(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:
return qe4Y.get(YKHO, 'admin_group_object_ids') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def r7co(YKHO) -> uLKX[x1iM[str], None]:\n return YKHO._get_aad_admin_group_object_ids(enable_validation=True)",
"def lU0x(YKHO) -> qe4Y.Input[bdIy[qe4Y.Input[str]]]:\n return qe4Y.get(YKHO, 'admin_group_object_ids')",
"def Ugw6(YKHO):\n return set((uOe2.admin_group_id for uOe2 in YKHO.find(type='U'))... | [
"0.8314658",
"0.82687557",
"0.7692424",
"0.7668282",
"0.75499696",
"0.71512187",
"0.7012604",
"0.69647706",
"0.68132555",
"0.68077713",
"0.6789662",
"0.6706167",
"0.6668644",
"0.6650921",
"0.65174377",
"0.6514174",
"0.6513707",
"0.64684474",
"0.6466344",
"0.64410853",
"0.6375... | 0.8173278 | 3 |
ControlPlaneProfile The control plane properties for the provisioned cluster. | def FIMM(Ro_8, *, SQxz: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, egXK: Optional[pulumi.Input['CloudProviderProfileArgs']]=None, tNXs: Optional[pulumi.Input['ControlPlaneEndpointProfileControlPlaneEndpointArgs']]=None, UHFx: Optional[pulumi.Input[int]]=None, jZ5A: Optional[pulumi.Input['LinuxProfileProp... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MEag(YKHO) -> 'outputs.ClusterPoolResourcePropertiesResponseComputeProfile':\n return qe4Y.get(YKHO, 'compute_profile')",
"def Itr6(YKHO) -> 'outputs.ClusterPoolResourcePropertiesResponseAksClusterProfile':\n return qe4Y.get(YKHO, 'aks_cluster_profile')",
"def hRsB(YKHO) -> uLKX[cuzp[str, str], None]... | [
"0.6663954",
"0.6228086",
"0.5960472",
"0.5592841",
"0.5485699",
"0.5445458",
"0.5358216",
"0.5348881",
"0.5348881",
"0.5335483",
"0.5294336",
"0.5243618",
"0.5239505",
"0.51938695",
"0.5178488",
"0.51694024",
"0.5159391",
"0.5116929",
"0.5112616",
"0.5071119",
"0.50581497",
... | 0.0 | -1 |
Unique name of the agent pool profile in the context of the subscription and resource group. | def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO) -> str:\n return YKHO.profile_device.name",
"def mWFP(YKHO):\n return YKHO.measurement_profile.name",
"def HYHK(YKHO, mWFP: str, y0cW: str):\n if mWFP is None:\n return y0cW + '-' + MQKO.__generate_random_string()\n elif mWFP in YKHO._active_workers.keys():\n return mWF... | [
"0.66112113",
"0.65354484",
"0.651985",
"0.65068525",
"0.64472425",
"0.6152568",
"0.613091",
"0.603319",
"0.60273725",
"0.59952253",
"0.5963842",
"0.59166694",
"0.5907245",
"0.5893807",
"0.58470553",
"0.57983255",
"0.57983255",
"0.57983255",
"0.57983255",
"0.57983255",
"0.579... | 0.0 | -1 |
VmSize The size of the agent pool VMs. | def oMFE(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'vm_size') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oMFE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'vm_size')",
"def EcAO(YKHO) -> h8nf[qe4Y.Input['BuildServiceAgentPoolSizePropertiesArgs']]:\n return qe4Y.get(YKHO, 'pool_size')",
"def oMFE(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'vm_size')",
"def EcAO(YKHO, EcAO: ConfigN... | [
"0.7096677",
"0.70296574",
"0.6893503",
"0.67277414",
"0.66670907",
"0.65625894",
"0.6460218",
"0.63132423",
"0.6222337",
"0.6069661",
"0.60372996",
"0.6013997",
"0.60056216",
"0.5991601",
"0.59473985",
"0.5927618",
"0.5806976",
"0.57933545",
"0.5781126",
"0.5765513",
"0.5762... | 0.6813507 | 5 |
The HTTPS proxy server endpoint to use. | def fthQ(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'https_proxy') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fthQ(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'https_proxy')",
"def HHZK(YKHO):\n return YKHO.__get_option('myproxy_server')",
"def bqJ5(YKHO) -> str:\n return qe4Y.get(YKHO, 'proxy_url')",
"def bqJ5(YKHO):\n return YKHO.__proxy_url",
"def R1kD(YKHO):\n return 'tcp://%s:%s' % (YKHO.ip... | [
"0.7592147",
"0.70679206",
"0.67487925",
"0.66793597",
"0.65531087",
"0.65255326",
"0.64279073",
"0.64279073",
"0.64265025",
"0.63814336",
"0.63667804",
"0.63567555",
"0.6345138",
"0.6283781",
"0.6272997",
"0.6257402",
"0.6254837",
"0.62052906",
"0.6148819",
"0.61386776",
"0.... | 0.73492455 | 2 |
LoadBalancerProfile Profile of the cluster load balancer. | def FIMM(Ro_8, *, SQxz: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, egXK: Optional[pulumi.Input['CloudProviderProfileArgs']]=None, UHFx: Optional[pulumi.Input[int]]=None, jZ5A: Optional[pulumi.Input['LinuxProfilePropertiesArgs']]=None, n6mp: Optional[pulumi.Input[int]]=None, ovsU: Optional[pulumi.Input[in... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qsw2(YKHO) -> h8nf[qe4Y.Input['ManagedClusterLoadBalancerProfileArgs']]:\n return qe4Y.get(YKHO, 'load_balancer_profile')",
"def qsw2(YKHO) -> h8nf[qe4Y.Input['LoadBalancerProfileArgs']]:\n return qe4Y.get(YKHO, 'load_balancer_profile')",
"def Itr6(YKHO) -> 'outputs.ClusterPoolResourcePropertiesRespo... | [
"0.79954857",
"0.7743945",
"0.6310012",
"0.6220785",
"0.60519725",
"0.6028776",
"0.59667295",
"0.5801705",
"0.5801705",
"0.57998896",
"0.57407534",
"0.5732378",
"0.57040197",
"0.5699798",
"0.56650585",
"0.5648545",
"0.5640648",
"0.5636679",
"0.55829805",
"0.5582329",
"0.54267... | 0.0 | -1 |
Unique name of the agent pool profile in the context of the subscription and resource group. | def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO) -> str:\n return YKHO.profile_device.name",
"def mWFP(YKHO):\n return YKHO.measurement_profile.name",
"def HYHK(YKHO, mWFP: str, y0cW: str):\n if mWFP is None:\n return y0cW + '-' + MQKO.__generate_random_string()\n elif mWFP in YKHO._active_workers.keys():\n return mWF... | [
"0.6610625",
"0.6534243",
"0.6520213",
"0.6505671",
"0.64470166",
"0.6152562",
"0.6131236",
"0.60344696",
"0.60290414",
"0.59972024",
"0.59633523",
"0.59155184",
"0.590559",
"0.58925503",
"0.5848389",
"0.5799912",
"0.5799912",
"0.5799912",
"0.5799912",
"0.5799912",
"0.5799912... | 0.0 | -1 |
VmSize The size of the agent pool VMs. | def oMFE(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'vm_size') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oMFE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'vm_size')",
"def EcAO(YKHO) -> h8nf[qe4Y.Input['BuildServiceAgentPoolSizePropertiesArgs']]:\n return qe4Y.get(YKHO, 'pool_size')",
"def oMFE(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'vm_size')",
"def EcAO(YKHO, EcAO: ConfigN... | [
"0.7096677",
"0.70296574",
"0.6893503",
"0.67277414",
"0.66670907",
"0.65625894",
"0.6460218",
"0.63132423",
"0.6222337",
"0.6069661",
"0.60372996",
"0.6013997",
"0.60056216",
"0.5991601",
"0.59473985",
"0.5927618",
"0.5806976",
"0.57933545",
"0.5781126",
"0.5765513",
"0.5762... | 0.6813507 | 4 |
Unique name of the agent pool profile in the context of the subscription and resource group. | def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'name') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mWFP(YKHO) -> str:\n return YKHO.profile_device.name",
"def mWFP(YKHO):\n return YKHO.measurement_profile.name",
"def HYHK(YKHO, mWFP: str, y0cW: str):\n if mWFP is None:\n return y0cW + '-' + MQKO.__generate_random_string()\n elif mWFP in YKHO._active_workers.keys():\n return mWF... | [
"0.66112113",
"0.65354484",
"0.651985",
"0.65068525",
"0.64472425",
"0.6152568",
"0.613091",
"0.603319",
"0.60273725",
"0.59952253",
"0.5963842",
"0.59166694",
"0.5907245",
"0.5893807",
"0.58470553",
"0.57983255",
"0.57983255",
"0.57983255",
"0.57983255",
"0.57983255",
"0.579... | 0.0 | -1 |
VmSize The size of the agent pool VMs. | def oMFE(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'vm_size') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oMFE(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'vm_size')",
"def EcAO(YKHO) -> h8nf[qe4Y.Input['BuildServiceAgentPoolSizePropertiesArgs']]:\n return qe4Y.get(YKHO, 'pool_size')",
"def oMFE(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'vm_size')",
"def EcAO(YKHO, EcAO: ConfigN... | [
"0.7096677",
"0.70296574",
"0.6893503",
"0.67277414",
"0.66670907",
"0.65625894",
"0.6460218",
"0.63132423",
"0.6222337",
"0.6069661",
"0.60372996",
"0.6013997",
"0.60056216",
"0.5991601",
"0.59473985",
"0.5927618",
"0.5806976",
"0.57933545",
"0.5781126",
"0.5765513",
"0.5762... | 0.6813507 | 3 |
DNSServiceIP An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr. | def H8Qo(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'dns_service_ip') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DIoN(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'service_cidr')",
"def DIoN(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'service_cidr')",
"def DIoN(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'service_cidr')",
"def Fks8(YKHO) -> h8nf[qe4Y.Input[str]]:\n qm... | [
"0.6345445",
"0.6345445",
"0.6345445",
"0.5613832",
"0.50941086",
"0.492934",
"0.4897114",
"0.486355",
"0.47378713",
"0.46595684",
"0.46579883",
"0.45950517",
"0.45930776",
"0.45823815",
"0.45793012",
"0.4502991",
"0.44969392",
"0.44969392",
"0.44670072",
"0.44530597",
"0.444... | 0.62951136 | 4 |
LoadBalancerProfile Profile of the cluster load balancer. | def qsw2(YKHO) -> h8nf[qe4Y.Input['LoadBalancerProfileArgs']]:
return qe4Y.get(YKHO, 'load_balancer_profile') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qsw2(YKHO) -> h8nf[qe4Y.Input['ManagedClusterLoadBalancerProfileArgs']]:\n return qe4Y.get(YKHO, 'load_balancer_profile')",
"def Itr6(YKHO) -> 'outputs.ClusterPoolResourcePropertiesResponseAksClusterProfile':\n return qe4Y.get(YKHO, 'aks_cluster_profile')",
"def jiPw(YKHO, FQNo: ManagedCluster) -> Or... | [
"0.799392",
"0.6310471",
"0.6219861",
"0.6052601",
"0.60283256",
"0.59676886",
"0.58035433",
"0.58035433",
"0.58019155",
"0.57392466",
"0.573114",
"0.57021016",
"0.56992716",
"0.5666817",
"0.5646172",
"0.5639424",
"0.5636759",
"0.558451",
"0.5582851",
"0.5424464",
"0.535987",... | 0.7743291 | 1 |
PodCidr A CIDR notation IP range from which to assign pod IPs when kubenet is used. | def dTX0(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'pod_cidr') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yf3m(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'cidr')",
"def yf3m(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'cidr')",
"def yf3m(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'cidr')",
"def yf3m(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'cidr')",
"def... | [
"0.5790983",
"0.5790983",
"0.5679105",
"0.5679105",
"0.5546194",
"0.5546194",
"0.5546194",
"0.5523009",
"0.5506565",
"0.55048233",
"0.55048233",
"0.5461405",
"0.534532",
"0.5332054",
"0.5309646",
"0.53059006",
"0.53024375",
"0.52798325",
"0.52798325",
"0.52798325",
"0.5235053... | 0.7307548 | 1 |
The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for singlestack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dualstack networking. | def xLtS(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:
return qe4Y.get(YKHO, 'pod_cidrs') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iO7M(YKHO):\n LU8G = '1.2.3.0/29'\n YKHO.assertEqual(XN37.IPRange_to_CIDR('1.2.3.1', '1.2.3.6'), LU8G)",
"def ZSea(YKHO):\n YKHO.assertEqual(XN37.IPRange_to_valid_CIDR('192.168.0.1', '192.168.0.1'), '192.168.0.1/32')",
"def Kvj_(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['CidrBlockArgs']]]]:\n re... | [
"0.6920752",
"0.65083635",
"0.6484416",
"0.641776",
"0.63842654",
"0.62757444",
"0.62143826",
"0.6168925",
"0.6168925",
"0.6164812",
"0.6164812",
"0.6151156",
"0.6151156",
"0.6139616",
"0.61360097",
"0.608533",
"0.60340667",
"0.60340667",
"0.60285735",
"0.60285735",
"0.602494... | 0.5654129 | 36 |
The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for singlestack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dualstack networking. They must not overlap with any Subnet IP ranges. | def PG1V(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:
return qe4Y.get(YKHO, 'service_cidrs') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def iO7M(YKHO):\n LU8G = '1.2.3.0/29'\n YKHO.assertEqual(XN37.IPRange_to_CIDR('1.2.3.1', '1.2.3.6'), LU8G)",
"def FXRL(eEH1, _j99=None, oa7L=None, aGvo=None):\n if not _j99:\n if not oa7L:\n oa7L = iVGz.client('ec2', region_name=aGvo)\n _hkX = oa7L.describe_availability_zones()\... | [
"0.6661204",
"0.64591795",
"0.6435936",
"0.63920933",
"0.63624084",
"0.626094",
"0.62210345",
"0.6120802",
"0.6109028",
"0.60803056",
"0.6046384",
"0.60386944",
"0.6021384",
"0.6021384",
"0.60006315",
"0.59930927",
"0.59930927",
"0.5975711",
"0.5972838",
"0.5971427",
"0.58921... | 0.0 | -1 |
Identity for the Provisioned cluster. | def FIMM(Ro_8, *, type: pulumi.Input['ResourceIdentityType']):
qe4Y.set(Ro_8, 'type', type) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _E99(YKHO) -> qe4Y.Output['outputs.ClusterIdentity']:\n return qe4Y.get(YKHO, 'identity')",
"def _E99(YKHO) -> h8nf[qe4Y.Input['ClusterIdentityArgs']]:\n return qe4Y.get(YKHO, 'identity')",
"def _E99(YKHO) -> qe4Y.Input['ClusterIdentityArgs']:\n return qe4Y.get(YKHO, 'identity')",
"def JvOq(YKHO... | [
"0.752257",
"0.7398116",
"0.72665226",
"0.7238032",
"0.7238032",
"0.7238032",
"0.7238032",
"0.7238032",
"0.70550114",
"0.70550114",
"0.70550114",
"0.70550114",
"0.697907",
"0.6620335",
"0.655557",
"0.6494575",
"0.64899313",
"0.64360243",
"0.64360243",
"0.63899595",
"0.6361781... | 0.0 | -1 |
The type of identity used for the provisioned cluster. The type SystemAssigned, includes a system created identity. The type None means no identity is assigned to the provisioned cluster. | def type(YKHO) -> qe4Y.Input['ResourceIdentityType']:
return qe4Y.get(YKHO, 'type') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def type(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'ManagedIdentityType']]]:\n return qe4Y.get(YKHO, 'type')",
"def H_dn(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'CmkIdentityType']]]:\n return qe4Y.get(YKHO, 'identity_type')",
"def type(YKHO) -> qe4Y.Input[uLKX[str, 'ManagedServiceIdentityType']]:\n return qe4Y.ge... | [
"0.72359097",
"0.6942881",
"0.6796822",
"0.6743902",
"0.6649138",
"0.6584021",
"0.6550021",
"0.6506693",
"0.64722836",
"0.6333968",
"0.62976646",
"0.6269088",
"0.6269088",
"0.6239672",
"0.6073401",
"0.6066358",
"0.60344934",
"0.5982729",
"0.5895074",
"0.5873382",
"0.5851272",... | 0.63153356 | 10 |
AddonProfiles Profile of managed cluster addon. | def DkQj(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input['AddonProfilesArgs']]]]:
return qe4Y.get(YKHO, 'addon_profiles') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _NOm(YKHO, FQNo: ManagedCluster) -> OrU5:\n YKHO._ensure_mc(FQNo)\n Bwdd = YKHO.context.get_addon_consts()\n F4aq = Bwdd.get('CONST_MONITORING_ADDON_NAME')\n rg1H = Bwdd.get('CONST_VIRTUAL_NODE_ADDON_NAME')\n mr6e = Bwdd.get('CONST_HTTP_APPLICATION_ROUTING_ADDON_NAME')\n jn_L = Bwdd.get('CONS... | [
"0.7015285",
"0.70030284",
"0.64746726",
"0.6469915",
"0.64524657",
"0.63640934",
"0.62364703",
"0.6012015",
"0.5962577",
"0.5738262",
"0.57334805",
"0.5694817",
"0.56858253",
"0.5668841",
"0.5657818",
"0.5648579",
"0.5604747",
"0.5603564",
"0.56018686",
"0.56018686",
"0.5549... | 0.6764512 | 2 |
NodeResourceGroup Name of the resource group containing agent pool nodes. | def PMlS(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'node_resource_group') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TRLE(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Output[str]:\n return qe4Y.ge... | [
"0.70394194",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.7037649",
"0.6945211",
"0.67540073",
"0.67529726",
"0.66841984",
"0.66841984",
"0.66841984",
"0.66841984",
"0.668419... | 0.750187 | 0 |
HybridAKSStorageStatus defines the observed state of HybridAKSStorage | def FIMM(Ro_8, *, K3EH: Optional[pulumi.Input['StorageSpacesPropertiesProvisioningStatusArgs']]=None):
if K3EH is not None:
qe4Y.set(Ro_8, 'provisioning_status', K3EH) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ptxh(YKHO) -> str:\n return qe4Y.get(YKHO, 'storage_bytes_status')",
"def JkNt():\n LAkG = Hy7s.environ['gw_arn']\n UEJs = iVGz.client('storagegateway')\n TwGF = UEJs.describe_gateway_information(GatewayARN=LAkG)\n z29d = TwGF['GatewayState']\n print(z29d)\n if z29d != 'RUNNING':\n ... | [
"0.651442",
"0.64952594",
"0.6258575",
"0.6192214",
"0.5868871",
"0.5808265",
"0.56239104",
"0.5616892",
"0.5559495",
"0.548378",
"0.54702646",
"0.5426858",
"0.5421656",
"0.5418866",
"0.53763276",
"0.5374888",
"0.5362641",
"0.53455853",
"0.53393966",
"0.53373533",
"0.5331104"... | 0.0 | -1 |
Name of the resource pool in VSphere | def ZGn0(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'resource_pool') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yaEJ(YKHO) -> str:\n return qe4Y.get(YKHO, 'resource_pool_id')",
"def Fdeb(cuiw, hNbN):\n ZGn0 = ''\n if 'resource_pool' in hNbN.keys():\n ZGn0 = YWtq(hNbN['resource_pool'], cuiw)\n else:\n dBuj = cuiw.xenapi.pool.get_all()\n if not dBuj:\n ZGn0 = None\n els... | [
"0.7684495",
"0.720403",
"0.6825744",
"0.6759102",
"0.67413265",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65347934",
"0.65280163",
"0.6478877",
"0.64785725",
"0... | 0.7305387 | 1 |
HybridAKSStorageStatus defines the observed state of HybridAKSStorage | def jGRS(YKHO) -> h8nf[qe4Y.Input['StorageSpacesPropertiesStatusArgs']]:
return qe4Y.get(YKHO, 'status') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ptxh(YKHO) -> str:\n return qe4Y.get(YKHO, 'storage_bytes_status')",
"def JkNt():\n LAkG = Hy7s.environ['gw_arn']\n UEJs = iVGz.client('storagegateway')\n TwGF = UEJs.describe_gateway_information(GatewayARN=LAkG)\n z29d = TwGF['GatewayState']\n print(z29d)\n if z29d != 'RUNNING':\n ... | [
"0.65150267",
"0.6494839",
"0.6192419",
"0.58682615",
"0.58075684",
"0.5621734",
"0.5617191",
"0.555913",
"0.548315",
"0.54700184",
"0.54266053",
"0.54215086",
"0.54180133",
"0.53758734",
"0.53740287",
"0.53619903",
"0.5344375",
"0.53405046",
"0.53370106",
"0.53314245",
"0.53... | 0.6259041 | 2 |
Address of the Gateway associated with the network | def kdXA(YKHO) -> h8nf[qe4Y.Input[str]]:
return qe4Y.get(YKHO, 'gateway') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def T70F(YKHO):\n return YKHO._network_address",
"def UTX6(YKHO):\n return YKHO.__ip",
"def HXbV(YKHO):\n return YKHO._wan_address",
"def HXbV(YKHO):\n if YKHO._community.dispersy:\n KcEq = YKHO._community.dispersy.wan_address[0]\n if KcEq == '0.0.0.0':\n KcEq = YKHO._com... | [
"0.7198366",
"0.7178252",
"0.70842457",
"0.6898058",
"0.68309003",
"0.676177",
"0.6726812",
"0.67122513",
"0.66830206",
"0.6619948",
"0.6619948",
"0.6603798",
"0.6582916",
"0.65826637",
"0.65781",
"0.65118974",
"0.6506415",
"0.6506415",
"0.6506415",
"0.6506415",
"0.6506415",
... | 0.643103 | 31 |
Computes the SHA256 hash of the file at the given path and encodes its value to a hexadecimal string of the given length. The computed value is returned as a string. | def qVBY(IznC, w13o):
NikM = HBct.sha256()
with open(IznC, 'rb') as apum:
for yOAJ in iter(lambda: apum.read(4096), b''):
NikM.update(yOAJ)
NikM = NikM.hexdigest()
NikM = int(NikM, 16) % 2 ** (4 * w13o)
return wD35(NikM, w13o) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OoXC(pmON: Path) -> str:\n r8hN = HBct.sha256()\n r8hN.update(pmON.read_bytes())\n return r8hN.hexdigest()",
"def hqsM(pmON: Union[Path, str]) -> str:\n with open(pmON, 'rb') as ytgA:\n nPrm = ytgA.read()\n r8hN = HBct.sha256()\n r8hN.update(nPrm)\n return r8hN.hexdigest()",
"de... | [
"0.7636494",
"0.76014704",
"0.7514853",
"0.7365946",
"0.7228515",
"0.7178993",
"0.7174888",
"0.71408516",
"0.7072246",
"0.7057379",
"0.7043497",
"0.7041706",
"0.70254683",
"0.70200604",
"0.69845206",
"0.6977326",
"0.69688314",
"0.6907978",
"0.68987346",
"0.68977046",
"0.68842... | 0.75713116 | 2 |
retrieve an org configuration by name key | def yu6g(YKHO, mWFP: str):
QAIN = YKHO._get_org(mWFP)
if QAIN.keychain:
assert QAIN.keychain is YKHO
else:
QAIN.keychain = YKHO
return QAIN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cvbw(YKHO, jpuF):\n QAIN = SyqR()\n Aofo = QAIN.get(jpuF)\n if Aofo == []:\n tO9_ = \"Can't find org %s\" % jpuF\n YKHO.log.error(tO9_)\n raise P1dF.NotFound(tO9_)\n return Aofo",
"def eMq4(QAIN, BiAH, WmM4=None):\n if not G1Ux():\n return WmM4\n for BWXx in gCuF... | [
"0.68265975",
"0.65030956",
"0.64139026",
"0.63711214",
"0.6317985",
"0.62915844",
"0.6257211",
"0.62353575",
"0.6192515",
"0.6178011",
"0.6153753",
"0.604356",
"0.6042139",
"0.60162944",
"0.5971323",
"0.59193593",
"0.58669215",
"0.58424205",
"0.58312154",
"0.5823578",
"0.572... | 0.6275705 | 6 |