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
Sets the first_name of this TpoDataDTOsSharedPatientDTO.
def c9ua(YKHO, c9ua): if c9ua is None: raise ValueError('Invalid value for `first_name`, must not be `None`') YKHO._first_name = c9ua
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua", "def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua", "def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua", "def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua", "def c9ua(YKHO, c9ua):\n YKHO._first_name = c9ua", "def c9ua(YKHO, c9ua):\n YKHO._fi...
[ "0.8058884", "0.8058884", "0.8058884", "0.8058884", "0.8058884", "0.8058884", "0.8058884", "0.8058884", "0.8058884", "0.8029564", "0.7997372", "0.7762523", "0.7762523", "0.754256", "0.72024226", "0.70958656", "0.6852315", "0.6836379", "0.67244524", "0.67244524", "0.663269", ...
0.7558067
13
Sets the second_name of this TpoDataDTOsSharedPatientDTO.
def a5w_(YKHO, a5w_): YKHO._second_name = a5w_
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def a5w_(YKHO, KAOR):\n return KAOR.user.profile.second_name", "def eXBs(YKHO, O_Pf):\n YKHO.second_incident_node = O_Pf", "def XY2S(YKHO, XY2S):\n YKHO._third_name = XY2S", "def SSA0(YKHO, SSA0):\n YKHO._surname = SSA0", "def b7RC(YKHO):\n return YKHO.second_at_charge_name", "def b7RC(YKH...
[ "0.6415674", "0.5711527", "0.5602875", "0.55171484", "0.5472258", "0.5472258", "0.5472258", "0.5462259", "0.5380895", "0.5380895", "0.5286535", "0.5255808", "0.5255808", "0.5255808", "0.5255808", "0.5255808", "0.5255808", "0.5255808", "0.5255808", "0.5255808", "0.5255808", ...
0.8145993
0
Sets the last_name of this TpoDataDTOsSharedPatientDTO.
def zp3f(YKHO, zp3f): YKHO._last_name = zp3f
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zsQz(YKHO, zp3f):\n YKHO.last_name = zp3f", "def jBHA(YKHO, jBHA):\n YKHO._lastname = jBHA", "def zp3f(YKHO, mWFP):\n YKHO._last_name = mWFP", "def DHa6(YKHO, jBHA):\n YKHO.lastname = jBHA\n return YKHO", "def zp3f(YKHO, zp3f: str):\n if zp3f is None:\n raise ValueError('Invali...
[ "0.7465448", "0.7214873", "0.71458066", "0.7052572", "0.68031865", "0.66664743", "0.6621527", "0.6621527", "0.6602129", "0.6550469", "0.62603474", "0.6198123", "0.6164634", "0.6124336", "0.61231273", "0.61231273", "0.61231273", "0.61231273", "0.6065119", "0.60451233", "0.5975...
0.7445647
10
Sets the gender of this TpoDataDTOsSharedPatientDTO.
def EE3v(YKHO, EE3v): if EE3v is None: raise ValueError('Invalid value for `gender`, must not be `None`') YKHO._gender = EE3v
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EE3v(YKHO, EE3v):\n YKHO._gender = EE3v", "def EE3v(YKHO, EE3v):\n YKHO._gender = EE3v", "def EE3v(YKHO, EE3v):\n YKHO._gender = EE3v", "def EE3v(YKHO, EE3v):\n YKHO._gender = EE3v", "def EE3v(YKHO, EE3v: str):\n BbPm = ['male', 'female', 'unknown']\n if EE3v not in BbPm:\n rai...
[ "0.7096655", "0.7096655", "0.7096655", "0.7096655", "0.6590023", "0.6335712", "0.62288207", "0.5941493", "0.56297135", "0.5477953", "0.5477953", "0.547222", "0.5449893", "0.5439797", "0.53277653", "0.53277653", "0.5316213", "0.53078634", "0.52587366", "0.52491844", "0.5245593...
0.70449406
4
Sets the date_of_birth of this TpoDataDTOsSharedPatientDTO.
def Jr0g(YKHO, Jr0g): if Jr0g is None: raise ValueError('Invalid value for `date_of_birth`, must not be `None`') YKHO._date_of_birth = Jr0g
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ogS9(YKHO, UUKz):\n YKHO.birthday = UUKz", "def ogS9(YKHO, UUKz):\n YKHO.birthday = UUKz", "def Jr0g(YKHO, BWXx: str) -> None:\n YKHO._date_of_birth = qcWV.strptime(BWXx, '%Y-%m-%d')", "def Vm4z(YKHO, _c1T):\n if KHhK(YKHO.birt):\n YKHO.birt = _c1T\n else:\n raise ValueError(...
[ "0.68425965", "0.68114984", "0.6752815", "0.6653897", "0.6512428", "0.63583356", "0.63583356", "0.63536924", "0.620549", "0.6026011", "0.59759104", "0.5956653", "0.5956385", "0.58654356", "0.5770229", "0.5740218", "0.5709339", "0.5572713", "0.55613035", "0.5523119", "0.550038...
0.73148006
0
Sets the dob_hijri of this TpoDataDTOsSharedPatientDTO.
def IVjY(YKHO, IVjY): YKHO._dob_hijri = IVjY
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tJZJ(YKHO, kS0G):\n YKHO.haiku = kS0G", "def mOsj(YKHO) -> None:\n ...", "def GTVk(YKHO, GTVk):\n YKHO._hobby = GTVk", "def d4NP(YKHO, d4NP):\n YKHO._hios_ids = d4NP", "def mJSO(YKHO, MKlR, li6g=0):\n YKHO.husb_id = MKlR\n YKHO._husb_id_line = li6g", "def gSH2(YKHO, lNLE):\n YKHO...
[ "0.5301778", "0.5260287", "0.5232619", "0.52164793", "0.5015914", "0.49680457", "0.49146372", "0.47819838", "0.4672573", "0.46162045", "0.45889214", "0.45642465", "0.4526036", "0.44803566", "0.44527295", "0.44422492", "0.44149506", "0.4402572", "0.44014636", "0.43601543", "0....
0.78106105
0
Sets the contact_number of this TpoDataDTOsSharedPatientDTO.
def J0iy(YKHO, J0iy): if J0iy is None: raise ValueError('Invalid value for `contact_number`, must not be `None`') YKHO._contact_number = J0iy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def etgO(YKHO, etgO):\n YKHO._contact_info = etgO", "def UBdz(YKHO, UBdz):\n YKHO._person_phone_number = UBdz", "def Mxk0(YKHO, Mxk0):\n YKHO.logger.debug(\"In 'contact' setter.\")\n YKHO._contact = Mxk0", "def hCcl(YKHO, hCcl):\n YKHO._service_phone_number = hCcl", "def JKRR(YKHO, JKRR):\n ...
[ "0.62844795", "0.62836736", "0.6237638", "0.6188607", "0.61771697", "0.61771697", "0.60278136", "0.60278136", "0.60131556", "0.60131556", "0.60131556", "0.60131556", "0.59559953", "0.5928816", "0.5923227", "0.5751054", "0.57440615", "0.57018304", "0.5692645", "0.56119037", "0...
0.72371227
0
Sets the email of this TpoDataDTOsSharedPatientDTO.
def D3lj(YKHO, D3lj): YKHO._email = D3lj
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lEeL(YKHO, D3lj):\n YKHO.email = D3lj\n return YKHO", "def D3lj(YKHO, D3lj):\n if YKHO.local_vars_configuration.client_side_validation and D3lj is None:\n raise ValueError('Invalid value for `email`, must not be `None`')\n YKHO._email = D3lj", "def D3lj(YKHO, D3lj):\n if YKHO.local_va...
[ "0.6753805", "0.6688689", "0.6501089", "0.64727134", "0.64295816", "0.618951", "0.618951", "0.617309", "0.606463", "0.5939123", "0.5939123", "0.5939123", "0.5895375", "0.5885451", "0.58692724", "0.58633494", "0.57363904", "0.57203156", "0.5641336", "0.56407493", "0.56321573",...
0.66569835
9
Sets the blood_group of this TpoDataDTOsSharedPatientDTO.
def kotV(YKHO, kotV): YKHO._blood_group = kotV
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def scR9(YKHO, uOe2):\n if YKHO.get_group_metadata().is_read_only():\n raise UAju.NoAccess()\n if not YKHO._is_valid_boolean(uOe2):\n raise UAju.InvalidArgument()\n YKHO._my_map['group'] = uOe2", "def scR9(YKHO, uOe2):\n YKHO._group = uOe2", "def scR9(YKHO, uOe2: str) -> None:\n YK...
[ "0.58865935", "0.55830896", "0.5503867", "0.5410558", "0.5410029", "0.5410029", "0.5410029", "0.5396463", "0.52603614", "0.52577436", "0.52577436", "0.5247818", "0.5203359", "0.5203359", "0.5203359", "0.5203359", "0.5203359", "0.5203359", "0.5194191", "0.5011616", "0.49316517...
0.8528948
0
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, AJoz): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8085325", "0.8085325", "0.8076365", "0.8076365", "0.8065748" ]
0.0
-1
Perform a circular left shift on the first and second five bits
def KKKt(dBVU): EOdD = [None] * SzoF EOdD[0:9] = dBVU[1:10] EOdD[4] = dBVU[0] EOdD[9] = dBVU[5] return EOdD
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uqfs(UOVU, LXgO):\n xdjT = UOVU[LXgO:] + UOVU[:LXgO]\n return xdjT", "def iP6j(WKvO, Z9rn):\n return WKvO << Z9rn", "def gzEI(wEf2, exwG) -> oyIN.int64:\n return wEf2 % (1 << 64) >> exwG", "def oeVz(mLGw, TETC):\n for YRbF in range(TETC):\n mLGw = JDMd(mLGw)\n return mLGw", "de...
[ "0.7554009", "0.6862937", "0.6643694", "0.65804476", "0.6566264", "0.6566264", "0.6563826", "0.6535258", "0.64031124", "0.6352255", "0.62783855", "0.62418693", "0.6216665", "0.61622155", "0.6131483", "0.6113987", "0.61020756", "0.6099654", "0.6066652", "0.603961", "0.6019166"...
0.5443362
71
Creates a new guild profile instance from the given parameters.
def fwuD(Emd4, *, H8ai=..., wK5j=..., JbyC=..., FUbg=..., CVgL=..., GBx4=..., pbEc=..., FlQR=...): if H8ai is ...: H8ai = None else: H8ai = Emd4.avatar.validate_icon(H8ai, allow_data=True) if wK5j is ...: wK5j = None else: wK5j = pJds(wK5j) if JbyC is ...: Jby...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def W_VI(vC92, **B2fa):\n if B2fa.get('created') is True:\n z9kQ.objects.create(user=B2fa.get('instance'))", "def euOS(vC92, **B2fa):\n from .profiles import Profile\n CBIr = B2fa['instance']\n Profile.objects.get_or_create(user=CBIr)", "def quLX(vC92, KAOR, **B2fa):\n try:\n z39Z ...
[ "0.64133596", "0.6304537", "0.62891245", "0.6209736", "0.6130808", "0.60852903", "0.60743177", "0.6074052", "0.6030012", "0.60286367", "0.6024556", "0.59830743", "0.59784526", "0.5966472", "0.5941459", "0.5935422", "0.5897243", "0.58577096", "0.58499914", "0.5840311", "0.5826...
0.56069314
46
Returns whether the two guild profiles are equal.
def xa14(YKHO, Elif): if type(YKHO) is not type(Elif): return NotImplemented if YKHO.avatar != Elif.avatar: return False if YKHO.boosts_since != Elif.boosts_since: return False if YKHO.flags != Elif.flags: return False if YKHO.joined_at != Elif.joined_at: retu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wzoE(YKHO, eyXC, nAOv):\n if len(eyXC) != len(nAOv) or len(eyXC[0]) != len(nAOv[0]):\n return False\n for ZLDn in eyXC:\n sjXf = False\n for YsF0 in nAOv:\n if ZLDn == YsF0:\n sjXf = True\n break\n if sjXf == False:\n return ...
[ "0.73616284", "0.734884", "0.6504068", "0.63457304", "0.6259065", "0.6141803", "0.6082148", "0.5868695", "0.58018774", "0.577464", "0.5742489", "0.5734423", "0.570045", "0.56957626", "0.56929046", "0.56915677", "0.56776965", "0.5651791", "0.5632203", "0.560775", "0.55983317",...
0.52022177
71
Converts the guild profile to a json serializable object.
def DQ1s(YKHO, *, muwo=False, _E9W=False): nPrm = {} type(YKHO).avatar.put_into(YKHO.avatar, nPrm, muwo, as_data=not _E9W) EEPU(YKHO.nick, nPrm, muwo) RF8G(YKHO.role_ids, nPrm, muwo) rv99(YKHO.timed_out_until, nPrm, muwo) if _E9W: MyNd(YKHO.boosts_since, nPrm, muwo) idT0(YKHO.fla...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xxid(YKHO):\n return {'orcid_id': YKHO.orcid_id, 'access_token': YKHO.access_token, 'created': YKHO.created and YKHO.created.isoformat() or None, 'updated': YKHO.updated and YKHO.updated.isoformat() or None, 'profile': YKHO.profile and qQXR.loads(YKHO.profile) or None, 'info': YKHO.info and qQXR.loads(YKHO....
[ "0.6226298", "0.5832722", "0.5813382", "0.5799837", "0.5766646", "0.5755184", "0.5747039", "0.57265794", "0.5713734", "0.57040703", "0.57040703", "0.5693157", "0.56773746", "0.5661918", "0.5625929", "0.56217843", "0.5621252", "0.5597682", "0.5592738", "0.5582136", "0.55788803...
0.0
-1
Copies the guild profile. Returns
def jth9(YKHO): BdN0 = object.__new__(type(YKHO)) BdN0.avatar_hash = YKHO.avatar_hash BdN0.avatar_type = YKHO.avatar_type BdN0.boosts_since = YKHO.boosts_since BdN0.flags = YKHO.flags BdN0.joined_at = YKHO.joined_at BdN0.nick = YKHO.nick BdN0.pending = YKHO.pending pbEc = YKHO.role_i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fwAt(GaDw):\n d_hT.navigate_to_section(FENS.SERVER_PROFILES, time_for_loading=8)\n wjRY = len(GaDw)\n tpKK = 0\n mmgj = 0\n for exwG, z39Z in enumerate(GaDw):\n bo34.info('{2} No: {0} --- Total: {1} {2}'.format(exwG + 1, wjRY, '-' * 14))\n bo34.info(\"copying a server profile with ...
[ "0.5992419", "0.56771487", "0.55431265", "0.5524235", "0.54762983", "0.5443781", "0.5378398", "0.5329429", "0.5221172", "0.51993454", "0.5192154", "0.5161359", "0.5150946", "0.5148247", "0.5116117", "0.5115019", "0.5115019", "0.51134646", "0.5112481", "0.51079947", "0.5103642...
0.5886465
1
Creates a new guild profile with it's default attributes set. Returns self `instance`
def tjgB(Emd4): YKHO = object.__new__(Emd4) YKHO.avatar_hash = 0 YKHO.avatar_type = CPx_.none YKHO.boosts_since = None YKHO.flags = amPN() YKHO.joined_at = None YKHO.nick = None YKHO.pending = False YKHO.role_ids = None YKHO.timed_out_until = None return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eLpg(Emd4, **B2fa):\n if 'user' not in B2fa:\n with KTkq(MzrB):\n z39Z = uYd6.create()\n B2fa['user'] = z39Z.user\n return super().create(**B2fa)", "def WH3f(YKHO, **nPrm: dict) -> 'Guild':\n YKHO.unavailable = nPrm.get('unavailable', False)\n if YKHO.unavailable:\n ...
[ "0.63263637", "0.6203195", "0.6060182", "0.5969648", "0.59654814", "0.5920758", "0.5886763", "0.5881776", "0.5863076", "0.5758609", "0.5754809", "0.57499707", "0.5749282", "0.5739487", "0.5724686", "0.5722561", "0.5689606", "0.5686849", "0.56785446", "0.5653668", "0.5639949",...
0.66373456
0
Returns the color of the respective user at the respective guild. Returns
def qfpW(YKHO): pbEc = YKHO.role_ids if pbEc is not None: for LmAn in sorted((JQ9Q(d9OY) for d9OY in YKHO.role_ids), reverse=True): qfpW = LmAn.color if qfpW: return qfpW return HRmL()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def aKyf(CBIr: discord.Member, lSCo: discord.Guild) -> ZOrr.Colour:\n if lSCo is None:\n return ZOrr.Colour.default()\n mS46 = lSCo.get_member(CBIr.id)\n if mS46 is not None:\n return mS46.colour\n return ZOrr.Colour.default()", "async def color(YKHO, OaeV, eKXe, qfpW):\n print('Logi...
[ "0.83624274", "0.6191421", "0.60157096", "0.6010785", "0.5984158", "0.5964939", "0.58933336", "0.589237", "0.58806205", "0.5880127", "0.58783716", "0.5857977", "0.5828458", "0.5818611", "0.57614595", "0.5760636", "0.57502055", "0.5720402", "0.571388", "0.5712219", "0.5679545"...
0.58145005
14
Returns ``.joined_at`` if set, else the Discord epoch. Returns
def aJ2e(YKHO): aJ2e = YKHO.joined_at if aJ2e is None: aJ2e = OBu_ return aJ2e
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def joined(mS46: discord.Member):\n await JyK9.say('{0.name} joined in {0.joined_at}'.format(mS46))", "async def joined(mS46: discord.Member):\n await JyK9.say('{0.name} joined in {0.joined_at}'.format(mS46))", "async def joined(mS46: discord.Member):\n await JyK9.say('{0.name} joined in {0.join...
[ "0.5512486", "0.5512486", "0.5512486", "0.5500375", "0.5478844", "0.546965", "0.5456217", "0.5423227", "0.53808814", "0.53574973", "0.5351431", "0.52074903", "0.5207478", "0.5181871", "0.51751375", "0.51717824", "0.5141047", "0.5140008", "0.50858665", "0.5038743", "0.4991394"...
0.6792107
0
r"""Computes the mean point (x,y) for a bivariate probability distribution Uses the trapezoid rule and assumes input of pdf values directly computed on some mesh
def g7wY(WKvO, LVAh, kzAT): if kzAT.shape[0] != WKvO.shape[0] or kzAT.shape[1] != LVAh.shape[0]: print('Error, mesh size does not match x and y') ZuM2 = WKvO.shape[0] eV2A = LVAh.shape[0] BiQJ, mIZn = (0.0, 0.0) Elxi, WuGY = (oyIN.zeros(ZuM2), oyIN.zeros(eV2A)) for YRbF in range(0, ZuM2)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mj3u(WKvO, LVAh, kzAT):\n if kzAT.shape[0] != WKvO.shape[0] or kzAT.shape[1] != LVAh.shape[0]:\n print('Error, mesh size does not match x and y')\n ZuM2 = WKvO.shape[0]\n eV2A = LVAh.shape[0]\n j8D0 = 0.0\n Elxi = oyIN.zeros(ZuM2)\n for YRbF in range(0, ZuM2):\n for r845 in rang...
[ "0.6538318", "0.61299115", "0.6067951", "0.598912", "0.58869267", "0.58247197", "0.58068615", "0.580411", "0.57488257", "0.5743805", "0.5737953", "0.5736858", "0.56976354", "0.5687007", "0.56576484", "0.56464916", "0.5638585", "0.5634519", "0.5627421", "0.5624721", "0.5618778...
0.80673075
0
Make sure an entered IP is valid.
def WRMK(D8Ke): if D8Ke != None: if D8Ke.count('.') == 3: a5mF = D8Ke.split('.') for FGW3 in a5mF: if not FGW3.isdigit() or int(FGW3) > 255: return False return a5mF return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def mty4(D8Ke):\n ...", "def c61f():\n try:\n KCHu = GGmw.inet_aton(qIxc.target)\n except GGmw.error:\n print('')\n print(f'{vkps} Bad IP address')\n print('')\n HwRy.exit()", "def nKVQ(YKHO, D8Ke):\n if not oo2j.checkIPAddrWithoutMask(D8Ke):\n raise _olT(k...
[ "0.8290124", "0.8198014", "0.7999776", "0.7974664", "0.79032713", "0.78196543", "0.7716797", "0.7699786", "0.7694739", "0.7681369", "0.76281816", "0.7623063", "0.75491947", "0.75464034", "0.7528311", "0.7517867", "0.7458337", "0.740884", "0.73996466", "0.73743147", "0.7335472...
0.718398
23
Convert None, "None", or "" to string type "None" Used for putting text in a text box. If the value to put in is 'None', the box will be blank.
def Ai6x(l5Ny): if l5Ny in (None, ''): return 'None' else: return str(l5Ny)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dQKU(wEf2):\n return str(wEf2) if wEf2 is not None else None", "def KisA(l5Ny):\n if l5Ny in (None, 'None'):\n return ''\n else:\n return str(l5Ny)", "def _Iyo(BWXx):\n if BWXx is None:\n return ''\n return BWXx", "def vJGa(BWXx):\n return ''", "def jGCZ(l5Ny):\n ...
[ "0.8044133", "0.79362696", "0.7774173", "0.7674547", "0.7417621", "0.74157476", "0.72853", "0.720645", "0.71675533", "0.70269996", "0.69711494", "0.6934389", "0.69249177", "0.6802112", "0.675872", "0.6735091", "0.6677421", "0.6648968", "0.6577978", "0.64749974", "0.6409316", ...
0.8234191
0
entropy of normalised distribution in bits
def oqGu(WKvO): WyJz = oyIN.nonzero(WKvO)[0] return -oyIN.sum(WKvO[WyJz] * oyIN.log2(WKvO[WyJz]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c07B(nPrm):\n QzFq = oyIN.array(uGYG.Image.fromarray(nPrm).histogram())\n QzFq = QzFq / QzFq.sum()\n QzFq = QzFq[QzFq != 0]\n return -oyIN.sum(QzFq * oyIN.log2(QzFq))", "def qS6b(VXjJ):\n QzFq = VXjJ.histogram()\n D0bD = sum(QzFq)\n QzFq = [float(MKlR) / D0bD for MKlR in QzFq]\n retur...
[ "0.808939", "0.7854212", "0.76573455", "0.7632713", "0.76213855", "0.7598081", "0.75897694", "0.756483", "0.75551265", "0.75504774", "0.7544841", "0.750373", "0.7480598", "0.7447731", "0.74368805", "0.74238867", "0.7403027", "0.7398044", "0.73866606", "0.737823", "0.73523074"...
0.76091546
5
Create the api and authenticator objects.
def DNxX(YKHO, Fv2L): if Fv2L.get(KJC6): return if Fv2L.get(TZUM) is None: Fv2L[TZUM] = f'.{Fv2L[kG_n]}{MjF4}' YKHO._config = Fv2L YKHO._api = fyIx(timeout=YKHO._config.get(iom2), http_session=YKHO._api_http_session) YKHO._authenticator = vlAl(YKHO._api, YKHO._config[YhBT], YKHO._con...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO):\n YKHO.api = fyIx(consumer_key=Vt89['consumer_key'], consumer_secret=Vt89['consumer_secret'], access_token_key=Vt89['access_token_key'], access_token_secret=Vt89['access_token_secret'])", "def flyc(YKHO):\n IMGh = Hy7s.environ.get('CONSUMER_KEY')\n o5kg = Hy7s.environ.get('CONSUMER_SECRE...
[ "0.66780365", "0.6645443", "0.6397644", "0.6388884", "0.633235", "0.6326718", "0.624818", "0.6222473", "0.61881906", "0.6158173", "0.6120532", "0.60853136", "0.60724443", "0.6064991", "0.6060397", "0.6057882", "0.60202724", "0.6010488", "0.600326", "0.59973305", "0.59905744",...
0.6110127
11
.compare(v1, v2) The method to check two versions whether one is greater than, equal to, or less than the other
def qk7K(hQHm='', jlSq=''): if any([hQHm == '', jlSq == '']): return 'One or both versions are not provided.' qOHE = list(hQHm) LPhi = list(jlSq) if not qOHE.index('.'): return 'v1 is in wrong format' if not LPhi.index('.'): return 'v2 is in wrong format' def uUFo(SIyd):...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TXpb(hQHm, jlSq):\n j93S = BdCl(hQHm)\n Nqp_ = BdCl(jlSq)\n if j93S == Nqp_:\n return 0\n elif j93S > Nqp_:\n return -1\n else:\n return 1", "def TXpb(hQHm, jlSq):\n j93S = BdCl(hQHm)\n Nqp_ = BdCl(jlSq)\n if j93S == Nqp_:\n return 0\n elif j93S > Nqp_:\...
[ "0.7693779", "0.7693779", "0.7592231", "0.7583037", "0.75152576", "0.7507064", "0.742832", "0.72952414", "0.7264322", "0.7249429", "0.7233002", "0.7157759", "0.71400934", "0.7119563", "0.71047044", "0.70675635", "0.70363635", "0.69951063", "0.699023", "0.6984975", "0.6971152"...
0.65018696
80
Draw 3pixel width bounding boxes on the given image array.
def do6P(LNo8, ajmw, UXqs, lXKT=False): o4D3, si3g, ajwV, skBL = (ajmw[0], ajmw[1], ajmw[2], ajmw[3]) bGrB, MKlR, yzQ0 = LNo8.size() o4D3 = int(o4D3.item() * yzQ0) si3g = int(si3g.item() * MKlR) ajwV = int(ajwV.item() * yzQ0) skBL = int(skBL.item() * MKlR) if lXKT: if o4D3 > ajwV: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XfFG(LNo8, oUSw, qfpW=[], dGrG=5):\n iNOC(LNo8, oUSw, qfpW, dGrG)\n return LNo8", "def iNOC(LNo8, oUSw, qfpW=[], dGrG=5):\n oqQP = oUSw.shape\n if not oqQP:\n return\n if len(oqQP) != 2 or oqQP[1] != 4:\n raise ValueError('Input must be of size [N, 4]')\n for YRbF in range(oqQ...
[ "0.72010815", "0.6934973", "0.678356", "0.6505996", "0.64761895", "0.64393055", "0.6320378", "0.62343025", "0.61802584", "0.61543655", "0.6117841", "0.6064829", "0.6053924", "0.6024019", "0.59821874", "0.5975932", "0.59749836", "0.59738517", "0.5960479", "0.5959631", "0.59017...
0.0
-1
Draw 3pixel width bounding boxes on the given image array.
def cSWK(LNo8, ajmw, UXqs): C884 = 2 shvq = 2.0 o4D3, si3g, ajwV, skBL = (ajmw[0], ajmw[1], ajmw[2], ajmw[3]) bGrB, MKlR, yzQ0 = LNo8.size() o4D3 = int(o4D3.item() * yzQ0) si3g = int(si3g.item() * MKlR) ajwV = int(ajwV.item() * yzQ0) skBL = int(skBL.item() * MKlR) LNo8[:, si3g:skBL, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XfFG(LNo8, oUSw, qfpW=[], dGrG=5):\n iNOC(LNo8, oUSw, qfpW, dGrG)\n return LNo8", "def iNOC(LNo8, oUSw, qfpW=[], dGrG=5):\n oqQP = oUSw.shape\n if not oqQP:\n return\n if len(oqQP) != 2 or oqQP[1] != 4:\n raise ValueError('Input must be of size [N, 4]')\n for YRbF in range(oqQ...
[ "0.72001135", "0.6934072", "0.6783045", "0.650449", "0.6476033", "0.6439586", "0.6319619", "0.6233559", "0.6180277", "0.61531425", "0.6116829", "0.6064441", "0.6053513", "0.60231596", "0.59820205", "0.59759617", "0.5973104", "0.5972736", "0.59599525", "0.59589607", "0.5901387...
0.0
-1
Save a given Tensor into an image file.
def t7Mi(vhpA, Ux0P, aUKP=8, dvgN=2, NkkI=False, range=None, X2Rs=False, KHPh=0): from PIL import Image Cs6h = R0O3(vhpA, nrow=aUKP, padding=dvgN, pad_value=KHPh, normalize=NkkI, range=range, scale_each=X2Rs) NabZ = Cs6h.mul_(13).add_(0.5).clamp_(0, 13).permute(1, 2, 0).to('cpu', ht2j.uint8).numpy() tn6...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dutc(vhpA, pmON, leAC='NONAME'):\n LNo8 = zy6L(vhpA)\n LNo8.save(Hy7s.path.join(pmON, '{}.jpg'.format(leAC)))", "def t7Mi(VXjJ, tTee, i8WE, kmfe):\n VXjJ = ZylS.image.decode_jpeg(VXjJ, channels=3)\n VXjJ = hnIv.fromarray(VXjJ.numpy(), 'RGB')\n VXjJ.save(Hy7s.path.join(kmfe, f'{i8WE}_{tTee}.jpe...
[ "0.7915944", "0.7439306", "0.7385877", "0.72915584", "0.7258483", "0.6993751", "0.6975457", "0.6916539", "0.68686783", "0.6781512", "0.67706203", "0.67251974", "0.6720317", "0.6670126", "0.6655157", "0.6620581", "0.660503", "0.65987986", "0.654922", "0.65490943", "0.65183806"...
0.0
-1
Save a given Tensor into an image file.
def Zynv(vhpA, FlUN, Ux0P, aUKP=8, dvgN=0, NkkI=False, X2Rs=False, KHPh=0, lXKT=False, xkzz=True): from PIL import Image Cs6h = jEyR(vhpA, FlUN, nrow=aUKP, padding=dvgN, pad_value=KHPh, normalize=NkkI, scale_each=X2Rs, draw_line=lXKT) NabZ = Cs6h.mul_(13).add_(0.5).clamp_(0, 13).permute(1, 2, 0).to('cpu', h...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dutc(vhpA, pmON, leAC='NONAME'):\n LNo8 = zy6L(vhpA)\n LNo8.save(Hy7s.path.join(pmON, '{}.jpg'.format(leAC)))", "def t7Mi(VXjJ, tTee, i8WE, kmfe):\n VXjJ = ZylS.image.decode_jpeg(VXjJ, channels=3)\n VXjJ = hnIv.fromarray(VXjJ.numpy(), 'RGB')\n VXjJ.save(Hy7s.path.join(kmfe, f'{i8WE}_{tTee}.jpe...
[ "0.7915944", "0.7439306", "0.7385877", "0.72915584", "0.7258483", "0.6993751", "0.6975457", "0.6916539", "0.68686783", "0.6781512", "0.67706203", "0.67251974", "0.6720317", "0.6670126", "0.6655157", "0.6620581", "0.660503", "0.65987986", "0.654922", "0.65490943", "0.65183806"...
0.0
-1
Save a given Tensor into an image file.
def MIWr(vhpA, FlUN, Ux0P, aUKP=8, dvgN=2, NkkI=False, range=None, X2Rs=False, KHPh=0): from PIL import Image Cs6h = fXd1(vhpA, FlUN, nrow=aUKP, padding=dvgN, pad_value=KHPh, normalize=NkkI, range=range, scale_each=X2Rs) NabZ = Cs6h.mul_(13).add_(0.5).clamp_(0, 14).permute(1, 2, 0).to('cpu', ht2j.uint8).num...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dutc(vhpA, pmON, leAC='NONAME'):\n LNo8 = zy6L(vhpA)\n LNo8.save(Hy7s.path.join(pmON, '{}.jpg'.format(leAC)))", "def t7Mi(VXjJ, tTee, i8WE, kmfe):\n VXjJ = ZylS.image.decode_jpeg(VXjJ, channels=3)\n VXjJ = hnIv.fromarray(VXjJ.numpy(), 'RGB')\n VXjJ.save(Hy7s.path.join(kmfe, f'{i8WE}_{tTee}.jpe...
[ "0.7915944", "0.7439306", "0.7385877", "0.72915584", "0.7258483", "0.6993751", "0.6975457", "0.6916539", "0.68686783", "0.6781512", "0.67706203", "0.67251974", "0.6720317", "0.6670126", "0.6655157", "0.6620581", "0.660503", "0.65987986", "0.654922", "0.65490943", "0.65183806"...
0.0
-1
Save a given Tensor into an image file.
def QkHh(hjY0, kuSf, RAu9, hfHW, j3UY, Ep8u, aUKP=1, dvgN=0, NkkI=False, range=None, X2Rs=False, KHPh=0): from PIL import Image rPxP = hjY0.size(0) for YRbF in Ni9Y(rPxP): EXnf = R0O3(hjY0[YRbF], nrow=aUKP, padding=dvgN, pad_value=KHPh, normalize=NkkI, range=range, scale_each=X2Rs) DFAG = EX...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dutc(vhpA, pmON, leAC='NONAME'):\n LNo8 = zy6L(vhpA)\n LNo8.save(Hy7s.path.join(pmON, '{}.jpg'.format(leAC)))", "def t7Mi(VXjJ, tTee, i8WE, kmfe):\n VXjJ = ZylS.image.decode_jpeg(VXjJ, channels=3)\n VXjJ = hnIv.fromarray(VXjJ.numpy(), 'RGB')\n VXjJ.save(Hy7s.path.join(kmfe, f'{i8WE}_{tTee}.jpe...
[ "0.791521", "0.7440565", "0.738678", "0.7291382", "0.72587353", "0.6995279", "0.6976932", "0.6917578", "0.6870656", "0.67835736", "0.677193", "0.6727998", "0.6720696", "0.6670933", "0.6658899", "0.6624146", "0.6608319", "0.66019315", "0.65529466", "0.6550902", "0.6518862", ...
0.0
-1
Add client getter for provider.
def l9i4(cuiw, C3ST, kT1P): def diXB(zb3C): return cuiw.query(C3ST).filter_by(client_id=zb3C).first() kT1P._clientgetter = diXB return kT1P
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jq59(YKHO, eHNT):\n YKHO._clientgetter = eHNT\n return eHNT", "def x73p(YKHO, gJdh):\n YKHO.__weather_data_getter.append(gJdh)", "def bxbw(YKHO):\n return YKHO.client", "def SGLh(YKHO):\n QtIL = Vwyj(provider=YKHO.provider, config=YKHO.config)\n return QtIL", "def DLM5(YKHO):\n qmL...
[ "0.7142654", "0.59422356", "0.58776706", "0.5812485", "0.58001226", "0.5703276", "0.5699164", "0.5699164", "0.56945634", "0.5549883", "0.5543943", "0.5487972", "0.54846674", "0.546121", "0.5450172", "0.54470533", "0.5432141", "0.542657", "0.5413664", "0.5411189", "0.540783", ...
0.5902128
2
The object's self string
def zAg0(YKHO): tO9_ = '- Window size: ' + str(YKHO.window_size) + ' by ' + str(YKHO.window_size) tO9_ += '\n' tO9_ += ' - Expression for r.mapcalc to determine column water vapor: ' return tO9_ + str(YKHO.column_water_vapor_expression)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO) -> str:\n return str(YKHO.current_obj)", "def wHJl(YKHO):\n return '%s(%r)' % (YKHO.__class__.__name__, str(YKHO))", "def wHJl(YKHO):\n return '{}'.format(YKHO.__class__.__name__)", "def wHJl(YKHO) -> str:\n return YKHO.__str__()", "def wHJl(YKHO) -> str:\n return YKHO.__str__...
[ "0.7672171", "0.76083493", "0.7584324", "0.75630134", "0.75630134", "0.75630134", "0.75630134", "0.75578713", "0.75427234", "0.75259906", "0.7507144", "0.7507144", "0.7507144", "0.7504045", "0.7501505", "0.74970734", "0.74712205", "0.7466751", "0.746588", "0.746588", "0.74555...
0.0
-1
Return mapcalc expression for window medians based on the given mapcalc pixel modifiers. r.mapcalc has a "median" function. Thus, just return the pixel modifiers.
def Csnb(YKHO, F1OP): e47D = 'median({pixel_modifiers})' return e47D
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v3F0(ZuHm):\n return oyIN.median(ZuHm, axis=0)", "def lEyT():\n Zjl9 = YKHO._derive_modifiers(YKHO.ti)\n rQEp = 'median({modifiers}'.format(modifiers=Zjl9)\n _Z9e = YKHO._derive_modifiers(YKHO.tj)\n kAE1 = 'median({modifiers}'.format(modifiers=_Z9e)\n QqiE = 'ti_median'\n XokJ = 'tj_medi...
[ "0.53726614", "0.4961448", "0.4827054", "0.4782952", "0.472603", "0.46957016", "0.46878675", "0.45760006", "0.45705128", "0.4545601", "0.4536835", "0.4530441", "0.45060524", "0.44873902", "0.44861606", "0.4477577", "0.4442116", "0.44409403", "0.44349384", "0.44155705", "0.440...
0.6211256
0
Forward propagation of inputs through the network.
def KVH6(YKHO, WKvO, LVAh): if YKHO.dataset_type == 'tabular': input = ht2j.cat([WKvO, LVAh.unsqueeze(1)], dim=1).float() yvT9 = YKHO.net(input).squeeze(dim=-1) else: arAV = YKHO.cnn(WKvO) arAV = ht2j.cat([arAV.float(), LVAh.float().unsqueeze(1)], dim=1) yvT9 = YKHO.fc(ar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KVH6(YKHO, g4y1):\n raise NotImplementedError", "def ug5M(YKHO, g4y1):\n g4y1 = oyIN.atleast_1d(g4y1)\n if not len(g4y1) == YKHO.nInputs:\n raise ValueError('The input vector is the wrong length for this network')\n for YRbF in range(1, YKHO.nInputs + 1):\n YKHO.inputLayer[YRbF].act...
[ "0.80642503", "0.7918714", "0.78559965", "0.78450876", "0.77674174", "0.7750006", "0.762506", "0.762506", "0.762506", "0.7595454", "0.7595454", "0.75730264", "0.74256265", "0.74238014", "0.7412861", "0.74069273", "0.739987", "0.73511165", "0.7323129", "0.72767234", "0.7274881...
0.0
-1
Helper function to encrypt and encode request data. Returns hex encoded encrypted data.
def JQfJ(YKHO, xGqu): return sRY9(YKHO._requestCipher.encrypt(SGzo(xGqu)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qnlx(nPrm, H5ew):\n return WR89.urlsafe_b64encode(PtgE(nPrm, H5ew))", "def yhRz(H5ew, nPrm):\n l5Ny = qQXR.to_json_string(nPrm)\n l5Ny = WR89.urlsafe_b64encode(l5Ny)\n dKPB = W7gX.new(H5ew, l5Ny).hexdigest()\n return (l5Ny, dKPB)", "def mmG7(YKHO, QePW):\n try:\n nPrm = QePW.get_js...
[ "0.70507723", "0.6844719", "0.68149763", "0.6787832", "0.6683991", "0.6629208", "0.6574461", "0.6562552", "0.65560216", "0.654297", "0.6495045", "0.64251596", "0.63448274", "0.634072", "0.6326657", "0.63217825", "0.6264611", "0.62330246", "0.6201289", "0.6185112", "0.60618556...
0.8102992
0
Return source as valid filename as per filename rules.
def t_Fj(YKHO): Ux0P = YKHO.source if not gJpO(Ux0P): raise R177(f'{repr(Ux0P)} must be a valid filename.') return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lj8I(YKHO, FYKK):\n if FYKK.endswith('.go'):\n return YKHO._normalize_go(FYKK)\n elif FYKK.endswith('.java') or FYKK.endswith('.kt'):\n return YKHO._normalize_jvm(FYKK)\n return FYKK", "def X65y(YKHO):\n KoHv = YKHO.source_id and YKHO.source.name or ''\n return XZ66('{0}__{1}.wsp...
[ "0.7069771", "0.70073843", "0.69937384", "0.6652245", "0.6498441", "0.6485995", "0.64812887", "0.6386555", "0.63478875", "0.63460475", "0.6343621", "0.63184774", "0.6309065", "0.6282811", "0.6279778", "0.6233037", "0.62190247", "0.62134767", "0.620575", "0.61995125", "0.61690...
0.66952413
3
Returns True if source is not equal to target.
def ssAw(YKHO): if YKHO.source == YKHO.target: raise _A5L('source must not equal target.') return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: 'OriginInput') -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif):\n return not YKHO == Elif", "def Vdqg(YKHO, Elif: 'Origin') -> bool:\n return not YKHO == Elif", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif: 'CrossConnectRou...
[ "0.7117385", "0.71140563", "0.7099622", "0.7091816", "0.70748913", "0.7014513", "0.6995561", "0.698715", "0.6983941", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", "0.6974609", ...
0.73537105
0
split DataFrame into trainin, validation and testing
def JWSc(jQ3Z): from sklearn.model_selction import train_test_split EvQg, QOe9 = train_test_split(jQ3Z, train_size=0.8, test_size=0.2, random_state=42) EvQg, wEf2 = train_test_split(EvQg, train_size=0.7, val_size=0.3) print(EvQg.shape, wEf2.shape, QOe9.shape) return (EvQg, wEf2, QOe9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bHtP(jQ3Z, NI2E=0.3):\n zBu_ = int(jQ3Z.shape[0] * (1 - NI2E))\n NI2E = jQ3Z.shape[0] - zBu_\n EvQg = jQ3Z[:zBu_]\n QOe9 = jQ3Z[zBu_:]\n return (EvQg, QOe9)", "def bHtP(jQ3Z):\n jcFe = int(len(jQ3Z) * 0.67)\n NI2E = int(len(jQ3Z) - jcFe)\n EvQg, QOe9 = (jQ3Z[0:jcFe], jQ3Z[jcFe:len(jQ3...
[ "0.83828", "0.83289933", "0.82579815", "0.80276376", "0.7978223", "0.7956342", "0.7941696", "0.78901076", "0.7889492", "0.7868206", "0.77938557", "0.77781934", "0.77503794", "0.7702781", "0.76781243", "0.7658984", "0.76138896", "0.7589798", "0.75693506", "0.75", "0.74949723",...
0.81118554
3
Get the list of parsers defined for the MDF
def NuSK() -> fHNa[str]: return set([mWFP for mWFP, U34r in n_WC().items() if U34r['class'].startswith('mdf_matio')])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rx9B(YKHO):\n return tuple([getattr(YKHO, '_{}'.format(YRbF)) for YRbF in YKHO.parsers_available])", "def tyUf(YKHO):\n return YKHO._d_parsers", "def fytZ():\n return [aWFH.get_parser(K0do) for K0do in aWFH.optimizers]", "def ZZth(YKHO, *qIxc):\n print('==== Available parsing modules: ====\\n...
[ "0.7620664", "0.74679875", "0.74633986", "0.6965154", "0.66305953", "0.643726", "0.6089348", "0.578824", "0.5744802", "0.5691443", "0.5666223", "0.55551755", "0.5447189", "0.5393577", "0.53734523", "0.53607243", "0.53554773", "0.5343076", "0.5311867", "0.52994555", "0.5292552...
0.77574617
0
Similar to ``np.broadcast()`` but for shapes. Equivalent to ``np.broadcast(map(np.empty, shapes)).shape``.
def moed(*N8OZ, **B2fa): U3Fm = B2fa.pop('strict', False) Ej4_ = [] for ROpF in N8OZ: for YRbF, zNig in enumerate(reversed(ROpF)): if YRbF >= len(Ej4_): Ej4_.append(zNig) elif Ej4_[YRbF] == 1 and (not U3Fm): Ej4_[YRbF] = zNig elif E...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wt62(*N8OZ: Tuple[int, ...]) -> AzJI[int, ...]:\n Sk_F = [oyIN.empty(ROpF) for ROpF in N8OZ]\n return oyIN.broadcast(*Sk_F).shape", "def NqB4(ROpF):\n return tuple((exwG == 1 for exwG in ROpF))", "def wt62(*qIxc):\n WKvO = list(oyIN.atleast_1d(qIxc[0])) if qIxc else ()\n for d7pR in qIxc[1:]...
[ "0.8031733", "0.6709287", "0.6608235", "0.6220126", "0.6172327", "0.61095786", "0.57702434", "0.5728449", "0.56912404", "0.5685939", "0.5650364", "0.5649787", "0.56408995", "0.56206495", "0.55885595", "0.5577972", "0.55559945", "0.55212015", "0.5496631", "0.54427445", "0.5434...
0.6822579
1
Assert that no tasks are scheduled.
def nHEI(YKHO): uAdQ = YKHO.redis.llen('celery') YKHO.assertEqual(uAdQ, 0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def y991(YKHO):\n D5gV = o2Vr({'name': 'test', 'id': 1, 'stage_id': [1, 'name'], 'date_deadline': False, 'date_start': False, 'date_end': False, 'full_project_name': 'test_project', 'partial_messages': [{'date': '2018-10-21 12:00:00'}], 'kanban_state': 'blocked', 'planned_hours': 100, 'priority': '1'})\n YKH...
[ "0.6898314", "0.68297046", "0.6745926", "0.6703574", "0.66847396", "0.6665011", "0.6502342", "0.65012395", "0.6496293", "0.64909637", "0.64443207", "0.63862115", "0.63862115", "0.638033", "0.62574387", "0.62144643", "0.62084484", "0.62054574", "0.6202889", "0.6185061", "0.615...
0.80603117
0
The file name measurement for the exemplar disk image
def TfI_(YKHO): return '_'.join((lKmH, YKHO.file_image_name.value))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ux0P(YKHO):\n return Hy7s.path.basename(YKHO.file_on_disk.name)", "def MiTW(YKHO):\n d6pt = YKHO.helpers.alpha_uuid()\n Ux0P = YKHO.form['FieldStorage'][YKHO.image_cid].filename\n Fst3 = GKtl(bmCH(Ux0P)[0])\n return YKHO.articleData.get('directory') + '/' + YKHO.articleData.get('article_name')...
[ "0.7226778", "0.71744794", "0.708932", "0.70752895", "0.70599556", "0.6997", "0.6990273", "0.6981896", "0.69383436", "0.6921032", "0.6881703", "0.68714577", "0.6859709", "0.68496007", "0.68347275", "0.6793649", "0.67768526", "0.6765624", "0.67621285", "0.675501", "0.675018", ...
0.67733
17
Computes ngrams from the list of words.
def aPuO(vwCE, exwG): yield zip(*[vwCE[YRbF:] for YRbF in range(exwG)])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pCSA(V22M, exwG=1):\n return [tuple(V22M[r845:r845 + exwG]) for r845 in range(len(V22M) - exwG + 1)]", "def YYlr(l5Ny, exwG=3):\n return [l5Ny[YRbF:YRbF + exwG] for YRbF in range(len(l5Ny) - exwG + 1)]", "def xg2I(_dZy, exwG):\n yCs1 = wr3U(_dZy)\n if exwG != 1:\n yCs1.insert(0, '<s>')\n...
[ "0.76748836", "0.74729234", "0.73396146", "0.73033047", "0.72778606", "0.7266304", "0.72451067", "0.7244604", "0.723173", "0.72209466", "0.72209466", "0.7217995", "0.7163791", "0.7145254", "0.70819396", "0.70793355", "0.70561045", "0.70503694", "0.70135546", "0.6943509", "0.6...
0.7706776
0
Return a datetime instance of the user's registration date.
def IABc(YKHO) -> qcWV: return qcWV.utcfromtimestamp(YKHO.registered)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AHia(YKHO):\n return YKHO._register_date", "def DlWd(YKHO):\n FpOe = YKHO.getUserInfo()\n E3oo = int(float(FpOe['signupTimeSec']))\n return ITS7.strftime('%m/%d/%Y %H:%M', ITS7.gmtime(E3oo))", "def ulAI(YKHO):\n return RyuO.Column(RyuO.TIMESTAMP(timezone=False), default=qcWV.datetime.utcnow,...
[ "0.7455323", "0.7260614", "0.718711", "0.6525263", "0.65236914", "0.64185023", "0.64185023", "0.64185023", "0.63833", "0.63192785", "0.6235479", "0.6231673", "0.617322", "0.6119592", "0.6083479", "0.60149604", "0.5979281", "0.59744436", "0.59466183", "0.5933466", "0.5933409",...
0.78252804
0
Get the user's personal tags.
def nW2Q(YKHO, TZ9E: str, type: str, qoqK: int=50, B2Dn: int=1) -> jH5j[uLKX[yp6H, SXEm, ZGCE]]: map = dict(artist=yp6H, album=ZGCE, track=SXEm) XkiF = map.get(type) assert XkiF is not None return YKHO.retrieve(bind=XkiF, flatten='{0}s.{0}'.format(type), params=dict(method='user.getPersonalTags', user=Y...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VuzP(CBIr):\n return OhYN.objects.all().filter(owner=CBIr)", "def Qwli(YKHO):\n _hkX = YKHO.get(RDhu.build_uri('tags', domain=YKHO.domain))\n return BfDw.handle_response(_hkX)", "def dJ1p(YKHO) -> h8nf[ImMB]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(QePW):\n return OhYN.objects.filter(u...
[ "0.66687936", "0.6583378", "0.652082", "0.65046144", "0.6486444", "0.64725584", "0.64719546", "0.64439434", "0.6384524", "0.6377347", "0.6373856", "0.63724524", "0.63149035", "0.6275968", "0.62728846", "0.6265393", "0.6237297", "0.6230856", "0.6181736", "0.6179542", "0.613700...
0.66523093
1
The conditional probability of x1.
def b9v2(YKHO, o4D3, ajwV=None): return oyIN.exp(YKHO.conditional_logpdf(o4D3, ajwV))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xrVC(YKHO, WKvO):\n XP5J = YKHO.dist.probability(WKvO)\n return XP5J", "def JxU2(WKvO):\n return 1.0 * c5LJ(WKvO, (0.0, 1.2), (1.0, 1.0), 0.8) + 1.05 * c5LJ(WKvO, (0.6, -1.0), (1.3, 0.7), -0.6)", "def ITwm(YKHO, WKvO):\n return 1.0 / WKvO", "def t61P(WKvO):\n from tensorflow_probability im...
[ "0.76534253", "0.7536851", "0.7362225", "0.7269607", "0.71314096", "0.68956095", "0.6891509", "0.6864677", "0.68354434", "0.6820483", "0.67983025", "0.6714162", "0.67051584", "0.66814375", "0.664406", "0.6632907", "0.6631286", "0.66006416", "0.6592607", "0.65750146", "0.65671...
0.66848665
13
Return all variables created to perform rotation and translation.
def AAPe(YKHO): return [Ty9i for Ty9i in YKHO.rotation_vars + YKHO.translation_vars if isinstance(Ty9i, ZylS.Variable)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jbKh(YKHO):\n return [YKHO.g_t, YKHO.m_t]", "def qiMC(YKHO):\n uzQA = [YKHO[imdf] for imdf in YKHO.statVars]\n Khf1 = [YKHO[imdf] for imdf in YKHO.timeVars]\n return uzQA + Khf1", "def jbKh(YKHO) -> oyIN.array:\n return oyIN.array([YKHO.a, YKHO.b, YKHO.c])", "def jbKh(YKHO) -> oyIN.array:\...
[ "0.70107085", "0.65569705", "0.6543175", "0.6502202", "0.644413", "0.63996756", "0.6341541", "0.63410157", "0.63068867", "0.6221026", "0.6169103", "0.61680347", "0.6151924", "0.61379313", "0.6134744", "0.6121936", "0.60941255", "0.6068834", "0.60545456", "0.6027803", "0.60119...
0.72888505
0
Load and preprocess data from tensorflow_datasets.
def uJ4W(j3aw, D0IS, ipRT, yokr): G9jH.info('Loading and preprocessing data from tensorflow datasets...') oxOY = iJJ6.load(j3aw, split=iJJ6.Split.TRAIN, batch_size=-1) oxOY = iJJ6.as_numpy(oxOY) ITSz, h4TO = (oxOY['image'], oxOY['label']) oxOY = iJJ6.load(j3aw, split=iJJ6.Split.TEST, batch_size=-1) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jr2L():\n tEK1 = ZylS.data.TextLineDataset(filenames=[B6Qo]).map(ALbi, num_parallel_calls=ZylS.data.experimental.AUTOTUNE).shuffle(buffer_size=1000).batch(Pp2K).prefetch(ZylS.data.experimental.AUTOTUNE)\n tVly = ZylS.data.TextLineDataset(filenames=[JA7F]).map(ALbi, num_parallel_calls=ZylS.data.experiment...
[ "0.7053245", "0.70072013", "0.68787855", "0.6795892", "0.67955875", "0.6580316", "0.655637", "0.6532044", "0.64965504", "0.64798933", "0.64663315", "0.6454775", "0.64145654", "0.6395551", "0.6392552", "0.6391336", "0.6365981", "0.6360732", "0.6346722", "0.6342318", "0.6342009...
0.7322116
0
Function for filtering dictionary structures (eg. dictionary where values are also dictionaries).
def Xe7A(YKHO, nPrm): for OCXm, t3fv in list(nPrm.items()): for ivAq, MGu9 in YKHO.required.items(): if ivAq in t3fv.keys(): if isinstance(MGu9, str) and YKHO.exact_match: if t3fv[ivAq] != MGu9: del nPrm[OCXm] br...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KnIY(nPrm, sjXb=[]):\n for ivAq in sjXb:\n if ivAq in nPrm:\n del nPrm[ivAq]\n for bGrB, BWXx in nPrm.items():\n if type(BWXx) == dict:\n KnIY(BWXx, sjXb)", "def BoNY(m2Zb, cmPJ):\n return {G1Hx: Ty9i for G1Hx, Ty9i in cmPJ.items() if m2Zb(Ty9i)}", "def XbYF(VIk...
[ "0.7173403", "0.7168984", "0.71410537", "0.70059514", "0.69099784", "0.68303853", "0.6788644", "0.6746141", "0.6707607", "0.6676209", "0.65986687", "0.65959316", "0.65735817", "0.65312916", "0.6524203", "0.6521999", "0.6514477", "0.6469185", "0.6441903", "0.6437054", "0.64355...
0.62594575
26
m.init_armor_set( [ method ] ) > None Build each piece of the monster's armor and add it to the set.
def FjZQ(YKHO, ULum): if ULum: for m8na in ULum: Ul0g = m8na(YKHO) YKHO.armor_set.append(Ul0g) Ul0g.activate()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tsWJ(YKHO, Ul0g):\n YKHO.av = Ul0g", "def FIMM(YKHO):\n YKHO.weapon = mJgt()\n YKHO.armor = mzlL()", "def C2YC(YKHO):\n YKHO.name = \"Holy Knight's Armor\"\n YKHO.rarity = 'Common'\n YKHO.pdef_value = 40\n YKHO.mdef_value = 10\n YKHO.increase_crit = 0\n YKHO.desc = 'Armor of the ...
[ "0.62117183", "0.60225606", "0.5761032", "0.572699", "0.5668436", "0.54605114", "0.5450287", "0.5318623", "0.5309805", "0.53056717", "0.52231437", "0.5195177", "0.51610994", "0.5132713", "0.5094153", "0.5064365", "0.50605935", "0.5058604", "0.50346714", "0.5032196", "0.502205...
0.8116815
0
m.faceTowards( Being ) > None The monster faces left or right, depending on which direction the target is in. This will influence movement and animations.
def O7Ml(YKHO, pan_): GJ1X = YKHO.current_tile() if pan_ and GJ1X: khBW = pan_.coordinates()[0] - GJ1X.coordinates()[0] if khBW == 0: return YKHO.direction_val = khBW / abs(khBW) if YKHO.direction_val == -1: YKHO.direction_id = 'left' if YKHO.direc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Grzi(YKHO):\n YKHO.face_up = True", "def _ysM(YKHO, K3af):\n if K3af:\n YKHO.heading.rotate(1)\n else:\n YKHO.heading.rotate(-1)", "def OM45(YKHO):\n Aofo = 'moveForward'\n if YKHO.last_status == 'Fail' or YKHO.last_action == 'Action.drop':\n Aofo = 'turnLeft'\n retur...
[ "0.5548279", "0.55162793", "0.55032545", "0.5430616", "0.54161274", "0.5354968", "0.528274", "0.52575326", "0.5251552", "0.5227132", "0.5208039", "0.5189017", "0.5177764", "0.51716787", "0.5149845", "0.51287955", "0.5102928", "0.5089273", "0.508586", "0.5079562", "0.507911", ...
0.6784305
0
Initializes an event tag index.
def FIMM(YKHO): super(qIRw, YKHO).__init__() YKHO._index = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ziQR(YKHO):\n YKHO._event_tag_index = {}\n for jbaU in YKHO.GetEventTags():\n r8tW = jbaU.GetEventIdentifier()\n diJD = r8tW.CopyToString()\n YKHO._event_tag_index[diJD] = jbaU.GetIdentifier()", "def FIMM(YKHO):\n super(e7QS, YKHO).__init__()\n YKHO._event_identifier = None\n...
[ "0.6740978", "0.66236126", "0.6580892", "0.64129055", "0.6088895", "0.6034589", "0.5985557", "0.59699357", "0.5887384", "0.58771455", "0.58667725", "0.5840605", "0.57838374", "0.57691926", "0.57691926", "0.5737148", "0.56825066", "0.5676429", "0.56246144", "0.5558476", "0.554...
0.79637307
0
When name is not given, return the current branch name. Otherwise, set the working directory branch name (the branch will not exist in the repository until the next commit). Standard practice recommends that primary development take place on the 'default' branch. name new branch name clean reset branch name to parent b...
def jehQ(YKHO, mWFP=None, x0SS=None, DHvX=None): if mWFP and x0SS: raise ValueError('Cannot use both name and clean') YKHO._client.execute('branch', mWFP, f=DHvX, C=x0SS) if mWFP: return mWFP elif not x0SS: return yvT9.strip() else: return yvT9[len('reset working dire...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def TKEu(YKHO):\n jehQ = YKHO.get_current_branch()\n if jehQ:\n return jehQ.name\n return None", "def jehQ(srZT):\n sEAN.branch = srZT", "def jehQ(srZT):\n sEAN.branch = srZT", "def XSrR(YKHO) -> str:\n return qe4Y.get(YKHO, 'default_branch')", "def jehQ(YKHO, mWFP: str) -> V37B:\n...
[ "0.69977635", "0.69428694", "0.69428694", "0.6787466", "0.6645439", "0.65794235", "0.6558024", "0.6527584", "0.64437985", "0.63662267", "0.6366129", "0.63405025", "0.63190484", "0.6285004", "0.6281684", "0.6264817", "0.6262522", "0.6262011", "0.61216146", "0.60493", "0.604818...
0.73896277
0
Generate Change objects between revisions for the specified files. files the files to diff (if None, diff the entire repository) rev 0, 1 or 2 revisions; if none, compare the working directory to its parent; if one, compare with working directory to that revision; if two, compare those revisions change generate a diff ...
def qN8b(YKHO, RRlC=[], o5Dc=None, nZuS=None, l5Ny=False, gxEw=False, Mf9t=False, vmV3=False, kJ69=False, QpfX=None, hUv4=False, a4gM=None, DNHh=None): return HDdr.parse(YKHO.diff(files=RRlC, rev=o5Dc, change=nZuS, text=l5Ny, git=True, reverse=gxEw, ignore_all_space=Mf9t, ignore_space_change=vmV3, ignore_blank_line...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yk4i(YKHO, RRlC=[], o5Dc=None, nZuS=None, l5Ny=False, tgM5=False, qMjC=False, FOSV=False, gxEw=False, Mf9t=False, vmV3=False, kJ69=False, rvgS=None, QmN4=False, hUv4=False, a4gM=None, DNHh=None):\n if nZuS and o5Dc:\n raise ValueError('cannot specify both change and rev')\n RRlC = YKHO._map_files(...
[ "0.6445128", "0.57100946", "0.5576651", "0.5270639", "0.5217728", "0.5098464", "0.50349844", "0.5005927", "0.50048965", "0.4995622", "0.4992258", "0.4989167", "0.49602535", "0.4923687", "0.49016792", "0.48749018", "0.4864071", "0.48116848", "0.47506148", "0.47315946", "0.4729...
0.64501894
0
Returns dataframe of synthetic measurements.
def Tcon(YKHO): return YKHO.batch.measure(YKHO.ambiguity, YKHO.num_replicates)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def i_mH(Emd4, **B2fa):\n keQt = vmkq(namedArray=Emd4.runSimulationArr(**B2fa))\n return keQt.to_dataframe()", "def J9Sm():\n kUqp = 100\n Cqgv, mJX1 = (20, 10)\n u9Jc = oyIN.random.normal(Cqgv, mJX1, kUqp)\n k1dn, VwEx = (2, 2)\n raDh = oyIN.random.normal(k1dn, VwEx, kUqp)\n Z9rn = u9Jc ...
[ "0.6683026", "0.66055834", "0.65300083", "0.6481748", "0.636432", "0.6364167", "0.63088566", "0.62996805", "0.62955457", "0.62634623", "0.6230132", "0.6222584", "0.6193309", "0.6171957", "0.6167649", "0.61589366", "0.6158472", "0.6130138", "0.61124706", "0.6104767", "0.610094...
0.0
-1
Return the raw data for tag.
def ChRH(YKHO, TZ9E): u54L = TZ9E.length Aofo = YKHO._read_bytes(0, u54L) YKHO._buffer = YKHO._buffer[u54L:] YKHO._resetTag() return TZ9E.raw + Aofo
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m6Me(YKHO):\n return YKHO.data", "def SwtT(YKHO):\n return YKHO.content", "def SwtT(YKHO):\n return YKHO.__data", "def WPdU(YKHO):\n return YKHO._raw_data", "def WPdU(YKHO):\n return YKHO._raw_data", "def LUcQ(YKHO) -> str:\n return YKHO._data", "def m6Me(YKHO, TZ9E, m6Me, yIVm):\...
[ "0.7240558", "0.7173444", "0.7117779", "0.7101145", "0.7101145", "0.70347095", "0.6921688", "0.6917218", "0.6917218", "0.69025606", "0.66963434", "0.66636306", "0.65960425", "0.6552913", "0.6516113", "0.6383683", "0.6368218", "0.6357114", "0.6357114", "0.6357114", "0.6353803"...
0.6831482
10
Searches a column for a given value and returns the row the value first appears in.
def AQfL(YKHO, iVRZ, BWXx): hkxX = [VmPb[iVRZ - 1] for VmPb in YKHO._op.values] try: return hkxX.index(BWXx) + 1 except ValueError: return 0
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UTMW(tyNF, rdlD):\n for or8S in range(len(tyNF)):\n if tyNF[or8S][0] == rdlD:\n return or8S\n return -1", "def BOes(tyNF, fvDH):\n return tyNF[0].index(fvDH)", "def wi1u(aBQJ, tyNF, iVRZ, kUBT, WmM4=WX3q):\n Xg1X = aBQJ.tables[tyNF]\n for Mkmy in Xg1X.rows.values():\n ...
[ "0.69421947", "0.6893456", "0.6765275", "0.6690687", "0.65816945", "0.6565631", "0.6460732", "0.6397726", "0.6339769", "0.6334957", "0.62474763", "0.62097424", "0.6209072", "0.6197558", "0.6178861", "0.6148743", "0.6114857", "0.60577446", "0.6056467", "0.5985548", "0.59794486...
0.64902973
6
Sets the name of this ApiaccountsBillcontact.
def mWFP(YKHO, mWFP): YKHO._name = mWFP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bKAt(YKHO, bKAt):\n YKHO._contact_name = bKAt", "def bKAt(YKHO, bKAt):\n YKHO._contact_name = bKAt", "def zPdd(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def WZrJ(YKHO, mWFP):\n YKHO.name = mWFP", "def...
[ "0.7261152", "0.7261152", "0.66610503", "0.66559684", "0.66559684", "0.66559684", "0.66559684", "0.66559684", "0.66156304", "0.6573643", "0.6536291", "0.65226156", "0.65158993", "0.6490762", "0.6490762", "0.646719", "0.6463478", "0.6453776", "0.6453776", "0.64310724", "0.6431...
0.0
-1
Sets the zipcode of this ApiaccountsBillcontact.
def DD6W(YKHO, DD6W): if DD6W is None: raise ValueError('Invalid value for `zipcode`, must not be `None`') YKHO._zipcode = DD6W
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DD6W(YKHO, DD6W):\n YKHO._zipcode = DD6W", "def jLqg(YKHO, jLqg):\n YKHO._zip_code = jLqg", "def nGaM(YKHO, nGaM):\n YKHO._principal_zip_code = nGaM", "def jLqg(YKHO, BWXx):\n njyT = GPtr.get('validators', 'zip_code')\n DD6W = ZbWC.search(njyT, BWXx)\n if not DD6W:\n raise KtW6(\...
[ "0.78441685", "0.7720664", "0.69060963", "0.66386056", "0.65722424", "0.65722424", "0.65722424", "0.65691864", "0.6243531", "0.6003641", "0.5818464", "0.57841724", "0.56315094", "0.56210095", "0.55950606", "0.5452774", "0.5447015", "0.5447015", "0.5447015", "0.5338217", "0.52...
0.76014894
2
Sets the country of this ApiaccountsBillcontact.
def vxW9(YKHO, vxW9): YKHO._country = vxW9
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vxW9(YKHO, vxW9):\n if vxW9 is None:\n raise ValueError('Invalid value for `country`, must not be `None`')\n YKHO._country = vxW9", "def lLqu(YKHO, vxW9):\n return YKHO._request('domain/settings/set_country', gsjh(tq_1.currentframe()))", "def vxW9(YKHO, vxW9):\n if vxW9 is not None:\n ...
[ "0.7135401", "0.6613108", "0.6435555", "0.60529906", "0.5980225", "0.5980225", "0.5730811", "0.57172006", "0.55933183", "0.5518457", "0.5362083", "0.52071846", "0.50269055", "0.50260365", "0.5020843", "0.49875706", "0.49875706", "0.48868054", "0.48827586", "0.48782575", "0.48...
0.70548373
4
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, Ymet): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.8455985", "0.83913255", "0.81440157", "0.8140831", "0.8132328", "0.80937284", "0.809181", "0.809181", "0.809181", "0.808509", "0.808509", "0.8076134", "0.8076134", "0.8065528" ]
0.0
-1
Return the dtypes as a Series for the underlying MultiIndex.
def m1c7(YKHO) -> rLdf.Series: return rLdf.Series([Jyyj.dtype for Jyyj in YKHO._internal.index_fields], index=rLdf.Index([mWFP if len(mWFP) > 1 else mWFP[0] for mWFP in YKHO._internal.index_names]))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m1c7(YKHO) -> Series:\n from pandas import Series\n ZWCE = zJeG.fill_missing_names([ABDL.name for ABDL in YKHO.levels])\n return Series([ABDL.dtype for ABDL in YKHO.levels], index=tTFA(ZWCE))", "def pxKz(YKHO) -> rLdf.MultiIndex:\n return YWvJ(rLdf.MultiIndex, super()._to_pandas())", "def otXk(...
[ "0.8184228", "0.68621963", "0.6358254", "0.6307995", "0.61511695", "0.6075133", "0.60155475", "0.5840205", "0.5590463", "0.5561326", "0.54950684", "0.5491656", "0.5378195", "0.53119725", "0.5295259", "0.52875245", "0.5279626", "0.5245437", "0.52452826", "0.523891", "0.5221498...
0.78761137
1
Swap level i with level j. Calling this method does not change the ordering of the values.
def wnh0(YKHO, YRbF: int=-2, r845: int=-1) -> 'MultiIndex': for d6pt in (YRbF, r845): if not isinstance(d6pt, int) and d6pt not in YKHO.names: raise KeyError('Level %s not found' % d6pt) YRbF = YRbF if isinstance(YRbF, int) else YKHO.names.index(YRbF) r845 = r845 if isinstance(r845, int)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wnh0(YKHO, YRbF=-2, r845=-1) -> pcN8:\n wm18 = list(YKHO.levels)\n I7hm = list(YKHO.codes)\n ukjG = list(YKHO.names)\n YRbF = YKHO._get_level_number(YRbF)\n r845 = YKHO._get_level_number(r845)\n wm18[YRbF], wm18[r845] = (wm18[r845], wm18[YRbF])\n I7hm[YRbF], I7hm[r845] = (I7hm[r845], I7hm[...
[ "0.74526614", "0.7346278", "0.7346278", "0.7294899", "0.72918224", "0.72742206", "0.71956444", "0.7175905", "0.712711", "0.71144307", "0.70062816", "0.69035494", "0.6693372", "0.66693985", "0.6646694", "0.66430485", "0.65844166", "0.65626323", "0.6560102", "0.6546376", "0.651...
0.68559766
12
Create a DataFrame with the levels of the MultiIndex as columns. Column ordering is determined by the DataFrame constructor with data as a dict.
def B5fV(YKHO, d6pt: bool=True, mWFP: Optional[List[Name]]=None) -> hxoQ: if mWFP is None: mWFP = [mWFP if mWFP is not None else (YRbF,) for YRbF, mWFP in enumerate(YKHO._internal.index_names)] elif Kuz2(mWFP): if len(mWFP) != YKHO._internal.index_level: raise ValueError("'name' shou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qhD4(w38M: list, wyuX: list, _KqF: list) -> rLdf.DataFrame:\n SqIz = l1Ox(_KqF, wyuX)\n Tgu8 = rLdf.MultiIndex.from_tuples(SqIz)\n jQ3Z = rLdf.concat(w38M, axis=1).loc[:, dict(SqIz).keys()]\n jQ3Z.columns = Tgu8\n return jQ3Z", "def Suiq():\n OxJJ = [['approach', 'contact', 'retract', 'paus...
[ "0.7025814", "0.6876633", "0.68388975", "0.64850295", "0.6364974", "0.6280288", "0.6252759", "0.5973858", "0.59734046", "0.5968347", "0.59410197", "0.593488", "0.5902506", "0.5855398", "0.584917", "0.58324987", "0.5809604", "0.5801654", "0.57453054", "0.5744082", "0.57377875"...
0.5579021
28
Return a pandas MultiIndex.
def onUf(YKHO) -> rLdf.MultiIndex: return YWvJ(rLdf.MultiIndex, super().to_pandas())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pxKz(YKHO) -> rLdf.MultiIndex:\n return YWvJ(rLdf.MultiIndex, super()._to_pandas())", "def _OWS(Emd4, PKko, ZWCE=[]):\n assert Emd4.is_selector(PKko)\n assert not Emd4.is_ambiguous(PKko)\n if isinstance(PKko, esAs) and PKko.nonempty:\n if not ZWCE:\n ZWCE = range(PKko.max_levels...
[ "0.763254", "0.68634033", "0.6724343", "0.64997625", "0.64425975", "0.64136726", "0.6362066", "0.6310585", "0.63012844", "0.6289729", "0.6228385", "0.6177782", "0.6112098", "0.60561055", "0.60102683", "0.5928012", "0.5861009", "0.5800596", "0.57858115", "0.5694984", "0.568785...
0.70413494
1
Return other suit of the same same color I'm embarrased I had to write this function.
def WqoG(iCfd): if iCfd == 's': return 'c' elif iCfd == 'c': return 's' elif iCfd == 'd': return 'h' elif iCfd == 'h': return 'd'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bfVy(YKHO):\n YKVW = g760.Counter()\n for dxhl in YKHO.hand:\n qfpW = dxhl.color\n if qfpW == 'White':\n continue\n YKVW[qfpW] += 1\n if not YKVW.most_common(1):\n return super().get_trump_color()\n else:\n return YKVW.most_common(1)[0][0]", "def bfVy...
[ "0.7629291", "0.6938815", "0.68371", "0.6620941", "0.64420456", "0.6439577", "0.6263596", "0.6232412", "0.6119415", "0.610538", "0.6077046", "0.6033653", "0.601187", "0.6003282", "0.59425944", "0.59376603", "0.59208816", "0.589354", "0.5888985", "0.58701396", "0.58692646", ...
0.8190205
0
Returns ArgumentParser for command line interface.
def rBUG() -> j1Jz.ArgumentParser: wvEv = j1Jz.ArgumentParser() wvEv.add_argument('config', nargs='?', help='path to yaml configuration file') return wvEv
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lHBs() -> j1Jz.ArgumentParser:\n wvEv = j1Jz.ArgumentParser(description=JBZA(), epilog=QY6I(), formatter_class=j1Jz.RawDescriptionHelpFormatter)\n return wvEv", "def lHBs() -> j1Jz.ArgumentParser:\n wvEv = j1Jz.ArgumentParser(description=JBZA(), epilog=QY6I(), formatter_class=j1Jz.RawDescriptionHelp...
[ "0.8461342", "0.8461342", "0.8252302", "0.7937467", "0.78921616", "0.78906125", "0.76528436", "0.7616996", "0.75524634", "0.753225", "0.7528854", "0.74952257", "0.74838954", "0.7477763", "0.7441388", "0.74413127", "0.74005115", "0.7399652", "0.73877126", "0.73801035", "0.7365...
0.7442752
14
Convert and return file to array lines. It excludes comment lines.
def ygDd(Nu1S): Nqlg = [] zFiD = Nu1S.readline() Nqlg.append([1, zFiD]) PK7e = 1 while zFiD: zFiD = Nu1S.readline() if not zFiD.lstrip().startswith('#'): Nqlg.append([PK7e, zFiD]) PK7e += 1 return Nqlg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dHfT(YKHO, jQJk):\n LInS = ''\n for zFiD in jQJk:\n if ';' in zFiD:\n zFiD = zFiD[:zFiD.find(';')]\n zFiD = zFiD.replace('\\t', '').replace('\\n', ' ').replace('(', ' ( ').replace(')', ' ) ')\n LInS += zFiD\n jQJk.close()\n return LInS.strip().split()", "def RdVV(U...
[ "0.74129647", "0.70819384", "0.6997679", "0.6991039", "0.6963677", "0.69568044", "0.6932118", "0.69123197", "0.6883258", "0.683574", "0.68239194", "0.68173975", "0.6804039", "0.68016917", "0.6801218", "0.6780617", "0.67767113", "0.6759458", "0.67489535", "0.67387605", "0.6705...
0.61156267
69
Test if a plain conversation with zero messages can be started
def MCtk(YKHO): geh0 = YKHO.client.post('/conversation/{}/message'.format(YKHO.conversation.id), {'sender_id': YKHO.user_a.id, 'receiver_id': YKHO.user_b.id, 'text': 'test message'}, format='json') YKHO.assertEqual(geh0.status_code, jGRS.HTTP_201_CREATED) YKHO.assertEqual(LuKW.objects.count(), 1) YKHO.a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FBfn(YKHO):\n if len(YKHO.messages) < 1:\n return True\n else:\n return False", "def ZvLo(YKHO):\n za4t = yEHD.MessageList()\n YKHO.assertEqual(za4t.length(), 0)", "def pStR(YKHO):\n tO9_ = []\n YKHO.dead_letter.handle_messages(tO9_)", "def CqYo(YKHO):\n YKHO.failureRes...
[ "0.6509104", "0.63578737", "0.63547844", "0.63307923", "0.6216674", "0.60820293", "0.5835983", "0.5825491", "0.5825491", "0.57829905", "0.57530224", "0.57272893", "0.5685221", "0.5670224", "0.5648186", "0.56157255", "0.5615679", "0.55684596", "0.553764", "0.55175346", "0.5502...
0.6514676
0
r"""Number of graphs in the dataset. Returns int
def szAg(YKHO): return YKHO.n_node.shape[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LF8Y(YKHO):\n return len(YKHO.__graph_list)", "def moTC(YKHO):\n return int(YKHO._data['number_of_data_nodes'])", "def iq9F(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.graph_count)", "def hDPH(YKHO) -> int:\n return int(YKHO.graph_tuple_stats.graph_data_size or 0)", "def Xvdp(YKHO):\n...
[ "0.8177282", "0.77682084", "0.77343106", "0.751806", "0.7409018", "0.7385039", "0.736291", "0.73342484", "0.7197069", "0.7106285", "0.70112616", "0.70004135", "0.69535905", "0.691286", "0.6844889", "0.6818709", "0.67441154", "0.6678891", "0.66424835", "0.66161907", "0.6611182...
0.0
-1
Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).
def bPXo(FIO_=None, zZ1q=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pqWz(FIO_=None, zZ1q=None):\n pass", "def bf4V(FIO_=None, zZ1q=None):\n pass", "def URmM(YKHO, FdDZ, GPtr):\n YKHO.tcex.log.trace('delete config callback')", "def ydEM(FIO_=None, zZ1q=None, x6p3=None):\n pass", "def AaTp(YKHO, TPjw):\n RKD7.debug('ConfigListener: configuration %s deleted...
[ "0.7604093", "0.7065312", "0.6486593", "0.6268282", "0.6093107", "0.5897825", "0.585958", "0.58551997", "0.57395333", "0.57225347", "0.56757987", "0.5669398", "0.5631595", "0.56072986", "0.5604812", "0.5551352", "0.5548683", "0.55200934", "0.5478435", "0.54742473", "0.5471771...
0.8686281
0
Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics configuration ID) from the bucket. Note that this doesn\'t include the daily storage metrics.
def pqWz(FIO_=None, zZ1q=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bPXo(FIO_=None, zZ1q=None):\n pass", "def L1VH(FIO_=None, zZ1q=None):\n pass", "def Eehx(FIO_=None, zZ1q=None, Y_Lz=None):\n pass", "def vrkb(FIO_=None, OpBp=None):\n pass", "def bf4V(FIO_=None, zZ1q=None):\n pass", "def AaTp(YKHO, TPjw):\n RKD7.debug('ConfigListener: configuration ...
[ "0.65952796", "0.5764277", "0.5698529", "0.5589302", "0.5554627", "0.5480715", "0.54474235", "0.5428808", "0.53637606", "0.5326495", "0.52871424", "0.5269845", "0.52398854", "0.52120304", "0.51522744", "0.5125438", "0.5074952", "0.50555134", "0.50500447", "0.50296086", "0.502...
0.8071948
0
This implementation of the GET operation returns an analytics configuration (identified by the analytics configuration ID) from the bucket.
def LQtH(FIO_=None, zZ1q=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L1VH(FIO_=None, zZ1q=None):\n pass", "def Fk1H(FIO_=None, OpBp=None):\n pass", "def p3tx(FIO_=None, zZ1q=None):\n pass", "def tgzD():\n GPtr = c3ht(uEEx, NepP)\n if not GPtr:\n GPtr = dum9()\n LHWC(GPtr)\n return GPtr", "def U5ua(FIO_=None):\n pass", "def jsTV(FIO_=...
[ "0.65982515", "0.642073", "0.6262458", "0.6142293", "0.58704066", "0.586523", "0.56924176", "0.5563753", "0.5562354", "0.55071986", "0.5486208", "0.5486208", "0.5484506", "0.54726094", "0.5413658", "0.53968894", "0.5354896", "0.53433937", "0.533905", "0.53382653", "0.53316456...
0.7725061
0
Returns the default encryption configuration for an Amazon S3 bucket. For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption .
def TmWr(FIO_=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tgzD():\n GPtr = c3ht(uEEx, NepP)\n if not GPtr:\n GPtr = dum9()\n LHWC(GPtr)\n return GPtr", "def nGBF(YKHO) -> laHg.Optional['BucketEncryption']:\n return YKHO._values.get('encryption')", "def UfCq():\n HJCV = OVqF['default'].SECRET_ACCESS_KEY_SCRIPT.get()\n return HJCV or...
[ "0.6691077", "0.65997523", "0.65723044", "0.65082", "0.6217193", "0.6061714", "0.5971248", "0.59203583", "0.59139633", "0.59068954", "0.5865721", "0.5861929", "0.5858688", "0.5841083", "0.5830963", "0.57897705", "0.5785154", "0.5759144", "0.5748477", "0.5728825", "0.57243854"...
0.7612864
0
Returns the Region the bucket resides in. You set the bucket\'s Region using the LocationConstraint request parameter in a CreateBucket request. For more information, see CreateBucket . To use this implementation of the operation, you must be the bucket owner.
def kckj(FIO_=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oMHX(YKHO):\n return YKHO.creds.get('region_name')", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO, 'region')", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO, 'region')", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO, 'region')", "def zn0c(YKHO) -> str:\n return qe4Y.get(YKHO, 'region...
[ "0.71272635", "0.69390935", "0.69390935", "0.69390935", "0.69390935", "0.69390935", "0.69390935", "0.6886231", "0.68698424", "0.6855191", "0.6855191", "0.6855191", "0.6855191", "0.6830683", "0.68108875", "0.68108875", "0.6769921", "0.6769921", "0.6769921", "0.667816", "0.6671...
0.62944496
51
Gets a metrics configuration (specified by the metrics configuration ID) from the bucket. Note that this doesn\'t include the daily storage metrics.
def L1VH(FIO_=None, zZ1q=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vrkb(FIO_=None, OpBp=None):\n pass", "def g_bI(YKHO, nNXP=None, MOPg=None):\n return YKHO.metrics.get(api=nNXP, headers=MOPg, param='/configuration')", "def LQtH(FIO_=None, zZ1q=None):\n pass", "def pqWz(FIO_=None, zZ1q=None):\n pass", "def tgzD():\n GPtr = c3ht(uEEx, NepP)\n if not G...
[ "0.6472764", "0.63830733", "0.6319523", "0.6089206", "0.5713139", "0.56319344", "0.55435246", "0.5527125", "0.5511432", "0.5493204", "0.5405601", "0.51752955", "0.5127896", "0.5099804", "0.50663567", "0.4955683", "0.49294037", "0.48972574", "0.48957008", "0.48954207", "0.4860...
0.77769315
0
Returns the notification configuration of a bucket. If notifications are not enabled on the bucket, the operation returns an empty NotificationConfiguration element.
def U5ua(FIO_=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wkrc(FIO_=None):\n pass", "def gD0k(YKHO) -> 'outputs.NotificationConfigResponse':\n return qe4Y.get(YKHO, 'notification_config')", "def E5sC(FIO_=None, Ax2U=None):\n pass", "def tik3(FIO_=None, Ax2U=None):\n pass", "def I6fa(YKHO) -> qe4Y.Output[bdIy['outputs.FhirNotificationConfigResponse...
[ "0.6575426", "0.6573674", "0.62484014", "0.59397197", "0.574118", "0.56884736", "0.55369836", "0.5498997", "0.54311985", "0.5425835", "0.5331692", "0.52451295", "0.52449757", "0.5231619", "0.5231619", "0.5174376", "0.5058591", "0.4997675", "0.49326843", "0.49109352", "0.48929...
0.78894174
0
Returns the replication configuration of a bucket. For information about replication configuration, see Replication in the Amazon Simple Storage Service Developer Guide .
def ysBF(FIO_=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def U5ua(FIO_=None):\n pass", "def Mx3j(FIO_=None):\n pass", "def pLEe(FIO_=None, vWD_=None, _J2v=None):\n pass", "def L1VH(FIO_=None, zZ1q=None):\n pass", "def jsTV(FIO_=None):\n pass", "def JYXI(FIO_=None):\n pass", "def tgzD():\n GPtr = c3ht(uEEx, NepP)\n if not GPtr:\n ...
[ "0.6029611", "0.58928066", "0.5698696", "0.5635227", "0.55993426", "0.556204", "0.5470341", "0.54167914", "0.54069185", "0.5384654", "0.5384654", "0.5383954", "0.5373886", "0.53681964", "0.531558", "0.5312697", "0.5285252", "0.5274173", "0.5219478", "0.52130157", "0.5139271",...
0.76546067
0
Returns the request payment configuration of a bucket. To use this version of the operation, you must be the bucket owner. For more information, see Requester Pays Buckets .
def _0X9(FIO_=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jsTV(FIO_=None):\n pass", "def HLrx(FIO_=None, ui40=None):\n pass", "def U5ua(FIO_=None):\n pass", "def ukNZ(FIO_=None):\n pass", "def oiO8(FIO_=None):\n pass", "def RxX6(FIO_=None):\n pass", "def uaem(WE7e, H5ew, F5FH=True, x0hE=None):\n if not x0hE:\n cuiw = _Jjz(regio...
[ "0.68753695", "0.6624221", "0.652675", "0.61396354", "0.6088341", "0.59856516", "0.5870276", "0.5674686", "0.5674686", "0.565474", "0.5610779", "0.5569977", "0.5569977", "0.5569977", "0.5569977", "0.5569977", "0.5552412", "0.55205476", "0.5516042", "0.5502", "0.54954416", "...
0.7960077
0
Returns the versioning state of a bucket. To retrieve the versioning state of a bucket, you must be the bucket owner. This implementation also returns the MFA Delete status of the versioning state. If the MFA Delete status is enabled , the bucket owner must use an authentication device to change the versioning state of...
def Lr5D(FIO_=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def hLqy(YKHO, l7rj):\n return YKHO._client.get_bucket_versioning(Bucket=l7rj).get('Status')", "def zG94(YKHO, MOPg=None):\n geh0 = YKHO.connection.make_request('GET', YKHO.name, query_args='versioning', headers=MOPg)\n TBsA = geh0.read()\n gP7g.log.debug(TBsA)\n if geh0.status == 200:\n Cs...
[ "0.7558039", "0.6453385", "0.6293636", "0.61154073", "0.5805858", "0.5680489", "0.561151", "0.5587636", "0.5575067", "0.55235976", "0.54868305", "0.53736943", "0.53601485", "0.53278774", "0.53076166", "0.5302237", "0.5283305", "0.52719134", "0.52427113", "0.5226363", "0.52260...
0.72780436
1
Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a bucketlevel feature that enables you to perform faster data transfers to Amazon S3.
def M7Bi(FIO_=None, gtfb=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jsTV(FIO_=None):\n pass", "def alhC(WE7e):\n ABwj = joT4.init_bucket(WE7e)\n joT4.set_policy(ABwj)\n joT4.configure_website(ABwj)", "def aiPW(FIO_=None, tXd6=None):\n pass", "def DKh3(YKHO, MYjm, QDug):\n YKHO.s3_conn = kqSd(MYjm, QDug)", "def RgxM(qIxc):\n try:\n cuiw = iVG...
[ "0.69880927", "0.58963805", "0.5852694", "0.5844379", "0.54831946", "0.5467168", "0.537238", "0.5366594", "0.53374815", "0.5289862", "0.5258023", "0.51401204", "0.5130629", "0.5093954", "0.5082433", "0.5080951", "0.5073416", "0.5055574", "0.50536156", "0.5031694", "0.50294584...
0.79310095
0
Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. All logs are saved to buckets in the same AWS Region as the source bucket. To set the logging status of a bucket, you must be the bucket owner. The bucket owner is automatically granted FULL_CONTROL to...
def w7Qd(FIO_=None, X7KT=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HAnu(l7rj, YWl4, Cu55):\n bGrB, WE7e, bGrB = vuB2(l7rj)\n Qabx = WE7e.get_iam_policy(requested_policy_version=3)\n pCin = fyHe(Cu55)\n CYvO = jrPS(YWl4)\n Qabx.bindings.append({'role': CYvO, 'members': {pCin}})\n WE7e.set_iam_policy(Qabx)\n print('added {} with role {} to {}'.format(pCin, ...
[ "0.5979146", "0.583399", "0.5752306", "0.57464045", "0.56900907", "0.56152815", "0.5572567", "0.5517638", "0.54065436", "0.53307724", "0.5305048", "0.525352", "0.52176446", "0.51585925", "0.514643", "0.51375484", "0.511182", "0.509909", "0.50654566", "0.50474274", "0.5046175"...
0.72196704
0
Creates a replication configuration or replaces an existing one. For more information, see Replication in the Amazon S3 Developer Guide . Specify the replication configuration in the request body. In the replication configuration, you provide the name of the destination bucket where you want Amazon S3 to replicate obje...
def pLEe(FIO_=None, vWD_=None, _J2v=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wwZP(YKHO, JZXy, pan_, **NArs):\n PNow = QG_6.replicator.Replication(YKHO.cloudant_client)\n ED2S = FfT0(YKHO.cloudant_client, JZXy)\n GRKL = FfT0(YKHO.cloudant_client, pan_)\n return PNow.create_replication(ED2S, GRKL, **NArs)", "def Cyin(YKHO, Cyin):\n YKHO._replication = Cyin", "def HO52(...
[ "0.55977476", "0.52265596", "0.5216164", "0.5096016", "0.5051606", "0.5032355", "0.48676997", "0.48335698", "0.4753804", "0.46794835", "0.4656571", "0.46255225", "0.46108475", "0.45803452", "0.45522138", "0.4443814", "0.44354197", "0.44330853", "0.442313", "0.4419442", "0.441...
0.5756311
0
Sets the tags for a bucket. Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign up to get your AWS account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For exampl...
def epGy(FIO_=None, GeRp=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LXjv(FIO_=None):\n pass", "def reip(FIO_=None, pe5E=None, _2J8=None, P25u=None, GeRp=None):\n pass", "def Qwli(WE7e: str, H5ew: str) -> dict:\n bo34.debug(f'Reading tags from s3://{WE7e}/{H5ew}')\n geh0 = x0hE().get_object_tagging(Bucket=WE7e, Key=H5ew)\n return dict(((TZ9E['Key'], TZ9E['Val...
[ "0.649924", "0.6472873", "0.6169073", "0.61282045", "0.60677725", "0.5940627", "0.5923109", "0.58977324", "0.57952404", "0.5770267", "0.57653356", "0.57653356", "0.57653356", "0.57562095", "0.57497555", "0.57437474", "0.57437474", "0.57437474", "0.57437474", "0.57437474", "0....
0.7325588
0
Applies a Legal Hold configuration to the specified object.
def cUsL(FIO_=None, pe5E=None, c2wk=None, Ueww=None, _2J8=None, P25u=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Al7p(YKHO) -> 'outputs.LegalHoldPropertiesResponse':\n return qe4Y.get(YKHO, 'legal_hold')", "def dRO0(YKHO) -> None:\n Zj3h.apply_config()", "def QdZT(YKHO, YEnM):\n YKHO.cfg.update(YEnM)", "def VoPj(wzDi):\n tO9_ = efJj()\n tO9_.hold = wzDi\n auXc = sQC5.ServiceProxy('/wam/hold_joint_...
[ "0.5459299", "0.5223168", "0.51662433", "0.51042247", "0.49540895", "0.4940352", "0.49180752", "0.49166292", "0.4883322", "0.4842406", "0.4841826", "0.4804079", "0.47931382", "0.47098985", "0.46599212", "0.465391", "0.4651016", "0.46399558", "0.46250498", "0.46120122", "0.460...
0.62764627
0
Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.
def xj1v(FIO_=None, S_IB=None, Ueww=None, _J2v=None, P25u=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oiO8(FIO_=None):\n pass", "def k6Yl(WE7e, GikI):\n pGmv.put_object(Bucket=WE7e, Key='%s.lock' % GikI)", "def WE7e(YKHO, WE7e):\n YKHO._bucket = WE7e", "def DiQD(FmAk=None, FIO_=None, b4xV=None, iBnR=None, gb4i=None, iF6L=None, GZnN=None, HRXq=None, wVtC=None):\n pass", "def aVqK(FmAk=None, ...
[ "0.6710751", "0.602169", "0.5885827", "0.57805544", "0.57708627", "0.57537395", "0.5658306", "0.55914557", "0.55896646", "0.55116683", "0.54173034", "0.5411396", "0.54101723", "0.5393415", "0.53822637", "0.5368272", "0.53459513", "0.5343463", "0.5331058", "0.53233033", "0.529...
0.73429054
0
This operation filters the contents of an Amazon S3 object based on a simple structured query language (SQL) statement. In the request, along with the SQL expression, you must also specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses this format to parse object data into reco...
def tPoH(FIO_=None, pe5E=None, hD_T=None, sxHH=None, WGNY=None, tPEx=None, N8DJ=None, k4sK=None, VESt=None, Tf8_=None, kNLT=None): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ueki(p9bx, xDcj, JUQ0=None, zn0c=None, H5ew=None, DXni=None, z39Z=None):\n cuiw = KfiN(key=H5ew, secret=DXni, profile=z39Z, region=zn0c)\n if not JUQ0:\n Z31E = cuiw.client('sts').get_caller_identity().get('Account')\n PHPE = cuiw.region_name\n JUQ0 = 's3://aws-athena-query-results-'...
[ "0.55632377", "0.5396689", "0.51638365", "0.5075111", "0.50745624", "0.50196445", "0.49587226", "0.4914471", "0.49034506", "0.48356918", "0.47919387", "0.4771649", "0.47328568", "0.47247073", "0.47218427", "0.4696132", "0.4685012", "0.46767336", "0.46605876", "0.46241844", "0...
0.5933831
0
Appends a new value on the end of the list.
def _jXH(YKHO, YEnM): if YKHO.begin == YKHO.end == None: YKHO.begin = YKHO.end = XG5C(YEnM, None, None) elif YKHO.begin == YKHO.end != None: YKHO.end = XG5C(YEnM, None, YKHO.begin) YKHO.begin = XG5C(YKHO.begin.value, YKHO.end, None) else: Q6kx = XG5C(YEnM, None, YKHO.end) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SStx(YKHO, BWXx):\n YKHO.list.append(BWXx)", "def YfNL(YKHO, BWXx):\n YKHO.value += BWXx", "def SStx(YKHO, BWXx):\n list.append(YKHO, BWXx)\n YKHO.changed()", "def SStx(YKHO, wEf2):\n YKHO._values.push(wEf2)", "def SStx(YKHO, BWXx):\n if len(YKHO.data) >= exwG:\n YKHO.data.pop(...
[ "0.7845259", "0.7835501", "0.7699414", "0.7572769", "0.7529863", "0.7505154", "0.744546", "0.7440138", "0.742297", "0.7416251", "0.73919535", "0.7383919", "0.73799324", "0.7362911", "0.7228265", "0.7162951", "0.7099212", "0.70848644", "0.7068363", "0.704191", "0.7041322", "...
0.0
-1
Removes the last item and returns it.
def BEuN(YKHO): if YKHO.begin == None: return None elif YKHO.begin == YKHO.end: Q6kx = YKHO.begin YKHO.end = YKHO.begin = None return Q6kx.value else: Q6kx = YKHO.begin while Q6kx.next != YKHO.end: Q6kx = Q6kx.next YKHO.end = Q6kx r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FKg7(YKHO):\n if YKHO.length > 0:\n return YKHO.container.pop()\n else:\n return None", "def YNmn(YKHO):\n YKHO.pop_item(-1)", "def K9pI(YKHO):\n return YKHO.pop(0)", "def LDrE(YKHO):\n if YKHO.items:\n return YKHO.items.pop()\n return None", "def ScHw(YKHO):\n ...
[ "0.8382281", "0.81132346", "0.79878813", "0.7886381", "0.7805141", "0.7716931", "0.76364756", "0.7627316", "0.7619489", "0.75985986", "0.75980556", "0.7586525", "0.7544955", "0.7544733", "0.7506782", "0.7495859", "0.7493139", "0.7490336", "0.7471603", "0.74467856", "0.7444382...
0.0
-1
Get parameters as a ColumnDataSource object. Collecting parameters like this is a bit of a hack to enable dynamic updating of parameters from the bokeh client.
def wM0F(): n85j = 1 QyWH = 1 KX1J = 100 ma3S = 100 iTUA = CJD_(dict(amp_sine=[n85j], amp_rand=[QyWH], rollover=[KX1J], update_delay=[ma3S])) return iTUA
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wVsX(YKHO):\n YKHO.source = CJD_(YKHO.data)\n zHSa, AB_Q = (YKHO.attr[::2], YKHO.attr[1::2])\n yEOf = max((max(YKHO.data[YRbF]) for YRbF in zHSa))\n WcFg = min((min(YKHO.data[YRbF]) for YRbF in zHSa))\n YKHO.xdr = vax9(start=WcFg - 0.1 * (yEOf - WcFg), end=yEOf + 0.1 * (yEOf - WcFg))\n MIMK =...
[ "0.6000857", "0.56154776", "0.54943204", "0.5473951", "0.5461998", "0.5461998", "0.5461998", "0.5379675", "0.5330758", "0.5307025", "0.5230002", "0.5228616", "0.5198542", "0.5182733", "0.5176886", "0.5150221", "0.51046276", "0.50738746", "0.50570047", "0.5042232", "0.50394714...
0.7107605
0
Return whether a vector value is within this rectangle
def FYXB(YKHO, ZfUD): try: oeNL = q955(*ZfUD) return oeNL.x >= YKHO.origin.x and oeNL.y >= YKHO.origin.y and (oeNL.x < YKHO.origin.x + YKHO.size.x) and (oeNL.y < YKHO.origin.y + YKHO.size.y) except TypeError: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def PHPf(AU8u: Vector, a2Ph: Vector, iLGs: Vector) -> bool:\n return a2Ph[0] <= AU8u[0] <= iLGs[0] and a2Ph[1] <= AU8u[1] <= iLGs[1]", "def aCdo(WKvO, LVAh):\n return YKHO.min_x <= WKvO <= YKHO.max_x and YKHO.min_y <= LVAh <= YKHO.max_y", "def FYXB(YKHO, BWXx: TensorType) -> uLKX[bool, ZylS.Tensor]:\n ...
[ "0.7645428", "0.7498518", "0.7440714", "0.743401", "0.73838365", "0.73804635", "0.72002894", "0.71066487", "0.7089623", "0.7083991", "0.70810413", "0.7063479", "0.7043575", "0.7039562", "0.700009", "0.6999421", "0.6939362", "0.6926556", "0.6905979", "0.6894331", "0.68863624",...
0.66998494
34
It gets the maximum value and its index
def vIpd(ezWE): Hqoa = float('-inf') GSAz = -1 for YRbF in range(len(ezWE)): if ezWE[YRbF] > Hqoa: Hqoa = ezWE[YRbF] GSAz = YRbF return (Hqoa, GSAz)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KO11(YKHO):\n return YKHO.elem.index(max(YKHO))", "def BYEG(jzdc):\n return jzdc.argmax()", "def BYEG(jzdc):\n return jzdc.argmax()", "def BYEG(jzdc):\n return jzdc.argmax()", "def max(YKHO, YRbF):\n WKvO = YKHO.val(YRbF, 0)\n CWnC = len(YKHO)\n a1PO = 1\n while a1PO < CWnC:\n ...
[ "0.78248173", "0.7754072", "0.7754072", "0.7754072", "0.7746403", "0.7596116", "0.75570214", "0.75416714", "0.7534985", "0.750736", "0.7454747", "0.73859334", "0.7357726", "0.7340802", "0.7287925", "0.7241319", "0.72166294", "0.7194909", "0.7191979", "0.7188061", "0.7177977",...
0.7699912
5
It gets the minimum value and its index
def k_d9(ezWE): qzD7 = float('inf') EucI = -1 for YRbF in range(len(ezWE)): if ezWE[YRbF] < qzD7: qzD7 = ezWE[YRbF] EucI = YRbF return (qzD7, EucI)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zJQx(YKHO):\n return YKHO.index(min(YKHO))", "def zXjM(hkxX):\n return (min(hkxX), min(range(len(hkxX)), key=hkxX.__getitem__))", "def AZpe(YKHO):\n return YKHO._minidx", "def ohV5(MCGS):\n global __dataset\n kpLf = HwRy.maxint\n ZSml = 0\n for YRbF, he6J in enumerate(odPI):\n ...
[ "0.8116542", "0.7859201", "0.7798217", "0.7723898", "0.7633541", "0.76251554", "0.76251554", "0.7609725", "0.75643754", "0.7512227", "0.74619204", "0.7458412", "0.74271476", "0.74018574", "0.7363827", "0.7362296", "0.73592865", "0.73592865", "0.73515314", "0.7348613", "0.7334...
0.77952003
3
Remove stop words from tokens and remove tokens that are single letters/char like 's'
def g8pp(a1Ws, s2mk): return [a1PO for a1PO in s2mk if len(a1PO) > 2 and (not a1PO in a1Ws)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def g8pp(Mau6):\n HM5X = ''\n for GIN8 in Mau6.split():\n if not GIN8.lower() in vDyF:\n HM5X += GIN8.lower() + ' '\n return HM5X", "def rlKF(s2mk, di0c=None):\n s2mk = [WKvO.lower() for WKvO in s2mk]\n njyT = ZbWC.compile('[^a-z]')\n for d6pt in range(len(s2mk)):\n s2m...
[ "0.78649163", "0.7797847", "0.7783436", "0.7726466", "0.758762", "0.7480345", "0.7472018", "0.74375755", "0.7429568", "0.7392277", "0.73468554", "0.7335161", "0.7334401", "0.7319751", "0.72707963", "0.7225762", "0.7219649", "0.72168875", "0.71663773", "0.7165724", "0.71494937...
0.70773864
27
Checks if virtual contest is not expired for ContestConnection
def jTL6(YKHO, EqBn: ContestConnection) -> bool: if not YKHO.is_virtual: return True vHj7 = qcWV.datetime.utcnow() if EqBn.created_at + YKHO.virtual_duration < vHj7: return False return True
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VJXg(YKHO, wzkt):\n if wzkt < YKHO._expires:\n return False\n return YKHO._enclave_wait_timer.has_expired()", "def XTIS(YKHO):\n return YKHO.getNotAfter() <= T83R.sundial.now()", "def CJbn(YKHO):\n RA_F = qcWV.datetime.now() - YKHO.created_at\n return RA_F.total_seconds() > 15 * 60", ...
[ "0.66460353", "0.66195655", "0.65851945", "0.6571791", "0.6556252", "0.65527797", "0.6542871", "0.65180707", "0.65102017", "0.6508713", "0.6484906", "0.6455353", "0.6455122", "0.64407295", "0.6427559", "0.63789296", "0.63726926", "0.6370473", "0.63626385", "0.6359632", "0.634...
0.6362942
18
return an iterator which is merely the cartesian product of all pickup and dropoff points in df
def Hvlk(jQ3Z): aPd6 = jQ3Z.shape[0] for YRbF in Ni9Y(aPd6): KCHu = jQ3Z.iloc[YRbF] RrjT = KCHu.start_lat EdlH = KCHu.start_lng for r845 in Ni9Y(aPd6): tTpl = jQ3Z.iloc[r845] _wqP = tTpl.end_lat ZgaF = tTpl.end_lng yield [[RrjT, Edl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vs4Q(YKHO):\n Xf84 = (YKHO.x, YKHO.y)\n for YRbF in Xf84:\n yield YRbF", "def Vs4Q(YKHO):\n for UXqs, jZyT in YKHO.coords.items():\n for ZMlM in jZyT:\n yield (UXqs, tuple(ZMlM))", "def Vs4Q(YKHO):\n for AU8u in YKHO.points:\n yield AU8u", "def Tksh(jQ3Z, NCls)...
[ "0.5707443", "0.56446296", "0.5617313", "0.56168056", "0.56060535", "0.55785084", "0.5525412", "0.55237234", "0.55204886", "0.5518398", "0.55162936", "0.55141765", "0.5503061", "0.54939556", "0.54819053", "0.5477821", "0.5476776", "0.54637253", "0.5436618", "0.54228306", "0.5...
0.6819462
0
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
def e_63(K0do, qtWj): tspZ = b0Ix * 0.88 ** qtWj 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.79140896", "0.7908034", "0.7850816", "0.7776915", "0.7735598", "0.7732588", "0.7723862", "0.77235436", "0.77208304", "0.7710736", "0.76948273", "0.7675381", "0.76670265", "0.76670265", "0.76670265", "0.7657111", "0.76431805", "0.7640621", "0.7639109", "0.76275903", "0.7625...
0.0
-1
Convert this DamageStream to an object json.dump can serialize.
def OVVT(YKHO): return {'attacker': YKHO.attacker, 'target': YKHO.target, 'weapon': YKHO.weapon, 'ticker': YKHO.ticker, 'damage': list(YKHO.damage), 'enemy_ships': YKHO.enemy_ships, 'start_time': YKHO.start_time, 'end_time': YKHO.end_time, 'total_damage': YKHO.total_damage}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V1yo(YKHO):\n return qQXR.loads(YKHO.dump())", "def ChRH(YKHO):\n return qQXR.dumps(YKHO.__data)", "def Dbb4(YKHO):\n return YKHO.__dict__", "def Bpko(YKHO):\n return YKHO.__dict__", "def dgDC(YKHO):\n return qQXR.dumps(YKHO.__dict__)", "def dgDC(YKHO):\n return qQXR.dumps(YKHO.__di...
[ "0.66100323", "0.6317209", "0.6255187", "0.6210193", "0.618827", "0.618827", "0.6144537", "0.6140861", "0.6131019", "0.61156094", "0.6110744", "0.6106607", "0.6092413", "0.6092413", "0.6092413", "0.6092413", "0.6081226", "0.60733026", "0.6072585", "0.6066133", "0.6065633", ...
0.70822775
0