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
Unload a config entry.
async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool: yT1k = await ajET.config_entries.async_unload_platforms(bTKY, aprE) if yT1k: del ajET.data[Sugg][bTKY.entry_id] return yT1k
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def async_unload_entry(ajET, PhL6):\n yT1k = await ajET.config_entries.async_forward_entry_unload(PhL6, 'climate')\n return yT1k", "async def async_unload_entry(ajET: HomeAssistant, bTKY: ConfigEntry) -> bool:\n ajET.data.pop(Sugg)\n return True", "async def async_unload_entry(ajET: HomeAssis...
[ "0.697284", "0.6888074", "0.6779855", "0.6747459", "0.6689002", "0.6657831", "0.66162205", "0.6603433", "0.65925974", "0.65595686", "0.65411645", "0.6507643", "0.6507643", "0.6507643", "0.6507643", "0.64977276", "0.64931643", "0.6486601", "0.6486601", "0.6486601", "0.6486601"...
0.639415
44
Compares naive arrow objects, returning the average. Optionally can determine if timestamps are too disparate to be used. Returns an arrow object, with optional timezone.
def gL3G(M_Ra, KQBb=False, ZpDT=False): if M_Ra.count(M_Ra[0]) == len(M_Ra): YiDM = M_Ra[0] else: rMel = sum([JRYC.timestamp for JRYC in M_Ra]) / len(M_Ra) YiDM = LgWF.get(rMel) if ZpDT: for i8WE in M_Ra: RA_F = YiDM - LgWF.get(i8WE) kJly = abs(RA_F.to...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c5uu(YKHO):\n h3qM = [(1.0, ITS7.localtime()), (2.0, ITS7.localtime()), (3.0, ITS7.localtime()), (4.0, ITS7.localtime())]\n rxEN = eosB()\n Aofo = rxEN.average_from(h3qM)\n YKHO.assertEqual(Aofo, 2.5)", "def VrKW(YKHO):\n h3qM = [(32.0, ITS7.localtime()), (32.0, ITS7.localtime()), (32.0, ITS7....
[ "0.52611256", "0.52125275", "0.5051799", "0.5022453", "0.49895477", "0.4967517", "0.48423463", "0.48233363", "0.4791975", "0.44999132", "0.44736728", "0.44720384", "0.44687858", "0.44671124", "0.4450835", "0.4449644", "0.44333333", "0.4400922", "0.43883348", "0.43759522", "0....
0.5064656
2
get the timezone to be used for display in e.g. mails
def WmLy(YKHO): return gCuF.TIME_ZONES_BY_LANG.get(YKHO.language, gCuF.TIME_ZONE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rIAI():\n return ITS7.timezone", "def Vsdc():\n return YdD0.get_timezone(_meq())", "def Vsdc(YKHO) -> str:\n return YKHO.AD.time_zone", "def rIAI(YKHO) -> str:\n return YKHO._tz", "def _meq():\n return 'UTC'", "def rIAI(YKHO):\n return YKHO.data.get('timezone')", "def rIAI(YKHO):\...
[ "0.83409214", "0.82212543", "0.81527114", "0.79555774", "0.784473", "0.78415716", "0.7838738", "0.7794878", "0.77227634", "0.77046794", "0.77046794", "0.77046794", "0.7559666", "0.7480259", "0.7457244", "0.74360734", "0.73757833", "0.73732764", "0.7340009", "0.7336194", "0.72...
0.7072842
24
Provides the index.html page.
def NMoC(YKHO): Q0pa = YKHO.request.GET.get('upload_info') if Q0pa: YKHO.response.headers['content-type'] = 'text/plain' YKHO.response.out.write(Q0pa) return dIng = reversed(yhaZ.BlobInfo.all().fetch(10)) hlel = rPXJ.render('index.html', {'blobs': dIng}) YKHO.response.out.wri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d6pt():\n return TvZl('index.html')", "def t7ng():\n return TvZl('index.html')", "def t7ng():\n return TvZl('index.html')", "def t7ng():\n return TvZl('index.html')", "def t7ng():\n return TvZl('index.html')", "def d6pt():\n return TvZl('index.html')", "def d6pt():\n return TvZ...
[ "0.8845413", "0.88451236", "0.88451236", "0.88451236", "0.8841259", "0.8824585", "0.88221157", "0.88221157", "0.8788125", "0.8788125", "0.8783742", "0.8772863", "0.8750255", "0.87474686", "0.8719731", "0.8717896", "0.87125355", "0.86622924", "0.86622924", "0.86622924", "0.866...
0.0
-1
Return a dict of all variable that distributed training may use.
def KwYx(): mkfd = int(Hy7s.getenv('PADDLE_TRAINER_ID', '0')) tKS8 = 1 RVYK = Hy7s.getenv('PADDLE_TRAINING_ROLE', 'TRAINER') assert RVYK == 'PSERVER' or RVYK == 'TRAINER' NMz6 = Hy7s.getenv('PADDLE_TRAINER_ENDPOINTS') YMoH = Hy7s.getenv('PADDLE_PSERVER_ENDPOINTS') YsPi = Hy7s.getenv('PADDLE_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def r51G(YKHO):\n return YKHO.arch.variables", "def r51G(YKHO):\n NArs = ZylS.get_collection(ZylS.GraphKeys.TRAINABLE_VARIABLES, YKHO.scope)\n return NArs", "def Zjnb(YKHO):\n return []", "def bjkb(YKHO):\n return [Ty9i for XP5J in YKHO.parameters for Ty9i in XP5J.trainable_variables]", "def...
[ "0.77963966", "0.69466335", "0.6910702", "0.6754934", "0.6676022", "0.66448104", "0.6641467", "0.6635972", "0.66293365", "0.65779173", "0.6568637", "0.65643334", "0.6549421", "0.65371823", "0.6520008", "0.65055823", "0.6485963", "0.64841485", "0.6469209", "0.64555323", "0.644...
0.0
-1
Return the application name of this resource. Provides the return value of the `app_name` property.
def i79m(YKHO): return getattr(YKHO, '_app_name', None)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kvcN(YKHO) -> str:\n return YKHO._app_name", "def kvcN(YKHO):\n return YKHO._app_name", "def VpPs(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'application_name')", "def VpPs(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'application_name')", "def kvcN(YKHO) -> qe4Y.Output[h8nf[s...
[ "0.8678612", "0.8637979", "0.8572737", "0.8572737", "0.85671264", "0.84264404", "0.8397032", "0.833802", "0.8224685", "0.80858433", "0.8082026", "0.80178773", "0.7993415", "0.7990277", "0.7990277", "0.7990277", "0.7990277", "0.79337734", "0.77881044", "0.7625291", "0.74047595...
0.85155594
5
Return the name of this resource. Provides the return value of the `resource_name` property.
def YJsY(YKHO): return YKHO._resource_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO.resource['metadata']['name']", "def mWFP(YKHO):\n return YKHO.raw_resource['name']", "def kFeU(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'resource_name')", "def kFeU(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'resource_name')", "def kFeU(YKHO) -> h8nf[qe4Y.Input...
[ "0.87285066", "0.865305", "0.8649713", "0.8649713", "0.83374757", "0.83374757", "0.83374757", "0.83374757", "0.83374757", "0.8295308", "0.789711", "0.7600062", "0.75882506", "0.75882506", "0.7575456", "0.75700283", "0.756709", "0.7557709", "0.7557709", "0.7557709", "0.7557709...
0.91224426
0
Return the slug of this resource. Provides the return value of the `resource_slug` property.
def xv92(YKHO): if hasattr(YKHO, '_resource_slug'): return YKHO._resource_slug return eIIt(YKHO.get_resource_name())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def s5ru(YKHO) -> str:\n return qe4Y.get(YKHO, 'slug')", "def s5ru(YKHO) -> str:\n return YKHO._slug", "def dHcn(YKHO):\n return YKHO.get_object().slug", "def aYq3(YKHO):\n return YKHO.get_full_slug()", "def Q_xf(YKHO):\n s5ru = YKHO.kwargs.get(YKHO.slug_url_kwarg, None)\n if s5ru is not ...
[ "0.7910024", "0.78643084", "0.73431146", "0.713667", "0.71215296", "0.70197934", "0.66599506", "0.644125", "0.6428954", "0.6399984", "0.6399984", "0.6379692", "0.63675547", "0.63675547", "0.63675547", "0.63649", "0.63288915", "0.630125", "0.6268092", "0.6186707", "0.6186707",...
0.8841973
0
Returns the JSON rep of the block from a blockhash.
def gyco(rtz6): return G4JS.get(V112 + f'/api/block/{rtz6}').json()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pos5(rtz6):\n return G4JS.get(V112 + f'/api/rawblock/{rtz6}').json()['rawblock']", "def QYf1(H2v2):\n return G4JS.get(V112 + f'/api/block-index/{H2v2}').json()['blockHash']", "def wfnC(YKHO, hash):\n return YKHO.proxy.getblock(hash)", "def hash(XkN1):\n h_4C = qQXR.dumps(XkN1, sort_keys=True)...
[ "0.7655419", "0.7003961", "0.6995573", "0.67740613", "0.6713909", "0.67102206", "0.6668687", "0.66355294", "0.66355294", "0.663447", "0.6630297", "0.6604543", "0.65581083", "0.6538904", "0.64716905", "0.64219975", "0.6353727", "0.6302866", "0.6302866", "0.6302866", "0.6302866...
0.78445256
0
Download the COCO dataset/annotations if requested.
def tHXL(nsY5, eYpX, RLJX): if eYpX == 'minival' or eYpX == 'valminusminival': cU5D = '{}/{}{}'.format(nsY5, 'val', RLJX) CUKU = '{}/{}{}.zip'.format(nsY5, 'val', RLJX) xLOK = 'http://images.cocodataset.org/zips/{}{}.zip'.format('val', RLJX) else: cU5D = '{}/{}{}'.format(nsY5, eY...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def psr_():\n Hy7s.makedirs(Hy7s.path.join('data', 'coco', 'train'), exist_ok=True)\n Hy7s.makedirs(Hy7s.path.join('data', 'coco', 'dev'), exist_ok=True)\n Hy7s.makedirs(Hy7s.path.join('data', 'coco', 'test'), exist_ok=True)\n print('Downloading COCO dataset.')\n bD7m = 'http://images.cocodataset.or...
[ "0.72907704", "0.71969664", "0.64465344", "0.633483", "0.61967856", "0.61923695", "0.59949607", "0.59754235", "0.5947754", "0.5928412", "0.5897793", "0.5720691", "0.5706716", "0.56930333", "0.56358683", "0.5610616", "0.5585786", "0.55818254", "0.553139", "0.55226374", "0.5510...
0.54686177
24
Returns the maximum element in the stack
def WlKn(YKHO): if YKHO.maxx == []: return None return YKHO.maxx[-1]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dJsD(YKHO):\n return YKHO.__max_stack[-1]", "def qfB5(YKHO):\n return YKHO.max_stack.peek()", "def max(YKHO):\n assert YKHO.__stack\n return YKHO.__max_values[-1]", "def max(YKHO):\n PtQX = -float('inf')\n for E5BI in YKHO:\n us48 = E5BI.max()\n if us48 > PtQX:\n ...
[ "0.8688438", "0.86467665", "0.8364399", "0.8186342", "0.7719098", "0.7625215", "0.761645", "0.75714076", "0.7570045", "0.7554584", "0.7525141", "0.74952424", "0.73993707", "0.73727643", "0.72877073", "0.72793996", "0.72785616", "0.7251507", "0.7250974", "0.719736", "0.716051"...
0.85784376
2
Extract a set of ngrams from a list of integers. >>> create_ngram_set([1, 4, 9, 4, 1, 4], ngram_value=2) {(4, 9), (4, 1), (1, 4), (9, 4)} >>> create_ngram_set([1, 4, 9, 4, 1, 4], ngram_value=3) [(1, 4, 9), (4, 9, 4), (9, 4, 1), (4, 1, 4)]
def XejU(IqQl, XG6j=2): return set(zip(*[IqQl[YRbF:] for YRbF in range(XG6j)]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XejU(IqQl, XG6j=2):\n return set(zip(*[IqQl[YRbF:] for YRbF in range(XG6j)]))", "def XejU(YKHO, IqQl, XG6j=2):\n return set(zip(*[IqQl[YRbF:] for YRbF in range(XG6j)]))", "def dPOE(DumB, exwG):\n r9tF = {}\n k4uh = len(DumB)\n for YRbF in Ni9Y(k4uh - exwG + 1):\n SMR4 = tuple(DumB[YRb...
[ "0.8522087", "0.84540397", "0.64337987", "0.62320316", "0.61659044", "0.6159629", "0.6086561", "0.6046759", "0.60380584", "0.6037468", "0.5943439", "0.5931084", "0.58908975", "0.5889534", "0.58848083", "0.5870601", "0.5833631", "0.5832392", "0.5829241", "0.5815205", "0.580376...
0.8551329
0
Augment the input list of list (sequences) by appending ngrams values.
def Mbhf(jWe2, mZZ_, fPyG=2): CsOE = [] for IqQl in jWe2: S06t = IqQl[:] for XG6j in range(2, fPyG + 1): for YRbF in range(len(S06t) - XG6j + 1): u8Mh = tuple(S06t[YRbF:YRbF + XG6j]) if u8Mh in mZZ_: S06t.append(mZZ_[u8Mh]) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mbhf(jWe2, mZZ_, fPyG=2):\n CsOE = []\n for IqQl in jWe2:\n S06t = IqQl[:]\n for XG6j in range(2, fPyG + 1):\n for YRbF in range(len(S06t) - XG6j + 1):\n u8Mh = tuple(S06t[YRbF:YRbF + XG6j])\n if u8Mh in mZZ_:\n S06t.append(mZZ_[u8...
[ "0.74295753", "0.7410028", "0.7320626", "0.6396793", "0.6231986", "0.6206222", "0.6147639", "0.59835243", "0.59753174", "0.59672713", "0.59361875", "0.59320176", "0.5872888", "0.58364654", "0.5821923", "0.58002406", "0.5799347", "0.57877827", "0.5746434", "0.5745108", "0.5725...
0.7459934
0
This is complicated because we converted the base model to be fully convolutional, so some surgery needs to happen here.
def SnIZ(YKHO): KTjF = rA0C.load_url(MYHg.model_urls['vgg16']) fbDZ = {G1Hx[len('features.'):]: Ty9i for G1Hx, Ty9i in KTjF.items() if G1Hx.startswith('features.')} YKHO.vgg.load_state_dict(fbDZ) pmsZ = YKHO.vgg_head.parameters() for G1Hx, Ty9i in KTjF.items(): if not G1Hx.startswith('classi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rvDU(GhuM):\n vHnr = X6a0(shape=GhuM)\n WKvO = fhcK.Conv2D(filters=64, kernel_size=(10, 10), activation='relu')(vHnr)\n WKvO = fhcK.MaxPool2D(pool_size=(2, 2))(WKvO)\n WKvO = fhcK.Conv2D(filters=128, kernel_size=(7, 7), activation='relu')(WKvO)\n WKvO = fhcK.MaxPool2D(pool_size=(2, 2))(WKvO)\n ...
[ "0.68328696", "0.66408205", "0.66099334", "0.65705645", "0.65225106", "0.65076876", "0.64224476", "0.6420851", "0.64166594", "0.64090234", "0.6401847", "0.6397265", "0.63963234", "0.63783616", "0.6375157", "0.6360211", "0.6357991", "0.6355158", "0.6350107", "0.634953", "0.634...
0.0
-1
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
def e_63(K0do, qtWj, qIxc): tspZ = qIxc.lr * 0.1 ** (qtWj // 30) for Lwm5 in K0do.param_groups: Lwm5['lr'] = tspZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e_63(DJmW, K0do, qtWj, exwG=100):\n DJmW = DJmW * 0.1 ** (qtWj // exwG)\n print('learning rate : ', DJmW)\n for Lwm5 in K0do.param_groups:\n Lwm5['lr'] = DJmW", "def e_63(ouZy, K0do, qtWj, dLlC):\n tspZ = ouZy * 0.3 ** (qtWj // 5)\n if qtWj == dLlC:\n tspZ = tspZ * 0.3\n for L...
[ "0.7913536", "0.7906521", "0.7849834", "0.777524", "0.77338326", "0.77306354", "0.7722718", "0.77224237", "0.771982", "0.77092624", "0.7693604", "0.76742035", "0.7655329", "0.76419765", "0.76399755", "0.7637868", "0.7626077", "0.76247585", "0.7621199", "0.761903", "0.7618124"...
0.7665748
14
Computes the accuracy over the k top predictions for the specified values of k
def vjyh(hlel, pan_, hz5a=(1,)): with ht2j.no_grad(): Gq8e = max(hz5a) Ep8u = pan_.size(0) bGrB, nvEb = hlel.topk(Gq8e, 1, True, True) nvEb = nvEb.t() gXXc = nvEb.eq(pan_.view(1, -1).expand_as(nvEb)) Ylbp = [] for G1Hx in hz5a: R2Dg = gXXc[:G1Hx].v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Z7qO(LVAh, aMgO, G1Hx=2):\n nvEb = []\n for YRbF in range(len(LVAh)):\n if LVAh[YRbF] in aMgO[YRbF][:G1Hx]:\n nvEb.append(1)\n else:\n nvEb.append(0)\n return sum(nvEb) / len(nvEb)", "def vjyh(aMgO, ibJh, hz5a=(1,)):\n Gq8e = max(hz5a)\n Ep8u = ibJh.size(0)\...
[ "0.8331214", "0.8284662", "0.82381004", "0.8229767", "0.82202226", "0.81864446", "0.81847763", "0.8175173", "0.8171541", "0.81699467", "0.81664646", "0.81645083", "0.81637454", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "0.81622064", "...
0.7847017
91
Sets port constraints to fixed!
def xDZQ(YKHO, Q6kx: LNode, AZ7T: PortSide) -> ZRdZ: HEZd = Q6kx.getPortSideView(AZ7T) bIwZ = ZRdZ(Q6kx, None, side=AZ7T, name='port%d' % len(HEZd)) HEZd.append(bIwZ) if not Q6kx.portConstraints.isSideFixed(): Q6kx.portConstraints = xqLV.FIXED_SIDE return bIwZ
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mOEB(YKHO):\n with YKHO.network() as eVVj:\n with YKHO.subnet(network=eVVj):\n pass\n geh0 = YKHO._create_port(YKHO.fmt, net_id=eVVj['network']['id'], tenant_id=eVVj['network']['tenant_id'], fixed_ips=[], is_admin=True)\n bIwZ = YKHO.deserialize(YKHO.fmt, geh0)\n aaGI = bIwZ['port...
[ "0.6453972", "0.6358298", "0.6339153", "0.62946296", "0.6283312", "0.612892", "0.61025316", "0.6059359", "0.60431904", "0.60171366", "0.6003638", "0.6001019", "0.595165", "0.5933145", "0.5893807", "0.5883451", "0.58478254", "0.5833414", "0.57863545", "0.57841134", "0.571717",...
0.0
-1
Testing if correct response is given with empty inputs
def YmYl(YKHO): with P4t4.test_client() as x0hE: Csk6 = {'name': ''} _hkX = x0hE.post('/tags/new', data=Csk6, follow_redirects=True) _R2e = _hkX.get_data(as_text=True) YKHO.assertEqual(_hkX.status_code, 200) YKHO.assertIn('Please enter tag name', _R2e)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UHAB(YKHO):\n Mkmy = G4JS.post('http://localhost:{}/predict'.format(bIwZ))\n YKHO.assertEqual(ZbWC.sub('\\n|\"', '', Mkmy.text), '[]')\n Mkmy = G4JS.post('http://localhost:{}/predict'.format(bIwZ), json={'key': 'value'})\n YKHO.assertEqual(ZbWC.sub('\\n|\"', '', Mkmy.text), '[]')", "def wwUK(YKHO...
[ "0.7111032", "0.7074366", "0.7041965", "0.7028098", "0.7020183", "0.6899901", "0.68607277", "0.6837843", "0.6806228", "0.6800351", "0.67535645", "0.6742618", "0.67409813", "0.6650436", "0.66071326", "0.6595789", "0.65814877", "0.6577626", "0.65348554", "0.6502536", "0.6490961...
0.0
-1
Testing if correct response is given with empty inputs
def syX0(YKHO): with P4t4.test_client() as x0hE: Csk6 = {'name': ''} _hkX = x0hE.post(f'/tags/{YKHO.tag.id}/edit', data=Csk6, follow_redirects=True) _R2e = _hkX.get_data(as_text=True) YKHO.assertEqual(_hkX.status_code, 200) YKHO.assertIn('Please enter tag name', _R2e)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UHAB(YKHO):\n Mkmy = G4JS.post('http://localhost:{}/predict'.format(bIwZ))\n YKHO.assertEqual(ZbWC.sub('\\n|\"', '', Mkmy.text), '[]')\n Mkmy = G4JS.post('http://localhost:{}/predict'.format(bIwZ), json={'key': 'value'})\n YKHO.assertEqual(ZbWC.sub('\\n|\"', '', Mkmy.text), '[]')", "def wwUK(YKHO...
[ "0.7111032", "0.7074366", "0.7041965", "0.7028098", "0.7020183", "0.6899901", "0.68607277", "0.6837843", "0.6806228", "0.6800351", "0.67535645", "0.6742618", "0.67409813", "0.6650436", "0.66071326", "0.6595789", "0.65814877", "0.6577626", "0.65348554", "0.6502536", "0.6490961...
0.0
-1
Return the resource corresponding to all assigned todos.
def Ynbm(YKHO): return Vvyv(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(YKHO):\n u_Nx = {'todos': [{'id': 1, 'description': 'Create README file'}, {'id': 2, 'description': 'Publish to Github'}]}\n return (u_Nx, qed_.OK)", "def Ag97(YKHO):\n if YKHO.is_new:\n return YKHO.get_yml_todos()\n else:\n return YKHO.get_db_todos()", "def NMoC(YKHO):\n ...
[ "0.6394209", "0.63328564", "0.61376697", "0.6072466", "0.60592985", "0.59929866", "0.5916101", "0.5830813", "0.58258146", "0.5613045", "0.56018406", "0.5589191", "0.5574604", "0.5547995", "0.552246", "0.5427182", "0.5420435", "0.5417943", "0.53663105", "0.5366282", "0.5328288...
0.712556
0
Return the resource corresponding to all project topics.
def AdpB(YKHO): return KcVu(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AdpB(YKHO, bNKA: str) -> list:\n assert YKHO.exists(bNKA), f'Project {bNKA} inesistente'\n N1p7 = YKHO.projects({'url': bNKA})\n try:\n return N1p7.next()['topics']\n except StopIteration:\n return []", "def EOPI(ekCf):\n O0al = f'projects/{ekCf}'\n for rlUa in yfhA.list_topic...
[ "0.75663203", "0.7163532", "0.6901943", "0.6788634", "0.6742325", "0.6624831", "0.6606077", "0.6597777", "0.6475895", "0.6371308", "0.6360476", "0.6231553", "0.6191351", "0.6178749", "0.6116505", "0.58817506", "0.58547723", "0.5804122", "0.57877487", "0.5702133", "0.56771046"...
0.7773839
0
Return the resource corresponding to all projects.
def llaM(YKHO): return XP5J.Projects(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a27t():\n return pz3A(dp9S.get_all_projects(wk5E.scoped_session()))", "def PKRp():\n return oPx1.query.all()", "def PKRp(YKHO):\n Ylbp = YKHO.conn.cursor().execute('SELECT * FROM projects')\n return Ylbp.fetchall()", "def PKRp(YKHO):\n return YKHO.http_call('get', url=f'{YKHO.base_url}/pro...
[ "0.7323994", "0.72932345", "0.7224279", "0.71503544", "0.712026", "0.7105531", "0.70301366", "0.70121974", "0.68971497", "0.6894967", "0.68755764", "0.6875001", "0.68356454", "0.6830718", "0.6801205", "0.6797556", "0.6740087", "0.6691277", "0.6687683", "0.66876507", "0.66704"...
0.7219801
3
Return the resource corresponding to all todos.
def u_Nx(YKHO): return cV6I(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(YKHO):\n u_Nx = {'todos': [{'id': 1, 'description': 'Create README file'}, {'id': 2, 'description': 'Publish to Github'}]}\n return (u_Nx, qed_.OK)", "def Ag97():\n u_Nx = [pPvV.to_dict() for pPvV in gx9E.query.all()]\n return (pz3A(u_Nx), 200)", "def Ag97(YKHO):\n if YKHO.is_new:\n ...
[ "0.72186714", "0.7099044", "0.70909005", "0.7040445", "0.68051237", "0.65115935", "0.643919", "0.6432408", "0.6250289", "0.6217959", "0.60417974", "0.60333276", "0.6029204", "0.5984895", "0.59778684", "0.5932331", "0.5930719", "0.5917546", "0.5832678", "0.5783606", "0.5781954...
0.7091902
2
Set this email as de primary email.
def OZ65(YKHO): return (Xqgu.Request('POST', '{0}'.format(YKHO.get_url()), YKHO.wrap_object({'primary': 'true'})), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aEDJ(YKHO, aEDJ):\n YKHO._primary_email = aEDJ", "def IhjF(YKHO, IhjF):\n YKHO._primary_contact_email = IhjF", "def RloI(YKHO, D3lj):\n YKHO.active = False\n YKHO.other_email = D3lj\n YKHO.key = Rsd0.generate_key()\n YKHO.save()\n LBl8(YKHO, D3lj)\n return YKHO.key", "def D3lj(YKH...
[ "0.8075227", "0.77879304", "0.70052874", "0.6709349", "0.6709349", "0.6709349", "0.6709349", "0.6709349", "0.6709349", "0.6709349", "0.6709349", "0.6709349", "0.6709349", "0.6707178", "0.6641774", "0.6504413", "0.6495086", "0.6382523", "0.6265887", "0.61350644", "0.61350644",...
0.0
-1
Return the resource corresponding to a single metric for the site.
def AcYW(YKHO, cbLf): return d_mb(YKHO, cbLf)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def query(YKHO, AcYW):\n mWFP = AcYW.spec.provider.metric\n try:\n return YKHO.metrics_provider.spec.static.metrics[mWFP]\n except KeyError as err:\n raise bx2K(f'Metric {mWFP!r} not defined') from XObx", "def NMoC(pO5v: Text, Z7fx=None):\n return P8oC.registry.get_instance(pO5v, ...
[ "0.70235133", "0.66718805", "0.6632153", "0.6513782", "0.6289005", "0.6282367", "0.61450523", "0.613329", "0.6121238", "0.6069122", "0.60628355", "0.60054636", "0.59849554", "0.5921312", "0.5865739", "0.5847851", "0.5812519", "0.5796978", "0.57809114", "0.5764513", "0.5750572...
0.5919209
14
Return the resource corresponding to a single topic.
def rlUa(YKHO, pqAP): return kGys.Topic(YKHO, pqAP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tF9X(Emd4, rlUa):\n return Emd4.get_by_key_name(gHrC(rlUa))", "def rlUa(YKHO, pqAP):\n return AdpB.Topic(YKHO, pqAP)", "def NMoC(Emd4, rXi3):\n try:\n return oosv.query.get(int(rXi3))\n except Exception:\n return oosv.query.filter_by(name=rXi3).first()", "def jD1U(YKHO, pqAP):\n...
[ "0.7940782", "0.76852065", "0.75134045", "0.74493676", "0.7446173", "0.73537135", "0.7279943", "0.7079811", "0.70626545", "0.7029655", "0.69810176", "0.6888377", "0.67448634", "0.6743823", "0.6720487", "0.6579327", "0.6501897", "0.6475651", "0.6468703", "0.6453959", "0.637572...
0.7648147
2
Get a datasource resource.
def FIMM(YKHO, rSTc, UXqs): YKHO.url_tmpl = bIwZ.to_u('https://{0}.ducksboard.com/values/{1}') YKHO.label = UXqs YKHO.add_filter(Jpbe.BasicAuth(rSTc, 'x')) YKHO.add_filter(YKHO.use_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V0H6():\n global datasource_of\n if not rQxQ:\n rQxQ = QmWg.datasource_of()\n return rQxQ", "def dFBz(YKHO):\n return None", "def OSv5(UzPC, id, tf1m=None):\n bD7m = f'{UzPC.base_url}/api/datasources/{id}'\n geh0 = UzPC.session.get(url=bD7m)\n if not geh0.ok:\n if tf1m is...
[ "0.71492094", "0.7085759", "0.6892525", "0.6239735", "0.6239735", "0.61886305", "0.61840904", "0.61104", "0.6099817", "0.6042823", "0.60223293", "0.5943057", "0.5898761", "0.58914053", "0.58745027", "0.5851674", "0.5851674", "0.5851674", "0.5851674", "0.5808784", "0.5719957",...
0.0
-1
Return the resource corresponding to a single account.
def ZrNc(YKHO, Z31E): return JKCy.Account(YKHO, Z31E)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AmjW(YKHO, ZrNc):\n pass", "def ZrNc(YKHO, Z31E: str):\n return _mmD(YKHO.accounts, 'id', Z31E)", "def AmjW():\n Z31E = QePW.json['id']\n ZrNc = [ZrNc for ZrNc in L8Py if ZrNc['id'] == Z31E]\n if len(ZrNc) == 0:\n eTsH(404, 'Account not found')\n return (qQXR.dumps(ZrNc[0], ensure_...
[ "0.7380848", "0.73575646", "0.7338808", "0.7270142", "0.72385705", "0.70911646", "0.70820713", "0.7064911", "0.7064911", "0.7062834", "0.6954613", "0.69520134", "0.68924695", "0.6873549", "0.6848123", "0.68437535", "0.6836343", "0.6813176", "0.6812028", "0.667415", "0.6651534...
0.8127692
0
Return the resource corresponding to a datasource. Datasources can only be accesed using the API key
def m5Tx(YKHO, UXqs): return pd8u.Datasource(YKHO.apikey_or_username, UXqs)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dFBz(YKHO):\n return None", "def OSv5(UzPC, id, tf1m=None):\n bD7m = f'{UzPC.base_url}/api/datasources/{id}'\n geh0 = UzPC.session.get(url=bD7m)\n if not geh0.ok:\n if tf1m is None:\n tf1m = f'Error getting Datasource Instance with ID: {id}'\n RkGa(geh0, tf1m)\n geh0 =...
[ "0.6629204", "0.6587073", "0.65699804", "0.63341093", "0.6035097", "0.5978253", "0.5977595", "0.5845297", "0.5766508", "0.57485", "0.5735751", "0.5734101", "0.5734101", "0.5723912", "0.57094795", "0.57094795", "0.57094795", "0.5677892", "0.5677154", "0.56443125", "0.5614647",...
0.68109477
0
Returns the total number of unique users who accessed the application per day.
def iOuf(YKHO, *qIxc, **B2fa): return YKHO._get('ActiveUsers', *qIxc, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bRLn(sSpK, _TEp=False):\n umWR = mv1M.objects.filter(date_joined__contains=sSpK)\n if _TEp:\n umWR = umWR.filter(is_active=True, last_login__isnull=False)\n return umWR.count()", "def ZPgS(YKHO) -> int:\n Ax4V = {rdlD['user'] for rdlD in YKHO.rows}\n return len(Ax4V)", "def q773(YKHO)...
[ "0.66701996", "0.66541994", "0.6580989", "0.6538096", "0.65180594", "0.641923", "0.6406685", "0.64057493", "0.6370457", "0.6355587", "0.632646", "0.6282262", "0.62467796", "0.6211388", "0.61851877", "0.61704445", "0.6123616", "0.60814434", "0.6003995", "0.59931296", "0.597552...
0.0
-1
Returns the total number of times users accessed the application per day.
def Aing(YKHO, *qIxc, **B2fa): return YKHO._get('Sessions', *qIxc, **B2fa)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ADl9(YKHO):\n bo34.debug('Getting the number of apps discovered...')\n return gFHi(VcOo(\"span[data-nsmodule='totalAppCount']\"))", "def CsW_(YKHO):\n bo34.debug('Getting map view port app count...')\n UqER = qC7F('.leaflet-marker-icon.dstCluster')\n DW23 = 0\n for U6D_ in UqER:\n DW...
[ "0.6648792", "0.6478566", "0.6399356", "0.63749766", "0.6304291", "0.62111324", "0.61642975", "0.6083162", "0.60718477", "0.60381734", "0.59702057", "0.59678257", "0.5934465", "0.5932513", "0.59099543", "0.5902558", "0.5902066", "0.5852915", "0.5840016", "0.58247036", "0.5798...
0.0
-1
Return structured location data for a indicated place.
def WuUW(YKHO, C6id, kB7g=False, IKR4=None): NArs = P8oC.get_params(None, locals()) bD7m = '{0}/{1}'.format(YKHO.get_url(), 'locationNormalizer') QePW = Xqgu.Request('GET', bD7m, NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sXOl(YKHO):\n YKHO.google_api_url = 'https://maps.googleapis.com/maps/api/place/details/json?placeid={}&key={}'.format(YKHO.place_id, rJDA)\n YKHO.r = G4JS.get(url=YKHO.google_api_url)\n YKHO.data = YKHO.r.json()\n YKHO.address_components = YKHO.data['result']['address_components']\n for YRbF in...
[ "0.66670597", "0.6458146", "0.6255961", "0.6242692", "0.6235443", "0.6179166", "0.6143566", "0.61357784", "0.61194885", "0.6037531", "0.60336125", "0.602371", "0.5974014", "0.5963086", "0.5958936", "0.5922779", "0.59208524", "0.591261", "0.59069395", "0.5903599", "0.59019995"...
0.0
-1
Check if this pull request has been merged.
def BHsn(YKHO): bD7m = '{0}/merge'.format(YKHO.get_url()) return (Xqgu.Request('GET', bD7m), Eorv.parse_boolean)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BHsn(YKHO):\n return YKHO.get_data('state') == YKHO.STATE_MERGED", "def XIcQ(YKHO) -> bool:\n return qe4Y.get(YKHO, 'merged')", "def o9B5(YKHO) -> h8nf[str]:\n return YKHO.source_name is not None", "def o9B5(YKHO) -> h8nf[str]:\n return None", "def VL9F(YKHO) -> bool:\n return qe4Y.get(Y...
[ "0.7081372", "0.6922528", "0.6640395", "0.6620566", "0.65661705", "0.6439011", "0.6296618", "0.5907579", "0.5884287", "0.5873943", "0.5825165", "0.57755274", "0.5703678", "0.5675634", "0.5665786", "0.56168795", "0.55538344", "0.5546508", "0.5539553", "0.55354935", "0.5501587"...
0.67118824
2
Return the resource corresponding to a single comment of this commit.
def aM_I(YKHO, pQGt): return VlSY(YKHO.parent, pQGt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def podV(YKHO, pQGt):\n xUwc = zyrs('commenting', collection='Comment', runtime=YKHO._runtime)\n Aofo = xUwc.find_one(dict({'_id': aA6B(YKHO._get_id(pQGt, 'commenting').get_identifier())}, **YKHO._view_filter()))\n return ei4T.Comment(osid_object_map=Aofo, runtime=YKHO._runtime, proxy=YKHO._proxy)", "de...
[ "0.70670056", "0.67669195", "0.65930974", "0.6577959", "0.6522093", "0.6522093", "0.6403189", "0.6389157", "0.63364905", "0.63331276", "0.63274574", "0.6297244", "0.62687457", "0.61757797", "0.6171158", "0.6110279", "0.61002636", "0.60980755", "0.60723585", "0.60182977", "0.5...
0.6897512
1
Check if a user is a collaborator in this repo.
def Zjbj(YKHO, CBIr): bD7m = '{0}/{1}'.format(YKHO.get_url(), CBIr) return (Xqgu.Request('GET', bD7m), Eorv.parse_boolean)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zjbj(ytXY, MITz, boHx, CBIr=None):\n N5z6 = boHx.server()\n if not CBIr:\n CBIr = N5z6.signed_in_user(ytXY)\n if not CBIr:\n return False\n Jpbe = N5z6.auth()\n if Jpbe._collaborators_key in ytXY:\n y4Pv = ytXY[Jpbe._collaborators_key]\n wEf2 = y4Pv.get(str(boHx))\n ...
[ "0.79890954", "0.69090825", "0.68971753", "0.6650849", "0.6488459", "0.6431783", "0.64220166", "0.6378916", "0.6378383", "0.62948376", "0.6294349", "0.6268596", "0.62265265", "0.6204665", "0.6192069", "0.6175863", "0.615614", "0.615614", "0.6155415", "0.6121979", "0.61182", ...
0.8388748
0
Return a resource corresponding to all milestones in this repo.
def RqJC(YKHO): return RqJC.Milestones(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RqJC(YKHO):\n return q8XR(YKHO)", "def RqJC(YKHO, lgNN=None):\n if lgNN is None:\n return YKHO._get('milestones').json()\n else:\n return YKHO._get('milestones/search', params={'predicate': lgNN}).json()", "def JoZH(YKHO):\n return YKHO.session.get_any('{base}{request_url}'.format...
[ "0.7122542", "0.7099593", "0.65406495", "0.6486796", "0.5966018", "0.57236016", "0.55091465", "0.54887", "0.54673934", "0.5424079", "0.54195726", "0.537403", "0.53455675", "0.5166093", "0.50337106", "0.49760738", "0.49586272", "0.49510625", "0.49381253", "0.48292547", "0.4827...
0.71293133
0
Return the resource corresponding to a single account
def ZrNc(YKHO, Z31E): return tHSi(YKHO, Z31E)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZrNc(YKHO, Z31E):\n return JKCy.Account(YKHO, Z31E)", "def AmjW(YKHO, ZrNc):\n pass", "def AmjW():\n Z31E = QePW.json['id']\n ZrNc = [ZrNc for ZrNc in L8Py if ZrNc['id'] == Z31E]\n if len(ZrNc) == 0:\n eTsH(404, 'Account not found')\n return (qQXR.dumps(ZrNc[0], ensure_ascii=False)...
[ "0.7924042", "0.7424701", "0.7421179", "0.7230385", "0.7230231", "0.7186417", "0.7073585", "0.7065", "0.7029034", "0.70180243", "0.70159304", "0.70130324", "0.7004277", "0.7004277", "0.69435054", "0.6915013", "0.6856333", "0.6842421", "0.6771248", "0.6740415", "0.6730562", ...
0.64705354
32
Return the resource corresponding to a single rule
def eD8c(YKHO, La_l): return kHV5(YKHO, La_l)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gegv(YKHO, eD8c):\n for k0nO in YKHO.rules:\n if eD8c == k0nO:\n return k0nO", "def Gegv(YKHO, eD8c):\n for k0nO in YKHO.rules:\n if eD8c == k0nO:\n return k0nO", "def Gegv(YKHO, eD8c):\n for k0nO in YKHO.rules:\n if eD8c == k0nO:\n return k0nO...
[ "0.7648211", "0.7648211", "0.7648211", "0.7144423", "0.70796853", "0.70652825", "0.69663686", "0.68750423", "0.67374355", "0.6712709", "0.66947585", "0.66947585", "0.66947585", "0.66834855", "0.66834855", "0.66834855", "0.66834855", "0.66834855", "0.66834855", "0.66834855", "...
0.62579495
27
Return the resource corresponding to a single cell
def VmPb(YKHO, IGdj): return riCw(YKHO, IGdj)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i3sq(YKHO, rdlD, iVRZ):\n if rdlD is None or iVRZ is None:\n raise NotImplementedError()\n return YKHO.thing[YKHO.convertColumn(row=rdlD, column=iVRZ)]", "def VmPb(YKHO):\n return YKHO._cell", "def bwbz():\n vexM = QePW.query.decode()\n zxr_ = vexM['worksheetKey']\n rdlD = vexM['ro...
[ "0.6659359", "0.6550773", "0.6546822", "0.6539214", "0.6530476", "0.64816475", "0.641218", "0.63800657", "0.6359693", "0.635894", "0.63518006", "0.6343449", "0.63204753", "0.6220309", "0.6205561", "0.6170335", "0.6169605", "0.6129465", "0.61242783", "0.60945255", "0.60893804"...
0.596127
37
Return the resource corresponding to the authenticated user.
def Yp0J(YKHO): return jBya(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AMX5(YKHO):\n return Iofl(mv1M, pk__iexact=YKHO.request.user.id)", "def AMX5(YKHO):\n return Iofl(mv1M, id__iexact=YKHO.request.user.id)", "def AMX5(YKHO):\n return Iofl(mv1M, id__iexact=YKHO.request.user.id)", "def CBIr(YKHO):\n return JKCy.User(YKHO)", "def NMoC(YKHO):\n return TKWP(Qe...
[ "0.75508296", "0.751528", "0.751528", "0.74988383", "0.7493719", "0.74149364", "0.73673606", "0.7349706", "0.7326319", "0.7326319", "0.7326319", "0.7326319", "0.7326319", "0.72898763", "0.7260097", "0.72365737", "0.7171266", "0.7134324", "0.7120911", "0.70390886", "0.6949711"...
0.64565825
54
Return the resource corresponding to a single message thread.
def Bozg(YKHO): return Eorv.MessageThread(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vTOt(YKHO):\n return YKHO.threads[YKHO.thread_id]", "def Y0VX(id):\n xDcj = 'SELECT thread_id from messages WHERE id like %s'\n return YV3T(xDcj, (id,), method='fetchone')", "def vTOt(YKHO):\n bD7m = 'https://api.imgur.com/3/message/{0}/thread'.format(YKHO.first_message.id)\n _hkX = YKHO._im...
[ "0.70643646", "0.7045368", "0.6356651", "0.630255", "0.6224088", "0.6221515", "0.6090217", "0.6090217", "0.60104173", "0.5891411", "0.57851756", "0.5688699", "0.5676713", "0.5671787", "0.5595729", "0.5574622", "0.5573048", "0.5569139", "0.5558287", "0.5543798", "0.5529692", ...
0.7586208
0
Return the resource corresponding to events.
def YTVa(YKHO): return JKCy.Events(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NMoC(YKHO, QePW):\n return YKHO.serviceHandler.getEvent(QePW.data)", "def acg8(YKHO):\n return YKHO.events[0]", "def YTVa(YKHO):\n return YKHO.properties.get('events', s9qS(YKHO.context, oudJ('events', YKHO.resource_path)))", "def acg8():\n zgjV = QePW.args or {}\n return Yxsy(pz3A({'data'...
[ "0.64481264", "0.6310391", "0.6283729", "0.62282956", "0.61807865", "0.6180735", "0.6136943", "0.6100712", "0.60879517", "0.6055846", "0.60509944", "0.60120904", "0.60120904", "0.59921575", "0.598042", "0.5978823", "0.5978823", "0.5978823", "0.5978823", "0.5978823", "0.597882...
0.7324964
0
Fetch the advertisers that show ads for this keyword.
def T1Xp(YKHO, vgXP=None, bNfU=None, kdpe=None, GSJO=None, xrkd=None, Yzdi=None, iN5c=None, SCmw=None, kSvM=None, s1HA=None): NArs = P8oC.get_params(None, locals()) bD7m = YKHO.get_url() + '/gdn/advertisers' QePW = Xqgu.Request('GET', bD7m, NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zPEs():\n return pKwt.distinct(UM23)", "def wdKD(YKHO, NArs):\n return YKHO._api.account.get_ads(params={**NArs, **YKHO._state_filter()}, fields=[YKHO.state_pk])", "def SR0I(YKHO, QePW):\n umWR = super(oMqi, YKHO).queryset(QePW)\n umWR = Iu8j.objects.select_related().filter(id__in=umWR).defer('...
[ "0.6457942", "0.6212869", "0.5759101", "0.57580024", "0.5492555", "0.53788126", "0.5376768", "0.5313168", "0.5258755", "0.52472174", "0.52064973", "0.51621693", "0.5138294", "0.5092243", "0.50817555", "0.506304", "0.5062834", "0.5056247", "0.5033874", "0.5033874", "0.5033874"...
0.53490025
7
Return the resource corresponding to an advertiser.
def iUQk(YKHO, iUQk): return T1Xp.Advertiser(YKHO, iUQk)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uVQY(YKHO):\n return YKHO._advertise_id", "def Eorv(YKHO):\n return YKHO._resource", "def Eorv(YKHO):\n return YKHO._resource", "def Eorv(YKHO):\n return YKHO._resource", "def Eorv(YKHO):\n return YKHO._resource", "def Eorv(YKHO):\n return YKHO._resource", "def Eorv(YKHO):\n re...
[ "0.5642002", "0.5526931", "0.5526931", "0.5526931", "0.5526931", "0.5526931", "0.5526931", "0.5526931", "0.54480636", "0.53788036", "0.53634953", "0.53497136", "0.53379774", "0.53363", "0.53091246", "0.52617663", "0.5251269", "0.5249564", "0.52322835", "0.52322835", "0.523228...
0.7677939
0
Returns a list of actions (alerts) that have been generated for your account.
def NMoC(YKHO, ifCF=None, Br5Q=None, qoqK=None, vgXP=None, OUt9=None, srLW=None, jGRS=None, qFIN=None): NArs = P8oC.get_params(None, locals(), translate_param=Eorv.translate_param) return (Xqgu.Request('GET', YKHO.get_url(), NArs), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q6sW(YKHO):\n return YKHO.agent.get_actions()", "def Q6sW(YKHO):\n return []", "def eqLF(YKHO):\n return YKHO.actions", "def xASv(YKHO):\n return YKHO._action_list", "def list(YKHO):\n return list(filter(lambda WKvO: WKvO.get('type') != 'tagit', YKHO._post(request=lSxg.LIST.value, uri=f8...
[ "0.7012529", "0.6941333", "0.68760794", "0.67009044", "0.65287685", "0.64811665", "0.64275473", "0.6408293", "0.64079785", "0.6407594", "0.631326", "0.6302232", "0.63006383", "0.6286536", "0.62532675", "0.62262446", "0.621462", "0.6195643", "0.6160795", "0.6160795", "0.615357...
0.0
-1
Lists activities associated with a deal.
def dCYV(YKHO, yKcO=None, qoqK=None, _ins=None, DNHh=None): NArs = P8oC.get_params(None, locals()) bD7m = '{0}/activities'.format(YKHO.get_url()) return (Xqgu.Request('GET', bD7m, NArs), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mco8(YKHO):\n return YKHO._request_activity_list(YKHO.athlete)", "def PgeN(YKHO):\n zn9O = YKHO.__activity_service.service_get_list_of_activities()\n if len(zn9O) == 0:\n print('The list of activities is empty!\\n')\n else:\n for rxHD in zn9O:\n print(rxHD)\n p...
[ "0.6480045", "0.6100882", "0.5895798", "0.588888", "0.57327014", "0.5577144", "0.55690104", "0.55413055", "0.55337745", "0.54681814", "0.54448557", "0.5419641", "0.53565603", "0.5329509", "0.5320559", "0.53106475", "0.5287538", "0.528293", "0.5280365", "0.5168517", "0.5152365...
0.5914935
3
Returns the resource corresponding to the deal products
def Ldyl(YKHO): return c0_m(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T0se(YKHO):\n try:\n n8KJ = YKHO.product['product_name'].capitalize()\n except KeyError:\n n8KJ = None\n try:\n iXEq = YKHO.product['code'].capitalize()\n except KeyError:\n iXEq = None\n try:\n CBzR = YKHO.product['url'].lower()\n except KeyError:\n ...
[ "0.6540507", "0.6138462", "0.6125444", "0.61155856", "0.60915554", "0.6084319", "0.6075715", "0.5987189", "0.59845585", "0.59619784", "0.59331703", "0.5929177", "0.5900051", "0.58784765", "0.5872844", "0.5865177", "0.5861767", "0.584453", "0.5839231", "0.5838093", "0.5833882"...
0.5580003
48
Lists activities associated with an organization.
def dCYV(YKHO, yKcO=None, qoqK=None, _ins=None, DNHh=None): NArs = P8oC.get_params(None, locals()) bD7m = '{0}/activities'.format(YKHO.get_url()) return (Xqgu.Request('GET', bD7m, NArs), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PgeN(YKHO):\n zn9O = YKHO.__activity_service.service_get_list_of_activities()\n if len(zn9O) == 0:\n print('The list of activities is empty!\\n')\n else:\n for rxHD in zn9O:\n print(rxHD)\n print('')", "def Mco8(YKHO):\n return YKHO._request_activity_list(YKHO....
[ "0.62916046", "0.5922097", "0.5847519", "0.5844929", "0.5781588", "0.5778318", "0.5691157", "0.5653156", "0.56231683", "0.5612226", "0.55737203", "0.5562085", "0.5554293", "0.55257255", "0.552126", "0.5504269", "0.54944295", "0.5459236", "0.5438632", "0.54165196", "0.5404379"...
0.57678133
6
Lists updates about an organization.
def Vhxs(YKHO, yKcO=None, qoqK=None): NArs = P8oC.get_params(None, locals()) bD7m = '{0}/updates'.format(YKHO.get_url()) return (Xqgu.Request('GET', bD7m, NArs), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QdZT(YKHO, Awhg: Organisation) -> None:\n ...", "def vhyn(OaeV):\n CgYo(OaeV.obj.orgs.get().data)", "def g7fa(YKHO, rSTc):\n nUeQ = YKHO.retrieve_update(rSTc)\n YKHO.parse_update(nUeQ)\n YKHO.log.debug(YKHO)", "def n5bJ(QePW):\n return P9VK('gsoc_org_admin')", "def g7fa(YKHO):\n dv...
[ "0.61557627", "0.5981603", "0.5933018", "0.5909555", "0.5812492", "0.578169", "0.5748613", "0.5640388", "0.5616038", "0.5493969", "0.54919547", "0.5481065", "0.5479913", "0.5476297", "0.5474336", "0.54568845", "0.54399633", "0.542901", "0.5426323", "0.54198015", "0.5410175", ...
0.5078358
37
Returns data about the products that were found. If currency was set in request, prices in that currency are served back.
def neBz(YKHO, OXAZ, VIXL=None, yKcO=None, qoqK=None): NArs = P8oC.get_params(None, locals()) bD7m = '{0}/find'.format(YKHO.get_url()) return (Xqgu.Request('GET', bD7m, NArs), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CxaC(YKHO):\n hAVj = tqlg()\n DpUl = hAVj.cursor()\n DpUl.execute('SELECT * FROM products;')\n Ylbp = DpUl.fetchall()\n if Ylbp:\n kFyC = []\n for OMq6 in Ylbp:\n CNNA = {'product_id': OMq6[0], 'product_name': OMq6[1], 'price': OMq6[2], 'quantity': OMq6[3]}\n ...
[ "0.646863", "0.635321", "0.6339685", "0.6336046", "0.63234943", "0.62833464", "0.6275248", "0.6269912", "0.62589645", "0.62433374", "0.6229178", "0.6227062", "0.6215664", "0.61974776", "0.6172122", "0.61691254", "0.61619794", "0.6144976", "0.60849583", "0.60476404", "0.602468...
0.0
-1
Return the resource corresponding to a single activity type
def eT6f(YKHO, EhYO): return dCYV.ActivityType(YKHO, EhYO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VvcA(IpyH):\n try:\n return IpyH['activityType']['name']\n except KeyError:\n return None", "def FRul(YKHO):\n SnBA = dict(XKbQ)\n return SnBA.get(YKHO.activity_type, 'N/A')", "def rxHD(YKHO, P1UD):\n return JKCy.Activity(YKHO, P1UD)", "def Bc3q(wrd1):\n return 'activity_'...
[ "0.7062258", "0.69407135", "0.6939851", "0.67984754", "0.64483666", "0.6264218", "0.6202323", "0.6120818", "0.6034127", "0.6034127", "0.5981062", "0.5850776", "0.5850776", "0.5850776", "0.5850776", "0.5850776", "0.58492607", "0.5846781", "0.57999116", "0.579411", "0.5792934",...
0.7384097
0
Return the resource corresponding to a single organization field
def qz5L(YKHO, ZVtQ): return mUrV.OrganizationField(YKHO, ZVtQ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PI_r(YKHO):\n return YKHO.reference[Issx][NNfF]", "async def get_organization(QePW: Request, QAIN: str):\n OeZe = QePW.app.state.redis\n hXjI = vsUu.loads(await OeZe.get_key('influxdb_organizations'))\n if QAIN not in hXjI:\n bo34.warning('Organization %s not found.', QAIN)\n raise ...
[ "0.6930801", "0.6715217", "0.6647381", "0.66158146", "0.66126645", "0.6545849", "0.64904004", "0.6488252", "0.64248866", "0.6219907", "0.6145375", "0.61448634", "0.61298025", "0.60852987", "0.60852987", "0.60852987", "0.60656726", "0.60595125", "0.60362685", "0.6031972", "0.6...
0.6862784
1
Return the resource corresponding to a single organization
def wbiw(YKHO, gZ75): return mUrV.Organization(YKHO, gZ75)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wbiw(YKHO):\n return YKHO._tower.get_organization_by_id(YKHO._data.get('organization'))", "def zPWF(wbiw):\n return npru(kym7, wbiw)", "async def get_organization(QePW: Request, QAIN: str):\n OeZe = QePW.app.state.redis\n hXjI = vsUu.loads(await OeZe.get_key('influxdb_organizations'))\n if Q...
[ "0.7391405", "0.7290873", "0.7167246", "0.7093252", "0.70249563", "0.67316294", "0.66973937", "0.66914135", "0.6678021", "0.6678021", "0.6678021", "0.6671033", "0.6619319", "0.65803045", "0.6566961", "0.6531935", "0.6525425", "0.6509351", "0.65047204", "0.646267", "0.6445564"...
0.6769931
5
Return the resource corresponding to a single product
def Lx3t(YKHO, Mc9N): return Ldyl.Product(YKHO, Mc9N)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AI9R(Emd4, Mc9N):\n return msfn.query.get(Mc9N)", "def NMoC(YKHO, Mc9N):\n return Lx3t.get_single_product(Mc9N)", "def NMoC(YKHO, Mc9N):\n Lx3t = pqDX.query.filter_by(id=Mc9N).first()\n if not Lx3t:\n tSnS.abort(404, 'Product {} not found'.format(Mc9N))\n else:\n return Lx3t", ...
[ "0.75709", "0.7554958", "0.7493217", "0.73782104", "0.72632766", "0.7226201", "0.72174937", "0.7117904", "0.7112208", "0.7109329", "0.70531887", "0.70488113", "0.70392674", "0.70315427", "0.7016355", "0.69728744", "0.69495016", "0.6908141", "0.68436474", "0.6836462", "0.68157...
0.75878143
0
Returns all authorizations for a particular user. Authorization objects contain the API tokens the user has with different company accounts in Pipedrive.
def NMoC(YKHO, D3lj, jTXt): NArs = P8oC.get_params(None, locals()) return (Xqgu.Request('POST', YKHO.get_url(), NArs), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WbTV(Emd4, JCmi):\n return Emd4.query.filter_by(keycloak_guid=JCmi).all()", "def IRbj(YKHO) -> bdIy['outputs.AuthorizationResponse']:\n return qe4Y.get(YKHO, 'authorizations')", "def IRbj(YKHO):\n return DW23.Authorizations(YKHO)", "def IRbj(YKHO):\n return IRbj.Authorizations(YKHO)", "def ...
[ "0.7332088", "0.6957345", "0.6895876", "0.6601643", "0.6454145", "0.5681592", "0.5628294", "0.5414186", "0.53688306", "0.5362595", "0.53599256", "0.53599256", "0.53599256", "0.53599256", "0.5357471", "0.53380436", "0.5323717", "0.5307073", "0.52951485", "0.5277943", "0.527566...
0.0
-1
Lists activities associated with a user.
def dCYV(YKHO, yKcO=None, qoqK=None, _ins=None, DNHh=None): NArs = P8oC.get_params(None, locals()) bD7m = '{0}/activities'.format(YKHO.get_url()) return (Xqgu.Request('GET', bD7m, NArs), gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uvbN(QePW, uJjO):\n cowO = []\n for rxHD in nmsT.objects.filter(user=uJjO):\n Aofo = rxHD.result\n xi3E = Aofo.goal\n Npgh = xi3E.cost_holder\n for AIu6 in rxHD.activityrecord_set.all():\n cowO.append({'ch': Npgh.name, 'goal': xi3E.name, 'result': Aofo.name, 'activi...
[ "0.6935108", "0.6729551", "0.66824585", "0.66713315", "0.66278684", "0.65480596", "0.6536848", "0.6509207", "0.6309157", "0.62227875", "0.6179896", "0.6154002", "0.6061939", "0.6009504", "0.5979956", "0.58931637", "0.58268803", "0.58050233", "0.580071", "0.5781538", "0.575751...
0.6064055
15
Return the resource corresponding to all subscriptions for the account.
def eSe8(YKHO): return zbDt.AccountSubscriptions(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XU4s(YKHO):\n return YKHO.request('getAllSubscriptions')", "def VOru(YKHO):\n bD7m = '{}/v2/subscriptions'.format(YKHO.url)\n Mkmy = G4JS.get(bD7m, headers=YKHO.headers_v2)\n return Mkmy.json()", "def VOru(YKHO):\n return YKHO.subscriptions.all()", "def rDYv(YKHO):\n return YKHO.__GetJs...
[ "0.8053855", "0.7719944", "0.7707207", "0.7692354", "0.76446974", "0.7604716", "0.737493", "0.7330857", "0.7323026", "0.7282235", "0.7180505", "0.7172677", "0.7157673", "0.71288884", "0.7024225", "0.7007353", "0.69198316", "0.6861299", "0.6846439", "0.6839854", "0.679515", ...
0.82293093
0
Return the resource corresponding to all transactions for the account.
def gQVK(YKHO): return UShr.AccountTransactions(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gQVK(YKHO):\n return YKHO._call_account_method('transactions')", "def kiSh(YKHO, QePW):\n uJjO = QePW.data['user']\n CBIr = mv1M.objects.get(id=uJjO)\n OFy4 = CBIr.transactions.all()\n ZMzz = bNap(OFy4, many=True)\n return oGir(ZMzz.data)", "def NMoC(YKHO):\n L8Py = p9bx.get_all(gVI4)\...
[ "0.7526518", "0.71408194", "0.6976082", "0.68460256", "0.67738324", "0.6766985", "0.6754182", "0.67474926", "0.6738625", "0.6702868", "0.6593533", "0.6542935", "0.6522238", "0.6433418", "0.6431116", "0.6430584", "0.64172035", "0.6301153", "0.6284116", "0.62283427", "0.6218489...
0.77615017
0
Return the resource corresponding to a single plan.
def qUyJ(YKHO, vc4q): return cf3u.Plan(YKHO, vc4q)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ved8(wERM):\n try:\n return fT9b.objects.get(id=wERM)\n except rIt9:\n raise bRjZ('There is no plan with id={}.'.format(wERM))", "def NMoC(Emd4, wERM):\n return Emd4().requests.get(f'plan/{wERM}')", "def Ved8(YKHO):\n geh0 = YKHO.client.get(YKHO._endpoint + '/plan')\n qUyJ = ge...
[ "0.7526946", "0.7325535", "0.7237401", "0.6866178", "0.6831494", "0.66995794", "0.6646056", "0.64993256", "0.64782363", "0.63909763", "0.6275059", "0.6132944", "0.6132793", "0.6105433", "0.60860485", "0.6016725", "0.5993888", "0.5990355", "0.5987716", "0.5968584", "0.5949632"...
0.6347137
10
Return the resource corresponding to a single account.
def ZrNc(YKHO, EBtu): return YAq3.Account(YKHO, EBtu)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZrNc(YKHO, Z31E):\n return JKCy.Account(YKHO, Z31E)", "def AmjW(YKHO, ZrNc):\n pass", "def ZrNc(YKHO, Z31E: str):\n return _mmD(YKHO.accounts, 'id', Z31E)", "def AmjW():\n Z31E = QePW.json['id']\n ZrNc = [ZrNc for ZrNc in L8Py if ZrNc['id'] == Z31E]\n if len(ZrNc) == 0:\n eTsH(40...
[ "0.8128518", "0.7381873", "0.735797", "0.7338838", "0.7271011", "0.7238692", "0.7091256", "0.7081743", "0.70659566", "0.70659566", "0.706309", "0.6953943", "0.69525546", "0.6892487", "0.6873347", "0.6849672", "0.684347", "0.68366426", "0.6813629", "0.66748565", "0.6651347", ...
0.6813448
19
Return the resource corresponding to a single adjustment.
def j6Rr(YKHO, qxeD): return ZtES.Adjustment(YKHO, qxeD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def clDa(Co34, _kTi, xYqm):\n if MjE6.has_key(Co34):\n Eorv = MjE6[Co34]\n if IgmP(Eorv, [xYqm, _kTi]):\n return Eorv[xYqm][_kTi]\n elif 'extends' in Eorv:\n for Ty9i in Eorv['extends']:\n if IgmP(MjE6, [Ty9i, xYqm, _kTi]):\n return Mj...
[ "0.5987215", "0.57111496", "0.5646641", "0.5646641", "0.5646641", "0.5646641", "0.5646641", "0.5646641", "0.5646641", "0.5646641", "0.5644025", "0.5434678", "0.5403355", "0.5393617", "0.5336554", "0.52584124", "0.52572834", "0.52493984", "0.52330834", "0.5210756", "0.5210756"...
0.5821014
1
Return the resource corresponding to a single coupon.
def c_Ww(YKHO, JMN9): return YagB.Coupon(YKHO, JMN9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c_Ww(YKHO, id):\n return wGNr(YKHO, id)", "def JpK5(YKHO):\n pass", "def hvZJ(YKHO):\n try:\n Aofo = NCls.collection_coupon.find()\n except Exception as e:\n raise tTpl\n return Aofo", "def Vo9k(nPrm):\n return OEeg().post_details('coupons', nPrm, expected_status_code=201)...
[ "0.6929826", "0.5898194", "0.5634547", "0.5528798", "0.5330391", "0.5230503", "0.5221917", "0.5127511", "0.51226026", "0.50562686", "0.505469", "0.5012701", "0.49900103", "0.49095112", "0.48785675", "0.48785064", "0.48678178", "0.48467252", "0.4841352", "0.47879466", "0.47756...
0.6934339
0
Return the resource corresponding to all subscriptions.
def eSe8(YKHO): return zbDt.Subscriptions(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XU4s(YKHO):\n return YKHO.request('getAllSubscriptions')", "def VOru(YKHO):\n return YKHO.subscriptions.all()", "def eSe8(YKHO) -> qe4Y.Output[h8nf[bdIy['outputs.ResourceIdResponse']]]:\n return qe4Y.get(YKHO, 'subscriptions')", "def VOru(YKHO):\n bD7m = '{}/v2/subscriptions'.format(YKHO.url)...
[ "0.7771157", "0.76652706", "0.7539855", "0.7384806", "0.73519516", "0.7317998", "0.7270938", "0.7269803", "0.71825284", "0.7179463", "0.7170762", "0.716839", "0.7071887", "0.70526844", "0.7009471", "0.6909305", "0.68960893", "0.6866779", "0.68073374", "0.67964214", "0.6628461...
0.7371403
4
Return the resource corresponding to a single subscription.
def mouR(YKHO, qxeD): return zbDt.Subscription(YKHO, qxeD)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GgQQ(Emd4, Wswm):\n return oZou.query.get_or_404(Wswm)", "def nxRy(YKHO):\n return YKHO.request({'path': '/' + S7kj + '/subscription'})", "def mouR(YKHO):\n return shrz(YKHO)", "def nxRy(UzPC, JuHa, ekCf, V_D6=None, tf1m=None):\n return UzPC.get(url=f'{UzPC.base_url}/api/subscriptions/{JuHa}'...
[ "0.7970475", "0.79435897", "0.7608279", "0.7318075", "0.72465676", "0.69881535", "0.69753796", "0.69753796", "0.6954161", "0.68925893", "0.68854374", "0.68854374", "0.6805445", "0.67747205", "0.67624706", "0.67102486", "0.66228145", "0.6602828", "0.6484358", "0.6445478", "0.6...
0.72710663
4
Return the resource corresponding to all transactions.
def gQVK(YKHO): return UShr.Transactions(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kiSh(YKHO, QePW):\n uJjO = QePW.data['user']\n CBIr = mv1M.objects.get(id=uJjO)\n OFy4 = CBIr.transactions.all()\n ZMzz = bNap(OFy4, many=True)\n return oGir(ZMzz.data)", "def XRzM(YKHO) -> bDy6[mgZq]:\n raise NotImplementedError", "def gQVK(YKHO):\n return UShr.AccountTransactions(YKH...
[ "0.67235774", "0.6708753", "0.6648714", "0.65441036", "0.64851654", "0.6409983", "0.6339409", "0.62841237", "0.6213114", "0.6186006", "0.60582733", "0.5972553", "0.5932297", "0.5930556", "0.59296864", "0.5887186", "0.5884038", "0.5873803", "0.5851857", "0.58434224", "0.583558...
0.667316
2
Fetch all your subscription.
def NMoC(YKHO, QTBn='live', N1p7=None, USOo=None): NArs = P8oC.get_params(('cursor', 'per_page'), locals()) NArs['state'] = QTBn QePW = Xqgu.Request('GET', YKHO.get_url(), NArs) return (QePW, gpan.parse_xml)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XU4s(YKHO):\n return YKHO.request('getAllSubscriptions')", "def VOru(YKHO):\n bD7m = '{}/v2/subscriptions'.format(YKHO.url)\n Mkmy = G4JS.get(bD7m, headers=YKHO.headers_v2)\n return Mkmy.json()", "def VOru(YKHO):\n return YKHO.subscriptions.all()", "def YGI8() -> object:\n NCls = aGHv()...
[ "0.7639306", "0.7574515", "0.75399256", "0.74141645", "0.7359277", "0.7186401", "0.70600295", "0.70275503", "0.6898822", "0.6890473", "0.68042815", "0.67482805", "0.66762334", "0.66549206", "0.6632294", "0.6584442", "0.65522933", "0.65425277", "0.6535706", "0.6516914", "0.651...
0.0
-1
Lookup for an artist in the Spotify's music catalogue
def h5p_(YKHO, j8eK, aeup=None): qVE2 = YKHO.ARTIST_DETAIL.get(aeup) return YKHO.get(j8eK, qVE2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZQkD(mWFP):\n eOtH = gNTt()\n if eOtH:\n MOPg = {'Content-Type': 'application/json', 'Authorization': 'Bearer ' + eOtH}\n xAU6 = {'q': mWFP, 'type': 'artist', 'limit': '1'}\n geh0 = G4JS.get('https://api.spotify.com/v1/search', headers=MOPg, params=xAU6)\n if geh0.status_code ...
[ "0.7612155", "0.74814093", "0.74630946", "0.7243213", "0.71450955", "0.71277326", "0.7112105", "0.7012895", "0.70094305", "0.6993691", "0.6967492", "0.69579184", "0.6950785", "0.6914779", "0.6911069", "0.6899246", "0.6806626", "0.6780985", "0.67740864", "0.6651638", "0.655171...
0.6933512
13
Return the resource corresponding to all invoice's lines.
def Nqlg(YKHO): return nMxw(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QmuD(YKHO):\n return dKc3.Invoices(YKHO)", "def QmuD(YKHO):\n return lrwW(YKHO)", "def xEi_(YKHO):\n return YKHO.base.get('invoice', [])", "def q8SA(YKHO):\n return USzS(YKHO)", "def QmuD(YKHO, g9KT=None, d_Cv=''):\n if g9KT is None:\n g9KT = YKHO.org_id\n return YKHO.get('{}/o...
[ "0.6430994", "0.638287", "0.6368535", "0.6352913", "0.6113739", "0.6063186", "0.604058", "0.602863", "0.6027646", "0.6021966", "0.59767306", "0.59546477", "0.59404945", "0.5907914", "0.58252996", "0.5630753", "0.56269646", "0.55938613", "0.55925006", "0.5564038", "0.5563137",...
0.57993525
15
Return the resource corresponding to the logged account.
def ZrNc(YKHO): return tHSi(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZrNc(YKHO):\n return YKHO.request('/account')", "def AmjW(YKHO):\n return YKHO._account", "def AmjW(YKHO):\n return YKHO._account", "def AMX5(YKHO):\n ZrNc = tHSi.get_account_with_admins(ZrNc.id)\n return ZrNc[0] if ZrNc else None", "def CBIr(YKHO):\n return JKCy.User(YKHO)", "def A...
[ "0.6918726", "0.67704624", "0.67704624", "0.6463876", "0.6405638", "0.6395634", "0.62898", "0.62471163", "0.62386453", "0.6206183", "0.61631286", "0.6141372", "0.6108283", "0.6108283", "0.61025655", "0.60753953", "0.60482544", "0.6039961", "0.6036206", "0.6035312", "0.601598"...
0.58267415
45
Return the resource corresponding to a single plan.
def qUyJ(YKHO, id): return fT9b(YKHO, id)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ved8(wERM):\n try:\n return fT9b.objects.get(id=wERM)\n except rIt9:\n raise bRjZ('There is no plan with id={}.'.format(wERM))", "def NMoC(Emd4, wERM):\n return Emd4().requests.get(f'plan/{wERM}')", "def Ved8(YKHO):\n geh0 = YKHO.client.get(YKHO._endpoint + '/plan')\n qUyJ = ge...
[ "0.7526946", "0.7325535", "0.7237401", "0.6866178", "0.6831494", "0.66995794", "0.6646056", "0.64993256", "0.63909763", "0.6347137", "0.6275059", "0.6132944", "0.6132793", "0.6105433", "0.60860485", "0.6016725", "0.5993888", "0.5990355", "0.5987716", "0.5968584", "0.5949632",...
0.64782363
8
Return the resource corresponding to a single charge.
def WJkG(YKHO, id): return _zB5(YKHO, id)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GKJL(YKHO, **NArs):\n YKHO.__requireParams(NArs, ['id'])\n return YKHO.__req('retrieve_charge', NArs)", "def WJkG(YKHO):\n return YKHO._charge", "def j_oG(YKHO, ABPH, asBq):\n if ABPH.lower() not in YKHO._AVAILABLE_TYPES:\n raise ValueError(\"Charge method '{}' \".format(ABPH) + 'is unkn...
[ "0.6999501", "0.65195316", "0.6408516", "0.6349711", "0.63396496", "0.6260681", "0.6229427", "0.60075676", "0.58554894", "0.56894743", "0.56767714", "0.56497365", "0.56197315", "0.56197315", "0.56197315", "0.56197315", "0.56197315", "0.56197315", "0.56197315", "0.5617185", "0...
0.6602577
1
Return the resource corresponding to a single coupon.
def c_Ww(YKHO, id): return wGNr(YKHO, id)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c_Ww(YKHO, JMN9):\n return YagB.Coupon(YKHO, JMN9)", "def JpK5(YKHO):\n pass", "def hvZJ(YKHO):\n try:\n Aofo = NCls.collection_coupon.find()\n except Exception as e:\n raise tTpl\n return Aofo", "def Vo9k(nPrm):\n return OEeg().post_details('coupons', nPrm, expected_statu...
[ "0.6934339", "0.5898194", "0.5634547", "0.5528798", "0.5330391", "0.5230503", "0.5221917", "0.5127511", "0.51226026", "0.50562686", "0.505469", "0.5012701", "0.49900103", "0.49095112", "0.48785675", "0.48785064", "0.48678178", "0.48467252", "0.4841352", "0.47879466", "0.47756...
0.6929826
1
Returns a single organization
def wbiw(YKHO): return zvVu(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wbiw(YKHO):\n return YKHO._tower.get_organization_by_id(YKHO._data.get('organization'))", "def D1IT(YKHO):\n if YKHO.org_id is not None:\n TC9A.get_itop_class('Organization').find(YKHO.org_id)\n return None", "def PI_r(YKHO):\n return YKHO.reference[Issx][NNfF]", "def jP5g(**RsAo):\n ...
[ "0.79743236", "0.78914934", "0.77270484", "0.75255895", "0.74935895", "0.7492418", "0.74534506", "0.7300926", "0.72920835", "0.725626", "0.7254059", "0.7252241", "0.7226458", "0.7205238", "0.7141129", "0.7100673", "0.70939076", "0.70739144", "0.70441675", "0.7022772", "0.6985...
0.7306838
7
Returns a single organization
def wbiw(YKHO): return zvVu(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wbiw(YKHO):\n return YKHO._tower.get_organization_by_id(YKHO._data.get('organization'))", "def D1IT(YKHO):\n if YKHO.org_id is not None:\n TC9A.get_itop_class('Organization').find(YKHO.org_id)\n return None", "def PI_r(YKHO):\n return YKHO.reference[Issx][NNfF]", "def jP5g(**RsAo):\n ...
[ "0.79743236", "0.78914934", "0.77270484", "0.75255895", "0.74935895", "0.7492418", "0.74534506", "0.7300926", "0.72920835", "0.725626", "0.7254059", "0.7252241", "0.7226458", "0.7205238", "0.7141129", "0.7100673", "0.70939076", "0.70739144", "0.70441675", "0.7022772", "0.6985...
0.7306838
9
Returns a single organization
def wbiw(YKHO): return zvVu(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wbiw(YKHO):\n return YKHO._tower.get_organization_by_id(YKHO._data.get('organization'))", "def D1IT(YKHO):\n if YKHO.org_id is not None:\n TC9A.get_itop_class('Organization').find(YKHO.org_id)\n return None", "def PI_r(YKHO):\n return YKHO.reference[Issx][NNfF]", "def jP5g(**RsAo):\n ...
[ "0.79743236", "0.78914934", "0.77270484", "0.75255895", "0.74935895", "0.7492418", "0.74534506", "0.7300926", "0.72920835", "0.725626", "0.7254059", "0.7252241", "0.7226458", "0.7205238", "0.7141129", "0.7100673", "0.70939076", "0.70739144", "0.70441675", "0.7022772", "0.6985...
0.7306838
8
Returns a single resource field.
def Jyyj(YKHO, Jyyj): bD7m = '{0}/{1}'.format(YKHO.get_url(), Jyyj) QePW = Xqgu.Request('GET', bD7m) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _Qyh(YKHO):\n Fnti = PrnR.field_map[YKHO.type]\n return getattr(YKHO, Fnti, None)", "def QTMT(YKHO, Jyyj):\n return YKHO._dict.get(Jyyj)", "def Jyyj(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'field')", "def Jx7R():\n _eu6 = QePW.form['_id']\n nPrm, Wxnj, Ol8d = XPxY.find_field(_eu6)\n...
[ "0.7155468", "0.7021437", "0.7002242", "0.6941827", "0.6932042", "0.690748", "0.6895942", "0.6895942", "0.6895942", "0.6895942", "0.6809187", "0.68033683", "0.67939734", "0.66970205", "0.66944474", "0.6684044", "0.6654111", "0.66519517", "0.66490436", "0.66221195", "0.6622119...
0.6167049
41
Return the resource corresponding to a single organization
def wbiw(YKHO, I4cP): return zvVu(YKHO, I4cP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wbiw(YKHO):\n return YKHO._tower.get_organization_by_id(YKHO._data.get('organization'))", "def zPWF(wbiw):\n return npru(kym7, wbiw)", "async def get_organization(QePW: Request, QAIN: str):\n OeZe = QePW.app.state.redis\n hXjI = vsUu.loads(await OeZe.get_key('influxdb_organizations'))\n if Q...
[ "0.73918945", "0.72905105", "0.7166894", "0.7094288", "0.7025045", "0.6770693", "0.6732728", "0.6698229", "0.6691838", "0.66786385", "0.66786385", "0.66786385", "0.6671616", "0.6620091", "0.65804183", "0.6567769", "0.6532047", "0.65256435", "0.6509332", "0.6503715", "0.644619...
0.6463524
20
Return a list of Connect App resource representations, each representing a Connect App you've authorized to access this account.
def HRDz(YKHO): return tKwm.AuthorizedConnectApps(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fKg3():\n I45O.info('...retr_auth_apps...')\n hlel = []\n NCls = qm8v.db.auth_apps\n DpUl = NCls.find()\n if DpUl.count() == 0:\n raise MdXs('no authorized apps found')\n for P4t4 in NCls.find():\n hlel.append({'moniker': P4t4['moniker'], 'description': P4t4['description'], 'url...
[ "0.73646885", "0.6867764", "0.6645328", "0.663292", "0.64629304", "0.64139235", "0.6390467", "0.6269729", "0.61966044", "0.6195805", "0.61800545", "0.6150611", "0.6140567", "0.6138532", "0.60628945", "0.60573214", "0.6052115", "0.60419977", "0.60325485", "0.6032442", "0.60234...
0.7757862
0
Return a list of conferences within this account.
def lYRi(YKHO): return lYRi.Conferences(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pJnE():\n lYRi = []\n for kYAN in range(1, 8):\n Z9rn = G4JS.get(LMHw.format(kYAN)).json()\n BPKd = Z9rn.get('conferences')\n if BPKd is None or len(BPKd) == 0:\n continue\n lYRi.append(KeS0.from_json(BPKd[0]))\n return lYRi", "def RMQZ(YKHO, Wswm):\n return...
[ "0.7965614", "0.6773098", "0.6699745", "0.65622234", "0.652843", "0.6373869", "0.637163", "0.6267963", "0.6244966", "0.62361175", "0.6013377", "0.59106576", "0.58997357", "0.5856392", "0.583688", "0.5774325", "0.57633275", "0.5725822", "0.57239246", "0.571662", "0.5709659", ...
0.86587554
0
Return a queue within this account.
def gGq6(YKHO, Wswm): return rysN.Queue(YKHO, Wswm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CqEO(YKHO):\n return YKHO.queue", "def CqEO(YKHO):\n return YKHO.queue", "def gGq6(YKHO):\n if YKHO._queue is None:\n jm0c = YKHO.query_queue(user=YKHO._user)\n YKHO._queue = YKHO.parse_queue_str(jm0c)\n return YKHO._queue", "async def get_queue(YKHO, OaeV: commands.Context) -> ...
[ "0.79370624", "0.79370624", "0.7914794", "0.7902332", "0.7765085", "0.7743281", "0.7590166", "0.75684285", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "0.74941844", "...
0.7246694
27
Return a list of queues within this account.
def rysN(YKHO): return rysN.Queues(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def If3l(YKHO):\n return YKHO.manager.get_queue_list()", "def rysN(YKHO) -> qe4Y.Output[h8nf[bdIy[str]]]:\n return qe4Y.get(YKHO, 'queues')", "def tEBL(YKHO, dJ1p=None):\n NArs = {}\n if dJ1p:\n NArs['tags'] = ','.join(dJ1p)\n _hkX = YKHO._make_request('get', 'queues', params=NArs)\n r...
[ "0.8071654", "0.740453", "0.7297489", "0.7247139", "0.72376764", "0.72376764", "0.72376764", "0.72376764", "0.72376764", "0.72376764", "0.72376764", "0.72376764", "0.72376764", "0.7201019", "0.7183742", "0.70857614", "0.7085665", "0.699331", "0.6956612", "0.69165325", "0.6887...
0.786927
1
Return a Transcription resource representation for call made to of from this account.
def q_ym(YKHO, Wswm): return ST5f.Transcription(YKHO, Wswm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T5g4(YKHO):\n return bzQA(YKHO)", "def T5g4(YKHO):\n return ST5f.Transcriptions(YKHO)", "def EuhX(YKHO):\n nimT = tX49 + '\\n SELECT ?tfName ?targetName ?stmt ?tf ?target ?rel\\n WHERE {\\n ?stmt a belvoc:Statement .\\n ?stmt belvoc:hasRelationsh...
[ "0.6599057", "0.6410139", "0.60449624", "0.54620665", "0.5438918", "0.5411658", "0.5380303", "0.5273315", "0.52333087", "0.5220136", "0.52134097", "0.5166406", "0.51530415", "0.51014346", "0.50859594", "0.50716203", "0.50629324", "0.5053882", "0.5047109", "0.5004518", "0.4976...
0.73041433
0
Return a set of Transcription resource representations for this account.
def T5g4(YKHO): return ST5f.Transcriptions(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T5g4(YKHO):\n return bzQA(YKHO)", "def q_ym(YKHO, Wswm):\n return ST5f.Transcription(YKHO, Wswm)", "def eSe8(YKHO):\n return zbDt.AccountSubscriptions(YKHO)", "def o9Hv(YKHO):\n RnLu = YKHO.db.query(select_column_names=['transcript_id'], filter_column='gene_id', filter_value=YKHO.id, feature=...
[ "0.7307224", "0.6383597", "0.6290204", "0.6209634", "0.6190057", "0.6178731", "0.6166927", "0.6062595", "0.5965986", "0.5769659", "0.5764732", "0.56911665", "0.56413084", "0.5610103", "0.55506176", "0.54900235", "0.5481813", "0.54550457", "0.5447621", "0.5406887", "0.5351717"...
0.7552313
0
Fetch the Authorized Connect Apps belonging to an account.
def NMoC(YKHO, I0sS=None, DE9a=None, bPvZ=None): NArs = Eorv.get_params(None, locals()) QePW = Xqgu.Request('GET', YKHO.get_url(), NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HRDz(YKHO):\n return tKwm.AuthorizedConnectApps(YKHO)", "def fKg3():\n I45O.info('...retr_auth_apps...')\n hlel = []\n NCls = qm8v.db.auth_apps\n DpUl = NCls.find()\n if DpUl.count() == 0:\n raise MdXs('no authorized apps found')\n for P4t4 in NCls.find():\n hlel.append({'m...
[ "0.7179072", "0.70386904", "0.62644506", "0.6255303", "0.6244583", "0.6132727", "0.6106223", "0.60424685", "0.6036278", "0.5918201", "0.5885773", "0.5879607", "0.58637774", "0.5805865", "0.5749693", "0.5747921", "0.5743191", "0.57382995", "0.5735737", "0.57346284", "0.5730953...
0.0
-1
Return a participant in this conference.
def zAlC(YKHO, Wswm): return c9Kx(YKHO, Wswm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OPfk(YKHO, F1kd):\n if F1kd in v_U2:\n return v_U2[F1kd]\n else:\n return None", "def zAlC(YKHO, Wswm):\n return c9Kx(YKHO, Wswm)", "def JYl0(YKHO):\n return YKHO.data['id']", "def zAlC(YKHO) -> taV9:\n return YKHO._participant", "def ye3v(YKHO):\n return YKHO._speaker",...
[ "0.72046083", "0.7080376", "0.67052925", "0.6300894", "0.6294788", "0.62100816", "0.6181115", "0.6156547", "0.6144625", "0.60970587", "0.60328543", "0.59512925", "0.589766", "0.5822871", "0.58099806", "0.5790752", "0.57761496", "0.5708563", "0.55543476", "0.5511341", "0.54985...
0.703881
2
Fetch the list of conferences of an account.
def NMoC(YKHO, I0sS=None, DE9a=None, bPvZ=None): NArs = Eorv.get_params(None, locals()) QePW = Xqgu.Request('GET', YKHO.get_url(), NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pJnE():\n lYRi = []\n for kYAN in range(1, 8):\n Z9rn = G4JS.get(LMHw.format(kYAN)).json()\n BPKd = Z9rn.get('conferences')\n if BPKd is None or len(BPKd) == 0:\n continue\n lYRi.append(KeS0.from_json(BPKd[0]))\n return lYRi", "def lYRi(YKHO):\n return lYRi....
[ "0.7437801", "0.6874706", "0.6280792", "0.61054516", "0.6062059", "0.58969957", "0.58946455", "0.5878617", "0.5860471", "0.57981586", "0.57679236", "0.56530017", "0.5580158", "0.55774105", "0.5549596", "0.55274695", "0.55215913", "0.5514898", "0.5473383", "0.54512674", "0.541...
0.0
-1
Fetch the list of transcriptions for an account or call.
def NMoC(YKHO, I0sS=None, DE9a=None, bPvZ=None): NArs = Eorv.get_params(None, locals()) QePW = Xqgu.Request('GET', YKHO.get_url(), NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T5g4(YKHO):\n return ST5f.Transcriptions(YKHO)", "def eSe8(YKHO):\n return zbDt.AccountSubscriptions(YKHO)", "def ota5(YKHO):\n return YKHO._call_txtrader_api('query_accounts', {})", "def XU4s(YKHO):\n return YKHO.request('getAllSubscriptions')", "def list(Emd4, **B2fa):\n geh0 = tV5k()....
[ "0.6815294", "0.6579181", "0.6554846", "0.649452", "0.63904464", "0.6373254", "0.63363737", "0.63038397", "0.6245856", "0.6233953", "0.6190501", "0.616183", "0.60744774", "0.5977976", "0.5932061", "0.58430946", "0.58301294", "0.581357", "0.5812477", "0.5811506", "0.57921124",...
0.0
-1
Return a set of Transcription resource representations for this recording.
def T5g4(YKHO): return bzQA(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T5g4(YKHO):\n return ST5f.Transcriptions(YKHO)", "def q_ym(YKHO, Wswm):\n return ST5f.Transcription(YKHO, Wswm)", "def mQld(YKHO):\n return YKHO.features['transcript']", "def o9Hv(YKHO):\n RnLu = YKHO.db.query(select_column_names=['transcript_id'], filter_column='gene_id', filter_value=YKHO.i...
[ "0.73712873", "0.64654416", "0.5971422", "0.58951336", "0.587654", "0.587141", "0.58644354", "0.5694314", "0.5573047", "0.55492616", "0.5532413", "0.54915434", "0.54915434", "0.54562694", "0.54386383", "0.5433862", "0.54206777", "0.5414929", "0.5367946", "0.5354777", "0.53223...
0.6829605
1
Fetch the list of transcriptions for an account or call.
def NMoC(YKHO, Mddj=None, oY3I=None, JC2j=None, KxK9=None, I0sS=None, DE9a=None, bPvZ=None): NArs = Eorv.get_params(None, locals()) QePW = Xqgu.Request('GET', YKHO.get_url(), NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T5g4(YKHO):\n return ST5f.Transcriptions(YKHO)", "def eSe8(YKHO):\n return zbDt.AccountSubscriptions(YKHO)", "def ota5(YKHO):\n return YKHO._call_txtrader_api('query_accounts', {})", "def XU4s(YKHO):\n return YKHO.request('getAllSubscriptions')", "def list(Emd4, **B2fa):\n geh0 = tV5k()....
[ "0.6815294", "0.6579181", "0.6554846", "0.649452", "0.63904464", "0.6373254", "0.63363737", "0.63038397", "0.6245856", "0.6233953", "0.6190501", "0.616183", "0.60744774", "0.5977976", "0.5932061", "0.58430946", "0.58301294", "0.581357", "0.5812477", "0.5811506", "0.57921124",...
0.0
-1
Return the representation of an Account or SubAccount.
def ZrNc(YKHO, Wswm): return L8Py.Account(YKHO, Wswm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZrNc(YKHO, Z31E):\n return JKCy.Account(YKHO, Z31E)", "def ZrNc(YKHO, EBtu):\n return YAq3.Account(YKHO, EBtu)", "def ZrNc(YKHO):\n return tHSi(YKHO)", "def ZrNc(YKHO):\n return tHSi(YKHO)", "def UpuU(YKHO, KAOR):\n nPrm = super(PYn2, YKHO).to_representation(KAOR)\n nPrm['display_name...
[ "0.6601515", "0.6337376", "0.6280336", "0.6220046", "0.62023866", "0.6126081", "0.6113254", "0.58139014", "0.5807296", "0.58052355", "0.57907903", "0.57645214", "0.5762134", "0.5756308", "0.57545376", "0.5747356", "0.5713032", "0.5707828", "0.5693903", "0.56699544", "0.566689...
0.58561975
7
Fetch the list of short codes for an account.
def NMoC(YKHO, ftlq=None, Uy4e=None, I0sS=None, DE9a=None, bPvZ=None): NArs = Eorv.get_params(None, locals()) QePW = Xqgu.Request('GET', YKHO.get_url(), NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MeA7():\n return uL0C.get_short_code_stats(QePW)", "def Wv_g(YKHO):\n return VRij(YKHO)", "def nkXc():\n return uL0C.get_short_code(QePW)", "def g8Ik():\n Y2eh = [[WKvO, Hqpy[WKvO][1]] for WKvO in Hqpy]\n return Y2eh", "def aG0R(YKHO) -> x1iM[str]:\n Aofo = []\n for UqER in YKHO._g...
[ "0.64410114", "0.5948188", "0.5765666", "0.559726", "0.5374711", "0.53661543", "0.53566295", "0.5222402", "0.5222402", "0.51788604", "0.516076", "0.5158573", "0.51580346", "0.5153744", "0.5152017", "0.5103542", "0.50182986", "0.49918157", "0.4976895", "0.49562365", "0.4950728...
0.4718278
33
Return a ShortCode resource representation, representing a short code within this account.
def lQA3(YKHO, Wswm): return ftlq(YKHO, Wswm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nkXc():\n return uL0C.get_short_code(QePW)", "def Wv_g(YKHO):\n return VRij(YKHO)", "def lmi1(YKHO):\n return f'{YKHO.name} - {YKHO.resource_type}'", "def NS_o(YKHO) -> str:\n return YKHO.short_name", "def h85P(YKHO):\n return YKHO.get('short_name', decode=True)", "def mppr(YKHO):\n ...
[ "0.709281", "0.7010221", "0.6468302", "0.6237646", "0.6101673", "0.59947944", "0.5946449", "0.5935559", "0.5930111", "0.5758271", "0.5722493", "0.56827974", "0.5676695", "0.5668742", "0.56657785", "0.56657785", "0.56657785", "0.56657785", "0.56657785", "0.56657785", "0.566577...
0.7520117
0
Return multiple usage records for each usage category, each representing usage over a yearly timeinterval.
def hdRW(YKHO): return Ysar(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _tEm(Emd4):\n lO87 = JRYC.date.today().year\n QmN4 = []\n for ZfUD in kLxY.objects.all():\n wUEQ = sum(Emd4.objects.filter(item=ZfUD).filter(time__year=lO87).values_list('duration', flat=True))\n if wUEQ > 0:\n QmN4.append({'name': ZfUD.name, 'sum': wUEQ})\n return QmN4", ...
[ "0.5697391", "0.55807483", "0.54135716", "0.5404515", "0.53542763", "0.5310282", "0.5303087", "0.5283248", "0.52699447", "0.5212913", "0.5181297", "0.5177674", "0.51563054", "0.5153314", "0.5081425", "0.505911", "0.50564486", "0.49952403", "0.4995231", "0.49883223", "0.494384...
0.475229
41
Return a list of usage triggers set on this account.
def jsay(YKHO): return q6j5(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZXmZ(YKHO, GTA_=None):\n if not GTA_:\n GTA_ = YKHO.name\n jsay = YKHO.execute(YKHO.commands.get_triggers(YKHO.db.name, GTA_))\n return [WKvO[0] for WKvO in jsay]", "def jsay(YKHO) -> qe4Y.Output[h8nf[GySg[str, str]]]:\n return qe4Y.get(YKHO, 'triggers')", "def ReVA(YKHO):\n return YK...
[ "0.6390115", "0.6300748", "0.6181421", "0.6032892", "0.6032892", "0.5839238", "0.5823413", "0.57988596", "0.57137644", "0.5564016", "0.55524576", "0.5531238", "0.54527235", "0.5430462", "0.52811676", "0.51811767", "0.51202834", "0.5046408", "0.5046408", "0.49950087", "0.49168...
0.61680126
3
Return an usage trigger set on this account.
def iqFZ(YKHO, Wswm): return wqbP(YKHO, Wswm)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bra7(YKHO):\n return _VfD.Event_getUseValuesFromTriggerTime(YKHO)", "def jsay(YKHO):\n return q6j5(YKHO)", "def iqFZ(YKHO):\n d6pt = YKHO._ordered_input_names.index('trigger')\n return YKHO._inputs[d6pt]", "def gMdB(YKHO):\n return YKHO._frequency_trigger", "def e2h5(YKHO):\n return e...
[ "0.55246204", "0.5376687", "0.52279264", "0.5178762", "0.50629437", "0.50337714", "0.5015423", "0.5015404", "0.4952651", "0.49436677", "0.49436677", "0.49381763", "0.48984218", "0.48805693", "0.4870615", "0.48600835", "0.4852071", "0.48068815", "0.47918013", "0.47865456", "0....
0.0
-1
Fetch comments from this user.
def NMoC(YKHO, B2Dn=None, USOo=None, filter=None, BA9O=None): NArs = P8oC.get_params(None, locals()) QePW = Xqgu.Request('GET', YKHO.get_url(), NArs) return (QePW, gpan.parse_json)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tj1O(YKHO):\n return Tj1O.UserComments(YKHO)", "def qX9M(YKHO):\n return YKHO._client.get_comments(YKHO)", "def ZsdS(YKHO, pQGt, **qIxc):\n return YKHO.fetch('/comment/' + pQGt, **qIxc)", "def r6ot(NtEF):\n return Jhi6", "def qX9M(YKHO):\n bD7m = 'https://api.imgur.com/3/account/{0}/comm...
[ "0.71072656", "0.69039035", "0.68884176", "0.68337446", "0.6790327", "0.65666366", "0.6556634", "0.6548472", "0.6491756", "0.6489634", "0.64505917", "0.6349408", "0.6316671", "0.62155616", "0.62092125", "0.62049437", "0.6146139", "0.61304915", "0.6108547", "0.6097293", "0.608...
0.0
-1
Return the resource corresponding to all the support queues.
def PV_Q(YKHO): return PV_Q.SupportQueues(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PV_Q(YKHO):\n return PV_Q.SupportQueues(YKHO)", "def o_ta(YKHO):\n return YKHO.__queues", "def o_ta(YKHO):\n return YKHO.__queues", "def o_ta(YKHO):\n return YKHO.__queues", "def o_ta(YKHO):\n return YKHO.__queues", "def o_ta(YKHO):\n return YKHO.__queues", "def o_ta(YKHO):\n r...
[ "0.73946834", "0.6741674", "0.6741674", "0.6741674", "0.6741674", "0.6741674", "0.6741674", "0.6741674", "0.6741674", "0.6741674", "0.66001564", "0.6442839", "0.63554645", "0.63447565", "0.62543947", "0.6226701", "0.6211482", "0.61988103", "0.6141937", "0.6063048", "0.5991709...
0.7525037
0
Return the resource corresponding to a UserVoice subdomain.
def UhTt(YKHO, UhTt): return qs3J.Subdomain(YKHO, UhTt)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def fetch_subdomain(YKHO, UhTt: str):\n BWXx = await YKHO.http.check_subdomain(UhTt)\n if (BWXx or {}).get('exists') is True:\n if BWXx.get('teamId'):\n slZj = await YKHO.getch_team(BWXx.get('teamId'))\n elif BWXx.get('userId'):\n slZj = await YKHO.getch_user(BWXx.ge...
[ "0.6071135", "0.59983885", "0.5925243", "0.5894778", "0.5831165", "0.5815013", "0.5686056", "0.56554943", "0.56464046", "0.5641134", "0.5558", "0.5535394", "0.5499313", "0.5430878", "0.5391436", "0.53455603", "0.5315503", "0.52796054", "0.52599305", "0.52186024", "0.52186024"...
0.61574084
0
Return the resource corresponding a single topic.
def rlUa(YKHO, pqAP): return AdpB.Topic(YKHO, pqAP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tF9X(Emd4, rlUa):\n return Emd4.get_by_key_name(gHrC(rlUa))", "def rlUa(YKHO, pqAP):\n return kGys.Topic(YKHO, pqAP)", "def NMoC(Emd4, rXi3):\n try:\n return oosv.query.get(int(rXi3))\n except Exception:\n return oosv.query.filter_by(name=rXi3).first()", "def rlUa(YKHO, pqAP):\n...
[ "0.77936524", "0.76120025", "0.74751496", "0.74251604", "0.7414128", "0.7413474", "0.7396459", "0.7221562", "0.7073522", "0.70233667", "0.7011321", "0.6974128", "0.6852488", "0.68186575", "0.6699024", "0.6636869", "0.6583493", "0.65284437", "0.64648676", "0.64530957", "0.6440...
0.76671416
1
Return the resource corresponding to a single user. If user_id is `None`, the returned resource is the currently authenticated user, otherwise it is the user with the given ID number.
def CBIr(YKHO, uJjO=None): if uJjO is None: return DW23.CurrentUser(YKHO) return DW23.User(YKHO, uJjO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CBIr(YKHO, uJjO=None):\n if uJjO is None:\n return JKCy.CurrentUser(YKHO)\n return JKCy.User(YKHO, uJjO)", "def CBIr(YKHO, uJjO):\n return JKCy.User(YKHO, uJjO)", "def NMoC(YKHO, uJjO):\n CBIr = Tv2r(public_id=uJjO).get_an_item()\n if not CBIr:\n nNXP.abort(404)\n else:\n ...
[ "0.8213479", "0.8067767", "0.78551275", "0.7813598", "0.777347", "0.7770647", "0.77086", "0.7701979", "0.7635602", "0.76342225", "0.761318", "0.75632524", "0.7541543", "0.752493", "0.7521053", "0.7506894", "0.74767685", "0.746781", "0.74610364", "0.74417734", "0.74372965", ...
0.7597194
11