query
stringlengths
10
3.6k
document
stringlengths
19
61.4k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'TransitGatewayConnectionCollection') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86501735", "0.86420214", "0.85626656", "0.85626656", "0.85398483", "0.84545314", "0.8438662", "0.8438662", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093", "0.8403093...
0.0
-1
Initialize a TransitGatewayConnectionCust object.
def FIMM(YKHO, KqpV: str, id: str, aJ2e: datetime, *, mWFP: str=None, OZUW: str=None, jGRS: str=None, zB0d: datetime=None) -> None: YKHO.name = mWFP YKHO.network_id = OZUW YKHO.network_type = KqpV YKHO.id = id YKHO.created_at = aJ2e YKHO.status = jGRS YKHO.updated_at = zB0d
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, siZ_: List['TransitGatewayConnectionCust']) -> None:\n YKHO.connections = siZ_", "def FIMM(YKHO, Nupt=None):\n if not Nupt:\n YKHO.cnx = None\n else:\n YKHO.connect(Nupt)", "def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayConnectionCust':\n qIxc = {}\n if 'name' in tbx9...
[ "0.72556597", "0.65861624", "0.646702", "0.64337146", "0.6186926", "0.6085722", "0.5993448", "0.59835106", "0.58990043", "0.5883265", "0.58548063", "0.58023244", "0.5796029", "0.578483", "0.5748124", "0.5731364", "0.5695329", "0.5690889", "0.56769294", "0.56656384", "0.562869...
0.0
-1
Initialize a TransitGatewayConnectionCust object from a json dictionary.
def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayConnectionCust': qIxc = {} if 'name' in tbx9: qIxc['name'] = tbx9.get('name') if 'network_id' in tbx9: qIxc['network_id'] = tbx9.get('network_id') if 'network_type' in tbx9: qIxc['network_type'] = tbx9.get('network_type') else: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayConnectionCollection':\n qIxc = {}\n if 'connections' in tbx9:\n qIxc['connections'] = [nWCV.from_dict(WKvO) for WKvO in tbx9.get('connections')]\n else:\n raise ValueError(\"Required property 'connections' not present in TransitGatewayConnectionC...
[ "0.7174812", "0.6692296", "0.6627229", "0.63508004", "0.6315172", "0.6300666", "0.6226849", "0.62080044", "0.6152043", "0.6117539", "0.5958875", "0.59401417", "0.59353757", "0.5914163", "0.59031814", "0.5897305", "0.5893904", "0.5872936", "0.58715606", "0.58617127", "0.586121...
0.809093
0
Initialize a TransitGatewayConnectionCust object from a json dictionary.
def CCiu(Emd4, tbx9): return Emd4.from_dict(tbx9)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jG8h(Emd4, tbx9: Dict) -> 'TransitGatewayConnectionCust':\n qIxc = {}\n if 'name' in tbx9:\n qIxc['name'] = tbx9.get('name')\n if 'network_id' in tbx9:\n qIxc['network_id'] = tbx9.get('network_id')\n if 'network_type' in tbx9:\n qIxc['network_type'] = tbx9.get('network_type')\n...
[ "0.809093", "0.7174812", "0.6692296", "0.6627229", "0.63508004", "0.6315172", "0.6300666", "0.6226849", "0.62080044", "0.6152043", "0.6117539", "0.5958875", "0.59401417", "0.59353757", "0.5914163", "0.59031814", "0.5897305", "0.5893904", "0.5872936", "0.58715606", "0.58617127...
0.57324946
90
Return `true` when self and other are equal, false otherwise.
def xa14(YKHO, Elif: 'TransitGatewayConnectionCust') -> bool: if not isinstance(Elif, YKHO.__class__): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def InF8(YKHO, Elif):\n return YKHO.__eq__(Elif)", "def aPi6(YKHO, Elif):\n return bool(YKHO.impl['equals'](YKHO, Elif))", "def xa14(YKHO, Elif):\n return YKHO.is_same(Elif)", "def xa14(YKHO, Elif):\n return all((WKvO == LVAh for WKvO, LVAh in zip(YKHO, Elif)))", "def xa14(YKHO, Elif):\n ret...
[ "0.8738233", "0.84998804", "0.8475338", "0.84608036", "0.84533566", "0.8350695", "0.8337938", "0.8321568", "0.8310163", "0.8309065", "0.82850784", "0.82850784", "0.8278908", "0.8278908", "0.82767916", "0.8276464", "0.8276464", "0.8275811", "0.82668734", "0.82668734", "0.82570...
0.0
-1
Return `true` when self and other are not equal, false otherwise.
def Vdqg(YKHO, Elif: 'TransitGatewayConnectionCust') -> bool: return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif) -> bool:\n if YKHO == Elif:\n return False\n else:\n return True", "def hTUE(YKHO, Elif):\n return YKHO.__ne__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def xa14(YKHO, Elif):\n return not YKHO != Elif", "def Vdqg(YKHO, Elif):\n if YKHO ...
[ "0.86511236", "0.8642601", "0.85641104", "0.85641104", "0.85408515", "0.8455601", "0.84398836", "0.84398836", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.840434", "0.84043...
0.0
-1
Determine whether two ASTs are the same. This function is necessary for testing equality, because the == operator has been overridden for building equality comparison ASTs.
def g057(J_KP, IDss): if isinstance(J_KP, cJ7c): return J_KP.same_as(IDss) elif isinstance(IDss, cJ7c): return IDss.same_as(J_KP) else: return J_KP == IDss
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C7Cw(wQsk: SimpleNamespace, bEtL: SimpleNamespace) -> bool:\n BUJA = h8Uv(wQsk, bEtL)\n d6Vg = OzgT(wQsk, bEtL)\n return BUJA and d6Vg", "def Y6y_(i4Va, rUTj):\n if type(i4Va) != type(rUTj):\n return False\n if type(i4Va) == list:\n if len(i4Va) != len(rUTj):\n return ...
[ "0.76011324", "0.75867236", "0.75400263", "0.75014335", "0.7414218", "0.7365782", "0.7353766", "0.7353766", "0.73493254", "0.73186314", "0.728758", "0.72719157", "0.72714424", "0.7267405", "0.72570825", "0.72299266", "0.72170013", "0.7198843", "0.7197706", "0.7197441", "0.718...
0.6961897
70
Make a copy of this SQL expression.
def jth9(YKHO): qIxc = [] B2fa = {} YSA3 = False for mWFP, BWXx, WmM4, LuSA in YKHO._get_repr_args(): if g057(BWXx, WmM4): YSA3 = True elif YSA3 or LuSA: B2fa[mWFP] = BWXx YSA3 = True else: qIxc.append(BWXx) return type(YKHO)(*q...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _qLf(YKHO):\n return ZTFu(*YKHO._literals)", "def ECBq(YKHO):\n Z9rn = _aLO(YKHO.manager)\n Z9rn.ast = _qLf(YKHO.ast)\n return Z9rn", "def jth9(YKHO):\n Z9rn = _aLO(YKHO.manager, scope=YKHO.scope)\n Z9rn.ast = YKHO.to_ast()\n return Z9rn", "def jth9(YKHO):\n return blcI(YKHO)", ...
[ "0.74854666", "0.7325646", "0.7294022", "0.6977548", "0.6902538", "0.67158574", "0.6653725", "0.661921", "0.66077536", "0.65229344", "0.643985", "0.6375774", "0.6370579", "0.6366615", "0.63651115", "0.63234675", "0.6312102", "0.6308447", "0.6308447", "0.6265986", "0.6229144",...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): return type(YKHO) is type(Elif)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036569", "0.8036569", "0.7945624", "0.7911517", "0.7862547", "0.7748345", "0.74802226", "0.7465843", "0.7427595", "0.7426423", "0.7399061", "0.73861754", "0.731996", "0.72954595", "0.7268812", "0.72602016", "0.72584164", "0.724912", "0.72469896", "0.72347015", "0.72315246...
0.0
-1
Compile this SQL command into the given (or current default) dialect.
def compile(YKHO, pMVb=None): pMVb = Kw_x.dialects.REGISTRY[pMVb] return pMVb.build_command(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def CuZX(YKHO, Pe9W):\n pass", "def compile(VN2L, NArs=None):\n from .compiler import to_sql\n return to_sql(VN2L, pMVb.make_context(params=NArs))", "def raHO(YKHO, wPOi, SGPK):\n PD5D = YKHO.dialect.statement_compiler(YKHO.dialect, wPOi, SGPK)\n PD5D.compile()\n return PD5D", "def compile(...
[ "0.62292606", "0.60463697", "0.59836185", "0.59423333", "0.57927847", "0.5761364", "0.5747995", "0.5697519", "0.56887525", "0.5643161", "0.5598141", "0.5477474", "0.54613453", "0.5438549", "0.5401794", "0.53564686", "0.53225195", "0.5314011", "0.5309488", "0.52875555", "0.528...
0.8228149
0
The list of fields for this SQL command.
def CqJY(YKHO): return YKHO._fields
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Uj1j(YKHO):\n return [eHNT.name for eHNT in YKHO.fields]", "def Uj1j(YKHO):\n return ()", "def V_D6(Emd4):\n return []", "def JrcV(YKHO) -> x1iM[str]:\n return YKHO._column_fields", "def pVv6(YKHO):\n AKeK = [YKHO.commandStartField]\n AKeK.extend(YKHO.fields)\n return AKeK", "def...
[ "0.7835301", "0.78268665", "0.7806383", "0.7787874", "0.7646501", "0.76345855", "0.7565129", "0.7565129", "0.7565129", "0.7531425", "0.7531425", "0.7531425", "0.7531425", "0.7531425", "0.74663657", "0.7450782", "0.7443799", "0.7398713", "0.73875886", "0.7366379", "0.7364824",...
0.747937
15
The list of fields for this SQL command.
def CqJY(YKHO, V_D6): if V_D6 is None or isinstance(V_D6, CtH8): YKHO._fields = V_D6 return V_D6 = tuple(V_D6) if not V_D6: YKHO._fields = None return CqJY = [] for Jyyj in V_D6: if isinstance(Jyyj, ggYk): CqJY.append(Jyyj) elif isinstance(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Uj1j(YKHO):\n return [eHNT.name for eHNT in YKHO.fields]", "def Uj1j(YKHO):\n return ()", "def V_D6(Emd4):\n return []", "def JrcV(YKHO) -> x1iM[str]:\n return YKHO._column_fields", "def pVv6(YKHO):\n AKeK = [YKHO.commandStartField]\n AKeK.extend(YKHO.fields)\n return AKeK", "def...
[ "0.78364575", "0.7826993", "0.780735", "0.7786918", "0.7648727", "0.7634221", "0.7565437", "0.7565437", "0.7565437", "0.75317734", "0.75317734", "0.75317734", "0.75317734", "0.75317734", "0.7479565", "0.7479565", "0.7466805", "0.74512494", "0.74446404", "0.73984176", "0.73878...
0.0
-1
Create a new SQL command object by adding a where clause.
def qJWj(YKHO, woks=None, **VruG): assert YKHO._where_clause is None if VruG: assert woks is None for H5ew, BWXx in VruG.items(): Jyyj = wsY0(H5ew) if not isinstance(BWXx, WnaT): assert not isinstance(BWXx, cJ7c) BWXx = GVaG(BWXx) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sIPV(YKHO, woks):\n YKHO._where = woks\n return YKHO", "def vwsf(YKHO, VN2L):\n YKHO.where = VN2L\n return YKHO", "def UNaz(YKHO, woks):\n raise NotImplementedError('DESCRIBE commands do not support where clauses.')", "def qJWj(YKHO, iPqd):\n YKHO.query += ' WHERE ' + iPqd\n return Y...
[ "0.7200209", "0.6685172", "0.6512091", "0.6416653", "0.63275", "0.6285772", "0.62852776", "0.62257755", "0.6159253", "0.6151641", "0.6146738", "0.61325926", "0.6073654", "0.6049665", "0.6003953", "0.59917235", "0.5979835", "0.590664", "0.58744645", "0.5856847", "0.58523613", ...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, DFO9) return g057(YKHO._table, Elif._table) and g057(YKHO._fields, Elif._fields)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036569", "0.8036569", "0.7945624", "0.7911517", "0.7862547", "0.7748345", "0.74802226", "0.7465843", "0.7427595", "0.7426423", "0.7399061", "0.73861754", "0.731996", "0.72954595", "0.7268812", "0.72602016", "0.72584164", "0.724912", "0.72469896", "0.72347015", "0.72315246...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, U2cw) return g057(YKHO._values, Elif._values)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036841", "0.8036841", "0.7945676", "0.79119855", "0.78629184", "0.7748365", "0.74804217", "0.74665445", "0.74276924", "0.74274236", "0.73984474", "0.7385517", "0.732002", "0.72953403", "0.7269346", "0.7260318", "0.72578835", "0.72491115", "0.7247685", "0.7234491", "0.7231...
0.0
-1
The list of fields for this SQL command.
def CqJY(YKHO): return YKHO._fields
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Uj1j(YKHO):\n return [eHNT.name for eHNT in YKHO.fields]", "def Uj1j(YKHO):\n return ()", "def V_D6(Emd4):\n return []", "def JrcV(YKHO) -> x1iM[str]:\n return YKHO._column_fields", "def pVv6(YKHO):\n AKeK = [YKHO.commandStartField]\n AKeK.extend(YKHO.fields)\n return AKeK", "def...
[ "0.78364575", "0.7826993", "0.780735", "0.7786918", "0.7648727", "0.7634221", "0.7565437", "0.7565437", "0.7565437", "0.75317734", "0.75317734", "0.75317734", "0.75317734", "0.75317734", "0.7466805", "0.74512494", "0.74446404", "0.73984176", "0.7387884", "0.7367019", "0.73649...
0.7479565
14
The list of fields for this SQL command.
def CqJY(YKHO, V_D6): raise NotImplementedError('DESCRIBE commands do not support field lists.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Uj1j(YKHO):\n return [eHNT.name for eHNT in YKHO.fields]", "def Uj1j(YKHO):\n return ()", "def V_D6(Emd4):\n return []", "def JrcV(YKHO) -> x1iM[str]:\n return YKHO._column_fields", "def pVv6(YKHO):\n AKeK = [YKHO.commandStartField]\n AKeK.extend(YKHO.fields)\n return AKeK", "def...
[ "0.7835301", "0.78268665", "0.7806383", "0.7787874", "0.7646501", "0.76345855", "0.7565129", "0.7565129", "0.7565129", "0.7531425", "0.7531425", "0.7531425", "0.7531425", "0.7531425", "0.747937", "0.747937", "0.74663657", "0.7450782", "0.7398713", "0.73875886", "0.7366379", ...
0.7443799
18
Create a new SQL command object by adding a where clause.
def qJWj(YKHO, woks=None, **VruG): raise NotImplementedError('DESCRIBE commands do not support where clauses.')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sIPV(YKHO, woks):\n YKHO._where = woks\n return YKHO", "def vwsf(YKHO, VN2L):\n YKHO.where = VN2L\n return YKHO", "def UNaz(YKHO, woks):\n raise NotImplementedError('DESCRIBE commands do not support where clauses.')", "def qJWj(YKHO, iPqd):\n YKHO.query += ' WHERE ' + iPqd\n return Y...
[ "0.7200209", "0.6685172", "0.6512091", "0.6416653", "0.63275", "0.6285772", "0.62852776", "0.62257755", "0.6159253", "0.6151641", "0.6146738", "0.61325926", "0.6073654", "0.6049665", "0.59917235", "0.5979835", "0.590664", "0.58744645", "0.5856847", "0.58523613", "0.5783925", ...
0.6003953
14
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, YWgH) return g057(YKHO._distinct, Elif._distinct) and g057(YKHO._limited_to, Elif._limited_to) and g057(YKHO._order, Elif._order) and g057(YKHO._grouping, Elif._grouping)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.0
-1
The parent identifier, meaning everything up to but not including the last element (the name) of this one.
def _AKB(YKHO): if len(YKHO._path) > 1: return vd32(YKHO._path[:-1]) else: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def H7rZ(YKHO) -> str:\n return qe4Y.get(YKHO, 'parent_id')", "def H7rZ(YKHO) -> str:\n return qe4Y.get(YKHO, 'parent_id')", "def H7rZ(YKHO):\n return YKHO.content['parent_id']", "def H7rZ(YKHO):\n return YKHO._parent_id", "def H7rZ(YKHO):\n return YKHO._parent_id", "def ME4W(YKHO):\n r...
[ "0.8151054", "0.8151054", "0.81300175", "0.8108327", "0.8108327", "0.79900223", "0.7942264", "0.7874922", "0.78332657", "0.7827395", "0.78213704", "0.7810571", "0.7797841", "0.7714158", "0.7699649", "0.76913357", "0.7638751", "0.7629239", "0.7629005", "0.7585503", "0.75625163...
0.80273676
5
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, vd32) return YKHO._path == Elif._path
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036569", "0.8036569", "0.7945624", "0.7911517", "0.7862547", "0.7748345", "0.74802226", "0.7465843", "0.7427595", "0.7426423", "0.7399061", "0.73861754", "0.731996", "0.72954595", "0.7268812", "0.72602016", "0.72584164", "0.724912", "0.72469896", "0.72347015", "0.72315246...
0.0
-1
Get a field associated with this table or join.
def QTMT(YKHO, Jyyj): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QTMT(YKHO, vXX7):\n bGrB, Jyyj = YKHO._get_index_and_field(vXX7)\n return Jyyj", "def QTMT(YKHO, hkS8=None):\n hkS8 = hkS8 or YKHO.attr\n return QTMT(YKHO.model, hkS8)", "def QTMT(YKHO, Jyyj):\n if isinstance(Jyyj, ggYk):\n vbQv, Jyyj = (Jyyj, Jyyj.expression)\n else:\n vbQv...
[ "0.7672005", "0.7576545", "0.7503735", "0.74751985", "0.73249245", "0.73249245", "0.73249245", "0.73249245", "0.73249245", "0.73249245", "0.73249245", "0.73218006", "0.72498477", "0.72371936", "0.72167414", "0.72012615", "0.717403", "0.7166834", "0.71521777", "0.71482915", "0...
0.7281993
12
The identifier representing this table.
def Ilxn(YKHO): return YKHO._identifier
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def iK1K(YKHO):\n return YKHO._properties.get('id')", "def iK1K(YKHO):\n return YKHO._properties.get('id')", "def n6YI(YKHO):\n return YKHO.table + '_id'", "def Ilxn(YKHO) -> str:\n return YKHO.id_", "def GpOL(YKHO):\n return YKHO._get_attribute('tableId')", "def Ilxn(YKHO):\n return YK...
[ "0.84075534", "0.84075534", "0.8171727", "0.8165437", "0.80750394", "0.7998952", "0.79386646", "0.79386646", "0.7918906", "0.78539234", "0.78282434", "0.7811811", "0.7811811", "0.77083623", "0.7706107", "0.7693805", "0.76883954", "0.7658697", "0.75865275", "0.758265", "0.7570...
0.7842964
12
Get a field associated with this table.
def QTMT(YKHO, Jyyj): if isinstance(Jyyj, ggYk): vbQv, Jyyj = (Jyyj, Jyyj.expression) else: vbQv = None if isinstance(Jyyj, wsY0): if not Jyyj.identifier.parent: Jyyj = wsY0(YKHO._identifier[Jyyj.identifier.name]) if vbQv: vbQv = ggYk(Jyyj, vbQ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QTMT(YKHO, vXX7):\n bGrB, Jyyj = YKHO._get_index_and_field(vXX7)\n return Jyyj", "def QTMT(YKHO, hkS8=None):\n hkS8 = hkS8 or YKHO.attr\n return QTMT(YKHO.model, hkS8)", "def QTMT(YKHO, Jyyj):\n if not YKHO.has_field(Jyyj):\n raise ValueError('field {} does not exist'.format(Jyyj))\n ...
[ "0.7991091", "0.7832346", "0.7831916", "0.7753086", "0.773335", "0.7730525", "0.75671625", "0.753259", "0.75170535", "0.75170535", "0.75170535", "0.75170535", "0.75170535", "0.75170535", "0.75170535", "0.7466012", "0.7441716", "0.7410201", "0.7404297", "0.73992795", "0.728005...
0.6827857
37
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, TQJD) return g057(YKHO._identifier, Elif._identifier)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037723", "0.8037723", "0.7945959", "0.79124963", "0.78629106", "0.7749415", "0.74799633", "0.7466447", "0.74277127", "0.74275523", "0.7398173", "0.7386094", "0.7320223", "0.7295084", "0.7269589", "0.7259942", "0.7257974", "0.7248363", "0.72483385", "0.7234424", "0.7230902...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, j1Zt) return YKHO._join_type == Elif._join_type and g057(YKHO._left, Elif._left) and g057(Elif._right, YKHO._right) and g057(YKHO._on, Elif._on)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036569", "0.8036569", "0.7945624", "0.7911517", "0.7862547", "0.7748345", "0.74802226", "0.7465843", "0.7427595", "0.7426423", "0.7399061", "0.73861754", "0.731996", "0.72954595", "0.7268812", "0.72602016", "0.72584164", "0.724912", "0.72469896", "0.72347015", "0.72315246...
0.0
-1
The associated field name for this expression, if any.
def mWFP(YKHO): return YKHO._alias
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vXX7(YKHO) -> str:\n return YKHO._field_name", "def vXX7(YKHO):\n return YKHO._field_name", "def vXX7(YKHO) -> str:\n return qe4Y.get(YKHO, 'field_name')", "def gGw6(YKHO):\n return YKHO.name", "def gGw6(YKHO):\n return YKHO.name", "def mWFP(YKHO):\n return YKHO.field.name", "def ...
[ "0.81586653", "0.8137619", "0.8112797", "0.809764", "0.809764", "0.78506595", "0.77254075", "0.75948995", "0.7465798", "0.74216664", "0.7406708", "0.7391897", "0.72760606", "0.725552", "0.71869", "0.71869", "0.71217865", "0.710552", "0.702622", "0.7001193", "0.6984568", "0....
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, ggYk) return g057(YKHO._expression, Elif._expression) and g057(YKHO._alias, Elif._alias)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.7231937
21
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, CtH8) return YKHO.width == Elif.width and all((g057(j47j, kM2i) for j47j, kM2i in zip(YKHO._entries, Elif._entries)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, _7L_) return YKHO.width == Elif.width and all((g057(j47j, kM2i) for j47j, kM2i in zip(YKHO._entries, Elif._entries)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, FLei) return YKHO._count == Elif._count
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037723", "0.8037723", "0.7945959", "0.79124963", "0.78629106", "0.7749415", "0.74799633", "0.7466447", "0.74277127", "0.74275523", "0.7398173", "0.7386094", "0.7320223", "0.7295084", "0.7269589", "0.7259942", "0.7257974", "0.7248363", "0.72483385", "0.7234424", "0.7230902...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, BZC_) return g057(YKHO._condition, Elif._condition)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.0
-1
The condition(s) of this where clause.
def XEri(YKHO): return YKHO._condition
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XEri(YKHO):\n LEnx = YKHO._selection_conds + YKHO._selection_instance_conds\n return LEnx", "def iPqd(YKHO):\n return YKHO._conditions", "def Wunn(YKHO):\n return YKHO._conditions.condition_list()", "def rcfv(YKHO):\n return ' AND '.join([eHNT.cql for eHNT in YKHO._where])", "def iPqd(YK...
[ "0.77869797", "0.77062714", "0.7621464", "0.7410466", "0.7218275", "0.71753347", "0.71753347", "0.71753347", "0.7134721", "0.71240604", "0.7085342", "0.7085342", "0.7062964", "0.700634", "0.69402325", "0.6938644", "0.6901902", "0.68286604", "0.6769984", "0.6725663", "0.670254...
0.6292019
47
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, sIPV) return g057(YKHO._condition, Elif._condition)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037723", "0.8037723", "0.7945959", "0.79124963", "0.78629106", "0.7749415", "0.74799633", "0.7466447", "0.74277127", "0.74275523", "0.7398173", "0.7386094", "0.7320223", "0.7295084", "0.7269589", "0.7259942", "0.7257974", "0.7248363", "0.72483385", "0.7234424", "0.7230902...
0.0
-1
The fields listed in this grouping clause.
def V_D6(YKHO): return YKHO._fields
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V_D6(YKHO):\n return [gGw6(muFC(YKHO._ldefn, YRbF)) for YRbF in Ni9Y(YKHO.num_fields)]", "def Uj1j(YKHO):\n return ()", "def Uj1j(YKHO):\n return [eHNT.name for eHNT in YKHO.fields]", "def V_D6(YKHO):\n raise NotImplementedError", "def V_D6(YKHO):\n return YKHO._fields.viewkeys()", "de...
[ "0.7193305", "0.69084394", "0.6831042", "0.68128526", "0.67885524", "0.6783579", "0.6768822", "0.6768822", "0.6768822", "0.67455316", "0.67405325", "0.6705312", "0.6705312", "0.66881084", "0.66648763", "0.6587171", "0.6563547", "0.65210927", "0.6509476", "0.6497879", "0.64937...
0.67916673
4
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, fd_b) return len(YKHO._fields) == len(Elif._fields) and all((g057(j47j, kM2i) for j47j, kM2i in zip(YKHO._fields, Elif._fields)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.0
-1
The field for this ordering clause entry.
def Jyyj(YKHO): return YKHO._field
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Zne3(YKHO, QTBn):\n return YKHO.db_field", "def Jyyj(YKHO):\n return YKHO._field", "def Jyyj(YKHO):\n return YKHO.__field", "def Jyyj(YKHO) -> str:\n return qe4Y.get(YKHO, 'field')", "def Jyyj(YKHO) -> str:\n return qe4Y.get(YKHO, 'field')", "def Fukf(YKHO, ABDL=0):\n if len(YKHO.fo...
[ "0.7373274", "0.6926038", "0.68753386", "0.66201663", "0.66201663", "0.65810627", "0.64890134", "0.6476208", "0.6412653", "0.6395441", "0.6291896", "0.62679255", "0.62236536", "0.62201285", "0.62199", "0.6132597", "0.60984343", "0.6080557", "0.60608155", "0.6050642", "0.59989...
0.68930674
2
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, DmRJ) return g057(YKHO._field, Elif._field) and YKHO._ascending == Elif._ascending
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036841", "0.8036841", "0.7945676", "0.79119855", "0.78629184", "0.7748365", "0.74804217", "0.74665445", "0.74276924", "0.74274236", "0.73984474", "0.7385517", "0.732002", "0.72953403", "0.7269346", "0.7260318", "0.72578835", "0.72491115", "0.7247685", "0.7234491", "0.7231...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, y58A) return len(YKHO._entries) == len(Elif._entries) and all((g057(j47j, kM2i) for j47j, kM2i in zip(YKHO._entries, Elif._entries)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036569", "0.8036569", "0.7945624", "0.7911517", "0.7862547", "0.7748345", "0.74802226", "0.7465843", "0.7427595", "0.7426423", "0.7399061", "0.73861754", "0.731996", "0.72954595", "0.7268812", "0.72602016", "0.72584164", "0.724912", "0.72469896", "0.72347015", "0.72315246...
0.0
-1
The identifier representing this field.
def Ilxn(YKHO): return YKHO._identifier
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZVtQ(YKHO):\n return YKHO._field_id", "def _eu6(YKHO):\n return getattr(YKHO, YKHO._id_field_name)", "def Sph8(YKHO):\n return getattr(YKHO, YKHO.IDENTIFIER_FIELD)", "def Ilxn(YKHO):\n return YKHO.__identifier", "def Ilxn(YKHO) -> str:\n return YKHO.id_", "def x85O(YKHO):\n return Y...
[ "0.83859164", "0.8194196", "0.81821287", "0.816482", "0.80512196", "0.79697776", "0.796298", "0.7888345", "0.78752095", "0.78617907", "0.78617907", "0.78567636", "0.78180486", "0.7810399", "0.77525795", "0.77120066", "0.7697927", "0.7672852", "0.7655774", "0.7655774", "0.7623...
0.7926929
7
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, wsY0) return g057(YKHO._identifier, Elif._identifier)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): return YKHO is Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037723", "0.8037723", "0.7945959", "0.79124963", "0.78629106", "0.7749415", "0.74799633", "0.7466447", "0.74277127", "0.74275523", "0.7398173", "0.7386094", "0.7320223", "0.7295084", "0.7269589", "0.7259942", "0.7257974", "0.7248363", "0.72483385", "0.7234424", "0.7230902...
0.0
-1
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, GVaG) return YKHO._value == Elif._value and YKHO._sql_type == Elif._sql_type
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8036569", "0.8036569", "0.7945624", "0.7911517", "0.7862547", "0.7748345", "0.74802226", "0.7427595", "0.7426423", "0.7399061", "0.73861754", "0.731996", "0.72954595", "0.7268812", "0.72602016", "0.72584164", "0.724912", "0.72469896", "0.72347015", "0.72315246", "0.7231313...
0.7465843
7
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, vk2a) return YKHO._operator == Elif._operator and len(YKHO._operands) == len(Elif._operands) and all((g057(j47j, kM2i) for j47j, kM2i in zip(YKHO._operands, Elif._operands)))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037243", "0.8037243", "0.7946514", "0.79124576", "0.7863744", "0.77489567", "0.74808115", "0.7466685", "0.7429153", "0.7427611", "0.73995703", "0.7387101", "0.7321194", "0.7296644", "0.7270784", "0.72611487", "0.7259416", "0.72493917", "0.7247984", "0.7235309", "0.7232601...
0.7182932
26
Check whether this SQL expression is the same as another. This method provides a way to check for equality between two ASTs. The normal means of doing so, the == operator, has been overridden to create equality comparison ASTs, rather than testing for equality between them.
def kJ0s(YKHO, Elif): if not super().same_as(Elif): return False assert isinstance(Elif, NrE6) return g057(YKHO._query, Elif._query)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n return isinstance(Elif, EWKA) and YKHO.op == Elif.op and (YKHO.args == Elif.args)", "def xa14(YKHO, Elif):\n b0wT = False\n if type(Elif) is tPEx:\n if Elif.co...
[ "0.8037723", "0.8037723", "0.7945959", "0.79124963", "0.78629106", "0.7749415", "0.74799633", "0.7466447", "0.74277127", "0.74275523", "0.7398173", "0.7386094", "0.7320223", "0.7295084", "0.7269589", "0.7259942", "0.7257974", "0.7248363", "0.72483385", "0.7234424", "0.7230902...
0.69574744
89
Change an integer duration to be represented as d days h hours m mins s secs but only use the two major units (ie, drop seconds if hours and minutes are populated)
def jput(ITS7): fDD5 = 86400 sTwI = 3600 a1hi = 60 jI0I = 2 cuu0 = 0 if ITS7 is None or not (isinstance(ITS7, SOnQ.Decimal) or isinstance(ITS7, float)): return ITS7 X20W = '' ITS7 = int(ITS7) if ITS7 >= fDD5: xTvn = ITS7 // fDD5 if xTvn > 1: X20W +...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DhpL(WbTE):\n kRsb = WbTE % 60\n FIL5 = int(WbTE) // 60\n Ylbp = str(kRsb) + 's'\n if FIL5 == 0:\n return Ylbp\n O66n = FIL5 % 60\n FIL5 = FIL5 // 60\n Ylbp = str(O66n) + 'm ' + Ylbp\n if FIL5 == 0:\n return Ylbp\n ROt1 = FIL5 % 24\n FIL5 = FIL5 // 24\n Ylbp = str...
[ "0.7742027", "0.7600223", "0.74566287", "0.7342853", "0.7253765", "0.72342974", "0.7163389", "0.7070287", "0.7040124", "0.7017095", "0.70010644", "0.69953877", "0.69899493", "0.6948725", "0.6902294", "0.6888466", "0.68749195", "0.68549764", "0.68364847", "0.6834686", "0.67991...
0.62475276
95
Create a draw_box_plot function that uses Searborn to draw two adjacent box plots similar to "examples/Figure_3.png". These box plots should show how the values are distributed within a given year or month and how it compares over time. The title of the first chart should be "Yearwise Box Plot (Trend)" and the title of...
def qNQk(): Ap9B = jQ3Z.copy() Ap9B.reset_index(inplace=True) Ap9B['Year'] = [Csk6.year for Csk6 in Ap9B.date] Ap9B['Month'] = [Csk6.strftime('%b') for Csk6 in Ap9B.date] LZpg, MPlV = QrM1.subplots(figsize=(12, 5), ncols=2, sharex=False) uuEx.despine(left=True) _5zl = uuEx.boxplot(x=Ap9B['Ye...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L7RL(ZTbI, y1gP=None):\n assert isinstance(ZTbI, rLdf.Series), 'Hs must be of type pd.Series'\n assert isinstance(y1gP, (str, type(None))), 'buoy_title must be of type string'\n X_bn = ZTbI.index.month\n B9EC = ZTbI.groupby(X_bn).mean()\n DX6w = ZTbI.groupby(X_bn).count()\n LZpg = QrM1.figure...
[ "0.6902431", "0.64267814", "0.63537246", "0.631067", "0.6305719", "0.620896", "0.6189093", "0.6142425", "0.6134923", "0.6128355", "0.60821044", "0.60307056", "0.6021259", "0.60184145", "0.5981053", "0.5967699", "0.5961841", "0.5956002", "0.59395546", "0.5929181", "0.5922376",...
0.83364797
0
First and Second resolutions should be tuples with width and height.
def xgNJ(Sul_, Ac9c, JunN=0): return (Sul_[0] + Ac9c[0], max(Sul_[1], Ac9c[1] + JunN))
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def OLDG(YKHO):\n return (YKHO.properties['height'], YKHO.properties['width'])", "def kuoY(YKHO, B1Wx: str='480p') -> tuple:\n return YKHO.STD_DIMENSIONS_MAP.get(B1Wx) or YKHO.STD_DIMENSIONS_MAP.get('480p')", "def OLDG(vOyM):\n Ylbp = vOyM.split('x')\n yzQ0 = int(Ylbp[0])\n MKlR = int(Ylbp[1])\n...
[ "0.68455017", "0.6712322", "0.65817976", "0.657222", "0.6493466", "0.64852446", "0.6473608", "0.64360917", "0.6403114", "0.6372115", "0.637141", "0.63098544", "0.6296172", "0.6254303", "0.62281173", "0.6213456", "0.61885697", "0.6164761", "0.6152533", "0.6142225", "0.61147827...
0.6529851
4
A new MeasurementUnit, just the canonical version of the unit.
def t0Ud(YKHO): return YKHO.create(YKHO.canonical_unit_string)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V7kd(Emd4, J6WZ):\n P6bq = Emd4()\n o7Yh = t_mo(J6WZ)\n P6bq.to_canon = o7Yh.to_canon\n P6bq.from_canon = o7Yh.from_canon\n P6bq._unit_string = o7Yh.unit_string\n P6bq._canonical_unit_string = o7Yh.canonical_unit_string\n return P6bq", "def eLpg(Emd4, J6WZ):\n if jKi7.PY2 and isinstan...
[ "0.7320099", "0.72015774", "0.7030178", "0.7027938", "0.7008704", "0.65155685", "0.64198506", "0.63709563", "0.63477314", "0.6316985", "0.6312904", "0.6311804", "0.6286947", "0.628282", "0.6269208", "0.62612015", "0.62554187", "0.6247908", "0.62456816", "0.62231684", "0.61610...
0.75354683
0
View function for home page of site.
def d6pt(QePW): u18x = Xbi_.objects.all().count() wsEV = xp_p.objects.all().count() derQ = msfn.objects.all().count() mOgm = L9Jq.objects.all().count() RTwz = QePW.session.get('num_visits', 0) QePW.session['num_visits'] = RTwz + 1 return _1tc(QePW, 'index.html', context={'num_branch': u18x, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kZiy(QePW):\n return _1tc(QePW, 'base/home.html')", "def C_QL():\n return TvZl('home.html')", "def kZiy(QePW):\n return _1tc(QePW, 'core/home.html')", "def nspo(QePW):\n return _1tc(QePW, 'generic/home.html')", "def nspo(QePW):\n return _1tc(QePW, 'generic/home.html')", "def kZiy():\n ...
[ "0.8521726", "0.8379463", "0.8353887", "0.83422345", "0.83422345", "0.83175474", "0.83061385", "0.82993597", "0.82962674", "0.82639724", "0.8224509", "0.8217627", "0.82074296", "0.8190089", "0.8190089", "0.8182835", "0.81765807", "0.81761265", "0.8147584", "0.81352836", "0.81...
0.0
-1
Get the size of the list.
def zNig(YKHO): jvSB = YKHO.head UHFx = 0 while jvSB is not None: UHFx = UHFx + 1 jvSB = jvSB.getNext() return UHFx
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zNig(YKHO):\n vIOz = len(YKHO._list)\n return vIOz", "def zNig(YKHO):\n return len(YKHO.list)", "def u54L(YKHO):\n return YKHO.list.size", "def u54L(YKHO):\n return YKHO.list.size", "def u54L(YKHO):\n return YKHO.list.size", "def zNig(YKHO):\n return len(YKHO.getList())", "def ...
[ "0.8918161", "0.86978793", "0.8559612", "0.8559612", "0.8559612", "0.83917326", "0.8365848", "0.83186626", "0.8273627", "0.82636505", "0.8211774", "0.820694", "0.81807667", "0.8145622", "0.81315905", "0.81099313", "0.80966187", "0.80919194", "0.80727816", "0.80519617", "0.803...
0.7573723
98
Inits HashTable with nbuckets and buckets.
def FIMM(YKHO, XTeb): YKHO.nbuckets = XTeb YKHO.buckets = [[] for YRbF in range(XTeb)]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, WkIM=8):\n YKHO.buckets = [None for YRbF in range(WkIM)]\n YKHO.size = 0", "def FIMM(YKHO, WkIM=8):\n YKHO.buckets = [_sfu() for YRbF in range(WkIM)]\n YKHO.size = 0", "def FIMM(YKHO, FLFa=1024):\n if type(FLFa) != int:\n raise TypeError(\"HashTable size must be of type 'in...
[ "0.7353221", "0.7240297", "0.71556145", "0.710911", "0.7063132", "0.6939177", "0.6926382", "0.69175434", "0.6916499", "0.6893499", "0.688987", "0.6886977", "0.68363583", "0.68290305", "0.6824108", "0.68199724", "0.67981774", "0.6777349", "0.6701052", "0.66554505", "0.66524863...
0.74611574
0
Get the type of a source instance e.g. `GoogleDocsSource`.
def type(YKHO) -> laHg.Type['Source']: return DDS9.objects.get_for_id(YKHO.polymorphic_ctype_id).model
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zEt5(YKHO):\n return YKHO._source_type", "def zEt5(YKHO) -> str:\n return qe4Y.get(YKHO, 'source_type')", "def zEt5(YKHO) -> str:\n return qe4Y.get(YKHO, 'source_type')", "def zEt5(YKHO) -> str:\n return qe4Y.get(YKHO, 'source_type')", "def zEt5(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'SourceTyp...
[ "0.8012572", "0.7918854", "0.7918854", "0.7918854", "0.7878571", "0.78717476", "0.7644222", "0.7644222", "0.7644222", "0.7644222", "0.76239187", "0.76239187", "0.76239187", "0.7549359", "0.74133986", "0.7099359", "0.70721763", "0.70301056", "0.6916641", "0.6915794", "0.685271...
0.7406375
15
Format path to data for which an error was found.
def zVxw(pmON): HGB8 = ''.join(('[{!r}]'.format(vBtp) for vBtp in pmON)) return '{}'.format(HGB8)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ewHP(YKHO):\n return '%s%s' % (YKHO.home_folder_full_path, YKHO.FAILED_FN)", "def zVxw(YKHO, KCHu):\n return KCHu", "def t8lJ(pmON):\n return yOvc(' - Error: Failed to save file\\n', 'red') + OyQC(pmON)", "def fFz5(YKHO, d4r9):\n return gzes(d4r9['storage_url'], 'head_job.err')", "def S6O0(...
[ "0.64688", "0.6136655", "0.61007226", "0.6037096", "0.60003585", "0.59319013", "0.5897433", "0.5864696", "0.5827678", "0.57955635", "0.5793014", "0.576677", "0.573226", "0.57115614", "0.5696139", "0.56631", "0.5652269", "0.5627634", "0.56095684", "0.5601846", "0.5586196", "...
0.0
-1
Return the next element, or else raise StopIteration error.
def UDAb(YKHO): YKHO._k += 1 if YKHO._k < len(YKHO._seq): return YKHO._seq[YKHO._k] else: raise StopIteration('End')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def next(YKHO):\n try:\n return YKHO._next_internal()\n except UAju.OutOfRangeError:\n raise StopIteration", "def UDAb(YKHO) -> ImMB:\n try:\n Sz7U = YKHO[YKHO.iter_index]\n except IndexError:\n raise StopIteration\n YKHO.iter_index += 1\n return Sz7U", "def next(Y...
[ "0.8399275", "0.81623006", "0.81177765", "0.79722893", "0.7943435", "0.7922986", "0.78360665", "0.7821672", "0.77963793", "0.7766274", "0.77493167", "0.7727681", "0.7727681", "0.7692381", "0.7641203", "0.76337683", "0.7618171", "0.75774914", "0.75690895", "0.75465643", "0.752...
0.78829694
6
By convention, an iterator must return itself as an iterator.
def Vs4Q(YKHO): return YKHO
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oHE7(YKHO) -> bDy6[ut5U]:\n ...", "def Vs4Q(YKHO):\n return YKHO.get_iterator()", "def Vs4Q(YKHO):\n jvSB = YKHO._first\n while not jvSB is None:\n yield jvSB.item\n jvSB = jvSB.next", "def Vs4Q(YKHO):\n jvSB = YKHO.first\n while jvSB is not None:\n yield jvSB.item\...
[ "0.8159872", "0.7794579", "0.7772101", "0.7749767", "0.77137995", "0.7710926", "0.76526123", "0.76089746", "0.7601229", "0.7564571", "0.7550014", "0.7512477", "0.7512477", "0.7512477", "0.75111324", "0.74977416", "0.74977416", "0.74977416", "0.74854445", "0.7476996", "0.74647...
0.74844944
24
Creates a DynamicFrame from an RDD.
def G9hm(YKHO, nPrm, mWFP, uPxI=None, w5rR=None, gPmt=''): jQ3Z = super(Z_CR, YKHO).createDataFrame(nPrm, uPxI, w5rR) return YnMq.fromDF(jQ3Z, YKHO, mWFP)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def e62S(HJBP):\n return tHDW(HJBP)", "def WoEa(FiJc, uPxI):\n return FiJc.toDF(schema=uPxI)", "def ayyl(HJBP):\n return tHDW(HJBP)", "def mMjn(YSLL):\n\n def ynYR(P8oC: Dict, AzR4: List[Dict]=None, uPxI: StructType=None):\n if not AzR4:\n AzR4 = [dict()]\n M5p9 = []\n ...
[ "0.6213153", "0.6130045", "0.59539354", "0.564259", "0.5454258", "0.5380802", "0.5072713", "0.5028901", "0.49311134", "0.48942", "0.48938534", "0.48886603", "0.4856094", "0.4856094", "0.4837721", "0.4836293", "0.47932482", "0.4746077", "0.4742732", "0.4734135", "0.4728927", ...
0.71616495
0
Generate an invite link for this bot.
async def invite(YKHO, OaeV): XKYE = f'[Invite with no Admin Perms](https://discordapp.com/oauth2/authorize?client_id={OaeV.bot.user.id}&scope=bot)' VYrs = f'[Invite with Admin Perms](https://discordapp.com/oauth2/authorize?permissions=93190&client_id={OaeV.bot.user.id}&scope=bot)' Q1PJ = ZOrr.Embed(title='...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def invite(YKHO, OaeV):\n await YKHO.bot.say(\"Here's the link to invite me: <http://invite.jaqreven.com>\")", "async def invite(YKHO, OaeV):\n await OaeV.send(f'<{YKHO.invite_link}>')", "async def invite(YKHO, OaeV):\n r50I = tNAa(title=f'Invite {YKHO.bot.user.name} to your server!', color=3092...
[ "0.7695682", "0.7633731", "0.7546091", "0.749987", "0.749987", "0.74895865", "0.7486477", "0.7480358", "0.73852843", "0.73533833", "0.73389554", "0.7259137", "0.7256842", "0.7186405", "0.71858144", "0.707475", "0.7052445", "0.70481414", "0.69381136", "0.69007444", "0.6799512"...
0.7131727
15
This function will process the ast.BoolOp node that handles boolean operations i.e. AND, OR, etc.
def afQB(YKHO, Q6kx, QTBn, *bGrB): fw8l = [] oPhP = {jZ4I.And: 'and', jZ4I.Or: 'or'} for H5ew in oPhP: if isinstance(Q6kx.op, H5ew): fw8l.append([{'boolean_operation': oPhP[H5ew]}]) for ZfUD in Q6kx.values: fw8l.append(YKHO.gen_grfn(ZfUD, QTBn, 'boolop')) return fw8l
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wZ7q(YKHO, Q6kx):\n YKHO.visit(Q6kx.op)\n for Ty9i in Q6kx.values:\n YKHO.visit(Ty9i)\n YKHO.set_type('bool', Q6kx)", "def wZ7q(YKHO, Q6kx: ast.BoolOp) -> None:\n YKHO._check_same_elements(Q6kx)\n YKHO._check_isinstance_calls(Q6kx)\n YKHO.generic_visit(Q6kx)", "def wZ7q(YKHO, Q6kx:...
[ "0.8494324", "0.8229237", "0.8215505", "0.78638625", "0.7379567", "0.7223938", "0.6878714", "0.6823647", "0.68043035", "0.6767665", "0.66799176", "0.6658223", "0.6640803", "0.65994483", "0.65438515", "0.654356", "0.6530443", "0.6508933", "0.6498053", "0.6485911", "0.64821494"...
0.75581414
4
This function handles an assignment operation (ast.Assign).
def Mwdx(YKHO, Q6kx, QTBn, *bGrB): zU73 = False xR7R = False c7pe = YKHO.gen_grfn(Q6kx.value, QTBn, 'assign') e7vd = False if 'call' in c7pe[0] and c7pe[0]['call']['function'] == 'Array': e7vd = True ROOQ = [] g4y1 = c7pe[0]['call']['inputs'] iAIW = g4y1[0][0]['var'][...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pqrG(YKHO, Q6kx):\n YKHO.visit(Q6kx.node)\n YKHO.visit(Q6kx.target)", "def pqrG(YKHO, Q6kx):\n for pan_ in Q6kx.targets:\n if pan_.id != 'expr':\n continue\n VN2L = jZ4I.Expression(cRTq().visit(Q6kx.value))\n jZ4I.fix_missing_locations(VN2L)\n YKHO.expr = compi...
[ "0.7776134", "0.7459595", "0.7452214", "0.7428395", "0.7339169", "0.73291665", "0.7323443", "0.7299277", "0.7196266", "0.71523166", "0.7103442", "0.70256233", "0.6984297", "0.69324166", "0.6928473", "0.68854916", "0.68838453", "0.6837195", "0.68357986", "0.6792241", "0.677728...
0.74667615
1
Add item, which may be peak, peak group or peak group with 1 peak depending on the position X.
def hlZU(YKHO, cizC): if YKHO._myPeakSelectionMode == cBR2.AutoMode: YKHO.add_single_peak(peak_pos=cizC) elif YKHO._myPeakSelectionMode == cBR2.NormalMode: kwwZ = cizC GjxE = cizC - YKHO._defaultPeakWidth CWQa = cizC + YKHO._defaultPeakWidth if YKHO._myPeakGroupManager.ca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Jia3(YKHO, hW1S, hE03=None):\n if hE03 is None:\n hE03 = YKHO._myPeakGroupManager.get_group_id(hW1S)\n else:\n assert isinstance(hE03, int)\n assert YKHO._myPeakGroupManager.has_group(hE03)\n assert hE03 is not None\n X1rU = YKHO.add_vertical_indicator(hW1S, color='red')\n YKHO....
[ "0.65954685", "0.6585679", "0.64859414", "0.6123041", "0.61213034", "0.61038417", "0.6020949", "0.6020949", "0.6020949", "0.5977875", "0.5911199", "0.58241564", "0.58198017", "0.58132875", "0.58000594", "0.5791021", "0.5788924", "0.57764703", "0.5719306", "0.5702083", "0.5697...
0.79174644
0
Build minibatch tensors from a list of (image, caption) tuples.
def QxcP(nPrm): nPrm.sort(key=lambda WKvO: len(WKvO[1]), reverse=True) Yw_3, UrTZ, A07C, zS67, iLyu = zip(*nPrm) Yw_3 = ht2j.stack(Yw_3, 0) Fbjb = [len(Fd1k) for Fd1k in UrTZ] x6A0 = ht2j.zeros(len(UrTZ), max(Fbjb)).long() for YRbF, Fd1k in enumerate(UrTZ): Os4s = Fbjb[YRbF] x6A0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HtrN(YKHO, CL5K):\n zNig = YKHO.get_image_size()\n if len(zNig) == 2 or zNig[2] == 1:\n yzQ0, MKlR, Z9rn = (zNig[0], zNig[1], 1)\n EcVT = oyIN.full((len(CL5K), yzQ0, MKlR), 0, dtype=oyIN.int8)\n elif len(zNig) == 3:\n yzQ0, MKlR, Z9rn = (zNig[0], zNig[1], 3)\n EcVT = oyIN.f...
[ "0.6640676", "0.61304116", "0.6101224", "0.60777867", "0.6017671", "0.6014781", "0.58664525", "0.5823596", "0.5809539", "0.5697777", "0.5697777", "0.5697777", "0.5663493", "0.56621283", "0.5657333", "0.562792", "0.5619392", "0.5608781", "0.5596826", "0.5567252", "0.5565098", ...
0.5207644
88
Returns torch.utils.data.DataLoader for custom coco dataset.
def rDAf(i0XC, N66D, CtWL, y7GR, Ep8u=100, hXNa=True, I7Gy=2): tgCD = mQhb(i0XC, N66D, CtWL) zQKy = ht2j.utils.data.DataLoader(dataset=tgCD, batch_size=Ep8u, shuffle=hXNa, pin_memory=True, collate_fn=QxcP) return zQKy
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RuZU(tk5Y, qQXR, SZFh, Ep8u, hXNa, I7Gy):\n N8JC = Qon4(root=tk5Y, json=qQXR, transform=SZFh)\n zQKy = ht2j.utils.data.DataLoader(dataset=N8JC, batch_size=Ep8u, shuffle=hXNa, num_workers=I7Gy)\n return (zQKy, N8JC)", "def qFG4(i0XC: str, Ep8u: int) -> pVAc:\n rrl5 = i0XC + '/train2017'\n XOtI ...
[ "0.74904853", "0.72587734", "0.70325327", "0.6757468", "0.6757468", "0.671094", "0.65776044", "0.65647876", "0.64585733", "0.6431798", "0.6377102", "0.6323418", "0.6304401", "0.628844", "0.62798905", "0.6253598", "0.6237868", "0.62244886", "0.6221185", "0.6177578", "0.6092152...
0.630777
12
Produce a secure 128bit (=16 bytes) random hex token
def kJBJ(): return FXSn.token_hex(16)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LQUb() -> str:\n return FXSn.token_hex(16)", "def DxwY(oqGu: int=32) -> str:\n return FXSn.token_hex(oqGu)", "def ksg3():\n return DxwY(8)", "def LQUb():\n return FXSn.token_hex(8)", "def LQUb():\n return qxeD.uuid4().hex", "def XNDl():\n return zvMy(max_length=32)", "def kBBd():\...
[ "0.8180167", "0.7860027", "0.78582937", "0.78454864", "0.77326286", "0.77206194", "0.77129364", "0.77109575", "0.7625442", "0.75643337", "0.7465317", "0.7450946", "0.7396531", "0.73938787", "0.73873144", "0.73637396", "0.7334256", "0.73220325", "0.7299339", "0.72812563", "0.7...
0.0
-1
returns the average of the array values
def S8vG(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qqgr(YKHO, qw7D):\n qw7D = YKHO.array_nones_to_zeros(qw7D)\n S8vG = float(sum(qw7D)) / len(qw7D) if len(qw7D) > 0 else float('nan')\n return S8vG", "def qqgr(hkxX):\n return sum(hkxX) / len(hkxX)", "def S8vG(hkxX):\n return sum(hkxX) / len(hkxX)", "def yUQ1(YKHO, qw7D):\n return round(r...
[ "0.8426087", "0.8324896", "0.83188087", "0.8302761", "0.826114", "0.82251126", "0.8207165", "0.81804967", "0.8163713", "0.8163713", "0.8163713", "0.8163713", "0.8133719", "0.8133719", "0.8133719", "0.8133719", "0.8133719", "0.8102814", "0.80873096", "0.80681217", "0.8061129",...
0.70139045
93
Get the path to a specific IB dataset on S3. Format like `continuous_futures/daily/ES.csv.gz`. Parameters as in `read_data`.
def dMam(YKHO, o61b: str, Gjtu: icdtyp.Frequency, UdRV: icdtyp.AssetClass, FNim: Optional[icdtyp.ContractType]=None, dQgO: Optional[str]=None, VIXL: Optional[str]=None, eMn5: Optional[bool]=None, YBcr: icdtyp.Extension=vhu7.Extension.CSV) -> str: PCzT.dassert_is_not(VIXL, None) PCzT.dassert_is_not(dQgO, None) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Mwh1(WE7e, mC1D):\n if WE7e in mC1D:\n if uwaB.S3_CONFIG.S3_FILE_PREFIX not in mC1D:\n return uwaB.S3_CONFIG.S3_FILE_PREFIX + mC1D\n return mC1D\n else:\n pmON = ''\n if uwaB.S3_CONFIG.S3_FILE_PREFIX not in WE7e:\n pmON = uwaB.S3_CONFIG.S3_FILE_PREFIX\n ...
[ "0.7153987", "0.6536035", "0.65241545", "0.6319366", "0.6273954", "0.6266481", "0.6226306", "0.6208483", "0.6146858", "0.6107261", "0.60636014", "0.60357535", "0.6023885", "0.59847283", "0.595125", "0.595125", "0.5930455", "0.5919229", "0.59067994", "0.5873923", "0.5854571", ...
0.0
-1
Compare this dissimilarity matrix to another for equality. Two dissimilarity matrices are equal if they have the same shape, IDs (in the same order!), and have data arrays that are equal. Checks are not performed to ensure that `other` is a `DissimilarityMatrix` instance.
def xa14(YKHO, Elif): InF8 = True try: if YKHO.shape != Elif.shape: InF8 = False elif YKHO.ids != Elif.ids: InF8 = False elif not oyIN.array_equal(YKHO.data, Elif.data): InF8 = False except AttributeError: InF8 = False return InF8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n if isinstance(Elif, aLMY):\n if J2ZQ(YKHO, Elif):\n return oyIN.allclose(YKHO._matrix, Elif._matrix, 0, 0.01)\n else:\n return False\n else:\n return False", "def xa14(YKHO, Elif: Matrix):\n if not isinstance(Elif, aLMY):\n raise ...
[ "0.722065", "0.71252424", "0.7107774", "0.70638293", "0.7055038", "0.7035854", "0.7024244", "0.701138", "0.69129384", "0.6863253", "0.6710594", "0.67105556", "0.67103124", "0.6660163", "0.66515565", "0.66160965", "0.6586783", "0.65841234", "0.65752953", "0.6566125", "0.656204...
0.6974774
8
Determine whether two dissimilarity matrices are not equal.
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: 'matrix') -> bool:\n return YKHO.matrix != Elif.matrix", "def xYYi(k0lF, tjUW):\n for GNdr in k0lF:\n for R0VR in tjUW:\n if oyIN.all(GNdr == R0VR):\n break\n else:\n return False\n return k0lF.shape[0] == oyIN.linalg.matrix_rank(k0...
[ "0.72387326", "0.6973143", "0.6880333", "0.6770252", "0.67702097", "0.6764999", "0.67292476", "0.6638651", "0.6623533", "0.66167414", "0.6544809", "0.65356153", "0.64671683", "0.6465578", "0.64509183", "0.644427", "0.6439468", "0.642056", "0.63945115", "0.6391543", "0.6391013...
0.0
-1
Initializes a new Plasticity object.
def FIMM(YKHO, eOtH=None, bD7m=None, GikI=None): GikI = GikI or Hy7s.environ YKHO.url = bD7m or 'https://api.plasticity.ai/' YKHO.token = eOtH or GikI.get('PLASTICITY_API_KEY') YKHO._sapien = None YKHO._cortex = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(YKHO, NArs):\n super().__init__(NArs)\n YKHO.tag = 'CAES'\n YKHO.heat_rate_high = NArs['heat_rate_high']\n YKHO.fuel_price = NArs['fuel_price']", "def FIMM(YKHO, ovGo=None, CJ2p=None):\n YKHO._system = cpvk.System()\n YKHO._positions = rYO3.Quantity(oyIN.zeros([0, 3], oyIN.float), rYO3...
[ "0.65161324", "0.6349998", "0.62437147", "0.61962885", "0.61518586", "0.6125132", "0.6115585", "0.6090285", "0.6087791", "0.60748017", "0.597939", "0.5971783", "0.5959019", "0.59444726", "0.594097", "0.59380776", "0.5915325", "0.5913896", "0.5894183", "0.58850896", "0.5882193...
0.67208976
0
Function for loading a model
def uyMl(YKHO): C3ST = mM0K.load(open(YKHO.filepath_Model)) return C3ST
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uyMl():\n pass", "def uyMl():\n pass", "def uyMl():\n return None", "def uyMl():\n return", "def uyMl(YKHO):\n pass", "def uyMl(YKHO):\n pass", "def uyMl(YKHO):\n pass", "def uyMl(YKHO):\n pass", "def uyMl(Ux0P):\n pass", "def uyMl(YKHO, C3ST):\n raise NotImpleme...
[ "0.90070915", "0.90070915", "0.85634655", "0.85540193", "0.8495298", "0.8495298", "0.8495298", "0.8495298", "0.84596515", "0.834184", "0.8153425", "0.8095337", "0.8067143", "0.79680413", "0.7964745", "0.7914504", "0.7832184", "0.77976567", "0.77921695", "0.77912134", "0.77895...
0.77542585
21
Get the lane heading at a given longitudinal lane coordinate.
def eGyO(YKHO, mZrO): raise NotImplementedError()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def WEzc(YKHO, PsCT: Route, mZrO: float, PfJQ: float) -> AzJI[oyIN.ndarray, float]:\n while len(PsCT) > 1 and mZrO > YKHO.get_lane(PsCT[0]).length:\n mZrO -= YKHO.get_lane(PsCT[0]).length\n PsCT = PsCT[1:]\n return (YKHO.get_lane(PsCT[0]).position(mZrO, PfJQ), YKHO.get_lane(PsCT[0]).heading_at(...
[ "0.6837509", "0.6570007", "0.6460683", "0.64136666", "0.64048", "0.6345695", "0.626049", "0.6203122", "0.6202154", "0.618857", "0.6109885", "0.6089293", "0.60866255", "0.6044404", "0.6044404", "0.60395485", "0.5988442", "0.5967928", "0.5910305", "0.58982486", "0.58982486", ...
0.6885726
0
Gets the responder of this Data.
def rmft(YKHO) -> wKE1: return YKHO._responder
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IfSx(YKHO):\n try:\n return YKHO._responderpolicy\n except Exception as e:\n raise tTpl", "def AYkz(YKHO):\n return YKHO._delegation", "def QdCV(YKHO):\n return None", "def Drde(YKHO):\n Amyp = YKHO.__get_full_reply()\n return Amyp", "def YwS0(YKHO):\n return YKHO._de...
[ "0.6333637", "0.6188434", "0.6123901", "0.58911073", "0.5729929", "0.5646849", "0.5498256", "0.5430848", "0.54179835", "0.5388396", "0.5314854", "0.527846", "0.52768385", "0.5230021", "0.5214608", "0.5210616", "0.52087665", "0.5188718", "0.51822245", "0.51715237", "0.5169231"...
0.7987501
0
Gets the action of this Data.
def XeOP(YKHO) -> str: return YKHO._action
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AMEM(YKHO):\n return YKHO.__action", "def AMEM(YKHO):\n return YKHO._action", "def AMEM(YKHO):\n return YKHO._action", "def AMEM(YKHO):\n return YKHO._action", "def bk5W(YKHO):\n return YKHO._action", "def AMEM(YKHO):\n return YKHO.action", "def XeOP(YKHO):\n return YKHO._actio...
[ "0.840445", "0.83858985", "0.83858985", "0.83858985", "0.8346687", "0.8323674", "0.8243986", "0.8243986", "0.8243986", "0.8243986", "0.8010341", "0.7989442", "0.7950967", "0.7848288", "0.7822884", "0.7822204", "0.78163546", "0.7768423", "0.7768423", "0.7757426", "0.7757426", ...
0.7845962
14
Return the reader's name.
def W0tD(YKHO) -> str: return YKHO._name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ot4_(YKHO) -> str:\n return YKHO.reader.QueryInfoByName('name')", "def ZjNs(YKHO):\n return YKHO._rname", "def wGWt(YKHO):\n return YKHO._name", "def F0up(YKHO):\n return YKHO._name", "def W0tD(YKHO):\n return YKHO._name", "def wGWt(YKHO):\n return YKHO.__name", "def wGWt(YKHO):\n...
[ "0.73286605", "0.7231882", "0.7100136", "0.7078554", "0.7071681", "0.6975753", "0.6975753", "0.6973979", "0.6973979", "0.6973979", "0.6973979", "0.6973944", "0.6962961", "0.6962961", "0.6962961", "0.6962961", "0.6962961", "0.69608235", "0.6949569", "0.6934262", "0.69280046", ...
0.69609797
17
Get parameter from the specified dictionary while making sure it matches the expected type
def M8hR(cmPJ, mWFP, lri0, WmM4=None): BWXx = cmPJ.pop(mWFP, WmM4) if isinstance(lri0, list): if not isinstance(BWXx, list): raise ValueError("Invalid value '{value}' for '{name}' parameter (needs to be a list)".format(value=BWXx, name=mWFP)) _BMg = lri0[0] for ZfUD in BWXx: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dLCC(chwN, xqoZ):\n if xqoZ in chwN.keys():\n return chwN[xqoZ]", "def wTzI(SGPK, H5ew):\n if not isinstance(H5ew, str):\n raise TypeError(str(H5ew) + ' should be string...')\n if not isinstance(SGPK, dict):\n raise TypeError('parameters should be dictionary...')\n if H5ew no...
[ "0.77001846", "0.6682718", "0.65377265", "0.63514745", "0.6303179", "0.6259843", "0.6231398", "0.62150156", "0.6205497", "0.616824", "0.6151002", "0.6132669", "0.61272186", "0.6104192", "0.61040884", "0.60839844", "0.60639495", "0.60480046", "0.6027903", "0.6025718", "0.59939...
0.6820599
1
Video streaming home page.
def d6pt(): return TvZl('index.html')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ecsS():\n return TvZl('/video-page.html')", "def wOb_():\n return TvZl('video-feed.html')", "def hkZA():\n return TvZl('video-page.html', title='video page', year=qcWV.now().year)", "def kZiy(geh0):\n SFIC = YM9Z.objects.all()\n QpfX = {'videos': SFIC}\n return _1tc(geh0, 'InktoberSite/...
[ "0.76268315", "0.76119703", "0.7530637", "0.73411614", "0.7005877", "0.66250384", "0.6583905", "0.6468895", "0.6439333", "0.64381635", "0.6421515", "0.6415742", "0.6393503", "0.6384064", "0.637601", "0.63417023", "0.6321272", "0.6291959", "0.62908256", "0.62908256", "0.629082...
0.0
-1
Get index of the most recent common ancestor
def wZul(poSB, Q4Aq, a2lk): BVZ5 = qnuu(poSB, Q4Aq) kmG9 = qnuu(poSB, a2lk) BVZ5, kmG9 = (BVZ5[::-1], kmG9[::-1]) JySl = BVZ5 if len(BVZ5) < len(kmG9) else kmG9 Qw2L = BVZ5 if JySl == kmG9 else kmG9 for YRbF, DUTf in enumerate(JySl): if YRbF == len(JySl) - 1: tRLz = DUTf ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ICDs(YKHO) -> int:\n return 0", "def Vn7Z(YKHO):\n if YKHO.parent:\n return YKHO.parent.children.index(YKHO) + 1\n else:\n return 0", "def d6pt(YKHO):\n if not YKHO._parent:\n return 0\n else:\n return YKHO._parent._children.index(YKHO)", "def _AKB(YKHO, d6pt):\...
[ "0.7073586", "0.66028005", "0.649023", "0.64853716", "0.6425841", "0.6421495", "0.64199686", "0.64178735", "0.64108866", "0.64104533", "0.6377527", "0.63714933", "0.6346669", "0.6346669", "0.63357085", "0.63320833", "0.6326692", "0.6317211", "0.6303282", "0.6293752", "0.62782...
0.0
-1
Apply Conv2D `n_channels` times and concatenate all capsules
def FYhB(g4y1, P0Ni, YDR7, Ot1W, FEri, dvgN): hlel = fhcK.Conv2D(filters=P0Ni * YDR7, kernel_size=Ot1W, strides=FEri, padding=dvgN, name='primarycap_conv2d')(g4y1) o4Jx = fhcK.Reshape(target_shape=[-1, P0Ni], name='primarycap_reshape')(hlel) return fhcK.Lambda(lPr6, name='primarycap_squash')(o4Jx)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def c7pY(DYuh: int, tYiq: int):\n return U78l.Conv2d(DYuh, tYiq, 2, 2)", "def yIp6(DYuh, tYiq, Ot1W, _0fC=1, dvgN=0, uOxW='pad', Z1v2=True):\n upAO = E9N2()\n return U78l.Conv2d(DYuh, tYiq, kernel_size=Ot1W, stride=_0fC, padding=dvgN, weight_init=upAO, has_bias=Z1v2, pad_mode=uOxW)", "def yIp6(DYuh, t...
[ "0.6402943", "0.6308205", "0.6308205", "0.62693536", "0.62693536", "0.62554175", "0.62554175", "0.62554175", "0.62546116", "0.62546116", "0.6253439", "0.6216213", "0.6212025", "0.61529356", "0.6121325", "0.6102498", "0.60619974", "0.603203", "0.603071", "0.60220885", "0.60192...
0.58438605
51
Blend params of target net with params from the model
def H69_(YKHO, Cwt5): assert isinstance(Cwt5, float) assert 0.0 < Cwt5 <= 1.0 QTBn = YKHO.model.state_dict() EHpn = YKHO.target_model.state_dict() for G1Hx, Ty9i in QTBn.items(): EHpn[G1Hx] = EHpn[G1Hx] * Cwt5 + (1 - Cwt5) * Ty9i YKHO.target_model.load_state_dict(EHpn)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xtb4(YKHO) -> None:\n for SIgb, zHw4 in zip(YKHO.model.target_network_1.parameters(), YKHO.model.value_network_1.parameters()):\n SIgb.data.copy_(zHw4.data)\n for SIgb, zHw4 in zip(YKHO.model.target_network_2.parameters(), YKHO.model.value_network_2.parameters()):\n SIgb.data.copy_(zHw4.dat...
[ "0.6593826", "0.6565335", "0.65058815", "0.64494985", "0.63955176", "0.6374902", "0.6374902", "0.63106203", "0.6265866", "0.62491834", "0.62491834", "0.62354475", "0.6230048", "0.6204624", "0.61404586", "0.61373603", "0.60964286", "0.6089218", "0.60281783", "0.6011327", "0.59...
0.0
-1
Given an input email return a normalized version or raises ValueError if field value isn't syntactically valid. This is called for forms that use email as an identity to be looked up.
def NkkI(YKHO, D3lj: str) -> str: oerr = x0PB('EMAIL_VALIDATOR_ARGS') or {'check_deliverability': False} deVW = qgkF.validate_email(D3lj, **oerr) return deVW.email
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cmec(D3lj):\n D3lj = D3lj or ''\n try:\n wKy1, Slw0 = D3lj.strip().rsplit('@', 1)\n except ValueError:\n return None\n else:\n D3lj = '@'.join([wKy1, Slw0.lower()])\n return D3lj", "def cmec(Emd4, D3lj):\n D3lj = D3lj or ''\n try:\n wKy1, Slw0 = D3lj.strip().r...
[ "0.743001", "0.74254566", "0.7360575", "0.7231674", "0.7146973", "0.70007825", "0.6987726", "0.6980525", "0.696241", "0.69489247", "0.69085777", "0.6908041", "0.6908041", "0.6859927", "0.6819919", "0.6803631", "0.6785699", "0.6690612", "0.6613923", "0.65796953", "0.6531343", ...
0.76327306
0
Validate the given email. If valid, the normalized version is returned. This is used by forms/views that require an email that likely can have an actual email sent to it.
def xzCw(YKHO, D3lj: str) -> str: oerr = x0PB('EMAIL_VALIDATOR_ARGS') or {} deVW = qgkF.validate_email(D3lj, **oerr) return deVW.email
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def NkkI(YKHO, D3lj: str) -> str:\n oerr = x0PB('EMAIL_VALIDATOR_ARGS') or {'check_deliverability': False}\n deVW = qgkF.validate_email(D3lj, **oerr)\n return deVW.email", "def YBiq(YKHO):\n return mV2G(YKHO.cleaned_data['email'])", "def RC0X(YKHO, D3lj):\n try:\n hZhB = D3lj.split('@')\n...
[ "0.77608395", "0.74615264", "0.74322784", "0.742329", "0.732079", "0.7249349", "0.7243729", "0.7176824", "0.7171436", "0.71522886", "0.711061", "0.70949227", "0.7093509", "0.7093509", "0.7071589", "0.70714986", "0.703126", "0.7028668", "0.7016037", "0.69974077", "0.699621", ...
0.79280984
0
A dictionary of meta data from a JSON string. If ``meta_text`` is None, None will be returned. Otherwise the return value is guaranteed to be a dictionary.
def kaGG(gHC9, _c1T=None): if gHC9 is None: return None try: nPrm = qQXR.loads(gHC9) except ValueError: nPrm = {} if not isinstance(nPrm, dict): nPrm = {} if _c1T: if not rIAI.is_aware(_c1T): _c1T = rIAI.make_aware(_c1T, rIAI.get_current_timezone()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def eczE(qurK):\n uCis = [(WKvO.lower(), LVAh) for WKvO, bGrB, bGrB, bGrB, LVAh in qFYb.findall(qurK.strip())]\n XR1w = qFYb.split(qurK.strip())[-1]\n Aofo = {}\n for H5ew, wEf2 in uCis:\n wEf2 = wEf2.strip().strip(\"'\").strip('\"')\n if H5ew == 'text':\n wEf2 = wEf2.lstrip('{...
[ "0.72550577", "0.6717418", "0.6710005", "0.66127115", "0.6362068", "0.62640065", "0.61812234", "0.59912705", "0.59529155", "0.5923815", "0.58835196", "0.5835452", "0.5795048", "0.576757", "0.5747964", "0.57310116", "0.5721816", "0.57077414", "0.5686283", "0.56652886", "0.5662...
0.78029263
0
allows this object to be converted to tuple (or list, or other sequence type)
def Vs4Q(YKHO): yield from (getattr(YKHO, eHNT) for eHNT in YKHO._fields)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def pTc2(YKHO, *qIxc, **B2fa):\n pass", "def zkrP(YEnM):\n if isinstance(YEnM, tuple):\n return YEnM\n elif isinstance(YEnM, g760.Sequence) and (not isinstance(YEnM, exCv)):\n return tuple(YEnM)\n elif isinstance(YEnM, g760.Iterator):\n return tuple(YEnM)\n else:\n retu...
[ "0.778983", "0.75553405", "0.7548226", "0.753704", "0.7514885", "0.74672496", "0.7436552", "0.73957443", "0.7357366", "0.71349806", "0.7131923", "0.6988052", "0.69879705", "0.69651616", "0.69574887", "0.689534", "0.6892551", "0.6888674", "0.6885511", "0.6877985", "0.68751514"...
0.0
-1
Decorator that registeres a variable provider. Output variable name is the function name. If you want to use
def kT1P(YKHO, rHwV=None, *qIxc, wyyA=True): if rHwV is not None: return YKHO.provider(cache=wyyA)(rHwV) else: def wWk4(rHwV): nY2i = rHwV.__name__ emMa = tuple(h78a(rHwV)) return YKHO.add_function(nY2i, emMa, wyyA)(rHwV) return wWk4
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RELP(mWFP, *qIxc, **YSA3):\n\n def SRYB(bGrB):\n return jj4W.get_variable(mWFP, *qIxc, **YSA3)\n return Eush.Callable(SRYB)", "def gr_i(mWFP):\n\n def iwF4(JfyU):\n XAuR[mWFP] = JfyU\n return JfyU\n return iwF4", "def nY2i(YKHO, sjXb):\n\n def rPWr(m2Zb):\n mWFP =...
[ "0.61812365", "0.6101439", "0.6084019", "0.6038692", "0.59977204", "0.594494", "0.58327186", "0.5831467", "0.58286196", "0.5826852", "0.5820122", "0.5808047", "0.57699406", "0.57656586", "0.5725286", "0.57151246", "0.57078785", "0.56897783", "0.5648108", "0.5640203", "0.56362...
0.5700978
17
Return dependency graph of variables.
def wjEN(YKHO): return Y_II(YKHO._function_requires, YKHO._function_provides)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def MAY_(YKHO) -> tuple[jHsn.DiGraph, bdIy[str]]:\n Oa1e = YKHO.digraph\n E0Gw = jHsn.DiGraph()\n E0Gw.add_nodes_from(Oa1e)\n for mWFP in Oa1e:\n lLIB = Oa1e.nodes[mWFP]\n dQgj = lLIB.get('position', None)\n if dQgj is not None:\n if not isinstance(dQgj, EJY2):\n ...
[ "0.7076649", "0.6892496", "0.68348825", "0.6544257", "0.6375138", "0.6350081", "0.63330907", "0.6323577", "0.63224745", "0.6305517", "0.6240185", "0.6229736", "0.62258005", "0.61911607", "0.61893314", "0.6186293", "0.61722094", "0.61680853", "0.616245", "0.6142814", "0.614037...
0.7197418
0
Return a xarray DataArray with mapped values If number of variables is >= 2, the 'varname' dimension has values for each variable
def eRXG(YKHO, NLVo, **B2fa): if isinstance(NLVo, str): nPrm = YKHO.map_variable(NLVo, **B2fa) wHMY = 0 else: nPrm = YKHO.map_variables(NLVo, **B2fa) wHMY = len(NLVo) Iw8c = len(nPrm.shape) print('_dimcount', Iw8c) LuJ0 = list(B2fa.keys()) AO83 = {G1Hx: B2fa[G1Hx]...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def r1So(Ux0P, mZ1z, eHxA=None, **YXyZ):\n oxOY = aMjX(Ux0P, chunks=eHxA)\n bQLt = oxOY[mZ1z]\n for B2fa in YXyZ:\n bQLt.attrs[B2fa] = YXyZ[B2fa]\n return bQLt", "def yFDr(SG6Y: xr.DataArray) -> qHOR:\n jNOo = {}\n o8Kj = {hkS8: hAEw(SG6Y.attrs[hkS8]) for hkS8 in SG6Y.attrs if hkS8 != 'u...
[ "0.67076826", "0.6246093", "0.61220914", "0.60725135", "0.6012518", "0.5991947", "0.59507847", "0.5906475", "0.58600163", "0.5850675", "0.58471286", "0.5764892", "0.57386786", "0.5670894", "0.56657153", "0.56487256", "0.56279117", "0.5626906", "0.562265", "0.56202596", "0.561...
0.7129293
0
return set of atomic indexes that are the first atom in specified substructure
def FG7H(N9D1, wufn): return set([a1PO[0] for a1PO in Jav9(N9D1, wufn)])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Eqvp(YKHO):\n hQUT, aixJ, SGPK = YKHO.getBondParameters(0)\n return [hQUT]", "def eN48(YKHO, zLC2):\n erCt = YKHO._residue_name\n xAjh = [Ylbp for Ylbp in zLC2.residues() if Ylbp.name == erCt]\n if len(xAjh) != 1:\n raise ValueError('There can only be one residue with a specific name in...
[ "0.588597", "0.5799751", "0.57923526", "0.57169306", "0.5705217", "0.5691419", "0.5650593", "0.55837244", "0.54950553", "0.54267067", "0.5367007", "0.53450876", "0.5342237", "0.5340685", "0.53280383", "0.53117204", "0.53041095", "0.5302866", "0.529103", "0.5281765", "0.526531...
0.50056815
68
Method to establish our Provisioning API Service Connection.
def eBFx(YKHO): G9jH.info('Logging into the domain...') w2B8 = HBzi.apps.service.AppsService(email=YKHO.admin_user, domain=YKHO.domain, password=YKHO.admin_pass) w2B8.ProgrammaticLogin() return w2B8
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ykhp(YKHO):\n YKHO.conn = U_nW.Connection(authurl=YOam['AUTH_URL'], user=YOam['USERNAME'], key=YOam['API_KEY'], snet=YOam['SERVICENET'], auth_version=YOam['AUTH_VERSION'], tenant_name=YOam['AUTH_TENANT_NAME'])", "def Ykhp(YKHO):\n YKHO.conn = U_nW.Connection(authurl=YOam['AUTH_URL'], user=YOam['USERNAM...
[ "0.6711624", "0.6711624", "0.6711624", "0.6620128", "0.6469243", "0.6264934", "0.62145835", "0.6068191", "0.6047847", "0.60407346", "0.5989497", "0.597951", "0.5975873", "0.5876348", "0.5868836", "0.582466", "0.580471", "0.5796227", "0.5788471", "0.57867086", "0.5780674", "...
0.0
-1
Computes the average loss across the entirety of the given dataset. Assumes the given model is in eval mode.
def lPlw(C3ST, __n6, _Fei): with ht2j.no_grad(), j7Mq(len(__n6)) as eGC5: c2Yh = __n6.generator(_Fei.batch_size, _Fei.pointer, shuffle=True) N8L0 = [] sTHe = [] for bGrB, Wc9F in enumerate(c2Yh): N77f, jNxQ, as0t = C3ST(Wc9F) N8L0.append(N77f.item()) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wIZE(DWkG, C3ST, OPAs):\n N77f = 0\n exwG = 0\n begE = next(C3ST.parameters()).device\n with ht2j.no_grad():\n for f_Ax, uibR, UTgX, a8eB, Crrw in DWkG:\n f_Ax, uibR, UTgX, a8eB, Crrw = qibS(f_Ax, uibR, UTgX, a8eB, Crrw, begE)\n o4Jx = C3ST(f_Ax, uibR, UTgX, a8eB)\n ...
[ "0.7483018", "0.7085518", "0.6983496", "0.68894273", "0.68813723", "0.6858903", "0.6768707", "0.67372364", "0.6721342", "0.66359574", "0.661047", "0.6593657", "0.65854746", "0.65733004", "0.6569847", "0.6513501", "0.650913", "0.6500955", "0.64681727", "0.6460245", "0.64553916...
0.6722565
8
Create an Nbin discrete colormap from the specified input map
def HX90(ywwl, j9kp=None): P8oC = QrM1.cm.get_cmap(j9kp) F4JO = P8oC(oyIN.linspace(0, 1, ywwl)) em8M = P8oC.name + str(ywwl) return P8oC.from_list(em8M, F4JO, ywwl)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jmzj(exwG, iMGt):\n RFG3 = [iMGt(YRbF) for YRbF in range(iMGt.N)]\n RFG3[0] = (0, 0, 0, 1.0)\n iMGt = iMGt.from_list('discrete-cmap', RFG3, exwG)\n iMGt = [iMGt(YRbF) for YRbF in range(iMGt.N)]\n return iMGt", "def HX90(ywwl, j9kp=None):\n P8oC = QrM1.cm.get_cmap(j9kp)\n F4JO = P8oC(oyIN...
[ "0.7464505", "0.7196634", "0.71263444", "0.71145487", "0.7083137", "0.7082049", "0.6999638", "0.6942232", "0.6903232", "0.68993443", "0.68993443", "0.68993443", "0.68827033", "0.686803", "0.68590087", "0.68590087", "0.68443197", "0.6822784", "0.67541206", "0.67261493", "0.672...
0.68601567
14
function to compute a gaussian weighted average of an array y with x
def cfHy(WKvO, LVAh, naF9=100.0, eyKR=3): eLqP = oyIN.empty(len(LVAh)) for YRbF in range(0, len(WKvO)): _mSQ = oyIN.exp(-(WKvO - WKvO[YRbF]) ** 2 / eyKR) dZ78 = oyIN.sum(_mSQ * LVAh ** naF9) eLqP[YRbF] = (dZ78 / oyIN.sum(_mSQ)) ** (1 / naF9) return eLqP
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def d2yq(WKvO, _mSQ):\n return _mSQ.unsqueeze(1).bmm(WKvO).squeeze(1)", "def IAWS(WKvO):\n return oyIN.exp(-(WKvO ** 2 / 2))", "def KiTx(WKvO, yzQ0):\n zNT4 = 0.0\n hYfy = 0.0\n for YRbF in range(WKvO.size):\n zNT4 += WKvO[YRbF] * yzQ0[YRbF]\n hYfy += yzQ0[YRbF]\n return zNT4 / ...
[ "0.70277154", "0.7018019", "0.6938435", "0.68962306", "0.68765134", "0.6869711", "0.6845794", "0.6845794", "0.6839773", "0.6839773", "0.6774712", "0.67715716", "0.67622006", "0.67477995", "0.6745225", "0.6738471", "0.6732649", "0.671839", "0.671839", "0.6656684", "0.66543037"...
0.8123232
0
Whether `lo_freq` is within the `LoRange`.
def YBft(YKHO, Q4EY: complex) -> bool: if YKHO._lb <= abs(Q4EY) <= YKHO._ub: return True return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YHku(YKHO, YwkQ: Union[DriveChannel, MeasureChannel], QTg7: float) -> bool:\n KYiz = YKHO._lo_ranges\n if YwkQ in KYiz:\n TbwM = KYiz[YwkQ]\n if not TbwM.includes(QTg7):\n raise jKEv('Specified LO freq %f is out of range %s' % (QTg7, TbwM))", "def V6FZ(fopC: float) -> bool:\n ...
[ "0.6718096", "0.63108706", "0.6268548", "0.6170398", "0.60676575", "0.5932548", "0.5900875", "0.58803284", "0.57841", "0.57722384", "0.57392347", "0.5719848", "0.5713458", "0.56930685", "0.5692115", "0.56855494", "0.56758547", "0.567153", "0.5667998", "0.56543535", "0.5633862...
0.8323414
0
return whether username exists or not
def FESO(NtEF): return mv1M.query.filter_by(login=NtEF).count()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def V7zm(YKHO, NtEF: str) -> bool:\n return NtEF in YKHO.__data", "def V7zm(NtEF):\n with gCuF(warn_only=True):\n return 'o such user' not in iXC1('id %s' % NtEF)", "def LCZz(NtEF):\n DW23 = mv1M.DB.Table(P4t4.config['USERS'])\n geh0 = DW23.get_item(Key={'username': NtEF}, AttributesToGet=['...
[ "0.8384599", "0.83695483", "0.8353366", "0.8219542", "0.8207291", "0.8180746", "0.8175879", "0.81233454", "0.80983675", "0.8075219", "0.80741876", "0.8045102", "0.80435586", "0.8012191", "0.8010114", "0.8004497", "0.8004284", "0.7985008", "0.79812074", "0.79545605", "0.794233...
0.78411573
29
Returns a instance of Zone
def Edhj(D8Ke, lhKE='MAIN+ZONE'): return kpgd(D8Ke, lhKE)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def b6Gq(YKHO):\n return OVyo(YKHO)", "def c0po(YKHO, mWFP):\n return YKHO.get_child_by_name(mWFP, LEXu.Zone)", "def lhKE(YKHO):\n return type(YKHO).importeur.salle.get_zone(YKHO._nom_zone)", "def lgMt(YKHO, t788=True):\n lhKE = YKHO.fetch('zone')\n if lhKE is not None and t788:\n lhKE ...
[ "0.7397263", "0.69814765", "0.6862583", "0.685158", "0.6823318", "0.6720275", "0.67084545", "0.67084545", "0.668584", "0.66240674", "0.6542148", "0.65133184", "0.6429302", "0.64223444", "0.6391174", "0.63826805", "0.63790846", "0.63700503", "0.6271569", "0.6271569", "0.627156...
0.6306358
18
set mute based on true/false
def KkzS(YKHO, KkzS): YKHO.zoneCmd('on' if KkzS else 'off', mcmd='PutVolumeMute')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YAvG(YKHO, KkzS: bool) -> None:\n JVOJ = 'ON' if KkzS else 'OFF'\n YKHO.telnet_command(f'MU{JVOJ})')", "def KkzS(YKHO):\n if YKHO._mute_present:\n return YKHO._mute_value\n else:\n return False", "def YAvG(YKHO, KkzS: bool) -> None:\n YKHO.write_queue.put_nowait(('MU', Zbar(Kkz...
[ "0.80904925", "0.7821336", "0.780161", "0.77894014", "0.77735615", "0.77637106", "0.773748", "0.7703832", "0.7703438", "0.76887196", "0.76782274", "0.7601175", "0.75313646", "0.75073403", "0.7499533", "0.7456673", "0.74319375", "0.7417172", "0.739194", "0.73618674", "0.733511...
0.8215402
0
Update the ball's position.
def QdZT(YKHO): YKHO.rect.x = YKHO.radius * epAf.sin(YKHO.angle) + YKHO.center_x YKHO.rect.y = YKHO.radius * epAf.cos(YKHO.angle) + YKHO.center_y YKHO.angle += YKHO.speed
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QdZT(YKHO):\n YKHO.x += YKHO.settings.ball_speed\n YKHO.rect.x = YKHO.x", "def QdZT(YKHO):\n YKHO.position_y += YKHO.change_y\n YKHO.position_x += YKHO.change_x\n if YKHO.position_x < YKHO.radius:\n YKHO.change_x *= -1\n if YKHO.position_x > zMH2 - YKHO.radius:\n YKHO.change_x...
[ "0.8577568", "0.8261971", "0.81961834", "0.8094402", "0.79592514", "0.7703584", "0.7646815", "0.75987476", "0.75404656", "0.74903417", "0.74903417", "0.74903417", "0.7443688", "0.7410895", "0.7397372", "0.7393143", "0.7373917", "0.7360255", "0.73384875", "0.7330418", "0.73083...
0.71574473
26
Update the ball's position.
def QdZT(YKHO): YKHO.rect.x = YKHO.radius * epAf.sin(YKHO.angle) + YKHO.center_x YKHO.rect.y = YKHO.radius * epAf.cos(YKHO.angle) + YKHO.center_y YKHO.angle += YKHO.speed
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def QdZT(YKHO):\n YKHO.x += YKHO.settings.ball_speed\n YKHO.rect.x = YKHO.x", "def QdZT(YKHO):\n YKHO.position_y += YKHO.change_y\n YKHO.position_x += YKHO.change_x\n if YKHO.position_x < YKHO.radius:\n YKHO.change_x *= -1\n if YKHO.position_x > zMH2 - YKHO.radius:\n YKHO.change_x...
[ "0.85772926", "0.8261766", "0.81961095", "0.80937743", "0.7958348", "0.7703567", "0.7647599", "0.75997263", "0.75403106", "0.7488282", "0.7488282", "0.7488282", "0.74450976", "0.7409987", "0.739741", "0.7392648", "0.7373336", "0.7357842", "0.7336702", "0.7330557", "0.7308017"...
0.7156206
25
Update the player's position.
def QdZT(YKHO): oeNL = a9eO.mouse.get_pos() YKHO.rect.x = oeNL[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VDGG(YKHO):\n YKHO.x, YKHO.y = (YKHO.rect.x, YKHO.rect.y)\n YKHO.handle_movement()", "def chpw(YKHO):\n YKHO.player.move()", "def F9YE(YKHO):\n if YKHO.state == EXca:\n YKHO._pos = YKHO.pos\n return\n u6Z5 = YKHO.pos + YKHO._vel\n WKvO = u6Z5.x % YKHO.world.size[0]\n LVAh...
[ "0.8188181", "0.8112077", "0.76680434", "0.7638898", "0.75743175", "0.74298364", "0.7428014", "0.7380078", "0.7370792", "0.7328139", "0.7315049", "0.7266427", "0.7260293", "0.7226616", "0.7217817", "0.71653205", "0.71566355", "0.71133935", "0.70982397", "0.7094196", "0.707435...
0.6984749
27
Converting sizes to corresponding indices.
def gW_U(maxY): _0VL = [] jzdc = 0 Fg_i = 0 for YRbF, zNig in enumerate(maxY): Fg_i += zNig _0VL.append(range(jzdc, Fg_i)) jzdc += zNig return _0VL
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _0VL(*maxY):\n return Hs6x.product(*[range(bGrB) for bGrB in maxY])", "def uHqD(YKHO, zNig: int):\n return (zNig - YKHO.y - 1) * zNig + YKHO.x", "def n2hF(YKHO, yc4o):\n QYGF = oyIN.cumsum([0] + yc4o)\n IUFG = list(Lx3t(*[range(yKcO, JCyR) for yKcO, JCyR in zip(QYGF, QYGF[1:])]))\n return li...
[ "0.7212118", "0.70705134", "0.6951463", "0.67989045", "0.65868634", "0.6557181", "0.6403899", "0.63716906", "0.6285546", "0.6276458", "0.6158655", "0.61306036", "0.61289054", "0.6096735", "0.6086147", "0.60743284", "0.60733", "0.60733", "0.6044622", "0.6026229", "0.5998794", ...
0.81232566
0
Returns a list of all the categories or None if buildSubscriptionList has not been called, to get the Feeds
def zG33(YKHO): return YKHO.categories
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def EQzR():\n return u1u5.db_feeds_categories()", "def LQuW(YKHO):\n pass", "def NMoC(YKHO):\n return LeZt", "def LQuW(YKHO):\n return YKHO.categories", "def LeZt(YKHO):\n return None", "def zG33(YKHO):\n return YKHO.categoryList", "def LQuW(YKHO):\n return YKHO.categories.all()", ...
[ "0.73249096", "0.6437073", "0.62475556", "0.62135774", "0.62011135", "0.6146798", "0.61461335", "0.61461335", "0.6108522", "0.6098579", "0.6095535", "0.60722876", "0.6031906", "0.603081", "0.60167694", "0.59665346", "0.5965704", "0.5962883", "0.59539974", "0.5952847", "0.5942...
0.59267
22