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
Return the best trial in the study.
def Kwin(YKHO) -> a67h: return jth9.deepcopy(YKHO._storage.get_best_trial(YKHO._study_id))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YVCV(YKHO):\n return YKHO.bestTrialPoint.getCopy()", "def OmFP(YKHO):\n QxIo = YKHO.get_summary()\n return QxIo.get('best', None)", "def i80n(YKHO):\n return YKHO.bestTrialPoint", "def s4ic(dGMV, AcYW):\n return max(dGMV, key=lambda tZuJ: tZuJ.last_result.get(AcYW, 0))", "def P6Dd(YKHO):...
[ "0.7783988", "0.7390775", "0.73352194", "0.7318408", "0.717599", "0.71610177", "0.70341396", "0.70329785", "0.69630533", "0.6959539", "0.68582004", "0.6857214", "0.6816283", "0.6801685", "0.6789907", "0.67774886", "0.6758362", "0.6745489", "0.66808295", "0.66680014", "0.66490...
0.75307333
1
Returns the total size of downloaded files.
def Wf_D(YKHO): return sum((uq5u.size for uq5u in YKHO._recorded_url_infos.values()))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VIaZ(MNJP, **B2fa):\n with W5SF(Qzul.get_url(url=MNJP, stream=True)) as Ylbp:\n B2mP = int(Ylbp.headers['Content-Length'])\n return B2mP", "def uKOt(YKHO):\n zNig = Hy7s.stat(YKHO.download_path).st_size\n return zNig", "def zNig(YKHO):\n return sum((eHNT.size for eHNT in YKHO.file...
[ "0.7983274", "0.7970984", "0.7861519", "0.7796731", "0.7727082", "0.7702619", "0.75656813", "0.752316", "0.7515787", "0.74988264", "0.74988264", "0.744483", "0.74409425", "0.7417438", "0.7375494", "0.7354388", "0.7331238", "0.73156387", "0.7293835", "0.72869194", "0.72820765"...
0.84344864
0
Map the function into each element and resolve the promise.
def GQtm(qC60, TUQS): rxcb = Y6as.map_structure(qC60, TUQS) Ylbp = Y6as.map_structure(lambda XP5J: XP5J.get(), rxcb) return Ylbp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def map(YKHO, JfyU, *ix7N):\n L4cE = map(YKHO.submit, Hs6x.repeat(JfyU), *ix7N)\n return [KS9L.result() for KS9L in L4cE]", "def u1co(YKHO, m2Zb, OxJJ):\n return YKHO.__executor.map(m2Zb, OxJJ)", "async def map(YKHO, JfyU: Callable[[T], Awaitable[R]], OxJJ: Sequence[T]) -> bdIy[A3Vt]:\n if not YKHO...
[ "0.7309876", "0.70527726", "0.6981608", "0.6964021", "0.6959184", "0.69153756", "0.6911361", "0.6889255", "0.6823156", "0.6819686", "0.67509645", "0.6743493", "0.67334604", "0.67249215", "0.67097056", "0.6690238", "0.6672647", "0.66666144", "0.66143835", "0.6604779", "0.65900...
0.7474101
0
Generate random colors. To get visually distinct colors, generate them in HSV space then convert to RGB.
def vw9P(ywwl, fBVY=True): tuKI.seed(6) asva = 1.0 if fBVY else 0.7 Cd_s = [(YRbF / ywwl, 1, asva) for YRbF in range(ywwl)] Jw9H = list(map(lambda Z9rn: h478.hsv_to_rgb(*Z9rn), Cd_s)) tuKI.shuffle(Jw9H) qfpW = [] for fvDH in list(Jw9H): qfpW.append(tuple((YRbF * 255 for YRbF in list(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hvFE():\n Wr7U = 0.618033988749895\n MKlR = oyIN.random.rand()\n MKlR += Wr7U\n MKlR %= 1.0\n return h478.hsv_to_rgb(MKlR, 0.7, 0.9)", "def gOt5(YKHO):\n return [qukk(0, 255) / 255.0 for bGrB in range(3)]", "def Q5jr():\n Mkmy = tuKI.randint(0, 255)\n Oa1e = tuKI.randint(0, 255)\n ...
[ "0.80074567", "0.7895568", "0.78828955", "0.77841675", "0.7742903", "0.77186495", "0.76650685", "0.76009077", "0.7532341", "0.749219", "0.7469782", "0.7434771", "0.74302053", "0.74288774", "0.74130446", "0.7398479", "0.73892933", "0.7380517", "0.73592323", "0.73455065", "0.73...
0.73602897
18
Lambda ARN of the connector being registered.
def B2NQ(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'lambda_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hGai(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'connector_arn')", "def B2NQ(YKHO) -> str:\n return qe4Y.get(YKHO, 'lambda_arn')", "def _hj0(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'vpc_connector_arn')", "def _hj0(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'vpc_connec...
[ "0.7708149", "0.75330544", "0.68841666", "0.67082775", "0.66788775", "0.6515239", "0.6515239", "0.6515239", "0.6515239", "0.6515239", "0.6515239", "0.64883584", "0.6433695", "0.6392896", "0.6392796", "0.63382936", "0.6297606", "0.6297606", "0.6279002", "0.62610745", "0.625491...
0.73779327
2
The API tokens used by Dynatrace API to authenticate various API calls.
def Tq5C(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'api_token')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jpbe(YKHO):\n return (YKHO.api_token, 'api_token')", "def thS1(YKHO):\n return YKHO.fetch('/token', body=Fwno.AUTH_REQUEST, method='POST')", "def s2mk(YKHO, QePW):\n nPrm = YKHO.get_queryset().values('name', 'api_key')\n return oGir(nPrm)", "def NT__(YKHO):\n return (YKHO.token_key, YKHO.t...
[ "0.73326164", "0.7250291", "0.71469986", "0.7061492", "0.6981336", "0.69792473", "0.69382244", "0.689808", "0.6823513", "0.6810773", "0.6794804", "0.6790646", "0.6699746", "0.6695199", "0.66939294", "0.6691691", "0.664008", "0.66198575", "0.6576785", "0.65641886", "0.65413606...
0.6700839
13
The client secret used by the oauth client to authenticate to the authorization server.
def Cxz5(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'client_secret')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cxz5(YKHO):\n return YKHO._client_secret", "def Cxz5(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def Cxz5(YKHO):\n return YKHO...
[ "0.88055265", "0.8541367", "0.85313284", "0.85313284", "0.852345", "0.82056725", "0.81486213", "0.79640764", "0.7896398", "0.7896398", "0.78523535", "0.78523535", "0.78523535", "0.78523535", "0.78523535", "0.78523535", "0.78461", "0.77117985", "0.76818466", "0.7493802", "0.74...
0.8070642
11
The client secret used by the oauth client to authenticate to the authorization server.
def Cxz5(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'client_secret')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cxz5(YKHO):\n return YKHO._client_secret", "def Cxz5(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def Cxz5(YKHO):\n return YKHO...
[ "0.88055265", "0.8541367", "0.85313284", "0.85313284", "0.852345", "0.82056725", "0.81486213", "0.79640764", "0.7896398", "0.7896398", "0.78523535", "0.78523535", "0.78523535", "0.78523535", "0.78523535", "0.78523535", "0.78461", "0.77117985", "0.76818466", "0.7493802", "0.74...
0.8070642
7
The location of the Marketo resource
def LvtP(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'instance_url')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rci7(YKHO) -> str:\n pass", "def Rci7():\n wX0N = UCee.getInvoker()\n return 'avatarId: %d, parentId: %d, zoneId: %d' % (wX0N.doId, wX0N.parentId, wX0N.zoneId)", "def feQP(YKHO):\n pass", "def Rci7(YKHO) -> h8nf[str]:\n raise NotImplementedError()", "def Rci7(YKHO) -> str:\n return qe...
[ "0.6896199", "0.6653495", "0.6516316", "0.63599104", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", "0.6337924", ...
0.0
-1
The client credentials to fetch access token and refresh token.
def n3ZY(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'client_credentials_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TNQQ(YKHO):\n return (YKHO.client_id, YKHO.client_secret, YKHO.code, YKHO.token, YKHO.rtoken)", "def nJOI(YKHO):\n zb3C = YKHO.client_id\n Cxz5 = YKHO.client_secret\n if Cxz5 is not None or zb3C is not None:\n Ck5W = f'{zb3C}:{Cxz5}'\n xiwp = WR89.b64encode(Ck5W.encode())\n r...
[ "0.8125219", "0.7618911", "0.7585984", "0.75546974", "0.7529052", "0.7478015", "0.7312218", "0.72866493", "0.72682106", "0.7062973", "0.7042915", "0.70323", "0.698765", "0.6927136", "0.68956834", "0.68866086", "0.68707037", "0.68592024", "0.6850133", "0.6838988", "0.6829559",...
0.0
-1
The Business unit id of Salesforce Pardot instance to be connected
def HiGu(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'business_unit_id')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PWo5(YKHO) -> str:\n return qe4Y.get(YKHO, 'device_object_id')", "def ShR8(YKHO):\n return YKHO._innogy_device.id", "def jf3N(YKHO) -> str:\n return qe4Y.get(YKHO, 'device_id')", "def jf3N(YKHO) -> str:\n return qe4Y.get(YKHO, 'device_id')", "def U38C(YKHO):\n return 1200545", "def ShR...
[ "0.67231756", "0.6599267", "0.6595866", "0.6595866", "0.658951", "0.64733016", "0.64703625", "0.6459227", "0.6446952", "0.6428599", "0.63454354", "0.63419664", "0.6333174", "0.6329946", "0.6323236", "0.6320163", "0.62937135", "0.62729675", "0.6271484", "0.62707365", "0.626768...
0.68335855
0
The location of the Salesforce Pardot resource
def LvtP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'instance_url')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Rci7(YKHO) -> str:\n pass", "def Rci7():\n wX0N = UCee.getInvoker()\n return 'avatarId: %d, parentId: %d, zoneId: %d' % (wX0N.doId, wX0N.parentId, wX0N.zoneId)", "def feQP(YKHO):\n pass", "def AnNJ(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'resource_location')", "def Rci7(YKHO) -...
[ "0.64747405", "0.64243686", "0.6301119", "0.62308913", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", "0.6189591", ...
0.0
-1
The password that corresponds to the username.
def jTXt(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'password')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def AuKh(YKHO, NtEF):\n return aTOD.get_pass...
[ "0.84755343", "0.84755343", "0.84755343", "0.84755343", "0.8435346", "0.84294635", "0.82899827", "0.825765", "0.82535213", "0.8199178", "0.8199178", "0.8198059", "0.8178997", "0.817175", "0.817175", "0.817175", "0.8170944", "0.81576157", "0.81576157", "0.81576157", "0.8157615...
0.7719434
92
The name of the Amazon S3 bucket associated with Redshift.
def l7rj(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'bucket_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cFqg(YKHO) -> str:\n return qe4Y.get(YKHO, 's3_bucket_name')", "def PbOt(YKHO):\n return YKHO._s3Bucket.s3_name", "def cFqg(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 's3_bucket_name')", "def l7rj(YKHO):\n return YKHO.conf['aws']['bucket_name']", "def ABwj(YKHO) -> str:\n return q...
[ "0.8718058", "0.85029465", "0.83196676", "0.8289661", "0.8259145", "0.82540613", "0.81497526", "0.81497526", "0.81497526", "0.7972975", "0.79323804", "0.7785801", "0.7760974", "0.7760974", "0.7754336", "0.77373344", "0.77255476", "0.76290834", "0.76290834", "0.76290834", "0.7...
0.766139
18
The Amazon Resource Name (ARN) of the IAM role.
def axXk(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'role_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def axXk(YKHO) -> str:\n return qe4Y.get(YKHO, 'role_arn')", "def SQQ_(YKHO) -> str:\n return qe4Y.get(YKHO, 'iam_role_arn')", "def axXk(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'role_arn')", "def axXk(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'role_arn')", "def axXk(YKHO) ->...
[ "0.8796455", "0.87652236", "0.8685476", "0.8685476", "0.8685476", "0.8685476", "0.8685476", "0.8685476", "0.8607564", "0.85204834", "0.8368127", "0.82706803", "0.82706803", "0.82706803", "0.82433516", "0.82433516", "0.82433516", "0.82433516", "0.82433516", "0.8055668", "0.800...
0.8402682
10
The Amazon Resource Name (ARN) of the IAM role that grants Amazon AppFlow access to the data through the Amazon Redshift Data API.
def cKEe(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'data_api_role_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vJRv(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'data_access_role_arn')", "def vJRv(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'data_access_role_arn')", "def vJRv(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'data_access_role_arn')", "def vJRv(YKHO) -> h8nf[qe4Y.Input[str]]:\...
[ "0.7953664", "0.7953664", "0.7911778", "0.7888419", "0.7869981", "0.7868316", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0.77927625", "0...
0.7352914
69
The name of the Amazon Redshift serverless workgroup
def HHPU(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'workgroup_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cWas(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'work_group')", "def cWas(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'work_group')", "def Li0j(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'game_server_group_name')", "def b6sb(YKHO) -> str:\n return qe4Y.get(YKHO, 'deployment_gr...
[ "0.7353927", "0.72431517", "0.7167686", "0.71181893", "0.705625", "0.7035879", "0.69653237", "0.69413894", "0.69413894", "0.6919405", "0.6918486", "0.6819407", "0.6819407", "0.6819407", "0.6819407", "0.6819407", "0.6819407", "0.6819407", "0.6819407", "0.6819407", "0.6819407",...
0.7456471
0
The client credentials to fetch access token and refresh token.
def n3ZY(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'client_credentials_arn')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TNQQ(YKHO):\n return (YKHO.client_id, YKHO.client_secret, YKHO.code, YKHO.token, YKHO.rtoken)", "def nJOI(YKHO):\n zb3C = YKHO.client_id\n Cxz5 = YKHO.client_secret\n if Cxz5 is not None or zb3C is not None:\n Ck5W = f'{zb3C}:{Cxz5}'\n xiwp = WR89.b64encode(Ck5W.encode())\n r...
[ "0.8126038", "0.7619525", "0.7587", "0.7555906", "0.7530213", "0.7479249", "0.73120207", "0.7286554", "0.72689575", "0.70626646", "0.7042924", "0.7032124", "0.69881463", "0.6927507", "0.6895363", "0.68858355", "0.6873033", "0.6858283", "0.6851479", "0.68380433", "0.68305516",...
0.0
-1
The password that corresponds to the username.
def jTXt(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'password')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def AuKh(YKHO, NtEF):\n return aTOD.get_pass...
[ "0.84755343", "0.84755343", "0.84755343", "0.84755343", "0.8435346", "0.84294635", "0.82899827", "0.825765", "0.82535213", "0.8199178", "0.8199178", "0.8198059", "0.8178997", "0.817175", "0.817175", "0.817175", "0.8170944", "0.81576157", "0.81576157", "0.81576157", "0.8157615...
0.7966513
51
The client secret used by the oauth client to authenticate to the authorization server.
def Cxz5(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'client_secret')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cxz5(YKHO):\n return YKHO._client_secret", "def Cxz5(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def Cxz5(YKHO):\n return YKHO...
[ "0.8805032", "0.8540518", "0.85314894", "0.85314894", "0.85229164", "0.8205925", "0.8147962", "0.7963225", "0.7895592", "0.7895592", "0.7851977", "0.7851977", "0.7851977", "0.7851977", "0.7851977", "0.7851977", "0.78467995", "0.7711532", "0.76814", "0.74929655", "0.7424982", ...
0.8069965
8
The password that corresponds to the username.
def jTXt(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'password')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def AuKh(YKHO, NtEF):\n return aTOD.get_pass...
[ "0.84755343", "0.84755343", "0.84755343", "0.84755343", "0.8435346", "0.84294635", "0.82899827", "0.825765", "0.82535213", "0.8199178", "0.8199178", "0.8198059", "0.8178997", "0.817175", "0.817175", "0.817175", "0.8170944", "0.81576157", "0.81576157", "0.81576157", "0.8157615...
0.7966513
50
The name of the account.
def n8Ek(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'account_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def n8Ek(YKHO) -> str:\n return qe4Y.get(YKHO, 'account_name')", "def n8Ek(YKHO) -> str:\n return qe4Y.get(YKHO, 'account_name')", "def n8Ek(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'account_name')", "def n8Ek(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'account_name')", "def n...
[ "0.9368254", "0.9368254", "0.89374834", "0.89374834", "0.89374834", "0.89374834", "0.8896028", "0.87620944", "0.85613424", "0.85613424", "0.85613424", "0.85613424", "0.85613424", "0.85613424", "0.8110347", "0.7980114", "0.7980114", "0.7943836", "0.7929721", "0.78558856", "0.7...
0.83812094
15
The Secret Access Key portion of the credentials.
def pHgX(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'api_secret_key')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QDug(YKHO):\n return YKHO.credentials.secret_key", "def xL6j(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'secret_access_key')", "def xL6j(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'secret_access_key')", "def xL6j(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'secret_a...
[ "0.83858114", "0.8102605", "0.8102605", "0.7977463", "0.7875143", "0.7841558", "0.7750039", "0.7750039", "0.76865137", "0.7665931", "0.7665931", "0.76604474", "0.7594293", "0.75565976", "0.7519108", "0.7464306", "0.73194885", "0.73194885", "0.73194885", "0.73194885", "0.73194...
0.69948345
62
The password that corresponds to the username.
def jTXt(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'password')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def jTXt(YKHO) -> str:\n return qe4Y.get(YKHO, 'password')", "def AuKh(YKHO, NtEF):\n return aTOD.get_pass...
[ "0.84755343", "0.84755343", "0.84755343", "0.84755343", "0.8435346", "0.84294635", "0.82899827", "0.825765", "0.82535213", "0.8199178", "0.8199178", "0.8198059", "0.8178997", "0.817175", "0.817175", "0.817175", "0.8170944", "0.81576157", "0.81576157", "0.81576157", "0.8157615...
0.7966513
55
The client secret used by the oauth client to authenticate to the authorization server.
def Cxz5(YKHO) -> qe4Y.Input[str]: return qe4Y.get(YKHO, 'client_secret')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Cxz5(YKHO):\n return YKHO._client_secret", "def Cxz5(YKHO) -> str:\n return qe4Y.get(YKHO, 'client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def H6un(YKHO) -> str:\n return qe4Y.get(YKHO, 'oauth2_client_secret')", "def Cxz5(YKHO):\n return YKHO...
[ "0.8805032", "0.8540518", "0.85314894", "0.85314894", "0.85229164", "0.8205925", "0.8147962", "0.7963225", "0.7895592", "0.7895592", "0.7851977", "0.7851977", "0.7851977", "0.7851977", "0.7851977", "0.7851977", "0.78467995", "0.7711532", "0.76814", "0.74929655", "0.7424982", ...
0.8069965
12
List of fields used as ID when performing a write operation.
def nD_V(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'id_field_names')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tski(YKHO):\n vaWC = ['id']\n return YKHO._get_fields(vaWC)", "def TnMw(Emd4):\n return [Jyyj['identifier'] for Jyyj in Emd4.fields]", "def EYg0():\n return ['ID', 'Category', 'Amount', 'Date']", "def TnMw(YKHO):\n V_D6 = []\n for Jyyj in YKHO.identity_fields.all():\n V_D6.append...
[ "0.80270946", "0.7052915", "0.67899054", "0.6758806", "0.67118394", "0.655169", "0.651267", "0.65061677", "0.6446541", "0.64369214", "0.64369214", "0.6394329", "0.634886", "0.6345233", "0.6335654", "0.6310177", "0.6280172", "0.625032", "0.6230406", "0.61632746", "0.6127613", ...
0.6643205
8
List of fields used as ID when performing a write operation.
def nD_V(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'id_field_names')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tski(YKHO):\n vaWC = ['id']\n return YKHO._get_fields(vaWC)", "def TnMw(Emd4):\n return [Jyyj['identifier'] for Jyyj in Emd4.fields]", "def EYg0():\n return ['ID', 'Category', 'Amount', 'Date']", "def TnMw(YKHO):\n V_D6 = []\n for Jyyj in YKHO.identity_fields.all():\n V_D6.append...
[ "0.80270946", "0.7052915", "0.67899054", "0.6758806", "0.67118394", "0.655169", "0.651267", "0.65061677", "0.6446541", "0.64369214", "0.64369214", "0.6394329", "0.634886", "0.6345233", "0.6335654", "0.6310177", "0.6280172", "0.625032", "0.6230406", "0.61632746", "0.6127613", ...
0.6643205
6
List of fields used as ID when performing a write operation.
def nD_V(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'id_field_names')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tski(YKHO):\n vaWC = ['id']\n return YKHO._get_fields(vaWC)", "def TnMw(Emd4):\n return [Jyyj['identifier'] for Jyyj in Emd4.fields]", "def EYg0():\n return ['ID', 'Category', 'Amount', 'Date']", "def TnMw(YKHO):\n V_D6 = []\n for Jyyj in YKHO.identity_fields.all():\n V_D6.append...
[ "0.8027325", "0.70504355", "0.6788241", "0.67566633", "0.6711932", "0.654957", "0.6511975", "0.65035486", "0.64452773", "0.6435323", "0.6435323", "0.63929516", "0.63462925", "0.6343684", "0.633497", "0.63097143", "0.627811", "0.6248905", "0.62292564", "0.61626416", "0.6127184...
0.6641734
5
List of fields used as ID when performing a write operation.
def nD_V(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'id_field_names')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Tski(YKHO):\n vaWC = ['id']\n return YKHO._get_fields(vaWC)", "def TnMw(Emd4):\n return [Jyyj['identifier'] for Jyyj in Emd4.fields]", "def EYg0():\n return ['ID', 'Category', 'Amount', 'Date']", "def TnMw(YKHO):\n V_D6 = []\n for Jyyj in YKHO.identity_fields.all():\n V_D6.append...
[ "0.8027325", "0.70504355", "0.6788241", "0.67566633", "0.6711932", "0.654957", "0.6511975", "0.65035486", "0.64452773", "0.6435323", "0.6435323", "0.63929516", "0.63462925", "0.6343684", "0.633497", "0.63097143", "0.627811", "0.6248905", "0.62292564", "0.61626416", "0.6127184...
0.6641734
7
Returns json with all amenities for a given place
def Bs1P(SsWt): C6id = S8SU.get(pRgP, SsWt) if C6id is None: eTsH(404) if AxXv('HBNB_TYPE_STORAGE') == 'db': YP9k = C6id.amenities else: YP9k = C6id.amenity_ids return pz3A([l050.to_dict() for l050 in YP9k])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oeXe(SsWt):\n C6id = S8SU.get('Place', SsWt)\n if C6id is None:\n eTsH(404)\n YP9k = [l050.to_dict() for l050 in C6id.amenities]\n return pz3A(YP9k)", "def j6lK(SsWt):\n C6id = S8SU.get(pRgP, SsWt)\n nQpt = []\n if C6id is None:\n eTsH(404)\n for l050 in C6id.amenities:\...
[ "0.79058653", "0.78781015", "0.76892364", "0.7382497", "0.7316528", "0.725175", "0.71371716", "0.70862687", "0.70785064", "0.7014397", "0.69822645", "0.6937848", "0.69096816", "0.6891791", "0.68826485", "0.6865877", "0.6862825", "0.6829343", "0.6793275", "0.6785685", "0.67513...
0.7598438
3
r"""Test quantization for nested model, top level 'fc3' and 'fc1' of submodule 'sub2', All 'torch.nn.Linear' modules are quantized
def QpHr(YKHO): C3ST = _2Kc().eval() ETqL = {'fc3': None, 'sub2.fc1': None, ht2j.nn.Linear: xJAX} zORM(C3ST, ETqL) KmGY(C3ST, YKHO.calib_data) XScw(C3ST) def PsP_(C3ST): YKHO.checkDynamicQuantizedLinear(C3ST.sub1.fc) YKHO.checkLinear(C3ST.fc3) YKHO.checkLinear(C3ST.sub2....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def F8nL(YKHO):\n C3ST = _2Kc().eval()\n gJ2d = {'dtype': ht2j.quint8, 'qscheme': ht2j.per_tensor_affine}\n tirY = x5gP(weight=dU6R)\n Hi4l = {'fc3': xJAX, 'sub2': xJAX, 'sub2.fc1': tirY}\n zORM(C3ST, Hi4l)\n XScw(C3ST)\n\n def PsP_(C3ST):\n YKHO.checkDynamicQuantizedLinear(C3ST.sub2.fc...
[ "0.78038764", "0.7668517", "0.7635672", "0.752391", "0.7287599", "0.71298873", "0.6231716", "0.6135233", "0.6072983", "0.6039357", "0.5997951", "0.59752315", "0.5915291", "0.58853185", "0.5859991", "0.58047414", "0.57748735", "0.5763911", "0.5750616", "0.57195294", "0.5676061...
0.6596916
6
To create an offer, we need to ensure that a course exists, because we need its id. To create a course, we need to ensure that a campus exists, because we need its id. To create a campus, we need to ensure that a university exists, because we need its id. So, starting from creating a university then using its response ...
def RJEd(YKHO): Kei0 = YKHO.client.post(gxEw('university-list'), {'name': 'Anhembi', 'score': 3.5, 'logo_url': 'https://logo.url/image.jpg'}, format='json') YKHO.assertEqual(Kei0.status_code, jGRS.HTTP_201_CREATED) kLrH = YKHO.client.post(gxEw('campus-list'), {'name': 'Name Of Campus', 'city': 'São José dos...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dDz2(YKHO):\n YKHO.client().post('/api/v1/auth/signup', data=YKHO.user_data)\n V9Rh = YKHO.client().post('/api/v1/auth/login', data=YKHO.user_data)\n NT__ = qQXR.loads(V9Rh.data.decode())['access_token']\n geh0 = YKHO.client().post('/api/v1/ride/create', headers=dict(Authorization='Bearer ' + NT__)...
[ "0.59346825", "0.5845034", "0.58107704", "0.58072686", "0.5782557", "0.5748961", "0.5742607", "0.5704664", "0.5696342", "0.5658568", "0.5649164", "0.5647673", "0.5638373", "0.5626067", "0.5624088", "0.5618053", "0.55451816", "0.5523946", "0.55226445", "0.55225253", "0.5505369...
0.7406813
0
Applies an image mask. Only keeps the region of the image defined by the polygon formed from `vertices`. The rest of the image is set to black.
def _cN7(VXjJ, iXlf): ZHfW = oyIN.zeros_like(VXjJ) if len(VXjJ.shape) > 2: M9nc = VXjJ.shape[2] K43N = (255,) * M9nc else: K43N = 255 XC5k.fillPoly(ZHfW, iXlf, K43N) return XC5k.bitwise_and(VXjJ, ZHfW)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWKt(YKHO, VXjJ, iXlf):\n ZHfW = oyIN.zeros_like(VXjJ)\n if len(VXjJ.shape) > 2:\n M9nc = VXjJ.shape[2]\n K43N = (255,) * M9nc\n else:\n K43N = 255\n XC5k.fillPoly(ZHfW, iXlf, K43N)\n lVtf = XC5k.bitwise_and(VXjJ, ZHfW)\n return lVtf", "def mWKt(YKHO, VXjJ, iXlf):\n ...
[ "0.76003045", "0.76003045", "0.76003045", "0.76003045", "0.75643826", "0.7526626", "0.75111663", "0.75096565", "0.75030285", "0.75013685", "0.749788", "0.7446694", "0.7437159", "0.74234957", "0.74063224", "0.74063224", "0.73953575", "0.73953575", "0.73953575", "0.73953575", "...
0.71015924
75
Log Errors caused by Updates.
def P1dF(QdZT, QpfX): rNkx.bot.send_message(chat_id=mBtQ, text=f'Update {QdZT} caused error {QpfX.error}') bo34.warning('Update "%s" caused error "%s"', QdZT, QpfX.error)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P1dF(JyK9, QdZT, P1dF):\n bo34.warning('Error: \"%s\" caused error \"%s\"', QdZT, P1dF)\n bo34.setLevel(G9jH.DEBUG)", "def rP1w(QdZT, QpfX):\n bo34.warning(f'Update \"{QdZT}\" caused error {QpfX.error}\"')", "def P1dF(QdZT, QpfX):\n G9jH.error('Update \"%s\" caused error \"%s\"', QdZT, QpfX.err...
[ "0.7895395", "0.788395", "0.78750193", "0.7873498", "0.78300834", "0.7790406", "0.7785151", "0.77837753", "0.77837753", "0.77837753", "0.77837753", "0.77837753", "0.7781314", "0.77660847", "0.7746185", "0.7746185", "0.7746185", "0.7746185", "0.7746185", "0.7746185", "0.774618...
0.0
-1
Returns the dictionary that contains the prime factors of integer `n`.
def wWAM(exwG): Llmz = {} Csk6 = 2 while Csk6 * Csk6 <= exwG: while exwG % Csk6 == 0: Llmz[Csk6] = Llmz.get(Csk6, 0) + 1 exwG //= Csk6 Csk6 += 1 if exwG > 1: Llmz[exwG] = 1 return Llmz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ae6e(exwG):\n assert exwG > 1\n KX6O = {}\n UHFx = 0\n while exwG & 1 == 0:\n UHFx += 1\n exwG >>= 1\n if UHFx:\n KX6O[2] = UHFx\n UHFx = 0\n for WKvO in Ni9Y(3, int(epAf.floor(epAf.sqrt(exwG))) + 1, 2):\n while exwG % WKvO == 0:\n UHFx += 1\n ...
[ "0.87575054", "0.8749677", "0.863925", "0.862342", "0.86107457", "0.85728693", "0.8428991", "0.8357049", "0.8333927", "0.82377803", "0.82128936", "0.810327", "0.8051743", "0.8042487", "0.80111223", "0.7982264", "0.78684956", "0.78218967", "0.78190255", "0.7805117", "0.7799338...
0.8846756
0
Returns the list that contians the prime factors of integer `n`.
def YNVJ(exwG): Llmz = [] Csk6 = 2 while Csk6 * Csk6 <= exwG: while exwG % Csk6 == 0: Llmz.append(Csk6) exwG //= Csk6 Csk6 += 1 if exwG > 1: Llmz.append(exwG) return Llmz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uBVK(exwG):\n YRbF = 2\n Llmz = []\n while YRbF * YRbF <= exwG:\n if exwG % YRbF:\n YRbF += 1\n else:\n exwG //= YRbF\n Llmz.append(YRbF)\n if exwG > 1:\n Llmz.append(exwG)\n return Llmz", "def aWCg(exwG: int):\n Ylbp = []\n WdZV(exwG...
[ "0.91844827", "0.9181762", "0.91093946", "0.90894973", "0.908658", "0.906239", "0.89978623", "0.8996048", "0.8992458", "0.89658886", "0.89573234", "0.8948339", "0.8926847", "0.8901041", "0.8877821", "0.8861945", "0.8861945", "0.8853626", "0.8831867", "0.8826415", "0.8821665",...
0.8866027
15
Return package version as listed in `__version__` in `init.py`.
def kaPv(B5hb): Eosz = open(Hy7s.path.join(B5hb, '__init__.py')).read() return ZbWC.match('__version__ = [\'"]([^\'"]+)[\'"]', Eosz).group(1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kaPv(B5hb):\n Eosz = open(Hy7s.path.join(B5hb, '__init__.py')).read()\n return ZbWC.search('__version__ = [\\'\"]([^\\'\"]+)[\\'\"]', Eosz).group(1)", "def kaPv(B5hb):\n Eosz = open(Hy7s.path.join(B5hb, '__init__.py')).read()\n return ZbWC.search('^__version__ = [\\'\"]([^\\'\"]+)[\\'\"]', Eosz, ...
[ "0.8436293", "0.83891416", "0.83891416", "0.8371279", "0.8371279", "0.8371279", "0.8371279", "0.8371279", "0.83666337", "0.8336742", "0.8336742", "0.8277694", "0.8274187", "0.8240944", "0.8209245", "0.81766874", "0.8170227", "0.8100394", "0.80815375", "0.8043903", "0.8017112"...
0.83303106
11
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(*qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.7979208", "0.71199304", "0.71150976", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", ...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.7978994", "0.7120676", "0.7114939", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", ...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.79800886", "0.7121055", "0.7115884", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", ...
0.0
-1
Return the integer represented by the given array of bytes. bytes Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of builtin objects that support the buffer protocol. byteorder The byte order used to rep...
def bQ4v(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bQ4v(iCJ7, abwh):\n return int.from_bytes(iCJ7, abwh)", "def gs1C(bytes, abwh='little', i1fZ=False):\n return int.from_bytes(bytes, byteorder=abwh, signed=i1fZ)", "def PCNz(J83E):\n Mkmy = 0\n XP5J = 0\n for Fg_i in J83E:\n Mkmy |= Fg_i << 8 * XP5J\n XP5J += 1\n return Mkmy"...
[ "0.7733996", "0.76504153", "0.7494796", "0.74759644", "0.7398911", "0.737474", "0.72705", "0.71186054", "0.70910555", "0.7087342", "0.70790315", "0.70769405", "0.7011334", "0.6908126", "0.68604225", "0.6857655", "0.68378997", "0.680182", "0.6778887", "0.67755294", "0.677341",...
0.0
-1
Return an array of bytes representing an integer. length Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte ...
def ntSl(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KA36(kAne, u54L, abwh, i1fZ=False):\n if u54L < 0:\n raise ValueError('length argument must be non-negative')\n if u54L == 0 and kAne == 0:\n return bytes()\n if i1fZ and kAne < 0:\n UOVU = u54L * 8\n mLGw = 2 ** UOVU + kAne\n if mLGw <= 0:\n raise Overflo...
[ "0.77883327", "0.74286056", "0.73471695", "0.7258138", "0.7105496", "0.7036784", "0.7035607", "0.70195216", "0.69010544", "0.67472965", "0.6668993", "0.65593874", "0.6554709", "0.6455506", "0.63430357", "0.6326674", "0.6315926", "0.63088316", "0.63087326", "0.6284058", "0.625...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.7979208", "0.71199304", "0.71150976", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", ...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.7978994", "0.7120676", "0.7114939", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", ...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.79800886", "0.7121055", "0.7115884", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", "0.70903987", ...
0.0
-1
Return the integer represented by the given array of bytes. bytes Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of builtin objects that support the buffer protocol. byteorder The byte order used to rep...
def bQ4v(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bQ4v(iCJ7, abwh):\n return int.from_bytes(iCJ7, abwh)", "def gs1C(bytes, abwh='little', i1fZ=False):\n return int.from_bytes(bytes, byteorder=abwh, signed=i1fZ)", "def PCNz(J83E):\n Mkmy = 0\n XP5J = 0\n for Fg_i in J83E:\n Mkmy |= Fg_i << 8 * XP5J\n XP5J += 1\n return Mkmy"...
[ "0.7733996", "0.76504153", "0.7494796", "0.74759644", "0.7398911", "0.737474", "0.72705", "0.71186054", "0.70910555", "0.7087342", "0.70790315", "0.70769405", "0.7011334", "0.6908126", "0.68604225", "0.6857655", "0.68378997", "0.680182", "0.6778887", "0.67755294", "0.677341",...
0.0
-1
Return an array of bytes representing an integer. length Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte ...
def ntSl(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KA36(kAne, u54L, abwh, i1fZ=False):\n if u54L < 0:\n raise ValueError('length argument must be non-negative')\n if u54L == 0 and kAne == 0:\n return bytes()\n if i1fZ and kAne < 0:\n UOVU = u54L * 8\n mLGw = 2 ** UOVU + kAne\n if mLGw <= 0:\n raise Overflo...
[ "0.77883327", "0.74286056", "0.73471695", "0.7258138", "0.7105496", "0.7036784", "0.7035607", "0.70195216", "0.69010544", "0.67472965", "0.6668993", "0.65593874", "0.6554709", "0.6455506", "0.63430357", "0.6326674", "0.6315926", "0.63088316", "0.63087326", "0.6284058", "0.625...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.7979208", "0.71199304", "0.71150976", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", "0.7089895", ...
0.0
-1
Return the integer represented by the given array of bytes. bytes Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of builtin objects that support the buffer protocol. byteorder The byte order used to rep...
def bQ4v(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bQ4v(iCJ7, abwh):\n return int.from_bytes(iCJ7, abwh)", "def gs1C(bytes, abwh='little', i1fZ=False):\n return int.from_bytes(bytes, byteorder=abwh, signed=i1fZ)", "def PCNz(J83E):\n Mkmy = 0\n XP5J = 0\n for Fg_i in J83E:\n Mkmy |= Fg_i << 8 * XP5J\n XP5J += 1\n return Mkmy"...
[ "0.77314883", "0.7649994", "0.7493425", "0.74741656", "0.7397756", "0.73730177", "0.72696", "0.71176136", "0.70902365", "0.7085928", "0.70787513", "0.70767915", "0.7010843", "0.69074196", "0.68603486", "0.68567365", "0.6837195", "0.6800671", "0.67780864", "0.6774914", "0.6772...
0.0
-1
Return an array of bytes representing an integer. length Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte ...
def ntSl(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KA36(kAne, u54L, abwh, i1fZ=False):\n if u54L < 0:\n raise ValueError('length argument must be non-negative')\n if u54L == 0 and kAne == 0:\n return bytes()\n if i1fZ and kAne < 0:\n UOVU = u54L * 8\n mLGw = 2 ** UOVU + kAne\n if mLGw <= 0:\n raise Overflo...
[ "0.77890533", "0.7431106", "0.7347431", "0.72583485", "0.71052164", "0.7038834", "0.7034264", "0.702012", "0.69006056", "0.6746243", "0.6670121", "0.6558606", "0.65544677", "0.6455052", "0.63429767", "0.63267946", "0.6315088", "0.630883", "0.63085663", "0.62849116", "0.625552...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.7979661", "0.712131", "0.71145266", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", "0.70909053", ...
0.0
-1
This method is called when a class is subclassed. The default implementation does nothing. It may be overridden to extend subclasses.
def kblH(YKHO, *qIxc, **B2fa): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b8V_(YKHO):\n print('Subclass and over-ride this method.')", "def FIMM(YKHO):\n super().__init__(None)", "def FIMM(YKHO):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2fa):\n pass", "def hQ7u(YKHO, *qIxc, **B2...
[ "0.7978994", "0.7120676", "0.7114939", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", "0.70904213", ...
0.0
-1
Returns the skimagelike module for a given array (skimage or cucim)
def HeTB(YKHO, ag0A: str, qw7D: xpArray) -> SnBA.ModuleType: try: import cupy if isinstance(qw7D, cupy.ndarray): return ANWz.import_module(f'cucim.skimage.{ag0A}') except ModuleNotFoundError: return ANWz.import_module(f'skimage.{ag0A}') return ANWz.import_module(f'skimage...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HSWV(YKHO, qw7D: xpArray) -> SnBA.ModuleType:\n try:\n import cupyx\n return cupyx.scipy.get_array_module(qw7D)\n except ModuleNotFoundError:\n import scipy\n return scipy", "def cMYb():\n U9Z2 = Zm68()\n return U9Z2", "def Vwr2(YKHO, qw7D: xpArray) -> SnBA.ModuleTyp...
[ "0.67177474", "0.59249914", "0.56486225", "0.56305236", "0.5601944", "0.55661625", "0.5559892", "0.554971", "0.55490506", "0.548734", "0.5454731", "0.5440759", "0.54110515", "0.54078144", "0.54024684", "0.53914464", "0.5377214", "0.53435427", "0.5334968", "0.5322394", "0.5322...
0.7229546
0
Compute softmax values for each sets of scores in x.
def N93T(WKvO): uw5A = oyIN.exp(WKvO - oyIN.max(WKvO)) return uw5A / uw5A.sum()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oSvh(WKvO):\n S2MS = []\n if oyIN.array(WKvO).ndim == 1:\n hrCc = oyIN.exp(WKvO)\n RmXN = oyIN.sum(hrCc)\n xzMv = hrCc / RmXN\n dzye = xzMv\n else:\n dzye = oyIN.exp(cCrA) / oyIN.sum(oyIN.exp(cCrA), axis=0)\n return dzye", "def N93T(WKvO):\n j1LR = oyIN.exp(o...
[ "0.80113125", "0.77607703", "0.77607703", "0.7687368", "0.76707524", "0.76605", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76571554", "0.76397043", "0.762786", "0.7551623", "0.7532752", "0.74565", "0.73242354", "0.73171765", "0.7298...
0.7092462
55
Initialize the translator from a GeoJSON file
def yvHe(Emd4, Ux0P): if Hy7s.path.exists(Ux0P): qQXR = zCqF(Ux0P) rV9y = DbSz() rV9y.buildings = qQXR.buildings return rV9y else: raise Exception(f'GeoJSON file does not exist: {Ux0P}')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pktP(Emd4, qaEx, kXUa, JZXy, dcZ_):\n with open(qaEx) as eHNT:\n fGC9 = qQXR.load(eHNT)\n NuvJ = Emd4.from_dict(kXUa, JZXy, dcZ_, fGC9)\n return NuvJ", "def tyeH(Emd4, Ux0P):\n with open(Ux0P) as eHNT:\n RGIO = qQXR.loads(eHNT.read())\n g760 = [LRdN(fvDH) for fvDH in RGIO['collec...
[ "0.66425806", "0.646427", "0.6377906", "0.63296205", "0.6198964", "0.61688495", "0.6161016", "0.61602485", "0.61598545", "0.61431813", "0.6130281", "0.60822874", "0.605186", "0.6042043", "0.6042043", "0.60354424", "0.6034981", "0.6030988", "0.60252523", "0.6022925", "0.601723...
0.74425405
0
Returns the analog voltages, currents and temperatures
def ui7V(YKHO): ejhk = {} for gnvr in [1, 2]: BvfI = YKHO.analog_monitor.get_monitor_data(gnvr) for H5ew in BvfI.keys(): ejhk[H5ew] = BvfI[H5ew] return ejhk
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def f4ET():\n hkxX = []\n for wVyj in range(7):\n hkxX.append(f_lI(wVyj))\n return hkxX", "def uEUy(z0zO):\n return sd5V(p_6o(z0zO))", "def p_6o(z0zO):\n Ty9i = z0zO * sFh5 / Mi7u\n return Ty9i", "def UIJP(YKHO):\n return YKHO.__analog_values_map.copy()", "def l5vj(YKHO):\n r...
[ "0.6920523", "0.6760164", "0.65244037", "0.65125316", "0.64610994", "0.6429591", "0.64099884", "0.63799936", "0.6331238", "0.62511253", "0.61878467", "0.61717683", "0.6159173", "0.6131296", "0.608232", "0.6056496", "0.602324", "0.5989235", "0.5967554", "0.5962146", "0.5938225...
0.0
-1
Convert I/Q to LSB/USB When a hybrid state is 1 or True, the hybdrids are bypassed. This is the default (on power up) state. When the state is 0 or False, the hybrid is engaged to convert the complex IF (I and Q) to lower and upper sidebands. To make this function more intuitive, the logic is inverted here, that is, Tr...
def tJcM(YKHO, QTBn): wspz = {} for Bc4p in YKHO.DC.keys(): wspz[Bc4p] = YKHO.DC[Bc4p].set_state(1 - int(QTBn)) return wspz
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d48s(BWXx):\n if BWXx == 'on':\n return True\n elif BWXx == 'off':\n return False\n else:\n return float('nan')", "def Y4BZ(YKHO, QTBn):\n if QTBn == uaAZ.Checked:\n YKHO.ui.OD0_check.setStyleSheet(WUcT)\n YKHO.ui.OD0_check.setText(bGrB('HI'))\n YKHO.OUTM...
[ "0.593725", "0.56186557", "0.5595571", "0.55135304", "0.5442973", "0.5396336", "0.53543854", "0.53310037", "0.53259224", "0.532545", "0.53187525", "0.5303561", "0.52928084", "0.52489525", "0.5247131", "0.5242486", "0.5234574", "0.5224672", "0.52235657", "0.51721436", "0.51629...
0.48970628
57
Chops Iterable into chunks.
def eHxA(OxJJ, ztRo): OxJJ = list(OxJJ) for YRbF in range(0, len(OxJJ), ztRo): yield OxJJ[YRbF:YRbF + ztRo]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def O2Hj(YKHO, OxJJ, ztRo):\n oHE7 = iter(OxJJ)\n while True:\n yOAJ = list(uOgj(oHE7, ztRo))\n if yOAJ:\n yield yOAJ\n else:\n return", "def MN9g(OxJJ, fcYF):\n oHE7 = enumerate(OxJJ)\n while True:\n yOAJ = list(Hs6x.islice(oHE7, fcYF))\n if n...
[ "0.7454689", "0.7135605", "0.713517", "0.70896655", "0.7003637", "0.6991617", "0.69868344", "0.6984104", "0.69231206", "0.6921986", "0.6921986", "0.69142747", "0.6895334", "0.689155", "0.6855035", "0.6853475", "0.6849794", "0.68474436", "0.68429404", "0.6838852", "0.6829266",...
0.69145775
11
Create an empty blockchain and num_nodes wallets. Useful if a test case wants complete control over initialization.
def JCXU(l_jd, EKkU): for YRbF in range(EKkU): shTr(l_jd, YRbF)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.unconfirmed_transactions = []\n YKHO.chain = []\n YKHO.create_genesis_block()", "def ALtm():\n return DqPV()", "def jHru(G9tU):\n hiR7 = G9tU.getblockcount()\n if hiR7 < 101:\n G9tU.generate(101 - hiR7)\n else:\n wMl7 = G9tU.getbalance()\n if wMl...
[ "0.6717338", "0.67160225", "0.64929414", "0.63638186", "0.63560855", "0.6207018", "0.6204238", "0.6194888", "0.6176505", "0.61004126", "0.60970795", "0.60539335", "0.6040349", "0.6016266", "0.601444", "0.6007299", "0.59308153", "0.58970606", "0.5891386", "0.5878623", "0.58724...
0.5524733
46
Create an empty blockchain and num_nodes wallets. Useful if a test case wants complete control over initialization.
def Lbkp(l_jd, EKkU, mCJL, o0Bj, e8_3=[]): for YRbF in range(EKkU): Sh1Z(l_jd, YRbF, mCJL[YRbF], o0Bj[YRbF], syM_(YRbF, e8_3))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.unconfirmed_transactions = []\n YKHO.chain = []\n YKHO.create_genesis_block()", "def ALtm():\n return DqPV()", "def jHru(G9tU):\n hiR7 = G9tU.getblockcount()\n if hiR7 < 101:\n G9tU.generate(101 - hiR7)\n else:\n wMl7 = G9tU.getbalance()\n if wMl...
[ "0.6717947", "0.6712786", "0.6493747", "0.6364144", "0.63552976", "0.62073016", "0.6205148", "0.61967087", "0.61754185", "0.6098627", "0.6097654", "0.6049664", "0.6041282", "0.60181975", "0.6012015", "0.60077286", "0.59306884", "0.5898499", "0.5892254", "0.58782667", "0.58725...
0.56385994
35
Return an OpenAPI parameter as a `dict`, given a marshmallow
def mquW(YKHO, Jyyj, *, mWFP, u1lE): Rci7 = Jyyj.metadata.get('location', None) QWcs = YKHO.field2property(Jyyj) return YKHO.property2parameter(QWcs, name=mWFP, required=Jyyj.required, multiple=isinstance(Jyyj, OZmU.fields.List), location=Rci7, default_in=u1lE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def r5Mm(YKHO):\n return {'type': 'object', 'example': {}}", "def MNRr(YKHO):\n Aofo = {}\n for hkS8, bGrB in YKHO.swagger_types.items():\n BWXx = getattr(YKHO, hkS8)\n if isinstance(BWXx, list):\n Aofo[hkS8] = list(map(lambda WKvO: WKvO.to_dict() if hasattr(WKvO, 'to_dict') els...
[ "0.6514705", "0.6280102", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "0.6105088", "...
0.0
-1
Get secret key for signing asymmetric token. Defaults to config.
def NPVB(): Ra87 = g1RD.get_by_id('jwt_secret_rsa') if Ra87 is None: if not gnPz.is_development(): G9jH.error('No default jwt rsa secret key set in production!') return GPtr.default_jwt_secret_rsa else: return Ra87.value
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QDug(YKHO) -> str:\n return qe4Y.get(YKHO, 'secret_key')", "def QDug(YKHO) -> str:\n return qe4Y.get(YKHO, 'secret_key')", "def QDug(YKHO) -> h8nf[str]:\n return N4yN.get('secretKey')", "def lpZ1(YKHO) -> str:\n Kxs4 = YKHO.signing_key.encode(encoder=nxWE).decode('utf-8')\n _sei = YKHO.ver...
[ "0.72990453", "0.72990453", "0.7263964", "0.72462493", "0.7020794", "0.69688404", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.6943992", "0.69402635", "0.68800914", "0.6880091...
0.67057776
31
Make sure the jti, uuid for this token, hasn't been used before.
def C_RW(pB3N, fHT3=True): cEJ0 = LgTF.get('jwt_jtis') or {} wzkt = qcWV.datetime.now() cEJ0 = {f9DO: kLQb for f9DO, kLQb in cEJ0.items() if kLQb > wzkt} if pB3N['jti'] in cEJ0: return False if fHT3: cEJ0[pB3N['jti']] = C6Od(pB3N['exp']) LgTF.set('jwt_jtis', cEJ0) return ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GYfc(YKHO):\n YKHO.payload[widx.JTI_CLAIM] = kxTZ().hex", "def GYfc(YKHO):\n YKHO.payload[widx.JTI_CLAIM] = kxTZ().hex", "def w93y(YKHO):\n YKHO.token.delete()\n eOtH = _J2v.objects.create(user=YKHO.user)\n YKHO.assertTrue(bool(eOtH.key))", "def eTZ9(YKHO):\n del YKHO.data['identity']\n...
[ "0.64112234", "0.64112234", "0.6024543", "0.6006382", "0.59610265", "0.5785658", "0.57186043", "0.57120025", "0.5650206", "0.5644037", "0.5598841", "0.55814826", "0.55606365", "0.55416656", "0.5540293", "0.55239487", "0.55094457", "0.5497116", "0.54956704", "0.5491151", "0.54...
0.5894737
5
Encode and sign a data payload into a json web token.
def BbPK(pB3N, DXni, E91_, D6Tc=60): RZVq = {'jti': str(qxeD.uuid4()), 'exp': int(ITS7.time()) + 60 * D6Tc, 'iat': int(ITS7.time())} pB3N = dict(pB3N, **RZVq) return DvJO.encode(pB3N, DXni, algorithm=E91_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kLcZ(H5ew, nPrm):\n pB3N = {'exp': qcWV.utcnow() + fCoM(seconds=wk5E.config.get('JWT_LIFESPAN')), 'jti': f'{ITS7.time()}-{tuKI.getrandbits(64)}', 'iss': wk5E.config.get('JWT_ISSUER'), 'iat': qcWV.utcnow(), 'sub': nPrm}\n try:\n return DvJO.encode(pB3N, key=H5ew, algorithm=wk5E.config.get('JWT_ALGO...
[ "0.74566674", "0.71246326", "0.6836393", "0.67890567", "0.67492753", "0.6747377", "0.67177016", "0.6693145", "0.66879326", "0.66853386", "0.66619474", "0.6649031", "0.6640444", "0.6586184", "0.65585464", "0.64971334", "0.64793164", "0.6466888", "0.6441946", "0.64315486", "0.6...
0.67392933
6
Returns home page HTML
def kZiy(): return '\n <!DOCTYPE html>\n <head>\n <title>Credit Card Default Risk App</title>\n <style>\n .content{\n max-width: 500px;\n margin: auto;\n }\n .button {\n background-color: #4CAF50;\n border: none;\n color: white;\n padding: 15px 25px;\n ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy():\n return TvZl('homepage.html')", "def C_QL():\n return TvZl('home.html')", "def kZiy():\n return TvZl('home.html')", "def C_QL():\n return TvZl('homepage.html')", "def C_QL():\n return TvZl('home.html')", "def C_QL():\n return TvZl('home.html')", "def C_QL():\n return T...
[ "0.8810718", "0.87285125", "0.86625624", "0.8654831", "0.8575174", "0.8575174", "0.8545777", "0.85408473", "0.85408473", "0.85256284", "0.85024655", "0.85023093", "0.84918123", "0.8463559", "0.84544593", "0.8449642", "0.8447276", "0.8415224", "0.84136647", "0.8399462", "0.839...
0.0
-1
Load the model.bin file for use in the application
def uyMl(): with open(GPtr.root + '/main/model.bin', 'rb') as vJOV: C3ST = t2lc.load(vJOV) return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl(YKHO):\n YKHO.model = uyMl('model/weights.18-0.39.hdf5')", "def uyMl(YKHO):\n YKHO.model = t2lc.load(open(YKHO.weights_file, 'rb'))", "def uyMl():\n pass", "def uyMl():\n pass", "def uyMl(Ux0P):\n pass", "def uyMl(YKHO):\n UXEK = open('models/' + YKHO.output_name)\n YKHO.ran...
[ "0.77479506", "0.7687289", "0.75285673", "0.75285673", "0.7486232", "0.74233675", "0.734235", "0.734235", "0.734235", "0.734235", "0.73230386", "0.73099387", "0.7287358", "0.7278222", "0.72033954", "0.71872294", "0.71805876", "0.71766716", "0.7167487", "0.715143", "0.71414036...
0.83139384
0
Check if user has permission with exception of the superuser.
async def has_perm(YKHO, *awnO, COmz=True) -> bool: if not awnO: return False C9iX = await YKHO.get_perms() if C9iX: if COmz: return YKHO.is_superuser or set(awnO) <= set(C9iX) return set(awnO) <= set(C9iX)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d0C1(YKHO):\n return YKHO.role == 'super'", "def tbeg(QePW: HttpRequest, CBIr: User) -> bool:\n Uvf2 = any([QePW.user == CBIr, QePW.user.is_superuser and (not CBIr.is_superuser), QePW.user.is_admin and (not CBIr.is_admin)])\n if not Uvf2:\n return False\n return True", "def qHTF(YKHO):\n...
[ "0.82896084", "0.8191153", "0.81333053", "0.80973905", "0.8007554", "0.7787176", "0.7761732", "0.7681037", "0.7614531", "0.76051235", "0.7584328", "0.7563975", "0.7556537", "0.75254893", "0.75187397", "0.7487729", "0.7487729", "0.7487729", "0.74554425", "0.74355483", "0.74314...
0.70257676
77
To change datatype of given columns to date datatype
def nN9n(YKHO, HX5m): eHNT = True while eHNT: for YRbF in HX5m: if YRbF in YKHO.df.columns: eHNT = False else: eHNT = True EBgd = True while EBgd: try: EBgd = False ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _7Le(nPrm, J9zc=[], ERCR=[], Dffo=[]):\n for fvDH in J9zc:\n nPrm[fvDH] = nPrm[fvDH].astype('int')\n for fvDH in ERCR:\n nPrm[fvDH] = rLdf.to_datetime(nPrm[fvDH])\n for fvDH in Dffo:\n nPrm[fvDH] = nPrm[fvDH].astype('float')\n return nPrm", "def WOOY(jQ3Z, Umr6=[], aUyp=[], U...
[ "0.7910277", "0.7477064", "0.7445255", "0.7279113", "0.7275901", "0.71848613", "0.6905466", "0.68811744", "0.68547136", "0.68361247", "0.6821765", "0.6810637", "0.67578954", "0.67393833", "0.6702842", "0.6692631", "0.6663354", "0.6640928", "0.6616672", "0.661112", "0.65520316...
0.6456905
23
Generate a distribution for c or x1, as defined in Scolnic and Kessler 2016 (lowz) or table 3 of the Pantheon paper (Scolnic et al 2018) (ps1) Returns a random float in the defined skewnormal distribution
def T7xd(DwKr, DHGA, huqp): while True: mvm2 = wL7C(-3, 3, 0, 1) WKvO = mvm2[0] lypQ = -(WKvO - DwKr) ** 2 if WKvO <= DwKr: JxU2 = epAf.exp(lypQ / (2 * DHGA ** 2)) else: JxU2 = epAf.exp(lypQ / (2 * huqp ** 2)) if JxU2 > mvm2[1]: bre...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zmG3() -> float:\n return K0SZ(tuKI.random())", "def ZU58(YKHO):\n xlLU = oyIN.random.multivariate_normal\n return xlLU(YKHO.e, YKHO.c, (YKHO.N, YKHO.s))", "def ZU58(YKHO):\n xlLU = oyIN.random.multivariate_normal\n return xlLU(YKHO.e, YKHO.c, (YKHO.N, YKHO.s))", "def l_BE(xqoZ):\n if j...
[ "0.7242329", "0.67861927", "0.67295945", "0.6696341", "0.6588657", "0.6559582", "0.636837", "0.6318769", "0.6302473", "0.6280792", "0.6269695", "0.6248858", "0.6233319", "0.61726683", "0.61687404", "0.6089793", "0.60499275", "0.6045664", "0.6012336", "0.6009743", "0.5971903",...
0.6016443
18
Remove insignificant whitespace from the html. >>> print(collapse_html('''\\ ... ... Heading ... ... ''')) Heading >>> print(collapse_html('''\\ ... ... Paragraph with ... multiple lines. ... ... ''')) Paragraph with multiple lines.
def Z0x9(_R2e): def uWkR(kUBT): h3Aq = kUBT.group(1) DOuq = kUBT.group(2) n294 = ' ' if h3Aq == '>' or DOuq == '<': n294 = '' return h3Aq + n294 + DOuq _R2e = ZbWC.sub('(>?)\\s*\\n\\s*(<?)', uWkR, _R2e) return _R2e.strip()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BI0Q(YKHO):\n if YKHO.tag in A1L1:\n YKHO.lstrip()\n YKHO.rstrip()\n for THkp, DpUl in zip(YKHO.children[:-1], YKHO.children[1:]):\n if isinstance(THkp, ZQHP) and THkp.endswith_whitespace() and DpUl.startswith_whitespace():\n DpUl.lstrip()\n for DpUl, NlZ_ in zip(YKHO.c...
[ "0.6442421", "0.6262359", "0.62501913", "0.6189944", "0.6162479", "0.61172366", "0.6048258", "0.60114336", "0.5985026", "0.5985026", "0.5985026", "0.5971336", "0.59467655", "0.5941823", "0.5935562", "0.5923631", "0.58990496", "0.5874822", "0.58701175", "0.58240825", "0.582077...
0.80179805
0
Return the correspondence's citation HTML string.
def ld6e(YKHO) -> str: cJBf = f'<a href="{YKHO.href}" target="_blank">{YKHO.type} to {YKHO.recipient or 'unidentified recipient'}</a>' AdfU = [YKHO.attributee_html, cJBf, f'dated {YKHO.date.string}' if YKHO.date else '', YKHO.descriptive_phrase, f'archived in {YKHO.collection}' if YKHO.collection else ''] r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PdDH(YKHO) -> str:\n return YKHO._citation", "def b9ap(YKHO) -> str:\n _R2e = YKHO.__html__()\n HqG5 = YKHO.get_container_strings()\n if HqG5:\n yqYz = ', and '.join(HqG5)\n _R2e = f'{_R2e}, {yqYz}'\n elif getattr(YKHO, 'page_number', None):\n Ov7_ = MTwQ(YKHO, YKHO.file, ...
[ "0.72436994", "0.715911", "0.7017274", "0.6774194", "0.6693129", "0.66820955", "0.66352785", "0.65707785", "0.6538262", "0.6513945", "0.64253783", "0.63013", "0.62545025", "0.6033498", "0.5987563", "0.5968977", "0.5927955", "0.5914759", "0.5895681", "0.58651227", "0.58586764"...
0.56932366
29
Tests the set_hand method.
def SiaL(YKHO, RLS5): XP5J = RLS5 assert XP5J.hands_dict is None XP5J.set_hand() assert XP5J.hands_dict == {1: {'busted': False, 'double down': False, 'hand': [], 'insurance': False, 'natural blackjack': False, 'settled natural blackjack': False, 'split': False, 'stand': False, 'surrender': False}}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Nc2A(YKHO, RZ8t=None):\n YKHO.hand = RZ8t or []", "def X8Rl(YKHO, khoC: [Card]):\n YKHO.hand = khoC", "def RZ8t(YKHO, khoC):\n YKHO.__hand = khoC", "def HI2A():\n MKlR = MsG1()\n dg7v = F1Hz('A', 'Heart')\n iYf1 = F1Hz('9', 'Spade')\n MKlR = MsG1(dg7v)\n MKlR = MsG1(dg7v, iYf1)\n ...
[ "0.7290263", "0.70799136", "0.7009857", "0.6950189", "0.6940134", "0.68497056", "0.6795602", "0.66826445", "0.66691047", "0.665538", "0.6614616", "0.6543367", "0.6542401", "0.6536795", "0.6528284", "0.65181524", "0.6513017", "0.65035397", "0.6498348", "0.64263606", "0.6386485...
0.8326383
0
hidden_dim size of internal LSTM layers batch_size size of minibatches during training preprend_social if True then user/subreddit embeds are prepended. if False then user/subreddit embeds are appended. if None then user/subreddit embeds are not fed to the LSTM. include_meta if True then metadata/linguistic/handenginee...
def FIMM(YKHO, Norb, Ep8u=uwaB.BATCH_SIZE, _z2I=True, prH1=False, hr1G=None, nsK8=True, Sseg=False): super(gZv3, YKHO).__init__() p26O = YKHO._load_glove_embeddings() YKHO.glove_embeds = ht2j.FloatTensor(p26O) YKHO.pad_embed = ht2j.zeros(1, uwaB.WORD_EMBED_DIM) YKHO.unk_embed = ht2j.FloatTensor(1, u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pOv4(YKHO, RB_t, W9gz, i0vx, dvBM, ecVU):\n for YRbF in range(YKHO.params.batch_size):\n LMfh = ZylS.slice(RB_t, [YRbF, 0, 0], [1, 1, YKHO.params.embed_size])\n for KCHu in range(1, ZylS.shape(RB_t)[1], 1):\n aAUk = ZylS.slice(RB_t, [YRbF, KCHu, 0], [1, 1, YKHO.params.embed_size])\n...
[ "0.60259724", "0.59957016", "0.5944145", "0.5930383", "0.5925391", "0.59224176", "0.5919292", "0.5904855", "0.588479", "0.5851217", "0.58377475", "0.5826979", "0.5825402", "0.5817262", "0.5814766", "0.5791992", "0.5784839", "0.5767104", "0.5759325", "0.57422584", "0.5742202",...
0.6985112
0
Returns the ith permutation of elements.
def q0ai(d6pt, UqER): dBuj = list(UqER) Ylbp = list() while len(dBuj) > 0: exwG = len(dBuj) Ylbp.append(dBuj.pop(d6pt / TFEx(exwG - 1))) d6pt = d6pt % TFEx(exwG - 1) return Ylbp
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fOZj(F6AI, exwG):\n bKCn = lambda WKvO: xBlr.reduce(lambda YRbF, r845: YRbF * r845, range(1, WKvO + 1))\n oeNL, yaaC = (0, 0)\n cZDQ = ''\n for YRbF in reversed(range(1, len(F6AI))):\n Y7FS = bKCn(YRbF)\n while yaaC + Y7FS < exwG:\n yaaC += Y7FS\n oeNL += 1\n ...
[ "0.656664", "0.6557614", "0.6520084", "0.65170145", "0.6299042", "0.629871", "0.6057923", "0.6012085", "0.5984078", "0.5981787", "0.5972269", "0.59703773", "0.59469664", "0.5932845", "0.59062135", "0.59047866", "0.590378", "0.58937675", "0.5890278", "0.5879682", "0.58781105",...
0.67137146
0
Configure the root logger.
def Qrn0(zeeE, PJWX=False): bo34 = G9jH.getLogger() bo34.setLevel(G9jH.DEBUG) C5iz = G9jH.StreamHandler() fzag = G9jH.DEBUG if PJWX else G9jH.ERROR C5iz.setLevel(fzag) bo34.addHandler(C5iz) with zeeE as pmON: L8wK = oTZi.RotatingFileHandler(str(pmON), maxBytes=10 * 1024 * 1024, encod...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bs4q(YKHO):\n Yco9 = G9jH.getLogger()\n Yco9.setLevel(YKHO.log_level)\n YKHO.log_to_stderr(Yco9)\n YKHO.log_to_file(Yco9)", "def EsWC(YKHO):\n Yco9 = G9jH.getLogger('')\n Yco9.setLevel(G9jH.DEBUG)\n if YKHO.options.log_file:\n L8wK = G9jH.FileHandler(filename=YKHO.options.log_file...
[ "0.8150579", "0.803686", "0.78891563", "0.7874536", "0.7754243", "0.75862247", "0.75757", "0.751234", "0.74444807", "0.74444807", "0.7395786", "0.7373374", "0.73609716", "0.7360545", "0.72943354", "0.72719866", "0.72697276", "0.71981156", "0.71266127", "0.7121831", "0.7107272...
0.70708853
25
Configure the root logger to be used by base16themeswitcher.
def cuWb(zeeE, PJWX): pmON = Bjcs.from_path_str(zeeE) Qrn0(pmON, PJWX)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Bs4q(YKHO):\n Yco9 = G9jH.getLogger()\n Yco9.setLevel(YKHO.log_level)\n YKHO.log_to_stderr(Yco9)\n YKHO.log_to_file(Yco9)", "def EsWC(YKHO):\n Yco9 = G9jH.getLogger('')\n Yco9.setLevel(G9jH.DEBUG)\n if YKHO.options.log_file:\n L8wK = G9jH.FileHandler(filename=YKHO.options.log_file...
[ "0.762664", "0.74890834", "0.7393556", "0.73596877", "0.73568404", "0.7330608", "0.7254177", "0.7236673", "0.71499515", "0.7129231", "0.7118481", "0.7064261", "0.70548403", "0.70547277", "0.70374465", "0.70284057", "0.70217943", "0.696172", "0.68948495", "0.6864907", "0.68316...
0.6956737
18
Get a logger for logging.INFO and more severe messages.
def X4K0(mWFP, j9Ra): bo34 = G9jH.getLogger(mWFP) bo34.setLevel(G9jH.INFO) if j9Ra: cWKK = ox01(G9jH.INFO) bo34.addHandler(cWKK) return bo34
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fZx2(ABDL=2):\n return onyh(level=2).logger", "def XIAT(mWFP: str) -> G9jH.Logger:\n bo34 = G9jH.getLogger(mWFP)\n bo34.setLevel(G9jH.INFO)\n if not bo34.handlers and (not G9jH.getLogger().handlers):\n DCgT = G9jH.StreamHandler(HwRy.stderr)\n bo34.addHandler(DCgT)\n return bo34",...
[ "0.7074627", "0.673284", "0.667011", "0.66442025", "0.66442025", "0.6637386", "0.6624746", "0.66062796", "0.66056126", "0.66040784", "0.6601585", "0.6599475", "0.6550713", "0.65401775", "0.6539077", "0.65374804", "0.65327066", "0.65284425", "0.6506908", "0.6500638", "0.646308...
0.6651768
3
Return all products available at the backend.
def CnKV(YKHO) -> oOja: nPrm = YKHO._get_records(series=True) hfrT = [] for xUwc in nPrm: try: cviu = jZ4I.literal_eval(xUwc['extent']['spatial']['bbox']) VOlW = jZ4I.literal_eval(xUwc['extent']['temporal']['interval']) except TypeError: cviu = [[-180.0, -...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CnKV():\n return (pz3A({'products': JPtw.products}), 200)", "def hMvN():\n return SVzl.getAllProducts()", "def CnKV(YKHO):\n xDcj = f'SELECT * FROM products'\n DpUl = YKHO.conn.cursor()\n DpUl.execute(xDcj)\n dixj = DpUl.fetchall()\n if not dixj:\n return False\n Ldyl = []\n ...
[ "0.83075625", "0.81179214", "0.81173915", "0.8084302", "0.8052939", "0.7927385", "0.78891814", "0.78875417", "0.77983123", "0.77655894", "0.7702974", "0.76903135", "0.76484406", "0.7645895", "0.76434", "0.76384336", "0.76336807", "0.7627441", "0.76257056", "0.76230407", "0.76...
0.0
-1
Store the results of the decorated function for fast lookup
def rxxd(JfyU): wyyA = {} @zaGL(JfyU) def h3Xc(*qIxc, **B2fa): H5ew = (qIxc, tuple(B2fa.items())) if H5ew not in wyyA: wyyA[H5ew] = EqBn = JfyU(*qIxc, **B2fa) return EqBn return wyyA[H5ew] return h3Xc
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wyyA(JfyU):\n JBAi = dict()\n\n def h3Xc(*qIxc, QdZT=False, **B2fa):\n \"\"\"Caching function\n \"\"\"\n if 'result' not in JBAi or QdZT:\n JBAi['result'] = JfyU(*qIxc, **B2fa)\n return JBAi['result']\n return h3Xc", "def NKcE(MCGS):\n return G0ix(MCGS, HEqy...
[ "0.74508923", "0.7204323", "0.71255183", "0.6969628", "0.6943908", "0.6936197", "0.6928723", "0.68481636", "0.6840311", "0.6801583", "0.67830396", "0.67601967", "0.6747943", "0.6745748", "0.67311674", "0.6725001", "0.6697421", "0.6695365", "0.66768605", "0.6676803", "0.666193...
0.65318584
35
Gets or sets the value of the content. This is based on the content source type.
def BWXx(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'value')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hGN5(YKHO):\n return YKHO.properties.get('content', None)", "def SvQl(YKHO, hGN5: Union[ValueType, SerializeType]):\n YKHO.content = hGN5\n YKHO.source_path = None", "def EPt3(YKHO):\n return YKHO.content", "def EPt3(YKHO):\n return YKHO.__content", "def BoLg(YKHO):\n return YKHO._con...
[ "0.7208239", "0.7202857", "0.7065109", "0.7034884", "0.70312494", "0.7019989", "0.70101094", "0.70101094", "0.70043355", "0.69466794", "0.69203615", "0.69203615", "0.69203615", "0.69203615", "0.69105244", "0.6901555", "0.6880866", "0.6879318", "0.6849294", "0.6841017", "0.683...
0.0
-1
The Dsc configuration property associated with the entity.
def FIMM(Ro_8, *, mWFP: Optional[pulumi.Input[str]]=None): if mWFP is not None: qe4Y.set(Ro_8, 'name', mWFP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def property(YKHO) -> str:\n return qe4Y.get(YKHO, 'property')", "def property(YKHO) -> str:\n return qe4Y.get(YKHO, 'property')", "def kV9P(YKHO) -> w4ot:\n return YKHO._org_apache_sling_datasource", "def wOGa(YKHO):\n return YKHO.properties.get('Configuration', None)", "def qblj(YKHO) -> w4ot...
[ "0.64710206", "0.64710206", "0.64300436", "0.6346827", "0.6328305", "0.6241171", "0.6232366", "0.62081736", "0.6146941", "0.6055159", "0.6043724", "0.60394144", "0.60348254", "0.60148555", "0.5950852", "0.5935312", "0.59262604", "0.59215003", "0.587986", "0.5834657", "0.58293...
0.0
-1
Gets or sets the name of the Dsc configuration.
def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO):\n return YKHO._config.get(BiEj)", "def Ks8p(YKHO) -> str:\n return YKHO._config.get_name()", "def mWFP(YKHO):\n return YKHO._config[BiEj]", "def mWFP(YKHO):\n return YKHO._config[BiEj]", "def mWFP(YKHO):\n return YKHO._config.name", "def mWFP(YKHO):\n return YKHO._config...
[ "0.7593201", "0.75618976", "0.7517391", "0.7511414", "0.740693", "0.740693", "0.740693", "0.72717696", "0.72018576", "0.720127", "0.71624625", "0.7002655", "0.68335396", "0.67118555", "0.67098653", "0.6626788", "0.66176844", "0.65786856", "0.6567631", "0.6567631", "0.65347743...
0.0
-1
Gets or sets the type of the parameter.
def type(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gbMs(YKHO) -> str:\n ...", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def CbyE(YKHO):\n pass", "def type(YKHO) -> laHg.Optional...
[ "0.77896523", "0.7625387", "0.7625387", "0.7625387", "0.7595444", "0.7522626", "0.7522626", "0.7357278", "0.7244548", "0.7108795", "0.7108795", "0.7065922", "0.703942", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "...
0.6917959
66
Gets or sets the name of the credential.
def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def doWn(YKHO):\n return YKHO._credential_name", "def pPc7(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'cloud_credential_name')", "def lWVC(YKHO) -> str:\n return qe4Y.get(YKHO, 'cloud_credential_secret_name')", "def ieDO(YKHO, Ubkq):\n return XfyW.get_credential_name(Ubkq.tenant_id, ...
[ "0.86802125", "0.77427334", "0.7632925", "0.7604101", "0.7431452", "0.7308826", "0.7145422", "0.71283925", "0.7026421", "0.7015704", "0.68869674", "0.6882406", "0.67649716", "0.67649716", "0.6698007", "0.66821396", "0.66710436", "0.666227", "0.6642214", "0.6637117", "0.657086...
0.0
-1
The runbook property associated with the entity.
def FIMM(Ro_8, *, mWFP: Optional[pulumi.Input[str]]=None): if mWFP is not None: qe4Y.set(Ro_8, 'name', mWFP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GLNK(YKHO) -> qe4Y.Output[h8nf['outputs.RunbookAssociationPropertyResponse']]:\n return qe4Y.get(YKHO, 'runbook')", "def wB6u(YKHO):\n return YKHO.roref", "def property(YKHO) -> str:\n return qe4Y.get(YKHO, 'property')", "def property(YKHO) -> str:\n return qe4Y.get(YKHO, 'property')", "def...
[ "0.71715444", "0.57069856", "0.5515845", "0.5515845", "0.54627115", "0.5368339", "0.53491986", "0.51955235", "0.5179814", "0.5157915", "0.5147423", "0.513798", "0.5100602", "0.50918746", "0.50918746", "0.5084576", "0.50671166", "0.5052664", "0.5032029", "0.5027792", "0.502581...
0.0
-1
Gets or sets the name of the runbook.
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._run_name", "def XGHj(YKHO, _83j: str) -> str:\n if _83j not in YKHO._run_name_to_run_resource_name:\n mDbr = YKHO._create_or_get_run_resource(_83j)\n YKHO._run_name_to_run_resource_name[_83j] = mDbr.name\n return YKHO._run_name_to_run_resource_name[_83...
[ "0.68335754", "0.641587", "0.63477695", "0.6318188", "0.6313381", "0.6200804", "0.6200804", "0.6200804", "0.6200804", "0.6200804", "0.6200804", "0.6172185", "0.6172185", "0.6164713", "0.614734", "0.60836077", "0.60807604", "0.60807604", "0.60807604", "0.60807604", "0.60807604...
0.0
-1
Definition of the runbook parameter type.
def FIMM(Ro_8, *, HyJ9: Optional[pulumi.Input[str]]=None, vrMp: Optional[pulumi.Input[bool]]=None, dQgj: Optional[pulumi.Input[int]]=None, type: Optional[pulumi.Input[str]]=None): if HyJ9 is not None: qe4Y.set(Ro_8, 'default_value', HyJ9) if vrMp is not None: qe4Y.set(Ro_8, 'is_mandatory', vrMp)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gbMs(YKHO) -> str:\n ...", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def CbyE(YKHO):\n pass", "def type(YKHO):\n return YKH...
[ "0.7372031", "0.6740777", "0.6740777", "0.6740777", "0.6615572", "0.6296859", "0.62756205", "0.62491035", "0.62169147", "0.6187114", "0.61857164", "0.61857164", "0.61857164", "0.61857164", "0.61857164", "0.61857164", "0.61857164", "0.61857164", "0.61857164", "0.61857164", "0....
0.0
-1
Gets or sets the type of the parameter.
def type(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gbMs(YKHO) -> str:\n ...", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def gbMs(YKHO) -> str:\n return HEOD.get(YKHO, 'parameterType')", "def CbyE(YKHO):\n pass", "def type(YKHO) -> laHg.Optional...
[ "0.77896523", "0.7625387", "0.7625387", "0.7625387", "0.7595444", "0.7522626", "0.7522626", "0.7357278", "0.7244548", "0.7108795", "0.7108795", "0.7065922", "0.703942", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "0.7028529", "...
0.6917959
70
The schedule property associated with the entity.
def FIMM(Ro_8, *, mWFP: Optional[pulumi.Input[str]]=None): if mWFP is not None: qe4Y.set(Ro_8, 'name', mWFP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b6Gq(YKHO) -> qe4Y.Output[h8nf['outputs.ScheduleAssociationPropertyResponse']]:\n return qe4Y.get(YKHO, 'schedule')", "def g8Rv(YKHO) -> 'Scheduling':\n return laHg.cast('Scheduling', YKHO._properties.get('scheduling'))", "def b6Gq(YKHO):\n return YKHO._schedule", "def b6Gq(YKHO):\n return YK...
[ "0.74530953", "0.74508613", "0.7441238", "0.7441238", "0.7441238", "0.7441238", "0.71457636", "0.71457636", "0.71406823", "0.7118353", "0.71182024", "0.68579984", "0.68213385", "0.6773774", "0.6771887", "0.67423004", "0.67423004", "0.6647744", "0.6619262", "0.6615909", "0.661...
0.0
-1
Gets or sets the name of the Schedule.
def mWFP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mWFP(YKHO) -> str:\n if YKHO.schedule and YKHO.schedule['name']:\n return YKHO.schedule['name']\n else:\n return 'Schedule #{}'.format(YKHO.schedule_id)", "def mWFP(YKHO) -> str:\n if YKHO.schedule and YKHO.schedule[r2U0]:\n return YKHO.schedule[r2U0]\n else:\n return ...
[ "0.85072374", "0.8204912", "0.81248707", "0.71716845", "0.7085096", "0.7085096", "0.6717208", "0.6717208", "0.6717208", "0.6696298", "0.6640042", "0.6640042", "0.6560367", "0.6543337", "0.64451396", "0.64203393", "0.64203393", "0.64203393", "0.64203393", "0.64203393", "0.6420...
0.0
-1
Gets or sets the SKU name of the account.
def mWFP(YKHO) -> qe4Y.Input[uLKX[str, 'SkuNameEnum']]: return qe4Y.get(YKHO, 'name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mDSP(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'sku_name')", "def mDSP(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'sku_name')", "def mDSP(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'sku_name')", "def PXIM(YKHO) -> str:\n return qe4Y.get(YKHO, 'sku')", "def mDSP(YKHO...
[ "0.81762874", "0.81762874", "0.81762874", "0.8083544", "0.79170144", "0.79170144", "0.79170144", "0.79170144", "0.7916595", "0.7916595", "0.7916595", "0.773745", "0.773745", "0.77093005", "0.76110524", "0.76110524", "0.74429345", "0.74429345", "0.74429345", "0.74429345", "0.7...
0.70951164
37
The token type. Must be either PersonalAccessToken or Oauth.
def sOU6(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'TokenType']]]: return qe4Y.get(YKHO, 'token_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sOU6(YKHO):\n return YKHO._token_type", "def sOU6(YKHO):\n return YKHO._token_type", "def sOU6(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'token_type')", "def sOU6(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'token_type')", "def x1sj(YKHO):\n return YKHO.token_type", "def zkAN(YKHO):\...
[ "0.76779985", "0.76779985", "0.76062876", "0.76062876", "0.7604213", "0.72822416", "0.7143137", "0.7143137", "0.70958656", "0.70683175", "0.68410176", "0.68372214", "0.6721402", "0.668002", "0.668002", "0.668002", "0.668002", "0.668002", "0.668002", "0.668002", "0.668002", ...
0.72212553
6
takes a list of patches and a reconstruction matrix to assemble the patches
def ZeY_(ohfT: list, sdQL: np.ndarray) -> uLKX[None, oyIN.ndarray]: FTrt = ohfT[0].shape[0] usx6 = sdQL.shape[0] ZLJ_ = sdQL.shape[1] YTwn = oyIN.zeros((usx6 * FTrt, ZLJ_ * FTrt, 3), dtype=int) for YRbF in range(sdQL.shape[0]): for r845 in range(sdQL.shape[1]): rYsm = sdQL[YRbF, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Y0BO(ohfT, N0ky):\n N0ky = oyIN.asarray(N0ky)\n FTrt = oyIN.asarray(ohfT[0].shape)\n if FTrt[0] > N0ky[0]:\n raise ValueError('Height of the patch should be less than the height of the image.')\n if FTrt[1] > N0ky[1]:\n raise ValueError('Width of the patch should be less than the widt...
[ "0.67541873", "0.6685527", "0.64805", "0.6299084", "0.6199447", "0.6199447", "0.6195413", "0.61386544", "0.607233", "0.5992851", "0.59814805", "0.59513074", "0.5902827", "0.59007907", "0.5858288", "0.58477676", "0.58396196", "0.58384585", "0.5838287", "0.5826724", "0.58238626...
0.6423549
3
Adds a new song to the database. To ensure that the song is entered into the database, we first create the song in the db, and then return the empty information to Jinja, including the `id`. In this way, we are guaranteed an `id` for the `/save` function (below).
def BdN0(): return TvZl('song.html.j2', song=i34x)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pVNq():\n tXZk = D7d3.insert_song_metadata(QePW.get_json())\n if not tXZk:\n Ol8d = {'message': 'Something went wrong adding your song'}\n return (Ol8d, 500)\n Ol8d = {'id': tXZk}\n return (Ol8d, 201)", "def pVNq():\n if Oa1e.user:\n uJjO = int(Oa1e.user.id)\n leAC ...
[ "0.8166817", "0.81175065", "0.8039573", "0.7673129", "0.7570279", "0.7424683", "0.7328209", "0.7323644", "0.7045221", "0.6896175", "0.6859245", "0.6830416", "0.6805713", "0.6681237", "0.66241914", "0.6581374", "0.6569516", "0.65672326", "0.6528297", "0.6526127", "0.6522929", ...
0.7372742
6
Saves the song to the database. This function calls on the `app.utils.update_song_info` function. Also refreshes the database on s3.
def xkzz(id): Wusu(QePW, id=id, cur=DpUl, conn=w2B8) return vKnz('/songs/')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DfL9(i34x):\n W7M9.insert_one(i34x)", "def wiPd(YKHO):\n oXtW = IXC8.getboolean('year_only')\n Gfn6 = IXC8.getboolean('albumartist')\n fzry = IXC8.getboolean('artist_sort')\n YrVk = IXC8.getboolean('standard')\n jImB = IXC8.getboolean('labelid2')\n for Tl0b, A6b2, i34x in YKHO.result_tre...
[ "0.6898475", "0.6428186", "0.6225542", "0.6210465", "0.6169969", "0.61528575", "0.61472255", "0.61472255", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "0.61465913", "...
0.76751703
0
Removes a song from the database.
def kSdD(id): SX2L.remove(ids=[id]) return vKnz('/songs/')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iOhw(YKHO, tiWH):\n tl7r.remove(tiWH)\n return 'True'", "def uoWF(leAC, w2B8):\n DpUl = w2B8.cursor()\n xDcj = 'DELETE FROM music WHERE title = %s'\n DpUl.execute(xDcj, (leAC,))\n w2B8.commit()", "def EJfJ(oeNL):\n x0hE.delete(oeNL)", "def eAkm():\n try:\n XCgb = s_R1(UH3J....
[ "0.7433893", "0.72792876", "0.71482414", "0.71369666", "0.708509", "0.70052433", "0.68948054", "0.6894019", "0.6790732", "0.67787063", "0.667755", "0.66673714", "0.6637402", "0.6584132", "0.65663224", "0.65275055", "0.6506886", "0.6494995", "0.6473693", "0.6465394", "0.646487...
0.7462698
0
proba is predicted probabilities of shape [n_samples, 2]
def nrOS(YKHO, Y8eF, WvFA, xF06=None): Nhxk, xBW7 = YKHO.compute(Y8eF, WvFA, xF06) return XTiz.max(xBW7)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KR85(YKHO):\n YKHO.proba_values = KR85(YKHO.model, YKHO.x_encoded, YKHO._classes)", "def KR85(YKHO, WKvO):\n pass", "def KR85(YKHO, EcVT):\n WvFA = YKHO.clf.predict_proba(EcVT)\n BNgt = WvFA[0]\n for WKvO in WvFA[1:]:\n if WKvO.shape[1] == 2:\n BNgt = oyIN.hstack((BNgt, WKv...
[ "0.81358874", "0.8135347", "0.80811715", "0.806884", "0.7963011", "0.7963011", "0.7963011", "0.7963011", "0.7963011", "0.7932082", "0.79126364", "0.788988", "0.78850394", "0.7860407", "0.7820896", "0.7820896", "0.7801881", "0.7780255", "0.77541655", "0.77380645", "0.7719896",...
0.0
-1
Converts input to string that can be used for IN database query
def cTAK(vC9B): if type(vC9B) is tuple: vC9B = list(vC9B) if type(vC9B) is str: vC9B = [vC9B] return '(' + ','.join(['"' + str(WKvO) + '"' for WKvO in vC9B]) + ')'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AgUk(iVRZ: str, hkxX: Iterable[Any]) -> str:\n if not hkxX:\n return '1'\n return f'{iVRZ} in [{','.join(map(str, hkxX))}]'", "def Hlwa(Emd4, xDcj, Hlwa, fvDH):\n C9Xf = 'AND'\n if len(xDcj.conditions) == 0:\n C9Xf = 'WHERE'\n return f'{xDcj.sql_code()} {C9Xf} {fvDH} IN ({Hlwa.sq...
[ "0.6253728", "0.61920244", "0.61680883", "0.5748979", "0.5684172", "0.56543785", "0.56297165", "0.5610913", "0.5510968", "0.5485164", "0.5444709", "0.54205626", "0.5401473", "0.538525", "0.5384334", "0.5353715", "0.53500235", "0.5331841", "0.5292634", "0.5288793", "0.52763134...
0.6036341
3
amplitude_to_dB(S) = 20 log10(S)
def U6VA(WKvO: torch.Tensor): return 20 * ht2j.log10(WKvO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CMy4(caa_):\n if len(caa_) == 0:\n return caa_\n if caa_.all() <= 0:\n return oyIN.zeros(len(caa_))\n return 20 * oyIN.log10(caa_)", "def CMy4(WKvO):\n return 20 * epAf.log10(abs(WKvO))", "def OnvZ(WKvO: torch.Tensor):\n return ht2j.pow(10.0, 0.5 * WKvO)", "def rWF1(z8o0):\n ...
[ "0.81704366", "0.76419604", "0.74732333", "0.7461509", "0.7424371", "0.7236102", "0.69658196", "0.6839869", "0.6839163", "0.6838724", "0.6834335", "0.66949236", "0.665222", "0.6615023", "0.6599882", "0.65486217", "0.65243375", "0.65241534", "0.65094376", "0.64288235", "0.6369...
0.813265
1
3x3 convolution with padding
def Myly(UUZO, sYyA, _0fC=1, oug5=False): return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=1, bias=oug5)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sx6c(input, KUnM, FEri, dvgN, wH3T='NHWC', mJgj=1, mWFP=None):\n return o6Bz(**locals())", "def Myly(UUZO, sYyA, _0fC=1, moMn=1, ivFb=1):\n return U78l.Conv2d(UUZO, sYyA, kernel_size=3, stride=_0fC, padding=0, groups=moMn, bias=False, dilation=ivFb)", "def DO8L(WKvO, yzQ0, UP6E=[0, 0, 0], FEri=[1, 1,...
[ "0.78404945", "0.7541354", "0.753996", "0.7491138", "0.7434801", "0.74207747", "0.73415834", "0.7320252", "0.7299599", "0.7287539", "0.72799367", "0.72799367", "0.7257735", "0.7226928", "0.72204214", "0.7214909", "0.7214909", "0.7210775", "0.7198222", "0.71639067", "0.7161914...
0.0
-1