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
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
def nAIv(YKHO) -> h8nf[qe4Y.Input['AutoprovisioningNodePoolDefaultsArgs']]: return qe4Y.get(YKHO, 'autoprovisioning_node_pool_defaults')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L5fN(YKHO) -> h8nf[qe4Y.Input['NodeConfigDefaultsArgs']]:\n return qe4Y.get(YKHO, 'node_config_defaults')", "def FIMM(Ro_8, *, L5fN: Optional[pulumi.Input['NodeConfigDefaultsArgs']]=None):\n if L5fN is not None:\n qe4Y.set(Ro_8, 'node_config_defaults', L5fN)", "def FIMM(Ro_8, *, I23G: Optional...
[ "0.6978928", "0.5996873", "0.58604527", "0.5760055", "0.5733892", "0.56809855", "0.5672053", "0.5611068", "0.5603442", "0.5583039", "0.5562379", "0.5509688", "0.54714257", "0.54708904", "0.54292977", "0.5423023", "0.5422067", "0.54193115", "0.54193115", "0.5392284", "0.539061...
0.8698095
0
Type of the integration.
def type(YKHO) -> h8nf[qe4Y.Input['ClusterTelemetryType']]: return qe4Y.get(YKHO, 'type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FHnN(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'integration_type')", "def FHnN(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'integration_type')", "def FHnN(YKHO) -> qe4Y.Input[str]:\n return qe4Y.get(YKHO, 'integration_type')", "def FHnN(YKHO) -> qe4Y.Input[str]:\n return qe4Y.ge...
[ "0.820422", "0.820422", "0.820422", "0.820422", "0.820422", "0.820422", "0.820422", "0.7156329", "0.7156329", "0.7156329", "0.70545596", "0.69629854", "0.69293", "0.69293", "0.69293", "0.69293", "0.69293", "0.69293", "0.69293", "0.69293", "0.69293", "0.69293", "0.69293", ...
0.0
-1
cluster_dns_domain is the suffix used for all cluster service records.
def rEkP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'cluster_dns_domain')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vh20(YKHO) -> h8nf[qe4Y.Input['DNSConfigClusterDns']]:\n return qe4Y.get(YKHO, 'cluster_dns')", "def kZPS(YKHO):\n EYS4 = YKHO.get_default_basedn()\n return EYS4.canonical_str().split('/')[0]", "def Sa4N(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'service_dns_name')", "def sA3L(...
[ "0.7295676", "0.625287", "0.62052584", "0.61904615", "0.61464804", "0.60983056", "0.5964761", "0.59194505", "0.5895485", "0.5850565", "0.583463", "0.583463", "0.58300406", "0.57045186", "0.57045186", "0.5674422", "0.5674422", "0.5674422", "0.5646531", "0.564578", "0.56078637"...
0.78019845
0
cluster_dns_scope indicates the scope of access to cluster DNS records.
def sA3L(YKHO) -> h8nf[qe4Y.Input['DNSConfigClusterDnsScope']]: return qe4Y.get(YKHO, 'cluster_dns_scope')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vh20(YKHO) -> h8nf[qe4Y.Input['DNSConfigClusterDns']]:\n return qe4Y.get(YKHO, 'cluster_dns')", "def mcCw(YKHO) -> qe4Y.Input[bool]:\n return qe4Y.get(YKHO, 'include_cluster_scope_resources')", "def rEkP(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'cluster_dns_domain')", "def mcCw(YK...
[ "0.68668354", "0.61741817", "0.6145002", "0.60903955", "0.604395", "0.51137537", "0.48803207", "0.4832394", "0.47417116", "0.47415844", "0.46907976", "0.46617272", "0.46266314", "0.46149784", "0.45979777", "0.45791462", "0.45702174", "0.4556661", "0.4556661", "0.4531862", "0....
0.8186223
0
Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/myproject/locations/global/keyRings/myring/cryptoKeys/mykey
def zAat(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'key_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YY4K(YKHO) -> str:\n return qe4Y.get(YKHO, 'kms_key_name')", "def YY4K(YKHO) -> str:\n return qe4Y.get(YKHO, 'kms_key_name')", "def YY4K(YKHO) -> str:\n return qe4Y.get(YKHO, 'kms_key_name')", "def zAat(YKHO) -> str:\n return qe4Y.get(YKHO, 'key_name')", "def YY4K(YKHO) -> qe4Y.Output[str]:...
[ "0.6932036", "0.6932036", "0.6932036", "0.6581766", "0.6576441", "0.6507922", "0.6490888", "0.64759994", "0.64527553", "0.64527553", "0.6402277", "0.63319826", "0.62615174", "0.62352186", "0.622014", "0.62171024", "0.620342", "0.6186444", "0.61841846", "0.61773026", "0.616961...
0.0
-1
DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.
def FIMM(Ro_8, *, lbi2: Optional[pulumi.Input[bool]]=None): if lbi2 is not None: qe4Y.set(Ro_8, 'disabled', lbi2)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zttc(YKHO) -> h8nf[qe4Y.Input['DefaultSnatStatusArgs']]:\n return qe4Y.get(YKHO, 'default_snat_status')", "def ntSH(YKHO):\n raise NotImplementedError", "def Q08J(YKHO):\n return YKHO.bot_data_file['bot_status']['defaultStatus']", "def ntSH(YKHO, BWXx=None):\n raise NotImplementedError", "d...
[ "0.7937503", "0.6139908", "0.6020143", "0.5659079", "0.5649025", "0.5597702", "0.55534506", "0.5534256", "0.5468412", "0.5392804", "0.5317269", "0.5256101", "0.5233359", "0.5165919", "0.5137525", "0.51078", "0.51078", "0.51078", "0.51078", "0.51078", "0.51025236", "0.506572...
0.0
-1
Whether NodeLocal DNSCache is enabled for this cluster.
def etR_(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'enabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dGEg():\n return eVVj.show_active() in FeuJ or eVVj.show_active() in LYG0", "def WY3t(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'local')", "def WY3t(YKHO):\n return YKHO.hostname == 'localhost' and YKHO.user is None and (YKHO.ssh_args is None)", "def L8ri(YKHO) -> bool:\n xDcj...
[ "0.63919705", "0.6305704", "0.6203176", "0.6137653", "0.6136169", "0.6033478", "0.59937406", "0.59478545", "0.59440804", "0.5943962", "0.59403205", "0.5940139", "0.5940139", "0.589199", "0.58551335", "0.5765214", "0.57427824", "0.56952626", "0.56844896", "0.568168", "0.567379...
0.0
-1
The type of GPU sharing strategy to enable on the GPU node.
def t5BU(YKHO) -> h8nf[qe4Y.Input['GPUSharingConfigGpuSharingStrategy']]: return qe4Y.get(YKHO, 'gpu_sharing_strategy')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YM1A(YKHO) -> h8nf[qe4Y.Input['GPUSharingConfigArgs']]:\n return qe4Y.get(YKHO, 'gpu_sharing_config')", "def FIMM(Ro_8, *, t5BU: Optional[pulumi.Input['GPUSharingConfigGpuSharingStrategy']]=None, xmaO: Optional[pulumi.Input[str]]=None):\n if t5BU is not None:\n qe4Y.set(Ro_8, 'gpu_sharing_strate...
[ "0.6999585", "0.638387", "0.60468626", "0.5714503", "0.5630761", "0.5605401", "0.5499358", "0.549488", "0.5492516", "0.5491615", "0.53924274", "0.5367299", "0.5322339", "0.5223662", "0.5223662", "0.5223662", "0.5215853", "0.5215853", "0.5215853", "0.51996523", "0.5180973", ...
0.83235633
0
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
def FIMM(Ro_8, *, YwkQ: Optional[pulumi.Input['GatewayAPIConfigChannel']]=None): if YwkQ is not None: qe4Y.set(Ro_8, 'channel', YwkQ)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C9Hl(YKHO) -> h8nf[qe4Y.Input['GatewayAPIConfigArgs']]:\n return qe4Y.get(YKHO, 'gateway_api_config')", "def P3xJ(YKHO) -> 'outputs.GatewayConfigResponse':\n return qe4Y.get(YKHO, 'gateway_config')", "def l33l(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'customer_gateway_configuration')", ...
[ "0.81261253", "0.7781281", "0.6295483", "0.6138583", "0.5956339", "0.5954815", "0.5751265", "0.56417614", "0.5631036", "0.55987793", "0.5577658", "0.5458994", "0.54358375", "0.5433069", "0.54186434", "0.5413947", "0.5400312", "0.53799933", "0.53232485", "0.5305247", "0.528442...
0.0
-1
A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.
def IPt1(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'subnetwork_name')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VVrt(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'create_subnetwork')", "def NohF(YKHO) -> uLKX[str, None]:\n Bwdd = YKHO.get_addon_consts()\n rg1H = Bwdd.get('CONST_VIRTUAL_NODE_ADDON_NAME')\n dt2O = Bwdd.get('CONST_VIRTUAL_NODE_SUBNET_NAME')\n k4ZA = YKHO.raw_param.get('aci_subn...
[ "0.6260969", "0.6124655", "0.6038582", "0.5982194", "0.5891447", "0.5881921", "0.5828037", "0.5732791", "0.570145", "0.5689192", "0.5689192", "0.5622383", "0.5620678", "0.560584", "0.560584", "0.5547489", "0.5517213", "0.54902077", "0.5339464", "0.5326262", "0.5301336", "0....
0.79209423
0
Whether Istio is enabled for this cluster.
def lbi2(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'disabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UqVR(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'cluster_enabled')", "def UqVR(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'cluster_enabled')", "def F5eS(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'sso_enabled')", "def etR_(YKHO) -> bool:\n return qe4Y.get(...
[ "0.67608637", "0.6659078", "0.65709406", "0.6424367", "0.6424367", "0.6424367", "0.6424367", "0.6424367", "0.6424367", "0.62932706", "0.62932706", "0.62932706", "0.62932706", "0.62932706", "0.62932706", "0.62932706", "0.62932706", "0.62438023", "0.6226395", "0.6198195", "0.60...
0.0
-1
Whether the Kubernetes Dashboard is enabled for this cluster.
def lbi2(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'disabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UqVR(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'cluster_enabled')", "def UqVR(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'cluster_enabled')", "def zE_z(YKHO) -> bool:\n return qe4Y.get(YKHO, 'enable_kubernetes_alpha')", "def etR_(YKHO) -> bool:\n return qe4Y.get(YKHO, ...
[ "0.73914987", "0.7033705", "0.70277447", "0.67877203", "0.67877203", "0.67877203", "0.67877203", "0.67877203", "0.67877203", "0.6573913", "0.6570854", "0.65403694", "0.65403694", "0.65403694", "0.65403694", "0.65403694", "0.65403694", "0.65403694", "0.65403694", "0.6538891", ...
0.0
-1
Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
def etR_(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'enabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YIJZ(YKHO) -> bool:\n return qe4Y.get(YKHO, 'enable_rbac')", "def YIJZ(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'enable_rbac')", "def x6Xr(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'fine_grained_authorization_enabled')", "def REcs(YKHO) -> h8nf[qe4Y.Input[bool]]:\n...
[ "0.70664895", "0.6860153", "0.67973214", "0.66915077", "0.66915077", "0.65277165", "0.6470877", "0.6463241", "0.63910085", "0.63910085", "0.6218458", "0.6198574", "0.6194914", "0.61882865", "0.61882865", "0.6181241", "0.6134774", "0.61231315", "0.61144155", "0.61085075", "0.6...
0.0
-1
The desired datapath provider for this cluster. By default, uses the IPTablesbased kubeproxy implementation.
def ozwA(YKHO) -> h8nf[qe4Y.Input['NetworkConfigDatapathProvider']]: return qe4Y.get(YKHO, 'datapath_provider')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kT1P(YKHO) -> h8nf[qe4Y.Input['NetworkPolicyProvider']]:\n return qe4Y.get(YKHO, 'provider')", "def Gdkv(pmON, XrKx):\n return NnJS(pmON, **XrKx)", "def RPUd():\n return GPtr.is_provider_configured(qqwM, Cnqw() or aPz6, ('username', 'password', 'datacenter_id'))", "def MFBN():\n kT1P = None\n...
[ "0.54103315", "0.5221272", "0.51500076", "0.51230955", "0.51168764", "0.50879043", "0.50691324", "0.5004161", "0.5004161", "0.5002644", "0.49752817", "0.49433085", "0.49302122", "0.49262226", "0.48969758", "0.48957744", "0.48865584", "0.48831013", "0.48748106", "0.48683456", ...
0.7482096
0
Whether the cluster disables default innode sNAT rules. Innode sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
def zttc(YKHO) -> h8nf[qe4Y.Input['DefaultSnatStatusArgs']]: return qe4Y.get(YKHO, 'default_snat_status')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ik_V(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'disable_outbound_nat')", "def mBiU(YKHO) -> bool:\n return qe4Y.get(YKHO, 'enable_snat')", "def rfGF(YKHO):\n return bool(gTEQ('PrlVirtNet_IsNATServerEnabled', YKHO.handle))", "def FIMM(Ro_8, *, ik_V: Optional[pulumi.Input[bool]]=Non...
[ "0.62285113", "0.5977062", "0.5686566", "0.5519526", "0.541283", "0.5300859", "0.52133054", "0.51941633", "0.51747686", "0.51368445", "0.51206094", "0.51206094", "0.5099738", "0.5077079", "0.50509566", "0.50274336", "0.50193423", "0.49629778", "0.49535996", "0.4918284", "0.48...
0.5033793
15
Whether Intranode visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
def VOBR(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'enable_intra_node_visibility')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def J01T(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'public_network_access_enabled')", "def J01T(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'public_network_access_enabled')", "def J01T(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'public_network_access_enabled')", ...
[ "0.6564068", "0.6482874", "0.6482874", "0.6447415", "0.64361393", "0.64361393", "0.64361393", "0.64361393", "0.64361393", "0.64361393", "0.63285637", "0.6265052", "0.6265052", "0.6146247", "0.5980453", "0.5931495", "0.58822626", "0.5860827", "0.57838607", "0.57838607", "0.572...
0.6743872
0
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
def C9Hl(YKHO) -> h8nf[qe4Y.Input['GatewayAPIConfigArgs']]: return qe4Y.get(YKHO, 'gateway_api_config')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def P3xJ(YKHO) -> 'outputs.GatewayConfigResponse':\n return qe4Y.get(YKHO, 'gateway_config')", "def l33l(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'customer_gateway_configuration')", "def l33l(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'customer_gateway_configuration')", "def Z...
[ "0.77795833", "0.6293454", "0.6136225", "0.5955239", "0.5954035", "0.5751422", "0.5641369", "0.56298286", "0.55986744", "0.55757254", "0.5459863", "0.54363066", "0.54303056", "0.5418938", "0.54141563", "0.5400779", "0.5380245", "0.53241175", "0.5305148", "0.5284446", "0.52706...
0.8124538
0
Whether NetworkPolicy is enabled for this cluster.
def lbi2(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'disabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yex3(YKHO) -> bool:\n raise NotImplementedError()", "def J01T(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'public_network_access_enabled')", "def J01T(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'public_network_access_enabled')", "def J01T(YKHO) -> qe4Y.Output[h8nf[bool]]:\...
[ "0.7266432", "0.69333047", "0.6893729", "0.6893729", "0.68932956", "0.6761255", "0.6761255", "0.6761255", "0.6761255", "0.6761255", "0.6761255", "0.6759527", "0.65796417", "0.6569208", "0.65581715", "0.6517087", "0.65022135", "0.6378716", "0.6376428", "0.63485444", "0.6348544...
0.0
-1
Whether network policy is enabled on the cluster.
def etR_(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'enabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Yex3(YKHO) -> bool:\n raise NotImplementedError()", "def J01T(YKHO) -> qe4Y.Output[bool]:\n return qe4Y.get(YKHO, 'public_network_access_enabled')", "def J01T(YKHO) -> qe4Y.Output[h8nf[bool]]:\n return qe4Y.get(YKHO, 'public_network_access_enabled')", "def J01T(YKHO) -> qe4Y.Output[h8nf[bool]]:\...
[ "0.7554819", "0.71290195", "0.70475495", "0.70475495", "0.6935605", "0.6935605", "0.6935605", "0.6935605", "0.6935605", "0.6935605", "0.68741465", "0.6719715", "0.6702971", "0.66139084", "0.6601564", "0.6563634", "0.6458812", "0.6445642", "0.64239156", "0.6392966", "0.6376011...
0.0
-1
The selected network policy provider.
def kT1P(YKHO) -> h8nf[qe4Y.Input['NetworkPolicyProvider']]: return qe4Y.get(YKHO, 'provider')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oV_0(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'NetworkPolicy']]]:\n return qe4Y.get(YKHO, 'network_policy')", "def oV_0(YKHO) -> 'outputs.NetworkPolicyResponse':\n return qe4Y.get(YKHO, 'network_policy')", "def LWdt(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'network_access_policy')", "def WV7n(YKHO)...
[ "0.7337268", "0.6917178", "0.6874204", "0.6590294", "0.6575362", "0.6445077", "0.6445077", "0.6373922", "0.6356771", "0.62200534", "0.6214015", "0.6198692", "0.61460936", "0.61300784", "0.6080133", "0.6034522", "0.6034522", "0.6034522", "0.5976777", "0.5931664", "0.5920637", ...
0.83899355
0
Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetesengine/docs/reference/rest/v1/NodeConfig)).
def FIMM(Ro_8, *, dJ1p: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): if dJ1p is not None: qe4Y.set(Ro_8, 'tags', dJ1p)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def k_7b(YKHO) -> h8nf[qe4Y.Input['NetworkTagsArgs']]:\n return qe4Y.get(YKHO, 'network_tags')", "def pd7n(YKHO):\n return _1kr(YKHO.scala_features.getNodeTags())", "def dJ1p(YKHO) -> GySg[str, ImMB]:\n return qe4Y.get(YKHO, 'tags')", "def dJ1p(YKHO) -> GySg[str, ImMB]:\n return qe4Y.get(YKHO, 't...
[ "0.7755168", "0.67744327", "0.6527533", "0.6527533", "0.64996475", "0.64996475", "0.64996475", "0.64996475", "0.6439683", "0.6412134", "0.63743937", "0.63743937", "0.63743937", "0.63743937", "0.63743937", "0.63743937", "0.63743937", "0.63743937", "0.63691795", "0.63524586", "...
0.0
-1
Subset of NodeConfig message that has defaults.
def FIMM(Ro_8, *, CD69: Optional[pulumi.Input['GcfsConfigArgs']]=None, It6F: Optional[pulumi.Input['NodePoolLoggingConfigArgs']]=None): if CD69 is not None: qe4Y.set(Ro_8, 'gcfs_config', CD69) if It6F is not None: qe4Y.set(Ro_8, 'logging_config', It6F)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def L5fN(YKHO) -> h8nf[qe4Y.Input['NodeConfigDefaultsArgs']]:\n return qe4Y.get(YKHO, 'node_config_defaults')", "def muwo(YKHO):\n return YKHO.conf.get('defaults', [])", "def OYW4(YKHO):\n return {}", "def muwo(YKHO):\n return YKHO._config_parser.defaults()", "def FZPn(Emd4):\n return {'redi...
[ "0.7073126", "0.64167774", "0.6226875", "0.6195168", "0.61647373", "0.606503", "0.60111064", "0.5998546", "0.5993809", "0.5940828", "0.59369713", "0.5914106", "0.5913878", "0.59038645", "0.58400184", "0.58025664", "0.5765187", "0.5757522", "0.5752747", "0.5752747", "0.5713869...
0.0
-1
Whether the nodes will be automatically repaired.
def bpL7(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'auto_repair')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FahT(YKHO):\n return YKHO.wired.IsUp()", "def z2Wi(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'auto_renew')", "def z2Wi(YKHO) -> h8nf[bool]:\n return qe4Y.get(YKHO, 'auto_renew')", "def Lmqg(YKHO):\n return False", "def HDrP():\n if ZylS.distribute.has_strategy() and ZylS.distribute.ge...
[ "0.6156946", "0.6108313", "0.6108313", "0.6089827", "0.6023065", "0.59465474", "0.59455496", "0.5914087", "0.58855116", "0.5882146", "0.5878512", "0.5878512", "0.58326775", "0.5818308", "0.5795808", "0.5794373", "0.57785326", "0.5762452", "0.5740944", "0.567282", "0.5671106",...
0.5586002
32
Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
def _Iwz(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'enable_private_nodes')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Ketl(YKHO) -> bool:\n return YKHO._get_enable_private_cluster(enable_validation=True)", "def Jhfq():\n return GPtr.NODE_IP == GPtr.NETWORK_NODE_IP", "def J67g(YKHO):\n fi4g = YKHO.newdb.getFrontendName()\n eVVj = YKHO.newdb.getHostAttr(fi4g, 'Kickstart_PrivateNetwork')\n XYGv = YKHO.newdb.ge...
[ "0.67511094", "0.6661181", "0.6615243", "0.6589222", "0.65633595", "0.6463869", "0.6463869", "0.6462801", "0.6456042", "0.6456042", "0.6456042", "0.6456042", "0.6456042", "0.6456042", "0.6442103", "0.6331621", "0.6217448", "0.61817676", "0.6134497", "0.6058345", "0.60217553",...
0.786271
0
Is autoscaling enabled for this node pool.
def etR_(YKHO) -> h8nf[qe4Y.Input[bool]]: return qe4Y.get(YKHO, 'enabled')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cPVU(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'auto_scaling_enabled')", "def AwDs(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'enable_auto_scaling')", "def YDHZ(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'autoscale_is_enabled')", "def YDHZ(YKHO) -> h8nf...
[ "0.8075636", "0.78961545", "0.7873195", "0.7873195", "0.7873195", "0.7873195", "0.7873195", "0.7338757", "0.7095655", "0.7012285", "0.68350685", "0.65714663", "0.65284944", "0.6241209", "0.6200853", "0.6083066", "0.59770083", "0.5834976", "0.5825914", "0.58231443", "0.5730417...
0.0
-1
Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
def rimA(YKHO) -> h8nf[qe4Y.Input[int]]: return qe4Y.get(YKHO, 'min_node_count')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rimA(YKHO) -> int:\n return qe4Y.get(YKHO, 'min_node_count')", "def tFq9(YKHO) -> qe4Y.Input[int]:\n return qe4Y.get(YKHO, 'min_nodes')", "def Mrtj(YKHO) -> qe4Y.Input[int]:\n return qe4Y.get(YKHO, 'max_nodes')", "def n211(YKHO) -> int:\n return qe4Y.get(YKHO, 'max_node_count')", "def n211(...
[ "0.77004045", "0.72532815", "0.6987585", "0.69551116", "0.68049365", "0.6797192", "0.6791436", "0.6584672", "0.658003", "0.6536699", "0.6536139", "0.65107656", "0.64876086", "0.64418083", "0.6426835", "0.6423882", "0.63656336", "0.63364476", "0.6299788", "0.6280075", "0.62227...
0.73566484
1
Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total__node_count fields are mutually exclusive with the _node_count fields.
def X6z1(YKHO) -> h8nf[qe4Y.Input[int]]: return qe4Y.get(YKHO, 'total_min_node_count')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rimA(YKHO) -> int:\n return qe4Y.get(YKHO, 'min_node_count')", "def rimA(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'min_node_count')", "def tFq9(YKHO) -> qe4Y.Input[int]:\n return qe4Y.get(YKHO, 'min_nodes')", "def jFlK(YKHO) -> h8nf[int]:\n if YKHO.has_data_flow:\n retur...
[ "0.82588077", "0.7790541", "0.7729704", "0.70056033", "0.683275", "0.6782293", "0.6772673", "0.6675165", "0.666484", "0.66255903", "0.6602754", "0.65933985", "0.65109295", "0.6489438", "0.64606667", "0.6454202", "0.6448497", "0.64022034", "0.63857496", "0.637753", "0.63641375...
0.76679355
3
Subset of NodeConfig message that has defaults.
def L5fN(YKHO) -> h8nf[qe4Y.Input['NodeConfigDefaultsArgs']]: return qe4Y.get(YKHO, 'node_config_defaults')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def muwo(YKHO):\n return YKHO.conf.get('defaults', [])", "def OYW4(YKHO):\n return {}", "def muwo(YKHO):\n return YKHO._config_parser.defaults()", "def FZPn(Emd4):\n return {'redirect_path': None, 'nif_page_structure': None, 'nif_text_links': None}", "def UiCc():\n return {RC5h: 'reply -> se...
[ "0.64167774", "0.6226875", "0.6195168", "0.61647373", "0.606503", "0.60111064", "0.5998546", "0.5993809", "0.5940828", "0.59369713", "0.5914106", "0.5913878", "0.59038645", "0.58400184", "0.58025664", "0.5765187", "0.5757522", "0.5752747", "0.5752747", "0.5713869", "0.5707221...
0.7073126
0
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
def X3jG(YKHO) -> h8nf[qe4Y.Input['NodePoolAutoscalingArgs']]: return qe4Y.get(YKHO, 'autoscaling')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Gquj(YKHO, Gquj):\n YKHO.container['auto_scaling'] = Gquj", "def cPVU(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'auto_scaling_enabled')", "def Gquj(YKHO):\n return YKHO.container['auto_scaling']", "def AwDs(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'enable_auto_s...
[ "0.62509847", "0.6054111", "0.59955", "0.5949852", "0.59390616", "0.5787928", "0.57219857", "0.57028383", "0.56694376", "0.56694376", "0.5578466", "0.55406183", "0.55182606", "0.5411335", "0.5387907", "0.53743875", "0.5372177", "0.5372177", "0.5372177", "0.5372177", "0.537217...
0.7146177
0
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.
def eqIJ(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'master_ipv4_cidr_block')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BUlE(YKHO):\n return YKHO._ip_range", "def ayDk():\n c0Li = set()\n kNiI = vJxz()\n assert kNiI[1] == Sa_m.conf.iface, 'incorrect sc.conf.iface'\n xWX8 = ''\n if HwRy.platform.startswith('win'):\n rF5k = Sa_m.conf.iface\n xWX8 = rF5k.guid\n else:\n xWX8 = Sa_m.conf.i...
[ "0.65949136", "0.6376697", "0.6362579", "0.6070472", "0.59038234", "0.59038234", "0.5867433", "0.5852379", "0.5790832", "0.57791513", "0.5760561", "0.5759931", "0.56949407", "0.56928706", "0.56928706", "0.56820977", "0.56820977", "0.56688267", "0.56684494", "0.56684494", "0.5...
0.590392
4
The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.
def rlUa(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'topic')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def T3RU(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'pubsub_topic')", "def T3RU(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'pubsub_topic')", "def rlUa(YKHO):\n return YKHO.config.get('topic', f'{glCj}/{YKHO.id}')", "def roGG(YKHO) -> str:\n return Hy7s.getenv('MQTT_DRIVEN_TOP...
[ "0.7441339", "0.7326441", "0.70667523", "0.702062", "0.68864673", "0.6836166", "0.68026054", "0.67033464", "0.662719", "0.659421", "0.65444887", "0.6524573", "0.6471048", "0.64360195", "0.6408398", "0.6354188", "0.63113815", "0.62181896", "0.62092686", "0.6190859", "0.6188981...
0.66700894
8
Corresponds to the type of reservation consumption.
def Zmq2(YKHO) -> h8nf[qe4Y.Input['ReservationAffinityConsumeReservationType']]: return qe4Y.get(YKHO, 'consume_reservation_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def StGp(YKHO):\n return YKHO._reservation", "def StGp(YKHO):\n return YKHO.request.get('reservation', None)", "def Qjbs(YKHO):\n return 'qos'", "def RlfB(YKHO):\n return YKHO._customer_usage_type", "def type(YKHO, type):\n BbPm = ['CREATE', 'CLOSE', 'REOPEN', 'CLIENT_CONFIGURE', 'CLIENT_CON...
[ "0.6162628", "0.5942025", "0.5848099", "0.5794979", "0.5665111", "0.5359222", "0.52776504", "0.52776504", "0.5266713", "0.5255489", "0.5253087", "0.5238333", "0.5206946", "0.52025956", "0.5183962", "0.51074207", "0.50789523", "0.50531906", "0.5045854", "0.5041065", "0.5037935...
0.714684
0
Corresponds to the label value(s) of reservation resource(s).
def hkxX(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]: return qe4Y.get(YKHO, 'values')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uUPx(YKHO):\n geh0 = [{'key': 'instance_id', 'value': '9113659852587170607'}, {'key': 'project_id', 'value': 'YOUR_PROJECT_ID'}, {'key': 'zone', 'value': 'us-east4-a'}]\n return geh0", "def eXuA(YKHO) -> GySg[str, str]:\n return qe4Y.get(YKHO, 'resource_labels')", "def Te1x():\n return {'contra...
[ "0.6520827", "0.6366956", "0.6178292", "0.6085227", "0.6031972", "0.5922366", "0.5887062", "0.5836875", "0.5836875", "0.5836875", "0.5836875", "0.5836875", "0.5836875", "0.5836875", "0.5836875", "0.5794713", "0.5767923", "0.56738096", "0.56718594", "0.5662039", "0.5648175", ...
0.0
-1
Minimum amount of the resource in the cluster.
def vELP(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'minimum')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def rimA(YKHO) -> int:\n return qe4Y.get(YKHO, 'min_node_count')", "def HsxI(YKHO):\n return YKHO._minimum_health_capacity", "def l7yi(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'min_capacity')", "def l7yi(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'min_capacity')", "d...
[ "0.7522344", "0.7493416", "0.7300508", "0.7300508", "0.7300508", "0.7246081", "0.72237337", "0.7178109", "0.717121", "0.7146322", "0.7112322", "0.7054269", "0.7008436", "0.6950583", "0.6929269", "0.6849827", "0.6824205", "0.6814833", "0.6805849", "0.67539763", "0.6743222", ...
0.61986476
100
Resource name "cpu", "memory" or gpuspecific string.
def Qjbs(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'resource_type')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def l1vv():\n eJTR = uwaB['config_cpu_type']['value']\n if eJTR == 'VEXRISCV':\n return '\\ncpu: CPU.VexRiscv @ sysbus\\n'\n elif eJTR == 'PICORV32':\n return '\\ncpu: CPU.PicoRV32 @ sysbus\\n cpuType: \"rv32imc\"\\n'\n else:\n raise Exception('Unsupported cpu type: {}'.format(e...
[ "0.6506606", "0.62446934", "0.60802096", "0.58635247", "0.58635247", "0.58635247", "0.5812008", "0.5812008", "0.5812008", "0.5812008", "0.5812008", "0.57231283", "0.5708041", "0.56818324", "0.5658565", "0.5651884", "0.5651884", "0.56289166", "0.56103104", "0.559259", "0.55867...
0.5308715
50
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
def FIMM(Ro_8, *, XBxW: Optional[pulumi.Input['StatusConditionCanonicalCode']]=None, Wxnj: Optional[pulumi.Input['StatusConditionCode']]=None, Ol8d: Optional[pulumi.Input[str]]=None): if XBxW is not None: qe4Y.set(Ro_8, 'canonical_code', XBxW) if Wxnj is not None: qmLP.warn('Machine-friendly rep...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FRJU(hfxf, jGRS='Unknown', rwlZ='', tO9_='', lo9Y='', Q1wy=''):\n XEri = narM.GoogleCloudRunV1Condition()\n XEri.type = hfxf\n XEri.status = jGRS\n XEri.severity = rwlZ\n XEri.message = tO9_\n XEri.reason = lo9Y\n XEri.lastTransitionTime = Q1wy\n return XEri", "def jGRS(YKHO):\n re...
[ "0.60336673", "0.5985326", "0.5916754", "0.588717", "0.5774369", "0.5767816", "0.5684553", "0.5604704", "0.5588102", "0.55840176", "0.55648154", "0.5557574", "0.5528007", "0.55232215", "0.5521568", "0.5505505", "0.55050397", "0.55043894", "0.55011684", "0.5488868", "0.5473027...
0.0
-1
Machinefriendly representation of the condition Deprecated. Use canonical_code instead.
def Wxnj(YKHO) -> h8nf[qe4Y.Input['StatusConditionCode']]: qmLP.warn('Machine-friendly representation of the condition Deprecated. Use canonical_code instead.', DeprecationWarning) qe4Y.log.warn('code is deprecated: Machine-friendly representation of the condition Deprecated. Use canonical_code instead.') r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(Ro_8, *, XBxW: Optional[pulumi.Input['StatusConditionCanonicalCode']]=None, Wxnj: Optional[pulumi.Input['StatusConditionCode']]=None, Ol8d: Optional[pulumi.Input[str]]=None):\n if XBxW is not None:\n qe4Y.set(Ro_8, 'canonical_code', XBxW)\n if Wxnj is not None:\n qmLP.warn('Machine-fri...
[ "0.62545115", "0.62524307", "0.57176673", "0.5665842", "0.5643358", "0.56283134", "0.55023724", "0.54451126", "0.54451126", "0.54451126", "0.54451126", "0.54451126", "0.54451126", "0.5442168", "0.5442168", "0.5420973", "0.5402998", "0.53414404", "0.5337728", "0.53249556", "0....
0.78094393
0
The time that the window ends. The end time should take place after the start time.
def C7pn(YKHO) -> h8nf[qe4Y.Input[str]]: return qe4Y.get(YKHO, 'end_time')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def C7pn(YKHO) -> float:\n ...", "def JmmR(YKHO):\n return YKHO.time_end", "def C7pn(YKHO):\n pass", "def C7pn(YKHO):\n return YKHO._end_time", "def C7pn(YKHO):\n return YKHO._end_time", "def C7pn(YKHO):\n return YKHO._end_time", "def C7pn(YKHO):\n return YKHO._end_time", "def C7...
[ "0.7941849", "0.7646481", "0.7608126", "0.74853957", "0.74853957", "0.74853957", "0.74853957", "0.74853957", "0.74853957", "0.7427816", "0.7358816", "0.7352989", "0.7247971", "0.72371536", "0.7175869", "0.71304977", "0.7080278", "0.7076917", "0.7041326", "0.7012669", "0.70041...
0.63068503
63
VerticalPodAutoscaling contains global, percluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.
def FIMM(Ro_8, *, etR_: Optional[pulumi.Input[bool]]=None): if etR_ is not None: qe4Y.set(Ro_8, 'enabled', etR_)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oX4L(YKHO) -> 'outputs.VerticalPodAutoscalingResponse':\n return qe4Y.get(YKHO, 'vertical_pod_autoscaling')", "def Gquj(YKHO):\n return YKHO.container['auto_scaling']", "def FIMM(Ro_8, *, JN2o: Optional[pulumi.Input['ManagedClusterWorkloadAutoScalerProfileKedaArgs']]=None, dxdA: Optional[pulumi.Input...
[ "0.7540712", "0.58710134", "0.58135444", "0.5670028", "0.56098026", "0.5492663", "0.54112417", "0.533014", "0.5188553", "0.4992742", "0.49906728", "0.49198171", "0.4902832", "0.48349452", "0.4832719", "0.48124385", "0.47231627", "0.47057888", "0.47014657", "0.4699134", "0.460...
0.0
-1
Assemble the default production cost bids.
def RP_o(YKHO, y7d7): YKHO._check_empty_and_sort_cost_pairs(pair_description='production cost pairs', pairs=y7d7) if y7d7[0][0] != YKHO.p_min: raise ValueError(f'The first power output in the bid should be the Pmin {YKHO.p_min}, but {y7d7[0][0]} is provided.') if len(y7d7) < 2: raise ValueEr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wG0n(YKHO):\n W0yv = YKHO.sam_sys_inputs['resource_potential'] / YKHO._RESOURCE_POTENTIAL_MULT * 1000\n VjeQ = YKHO.sam_sys_inputs.pop('capital_cost_per_kw', None)\n if VjeQ is not None:\n rFCz = VjeQ * W0yv\n bo34.debug('Setting the capital_cost to ${:,.2f}'.format(rFCz))\n YKHO....
[ "0.5811237", "0.5535839", "0.5493378", "0.5450576", "0.5359347", "0.5323756", "0.5323632", "0.526767", "0.5243441", "0.5234343", "0.5202831", "0.5197086", "0.51873165", "0.5180124", "0.51746184", "0.51744854", "0.5159871", "0.5118094", "0.51059246", "0.5090434", "0.5043174", ...
0.6376479
0
Set up the membership folder at /membership. This will act as a members folder. Set Member Area Creation On
def ivNM(QpfX): pqez = QpfX.getSite() if 'Members' in pqez.objectIds(): pqez.manage_delObjects(ids=['Members']) if 'membership' not in pqez.objectIds(): Xf84 = pqez['portal_types'] DgAC = pqez[pqez.invokeFactory('Folder', id='membership')] DgAC.setTitle('membership') ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ALA0(QpfX):\n MFNE = OZpC(QpfX, 'portal_url')\n TlDD = OZpC(QpfX, 'portal_membership')\n pqez = MFNE.getPortalObject()\n Mi51 = SxA1(pqez)\n if not Mi51.enable_self_reg:\n Mi51.enable_self_reg = True\n if not Mi51.enable_user_pwd_choice:\n Mi51.enable_user_pwd_choice = True\n ...
[ "0.61209947", "0.60937643", "0.60837805", "0.57825136", "0.5724412", "0.56348443", "0.54951835", "0.5422082", "0.53825474", "0.53743386", "0.53285605", "0.5295674", "0.5293252", "0.52816916", "0.5264413", "0.52382934", "0.52372843", "0.52315086", "0.52312267", "0.51985276", "...
0.6894312
0
Convert class labels from scalars to onehot vectors.
def kPpE(Crrw, TFPw=2): Crrw = oyIN.array(Crrw) OR2u = Crrw.shape[0] whV7 = oyIN.arange(OR2u) * TFPw xZkh = oyIN.zeros((OR2u, TFPw), dtype=oyIN.float32) xZkh.flat[whV7 + Crrw.ravel()] = 1 return xZkh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def KLLm(Crrw, KndY=None):\n return nMvt.utils.to_categorical(Crrw, KndY)", "def KLLm(Crrw, KndY=None):\n PnsN = nMvt.utils.to_categorical(Crrw, KndY)\n return PnsN", "def LQDo(Crrw: torch.Tensor, jTqs: int) -> ht2j.Tensor:\n if len(Crrw.size()) == 1:\n return vuvg.one_hot(Crrw, jTqs).float(...
[ "0.8250402", "0.807683", "0.80523187", "0.7977843", "0.7908335", "0.7900327", "0.7892233", "0.7869711", "0.7849721", "0.7849721", "0.7826951", "0.77677035", "0.7765413", "0.77540547", "0.77540547", "0.77540547", "0.77489346", "0.7742955", "0.7737176", "0.77226317", "0.7712328...
0.7826122
11
Returns the CSV file with the naming nomenclature as 'ProductDate_Time'
def RZtn(ezWE, Lx3t, qaEx): Hy7s.chdir(qaEx) sjXb = ezWE[0].keys() wzkt = qcWV.now() gIsw = Lx3t + wzkt.strftime('%m%d%y_%H%M') + '.csv' try: with open(gIsw, 'w', newline='', encoding='utf-8') as Vf_1: IBqi = m6_J.DictWriter(Vf_1, sjXb) IBqi.writeheader() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XyP_(YKHO):\n if YKHO.input_data.get_value(x8dn.TIME_PERIOD) == 'all':\n YKHO.header.append('Date')\n else:\n YKHO.header.append('sample id')\n ZVgY = []\n for YRbF, tk32 in enumerate(YKHO.cube_list):\n if YKHO.input_data.get_value(x8dn.TIME_PERIOD) == 'all':\n YKHO....
[ "0.6323092", "0.6281912", "0.6188659", "0.59822613", "0.5857768", "0.5786459", "0.57854974", "0.5757041", "0.5657301", "0.56520957", "0.5636868", "0.55871224", "0.55706984", "0.55336624", "0.553065", "0.5500234", "0.54541", "0.54429966", "0.5432142", "0.541665", "0.5409488", ...
0.6739735
0
Get the first nonempty items in a list of strings.
def HT4Q(oEeO, mLGw): YRbF = mLGw RJ3U = [] for ZfUD in oEeO: if ZfUD.strip() == '': continue RJ3U.append(ZfUD.strip()) YRbF -= 1 if YRbF <= 0: break return RJ3U
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cntZ(DumB):\n return next(iter(DumB or []), None)", "def UiMu(KCHu):\n return KCHu[0] if isinstance(KCHu, list) else KCHu", "def DkD9(hkWs):\n return list(filter(None, hkWs))", "def cntZ(vC9B):\n return next(iter(vC9B), None)", "def cntZ(DumB):\n return DumB[0]", "def gWR6(WKvO):\n ...
[ "0.72678226", "0.67707294", "0.67652196", "0.66635954", "0.6636204", "0.6632901", "0.6512021", "0.6353351", "0.6353351", "0.61568373", "0.60235894", "0.59980136", "0.5970744", "0.5958725", "0.5933259", "0.58823574", "0.58787525", "0.5857146", "0.58520406", "0.58349895", "0.57...
0.729319
0
Fetch the currently playing song for Antenne Bayern.
def c9yF(): bD7m = 'http://www.antenne.de/musik/song-suche.html' Aofo = FwWD(bD7m, ['//p[@class="artist"]/a/text()', '//h2[@class="song_title"]/a/text()']) KMOP = Aofo[0] cLy4 = Aofo[1] h5p_ = None leAC = None if KMOP: h5p_ = KMOP[0] if cLy4: leAC = cLy4[0] if h5p_ an...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def JNE6(YKHO):\n try:\n YKHO.banshee = YKHO.bus.get_object('org.bansheeproject.Banshee', '/org/bansheeproject/Banshee/PlayerEngine')\n jGRS = YKHO.banshee.GetCurrentState()\n if jGRS == 'playing':\n Osmq = YKHO.banshee.GetCurrentTrack()\n YKHO.set_artist_song_entry(Os...
[ "0.68734956", "0.64680195", "0.6408068", "0.6323687", "0.6308539", "0.62792975", "0.6220141", "0.6046095", "0.6004114", "0.60015535", "0.59757173", "0.59426033", "0.5937735", "0.59368736", "0.5911503", "0.5898778", "0.5838634", "0.5826527", "0.5762154", "0.57288355", "0.57139...
0.62595147
6
Fetch the currently playing song for Fritz.de radio.
def yO4m(): bD7m = 'http://www.fritz.de/musik/playlists/index.html' TZ9E = SHza(bD7m, '//table[@class="playlist_aktueller_tag"]') if TZ9E: TZ9E = TZ9E[0] else: return None leAC = TZ9E.xpath('.//td[@class="tracktitle"]/text()') h5p_ = TZ9E.xpath('.//td[@class="trackinterpret"]/a/t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ono7(YKHO):\n if YKHO._cur_song is None:\n YKHO.restart()\n return YKHO._cur_song", "def d7cy():\n bD7m = 'http://radio7.de/content/html/shared/playlist/index.html'\n hFiK = SHza(bD7m, '//div[@class=\"win-pls-track-rgt\"]')[0]\n leAC = hFiK.xpath('//h1/text()')[1]\n h5p_ = hFiK.xpath...
[ "0.6562394", "0.6334064", "0.6089743", "0.60274947", "0.5994308", "0.5986443", "0.59818274", "0.5938328", "0.5934662", "0.59129894", "0.590416", "0.5823662", "0.58163756", "0.57598454", "0.5741202", "0.57139546", "0.57138497", "0.5691966", "0.567474", "0.56690717", "0.5644001...
0.6004528
4
Returns True if the claimed identity can be verified. Look in the database to verify the identity, or in case of auth tokens, always consider known identities to be correct.
def VpmI(_E99): return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def XHL9(YKHO):\n CYZx = False\n try:\n CYZx = YKHO.user.identity.status\n except rIt9:\n pass\n return CYZx", "def B_ZL(YKHO, _E99=None):\n if _E99 is None:\n _E99 = YKHO.identity()\n return len(YKHO.inaccuracies[_E99]) == 0", "def qutR(YKHO):\n Dagl = eVGA()\n YKH...
[ "0.7348375", "0.6245775", "0.61648947", "0.6019919", "0.5988833", "0.58842", "0.58821887", "0.588157", "0.58741486", "0.58534205", "0.58532137", "0.58125836", "0.57956105", "0.5747296", "0.57020766", "0.5696635", "0.5678811", "0.5663328", "0.56233156", "0.5561124", "0.5556147...
0.6828669
1
Returns ``True`` if identity has permission for model object.
def X3Ly(_E99, YEnM, Uvf2): return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def m4il(YKHO, QePW, tTee, YEnM):\n return QePW.user == YEnM", "def m4il(YKHO, QePW, tTee, YEnM):\n if QePW.method in w0rQ.SAFE_METHODS:\n return True\n return YEnM.id == QePW.user.id", "def m4il(YKHO, QePW, tTee, YEnM):\n if QePW.method in w0rQ.SAFE_METHODS:\n return True\n return...
[ "0.8151391", "0.81408805", "0.81330055", "0.8127726", "0.8077253", "0.80448496", "0.8027977", "0.793677", "0.79201186", "0.7916054", "0.79069555", "0.78874046", "0.7885892", "0.78838664", "0.78654647", "0.7865023", "0.7803472", "0.77990925", "0.77665573", "0.7756092", "0.7724...
0.0
-1
Load JSON as some object. By default JSON is loaded as itself.
def lc9H(QePW, qQXR): return qQXR
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def lc9H(YKHO):\n YKHO.load_json_str(YKHO.get_json_str())", "def PSj2(YKHO, *qIxc, **B2fa):\n with YKHO.open('rb') as eHNT:\n return qQXR.load(eHNT, *qIxc, **B2fa)", "def lc9H(nMY2):\n return X1VS._load_json(nMY2)", "def WEhu(YKHO, qQXR):\n for H5ew in YKHO.__dict__.keys():\n if H5e...
[ "0.7607119", "0.70865476", "0.7061669", "0.7021345", "0.6995318", "0.6982596", "0.6979617", "0.69532764", "0.6945583", "0.6921491", "0.68822044", "0.68773896", "0.68662566", "0.6865015", "0.6796446", "0.6790517", "0.677726", "0.6758949", "0.6733778", "0.67233264", "0.6715633"...
0.711831
1
Dump an object as JSON. ``obj`` is any Python object, try to interpret it as JSON.
def nN8w(QePW, YEnM): return YEnM
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oD7C(YEnM):\n return qQXR.dumps(YEnM, indent=2, default=kbsN)", "def C86k(YEnM):\n try:\n return YEnM.to_dict()\n except AttributeError:\n return YEnM.__dict__", "def Xxid(Emd4, YEnM):\n return qQXR.dumps(YEnM)", "def PjZe(YEnM):\n return qQXR.dumps(YEnM, indent=4, sort_keys=...
[ "0.76828164", "0.75965375", "0.75252146", "0.74907905", "0.74203354", "0.73713136", "0.73232585", "0.72139806", "0.7191011", "0.7153364", "0.71094674", "0.7109327", "0.7097079", "0.70432997", "0.7032997", "0.6956284", "0.6953725", "0.69406635", "0.6914193", "0.68136984", "0.6...
0.64809984
49
Explicitly returns a string with this object's data
def yLCI(YKHO): return YKHO.__str__()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.get_data())", "def zAg0(YKHO):\n return str(YKHO.__data)", "def zAg0(YKHO) -> str:\n return str(YKHO.data)", "def zAg0(YKHO):\n return str(YKHO.data)", "def zAg0(YKHO):\n return str(YKHO.data)", "def zAg0(YKHO):\n return str(YKHO.data)", "def zAg0(YKH...
[ "0.8379221", "0.8337427", "0.83216596", "0.82313025", "0.82313025", "0.82313025", "0.82313025", "0.82313025", "0.8218816", "0.8218816", "0.82156986", "0.8124723", "0.8035977", "0.78890646", "0.786277", "0.7858178", "0.7858178", "0.7858178", "0.77801687", "0.77131647", "0.7604...
0.7351186
33
Implicitly returns a string with this object's data
def zAg0(YKHO): return YKHO.first_name + ',' + YKHO.last_name
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def zAg0(YKHO):\n return str(YKHO.get_data())", "def zAg0(YKHO):\n return str(YKHO.__data)", "def zAg0(YKHO) -> str:\n return str(YKHO.data)", "def zAg0(YKHO):\n return str(YKHO.data)", "def zAg0(YKHO):\n return str(YKHO.data)", "def zAg0(YKHO):\n return str(YKHO.data)", "def zAg0(YKH...
[ "0.84877676", "0.84202945", "0.8403753", "0.83042115", "0.83042115", "0.83042115", "0.83042115", "0.83042115", "0.82920665", "0.8265946", "0.8265946", "0.8163915", "0.81554", "0.8034625", "0.79968107", "0.79264444", "0.79264444", "0.79264444", "0.7842586", "0.7806085", "0.768...
0.0
-1
Returns two random test dates per month within the given year.
def K5uP(yokr, lO87, _kd2, Qq3L): oyIN.random.seed(yokr) Bmfb = [] for x0eS in range(1, 13): qE0M = GRk0.monthrange(lO87, x0eS)[1] kepv = f'{lO87}-{x0eS}-01' KhBf = f'{lO87}-{x0eS}-{qE0M}' Sm0u = rLdf.date_range(kepv, KhBf).astype(str).ravel() Bmfb.extend(oyIN.random....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Q08p(YKHO):\n eXM9 = [_c1T(2005, 10, 1), _c1T(2006, 2, 1), _c1T(2005, 12, 31), _c1T(2006, 1, 1), _c1T(2005, 7, 31), _c1T(2006, 7, 29)]\n for OHNd in eXM9:\n YKHO._curr_retail_2006_tests(OHNd)\n YKHO._prev_retail_2006_tests(OHNd)\n pass", "def GgZM(lO87):\n mZOz = '%d/%m/%Y'\n yKc...
[ "0.6425", "0.6368168", "0.6344846", "0.61866045", "0.60568804", "0.60235703", "0.5988138", "0.5954891", "0.5949153", "0.5939783", "0.58578753", "0.5822354", "0.58097774", "0.5809117", "0.57929504", "0.57760584", "0.5751829", "0.5730742", "0.57302076", "0.56895727", "0.5669299...
0.72920305
0
Convert date string to a Python date.
def A5Lt(YKHO, mbyn, x8us=GGme): try: return YKHO.adjust_year(qcWV.strptime(mbyn, x8us).date()) except ValueError: return None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def BOAD(vIwR):\n NArs = vIwR.strip().split('-')\n lO87 = int(NArs[0])\n x0eS = int(NArs[1])\n CjKC = int(NArs[2])\n Csk6 = _c1T(lO87, x0eS, CjKC)\n return Csk6", "def FLL4(YKHO, _c1T):\n return SKtv.date_parser(_c1T)", "def BOAD(JvEs):\n return _c1T(int(JvEs[:4]), int(JvEs[5:7]), int(J...
[ "0.8399113", "0.8250649", "0.81035346", "0.789119", "0.78212744", "0.7818843", "0.7759304", "0.7706994", "0.77047336", "0.77017677", "0.7692811", "0.7673213", "0.7643173", "0.7634037", "0.7628965", "0.7601983", "0.75894636", "0.7575628", "0.75698644", "0.7510042", "0.7508729"...
0.0
-1
Return the number of CVSPaths within this node.
def szAg(YKHO): return len(YKHO._entries)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Qiqb(YKHO):\n if YKHO.numpaths > -1:\n return YKHO.numpaths\n if YKHO.jolt == 0:\n return 1\n ckRy = 0\n for _AKB in YKHO.parents:\n ckRy += _AKB.numPaths()\n return ckRy", "def szAg(YKHO):\n return len(YKHO.paths)", "def szAg(YKHO):\n return len(YKHO.paths)", "d...
[ "0.7217805", "0.6484051", "0.6484051", "0.6350378", "0.6272426", "0.6239184", "0.62368536", "0.6219637", "0.6194105", "0.61690235", "0.61459404", "0.61290383", "0.60553133", "0.6044992", "0.6030026", "0.6030026", "0.6030026", "0.6030026", "0.6007277", "0.59809005", "0.5949476...
0.0
-1
Indicate that the root node of this LOD changed to ID at REVNUM. REVNUM is a revision number that must be the same as that of the previous recorded change (in which case the previous change is overwritten) or later (in which the new change is appended). ID can be a node ID, or it can be None to indicate that this LOD c...
def QdZT(YKHO, NOqI, id): if NOqI < YKHO.revnums[-1]: raise KeyError(NOqI) elif NOqI == YKHO.revnums[-1]: TgTN = YKHO.ids[-1] if TgTN is None and id is None: raise o2Bo('ID changed from None -> None for %s, r%d' % (YKHO.lod, NOqI)) elif TgTN is not None and id is not ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cWZK(YKHO, vaxa):\n if YKHO.cursor:\n YKHO.cursor.nodeId = vaxa", "def Q7DL(YKHO):\n try:\n FQcb(Yg1o.TreeliteTreeBuilderSetRootNode(YKHO.tree.handle, gk2W.c_int(YKHO.node_key)))\n except AttributeError:\n raise ICwg('This node has never been inserted into a tree; ' + 'a node mu...
[ "0.5314924", "0.52909905", "0.5260026", "0.5219419", "0.5209893", "0.51940745", "0.51852316", "0.51435435", "0.5081408", "0.5066978", "0.49637446", "0.49560678", "0.4940765", "0.49264124", "0.49045444", "0.48784593", "0.4876027", "0.4873331", "0.48263577", "0.48257935", "0.48...
0.4816355
22
Return the index of the record holding the node with ID.
def kM2h(YKHO, id): return Ce1H.bisect_left(YKHO._max_node_ids, id)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ibd7(YKHO, id):\n for YRbF in range(len(YKHO.vertices)):\n if YKHO.vertices[YRbF].id == id:\n return YRbF\n raise ValueError('Reverse look up of id failed.')", "def dng1(YKHO, Lnes: int) -> (int, int):\n ojAR = None\n for qrzq, Ziit in enumerate(YKHO.nodes):\n oMB_ = Ziit...
[ "0.7146465", "0.7024147", "0.6831022", "0.68062985", "0.6732777", "0.66483134", "0.6576368", "0.6558288", "0.645913", "0.64367205", "0.64337295", "0.64337295", "0.63834023", "0.63751906", "0.6347651", "0.6341769", "0.6335101", "0.6330075", "0.6327257", "0.62765115", "0.626237...
0.7251529
0
Return the directory for the root path of LOD at revision REVNUM. Return an instance of MirrorDirectory if the path exists; otherwise, raise KeyError.
def A1rk(YKHO, uSjc, NOqI): yTMR = YKHO._get_lod_history(uSjc) id = yTMR.get_id(NOqI) return bNn4(YKHO, id, YKHO._node_db[id])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oC5a(YKHO, uSjc):\n yTMR = YKHO._get_lod_history(uSjc)\n id = yTMR.get_current_id()\n try:\n return YKHO._new_nodes[id]\n except KeyError:\n return UH3z(YKHO, id, uSjc, YKHO._node_db[id])", "def SlHH(YKHO, JO9V, uSjc, NOqI):\n Q6kx = YKHO.get_old_lod_directory(uSjc, NOqI)\n fo...
[ "0.5746843", "0.53681284", "0.5339582", "0.5292972", "0.5288719", "0.52664", "0.5261619", "0.5257625", "0.5241486", "0.51570344", "0.5142627", "0.50513554", "0.50311685", "0.4987959", "0.4968479", "0.49613282", "0.49164632", "0.4910915", "0.4890781", "0.48769155", "0.4871254"...
0.60974514
0
Return the directory for the root path of LOD in the current revision. Return an instance of CurrentMirrorDirectory. Raise KeyError if the path doesn't already exist.
def oC5a(YKHO, uSjc): yTMR = YKHO._get_lod_history(uSjc) id = yTMR.get_current_id() try: return YKHO._new_nodes[id] except KeyError: return UH3z(YKHO, id, uSjc, YKHO._node_db[id])
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def jNha(YKHO):\n pmON = YKHO.config_path()\n if pmON:\n jNha = Hy7s.path.dirname(pmON)\n if not jNha.endswith('/'):\n jNha += '/'\n return jNha\n return None", "def mSqg(YKHO) -> GkAb:\n return UNKA / YKHO.source_name / YKHO.key", "def UKXL(YKHO):\n if YKHO.locat...
[ "0.64090633", "0.63059235", "0.6119998", "0.60000086", "0.5950342", "0.58965826", "0.58609897", "0.585746", "0.58245414", "0.58148813", "0.5814057", "0.58120626", "0.5806541", "0.5803949", "0.5802826", "0.5798873", "0.5787527", "0.5738714", "0.56942564", "0.56876695", "0.5678...
0.68375707
0
Free resources and close databases.
def DDI8(YKHO): YKHO._lod_histories = None YKHO._node_db.close() YKHO._node_db = None
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wxr4():\n for NCls in smaa.values():\n NCls.close()", "def HySU(bGrB):\n YKHO.db.close()", "def DDI8(YKHO):\n YKHO.db.close()", "def DDI8(YKHO):\n YKHO.clean()\n for w2B8 in YKHO.conn__.values():\n try:\n w2B8.commit()\n w2B8.close()\n except iHv3...
[ "0.7978829", "0.78924674", "0.7891401", "0.78881174", "0.7832651", "0.7792621", "0.7706712", "0.76760715", "0.76034856", "0.75894135", "0.75853467", "0.7567483", "0.7520194", "0.75141776", "0.7509043", "0.7493203", "0.74729204", "0.7457561", "0.7429625", "0.7428259", "0.74282...
0.0
-1
Stops the dauth service if it is not stopped already.
def YLIb(BE2Z: DauthDirectoryConnection) -> None: print(BE2Z.stop_service())
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vUTA(BE2Z: DauthDirectoryConnection) -> None:\n YLIb(BE2Z)\n ACVs(BE2Z)\n muWQ(BE2Z)", "def YLIb(YKHO):\n bo34 = G9jH.getLogger(YKHO.dkr_name)\n bo34.info('Tearing down service')\n try:\n YKHO.dkr_service.remove()\n except:\n G9jH.warning('Failed to stop service {}'.format(...
[ "0.6493944", "0.64865303", "0.63658106", "0.6164518", "0.612416", "0.60982394", "0.60358137", "0.5888119", "0.5849566", "0.5846709", "0.5835957", "0.5815378", "0.5796972", "0.5795357", "0.5771227", "0.5770473", "0.5753455", "0.5738722", "0.5738626", "0.57373166", "0.5728138",...
0.7705014
0
Converts seconds (realtime) to timedelta (ingame).
def EoMH(kRsb: float) -> fCoM: return fCoM(days=N_iY * kRsb)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xxgz(TAxb):\n return fCoM(seconds=TAxb)", "def xxgz(TAxb):\n return fCoM(microseconds=TAxb / ca5C)", "def qyEF(RA_F):\n return RA_F.hours * 3600 + RA_F.minutes * 60 + RA_F.seconds", "def H2Wd(YKHO, bhc8):\n pcBc = bhc8 / fCoM(minutes=1)\n sFku = bhc8 / fCoM(seconds=1)\n gcPB = bhc8 / fC...
[ "0.72520936", "0.71323544", "0.6941588", "0.68095666", "0.6663136", "0.66484267", "0.66366243", "0.66150427", "0.66004837", "0.65783864", "0.65614283", "0.650139", "0.6483869", "0.64749306", "0.64743865", "0.6470453", "0.6468094", "0.64537436", "0.6447788", "0.64474154", "0.6...
0.78938496
0
Returns formatted ingame duration survived (text).
def lU2r(JRYC: timedelta) -> str: return f'{JRYC.days // 365} years {JRYC.days % 365} days'
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tF1v(WbTE):\n O66n = WbTE // 60\n C6wh = WbTE % 60\n return 'the game took {} minutes and {} seconds'.format(O66n, C6wh)", "def H2bK(YKHO, NHyh):\n return '{}: {} left and {}% done'.format(YKHO.name, Bc_l(YKHO.time * NHyh), round((YKHO.total_time - YKHO.time) / YKHO.total_time * 100))", "def GH...
[ "0.69253814", "0.6719739", "0.66788304", "0.6450496", "0.64305735", "0.6412167", "0.61711544", "0.61484843", "0.6071423", "0.6037006", "0.6036901", "0.6036531", "0.6031723", "0.6029158", "0.60190696", "0.5992422", "0.5969754", "0.59681386", "0.5961543", "0.5954785", "0.595178...
0.5811792
30
The max height of the screen (The number of rows).
def H2v2(YKHO) -> int: return YKHO.screen.getmaxyx()[0]
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ur7t(YKHO) -> int:\n return FUTa.parse(YKHO.props.max_height).to_pixels(YKHO.parent.height)", "def H2v2(YKHO):\n return YKHO.SCREEN_H", "def H2v2(YKHO):\n return YKHO.maxy - YKHO.miny", "def VAHQ(YKHO):\n return YKHO.height", "def Luv8(YKHO):\n return YKHO._floor == YKHO.MAX_HEIGHT", "...
[ "0.8072285", "0.7627271", "0.7430995", "0.74152577", "0.74073523", "0.7385308", "0.73630816", "0.73630816", "0.7333944", "0.72966576", "0.72835124", "0.72835124", "0.72650194", "0.7263829", "0.724091", "0.724091", "0.724091", "0.72194284", "0.7189045", "0.7164657", "0.7154224...
0.7893309
1
Sets wether or not to display the blinking cursor at cursor position.
def cKgh(YKHO, YX0Z: bool=True) -> None: De1o.curs_set(False)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VnD2(YKHO):\n YKHO.cursor_state = not YKHO.cursor_state\n YKHO.update_cursors()", "def N1p7(YKHO, BWXx=True):\n if BWXx:\n YKHO._displaycontrol |= kxY1\n else:\n YKHO._displaycontrol &= 255 ^ kxY1\n YKHO.command(UP6g | YKHO._displaycontrol)", "def iog5(YKHO):\n YKHO.displayc...
[ "0.77710843", "0.7687006", "0.74363667", "0.67530406", "0.6704451", "0.65793765", "0.6541957", "0.6541302", "0.6533275", "0.6472394", "0.64294934", "0.6304947", "0.62657756", "0.6224126", "0.62174046", "0.6181385", "0.6152531", "0.6076271", "0.60486376", "0.6036746", "0.60303...
0.6667331
5
Sets this window to the top of the drawing buffer (In other words, it will be drawn above everything else).
def tlxW(YKHO) -> None: HFkI = n7hi.index(YKHO) n7hi.pop(HFkI) n7hi.append(YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nNlC(YKHO):\n YKHO._pos = 0\n YKHO._display()", "def dpT7(bR3a):\n mMDh.ShowWindow(bR3a, p2wB.SW_MINIMIZE)\n mMDh.ShowWindow(bR3a, p2wB.SW_RESTORE)", "def cMZ7(YKHO):\n pmez = a9eO.Surface((720, 77))\n pmez.fill((255, 255, 255))\n YKHO.screen.blit(pmez, (0, 0))\n a9eO.display.update...
[ "0.6410116", "0.6388918", "0.62831134", "0.61725646", "0.61584353", "0.6102733", "0.6102733", "0.60489625", "0.6016738", "0.60121715", "0.6002696", "0.59587854", "0.5924379", "0.58672625", "0.5816531", "0.5808788", "0.5797129", "0.5727804", "0.5717245", "0.57111865", "0.57011...
0.6123448
5
Sets this window to the bottom of the drawing buffer (In other words, it will be drawn under everything else).
def es2x(YKHO) -> None: HFkI = n7hi.index(YKHO) n7hi.pop(HFkI) n7hi.insert(0, YKHO)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def es2x(YKHO, es2x):\n YKHO._bottom = es2x", "def Pyf2():\n WZHJ = x0jD()\n cIiC = UBsI(WZHJ)\n y2Jm = z5FS()\n LrGk = B2MA(WZHJ, cIiC)\n Oy_y = AqHL()\n XsU7(WZHJ, LrGk, Oy_y, cIiC, y2Jm)\n dBDR(WZHJ)", "def OgpD(YKHO):\n YKHO.dock_direction = cDJc\n return YKHO", "def OgpD(YK...
[ "0.64352286", "0.62571895", "0.61764574", "0.61764574", "0.6102559", "0.5984697", "0.5923956", "0.574016", "0.57140934", "0.56905156", "0.564332", "0.56369406", "0.56281227", "0.5605544", "0.5586855", "0.55607873", "0.55374116", "0.54537386", "0.5449912", "0.5448108", "0.5446...
0.6376207
1
Updates the weights according to the gradient. Implementing both learning rate decay and momentum
def MyUA(YKHO, ICX2, exwG): Qh2O = YKHO.learning_rate * (1 / 2) * (exwG / 100) YKHO.delta_weights = Qh2O * ICX2 + YKHO.momentum * YKHO.delta_weights YKHO.weights += YKHO.delta_weights
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Wlzm(YKHO, cC56, VJv0):\n N6Z1 = YKHO.__compute_prediction(cC56)\n jpQA = oyIN.dot(cC56.T, VJv0 - N6Z1)\n r8hN = VJv0.shape[0]\n YKHO.__weights += YKHO.__learning_rate / float(r8hN) * jpQA", "def MyUA(YKHO, EcVT, fuBA, b0Ix):\n vtNT = YKHO.calculate_gradients(EcVT, fuBA)\n YKHO.weights[0] =...
[ "0.80490565", "0.80165136", "0.78342545", "0.7786482", "0.7763479", "0.77521455", "0.76436037", "0.7610877", "0.7597804", "0.7526", "0.7516594", "0.7503628", "0.7497012", "0.7473583", "0.7465812", "0.74190867", "0.741463", "0.7377316", "0.7323953", "0.731874", "0.73003805", ...
0.80290484
1
Gets the shape required for the input tensor. For models trained for image classification / detection, the shape is always
def i2AO(YKHO): return YKHO._engine.get_input_tensor_shape()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kbUw(FRUf):\n return FRUf.get_shape().as_list()", "def iX1L(YKHO):\n return YKHO.network.inputs[YKHO.input_blob].shape", "def ROpF(vhpA):\n raise NotImplementedError", "def kbUw(vhpA):\n return vhpA.get_shape().as_list()", "def GhuM(YKHO) -> ht2j.Size:\n pass", "def EsUr(YKHO):\n re...
[ "0.83801675", "0.8109853", "0.80352217", "0.7956489", "0.7877556", "0.78220457", "0.77938324", "0.7765017", "0.7634407", "0.76203096", "0.760819", "0.760376", "0.7602313", "0.75819206", "0.753173", "0.7520848", "0.74627274", "0.74620754", "0.7404986", "0.7404986", "0.7404986"...
0.8497244
0
Gets the file path for model loaded by this inference engine.
def uqvc(YKHO): return YKHO._engine.model_path()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def uqvc(YKHO) -> str:\n return YKHO._model.file_path", "def nmkS():\n gHKE = RkCj.resource_filename('sst', 'misc/')\n return Hy7s.path.abspath(Hy7s.path.join(gHKE, 'model.pickle'))", "def W4Jp(GPtr: configs.Config) -> str:\n return Hy7s.path.join(GPtr.model_training.dir_out, FYrf.DEFAULT_FILENAME_...
[ "0.82222515", "0.7445278", "0.74227077", "0.7349556", "0.72680336", "0.713459", "0.68214643", "0.67498964", "0.67252", "0.6719196", "0.6687669", "0.66500217", "0.6631757", "0.66260964", "0.6620296", "0.65612715", "0.65428257", "0.654095", "0.6516653", "0.64350003", "0.6405400...
0.7346441
4
make an image with a realisation of linear parameter values "param"
def LNo8(YKHO, NgNV=None, nI_e=None, y3NI=None, lyLV=None, puHZ=None, Z8ke=None, thCs=False, UUHz=True, AH6V=True, CpKX=True): THhB, mwCa, mzPw, mkcl, oVxc = YKHO.select_kwargs(NgNV, nI_e, y3NI, lyLV, puHZ) return YKHO._image(THhB, mwCa, mzPw, mkcl, oVxc, kwargs_special=Z8ke, unconvolved=thCs, source_add=UUHz, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qa2n(lPoA, TVTK, H2v2):\n VXjJ = oyIN.zeros((H2v2, TVTK))\n j5sR = 0\n for xqoZ in lPoA:\n j5sR = j5sR + 1\n Ty9i = xqoZ\n VXjJ[j5sR][j5sR] += Ty9i\n return VXjJ", "def oWJo(YKHO, xqoZ):\n YKHO.topo_plane_fit_data = oyIN.zeros((YKHO.y_res, YKHO.x_res))\n for LVAh in ran...
[ "0.6185422", "0.6072258", "0.5937533", "0.581404", "0.5803182", "0.5767609", "0.5569235", "0.5564491", "0.5525433", "0.5525031", "0.5515145", "0.55138695", "0.55030715", "0.5471419", "0.5469357", "0.54381657", "0.54093474", "0.53633076", "0.5343912", "0.53255886", "0.5325272"...
0.0
-1
Given a string returns True if the string represents a number. Returns False otherwise.
def ye72(vIwR): try: float(vIwR) return True except ValueError: return False
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ye72(vIwR):\n try:\n float(vIwR)\n return True\n except ValueError:\n return False", "def ye72(KCHu):\n try:\n int(KCHu)\n return True\n except ValueError:\n return False", "def ye72(KCHu):\n try:\n int(KCHu)\n return True\n except V...
[ "0.88862556", "0.8841634", "0.87992465", "0.8638227", "0.8613014", "0.85911804", "0.85911804", "0.85911804", "0.85048777", "0.849611", "0.8489931", "0.8481231", "0.84664446", "0.84631115", "0.8333123", "0.8292645", "0.82401824", "0.82185715", "0.8179664", "0.817205", "0.80581...
0.8832949
2
Return a list of 'TaskNode' objects whose _has_parent_task root is this task If include_root is True, include this node in the list. Tasks are returned in the order they were finished.
def bE3s(YKHO, BwZK=False) -> x1iM['TaskNode']: K52Y = [] vexM = [YKHO] while vexM: D5gV = vexM.pop() afYC = D5gV.get_child_tasks() K52Y.extend(afYC) vexM.extend(afYC) if BwZK: K52Y.append(YKHO) return sorted(K52Y, key=lambda a1PO: a1PO.finished_at)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZfOX(YKHO, iRnR=None):\n QcfX = MUE7()\n D5gV = YKHO.get_task(iRnR)\n if not D5gV:\n return None\n QcfX.append(D5gV)\n ZO5y = [D5gV]\n YKHO.queue_on_project(QcfX, ZO5y)\n YKHO.save_task(D5gV)\n return ZO5y", "def n19r(YKHO) -> x1iM['TaskNode']:\n Mkmy = YKHO.agent_memory.get...
[ "0.6246284", "0.61003405", "0.56980574", "0.5672493", "0.5629829", "0.5410073", "0.5396746", "0.538673", "0.53113896", "0.5305643", "0.5263628", "0.52432215", "0.51700944", "0.5140016", "0.50045323", "0.49361742", "0.49293563", "0.49288815", "0.48777935", "0.4849743", "0.4846...
0.6540416
0
Test case for team_builder_config_product_size_materials_find_one_get Find first instance of the model matched by filter from the data source.
def YIMT(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ynHO(YKHO):\n pass", "def Lgcy(YKHO):\n pass", "def RK8Z(YKHO):\n pass", "def OOo9(YKHO):\n pass", "def X6EW(YKHO):\n pass", "def ZJvW(YKHO):\n pass", "def auvH(YKHO):\n pass", "def cQx2(YKHO):\n pass", "def nJLU(YKHO):\n pass", "def vIGq(YKHO):\n pass", "def b...
[ "0.7219705", "0.7150344", "0.7146611", "0.6989521", "0.66432196", "0.6552999", "0.63436455", "0.6299402", "0.6172716", "0.60447896", "0.5920749", "0.58084774", "0.5797973", "0.56598884", "0.5650701", "0.55570465", "0.55304736", "0.54965323", "0.5446977", "0.54020154", "0.5362...
0.877674
0
Test case for team_builder_config_product_size_materials_get Find all instances of the model matched by filter from the data source.
def OOo9(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def YIMT(YKHO):\n pass", "def ynHO(YKHO):\n pass", "def RK8Z(YKHO):\n pass", "def nJLU(YKHO):\n pass", "def X6EW(YKHO):\n pass", "def Lgcy(YKHO):\n pass", "def ZJvW(YKHO):\n pass", "def cQx2(YKHO):\n pass", "def aVO0(YKHO):\n pass", "def auvH(YKHO):\n pass", "def b...
[ "0.8190486", "0.8168711", "0.8041614", "0.76638424", "0.7584455", "0.7549949", "0.7469326", "0.73715967", "0.7342346", "0.7306931", "0.70870215", "0.682611", "0.6800385", "0.6680882", "0.6478183", "0.6405044", "0.64020544", "0.61890745", "0.60473114", "0.59554803", "0.5899695...
0.83936113
0
Test case for team_builder_config_product_size_materials_id_patch Patch attributes for a model instance and persist it into the data source.
def cQx2(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bXk_(YKHO):\n pass", "def Ueft(YKHO):\n pass", "def aVO0(YKHO):\n pass", "def RK8Z(YKHO):\n pass", "def ynHO(YKHO):\n pass", "def ZJvW(YKHO):\n pass", "def nj70(YKHO):\n pass", "def OOo9(YKHO):\n pass", "def X6EW(YKHO):\n pass", "def L2VX(YKHO):\n pass", "def Y...
[ "0.758564", "0.7502319", "0.72735506", "0.69245946", "0.692314", "0.6873298", "0.68673456", "0.6770236", "0.65725815", "0.6428236", "0.6198153", "0.6184761", "0.6051097", "0.5797997", "0.5751913", "0.5576126", "0.55642486", "0.5500916", "0.53614426", "0.526585", "0.52522296",...
0.7635139
0
Test case for team_builder_config_product_size_materials_id_product_size_material_get Fetches belongsTo relation productSizeMaterial.
def ynHO(YKHO): pass
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RK8Z(YKHO):\n pass", "def YIMT(YKHO):\n pass", "def OOo9(YKHO):\n pass", "def Lgcy(YKHO):\n pass", "def X6EW(YKHO):\n pass", "def cQx2(YKHO):\n pass", "def ZJvW(YKHO):\n pass", "def nJLU(YKHO):\n pass", "def bXk_(YKHO):\n pass", "def nj70(YKHO):\n pass", "def a...
[ "0.78846556", "0.7876838", "0.7511752", "0.7303035", "0.69825536", "0.6820941", "0.67879236", "0.65257776", "0.6454095", "0.6409163", "0.639194", "0.6360501", "0.61076874", "0.6086772", "0.6080113", "0.5930173", "0.59206843", "0.5715521", "0.56763643", "0.5551936", "0.5551598...
0.81440246
0
Convenience function returning the device the model is located on.
def begE(YKHO): return next(YKHO.parameters()).device
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def VeaS(C3ST):\n XP5J = next(C3ST.parameters())\n return XP5J.device", "def begE(YKHO):\n qEJV = YKHO.hw()\n if qEJV:\n return qEJV.device()", "def begE(YKHO):\n return YKHO._vars[0].device", "def VeaS(C3ST):\n if next(C3ST.parameters()).is_cuda:\n return 'cuda:{}'.format(ht2...
[ "0.86516154", "0.8316542", "0.8115748", "0.8112432", "0.79455346", "0.79361427", "0.7771778", "0.7753793", "0.77201676", "0.76946616", "0.7675412", "0.76709926", "0.7656671", "0.7655424", "0.7556291", "0.7489082", "0.74549663", "0.7431325", "0.74286205", "0.7329006", "0.73025...
0.80335236
8
Return the other settings
def JovG(): return n0nh
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def gCuF():\n return v083()[1]", "def RuGH(YKHO):\n return YKHO.session.get_any('{base}{request_url}'.format(base=YKHO.servers[0], request_url=f'/Settings/'))", "def gCuF(YKHO):\n return {}", "def asJJ(YKHO):\n return YKHO.settings", "def TSF4(YKHO):\n YKHO.active_changes = False\n return...
[ "0.71923894", "0.711417", "0.6858755", "0.6753653", "0.66691446", "0.66016155", "0.6518016", "0.6491571", "0.64894944", "0.6467795", "0.6467795", "0.63944316", "0.63944316", "0.6379311", "0.6370391", "0.6351506", "0.6304517", "0.6281694", "0.6279899", "0.6223388", "0.62200016...
0.78355753
0
Method removing a widget from the vertical scroll area according to its position.
def ElqU(YKHO, IHkM): YKHO.widgets_list.pop(IHkM) YKHO._refresh()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def kSdD(YKHO, TEdI):\n YKHO.widgets.remove(TEdI)\n TEdI.destroy()", "def V5H7(YKHO, LAOT):\n for d6pt in range(LAOT.count()):\n if LAOT.itemAt(d6pt).widget():\n LAOT.itemAt(d6pt).widget().deleteLater()", "def xIK3(YKHO, TEdI):\n YKHO.node.removeChild(TEdI.node)", "def jZOu(YKHO...
[ "0.6769379", "0.6516565", "0.6363287", "0.63554204", "0.61825824", "0.6164252", "0.6107337", "0.6038369", "0.598409", "0.59712476", "0.5964173", "0.59547067", "0.59547067", "0.59037864", "0.5882034", "0.58168423", "0.581486", "0.5799429", "0.5792709", "0.5791748", "0.5733957"...
0.7574232
0
Return an orderedset of atoms.
def RR8p(YKHO): return YKHO._atoms
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RR8p(YKHO):\n return set(YKHO.array_form)", "def wH6I(YKHO):\n return sorted(YKHO.atoms, key=lambda WhQ6: WhQ6.get_symmetry_class())", "def qUBI(YKHO):\n for XUbj in YKHO.atom_order_list:\n if isinstance(XUbj, k3IH):\n yield XUbj\n else:\n for o5yc in XUbj:\n ...
[ "0.7081815", "0.70422894", "0.64413524", "0.63919544", "0.62494767", "0.6235832", "0.62354136", "0.615111", "0.6107586", "0.6075771", "0.60124356", "0.60093606", "0.59463483", "0.5900034", "0.58806443", "0.5860522", "0.583224", "0.5793018", "0.5782057", "0.5751988", "0.574545...
0.6505772
2
Plot an image along with its histogram and cumulative histogram.
def _htN(LNo8, MPlV, Pyrc=256): LNo8 = qjPU(LNo8) GmVY, DKlr = MPlV qk9S = DKlr.twinx() GmVY.imshow(LNo8, cmap=QrM1.cm.gray) GmVY.set_axis_off() DKlr.hist(LNo8.ravel(), bins=Pyrc, histtype='step', color='black') DKlr.ticklabel_format(axis='y', style='scientific', scilimits=(0, 0)) DKlr.s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _htN(LNo8, MPlV, Pyrc=256):\n GmVY, DKlr = MPlV\n qk9S = DKlr.twinx()\n GmVY.imshow(LNo8, cmap=QrM1.cm.gray)\n GmVY.set_axis_off()\n DKlr.hist(LNo8.ravel(), bins=Pyrc, histtype='step', color='black')\n DKlr.ticklabel_format(axis='y', style='scientific', scilimits=(0, 0))\n DKlr.set_xlabel(...
[ "0.7969631", "0.78266644", "0.7809336", "0.7809336", "0.74996084", "0.7412575", "0.72977114", "0.68852156", "0.6873014", "0.6869999", "0.668876", "0.66544735", "0.66544735", "0.66544735", "0.66200167", "0.652162", "0.6493563", "0.64923745", "0.6483739", "0.64781225", "0.64132...
0.7776819
4
Returns a single LcResource loaded from a dict. only required field is 'dataSourceType'. other fields are passed to the constructor and either interpreted directly or added as supplemental args If 'dataSource' is not present
def jG8h(Emd4, bf9h, Csk6): JZXy = Csk6.pop('dataSource', None) ilw4 = Csk6.pop('dataSourceType') AIkQ = Csk6.pop('filetype', None) if AIkQ is not None: if not JZXy.endswith(AIkQ): JZXy += AIkQ return Emd4(bf9h, JZXy, ilw4, **Csk6)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def FIMM(Ro_8, *, PcW4: str, AjOf: Optional[str]=None, vcaS: Optional[str]=None, AnNJ: Optional[str]=None, kFeU: Optional[str]=None, Qjbs: Optional[str]=None, q8SO: Optional[str]=None):\n qe4Y.set(Ro_8, 'resource_id', PcW4)\n if AjOf is not None:\n qe4Y.set(Ro_8, 'datasource_type', AjOf)\n if vcaS ...
[ "0.58856434", "0.58856434", "0.5878043", "0.583658", "0.583658", "0.583658", "0.583658", "0.5720132", "0.5633277", "0.55250573", "0.54847354", "0.5409228", "0.5346774", "0.53260684", "0.53113294", "0.53003925", "0.52429646", "0.5213951", "0.517519", "0.5142728", "0.51362544",...
0.64347255
0
Adds the resource to a file whose name is the resource's semantic reference. If the same datasource is already present in the file, replace it with the current resource. otherwise append.
def iaXM(YKHO, pmON, LRdV=None, eZJ6=None): if LRdV is None: LRdV = YKHO.reference if eZJ6 is not None: YKHO.config = eZJ6 if not Hy7s.path.isdir(pmON): if Hy7s.path.exists(pmON): raise ValueError('Please provide a directory path') Hy7s.makedirs(pmON) Ux0P = H...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tyir(YKHO, kFeU, Eorv):\n YKHO.resources[kFeU] = Eorv", "def tyir(YKHO, Eorv, ACnF=[]):\n YKHO._resources.setdefault(Eorv, set())\n YKHO._resources[Eorv].update(ACnF)", "def zh8n(QZnA):\n if QZnA not in kc1W.resources:\n kc1W.resources.append(QZnA)", "def H2v5(YKHO, Eorv, qx_G=False):\...
[ "0.66378015", "0.64946055", "0.63223565", "0.5926008", "0.5906732", "0.5865063", "0.58630604", "0.5792744", "0.5761426", "0.5726965", "0.5726345", "0.5695364", "0.56686586", "0.56658095", "0.5592048", "0.5579024", "0.5556073", "0.5483993", "0.54461765", "0.5423629", "0.542083...
0.49110466
78
Return a imagesized binary file in which 1 represents the gradient at specific pixel location is greater than threshold. Taking "x" or "y" direction as input.
def uBRG(LNo8, XSoh='x', gwAu=(50, 150), M6vu=3): assert LNo8.ndim == 2 if XSoh == 'x': H9dw = XC5k.Sobel(LNo8, XC5k.CV_64F, 1, 0, M6vu) else: H9dw = XC5k.Sobel(LNo8, XC5k.CV_64F, 0, 1, M6vu) SB9r = oyIN.absolute(H9dw) iWhD = oyIN.uint8(255 * SB9r / oyIN.max(SB9r)) v7cU = oyIN.ze...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Xhof(YKHO, pg7l=3, knl1=(0, oyIN.pi / 2)):\n ITiw = XC5k.cvtColor(YKHO.img, XC5k.COLOR_RGB2GRAY)\n mS2J = XC5k.Sobel(ITiw, XC5k.CV_64F, 1, 0, ksize=pg7l)\n YdmJ = XC5k.Sobel(ITiw, XC5k.CV_64F, 0, 1, ksize=pg7l)\n O6OF = oyIN.absolute(mS2J)\n U2Ze = oyIN.absolute(YdmJ)\n XSoh = oyIN.arctan2(U2...
[ "0.5881405", "0.5781179", "0.57600874", "0.57375133", "0.56931233", "0.5597754", "0.55579853", "0.55015296", "0.5492063", "0.5468652", "0.5449165", "0.54381424", "0.54338634", "0.53822446", "0.5222114", "0.5175658", "0.51607466", "0.5149989", "0.51428837", "0.51387155", "0.51...
0.6581124
0
Snap an image with the camera and return the recognized faces.
def Ljwx(YKHO, LNo8=None, VwNh=False): if not LNo8: LNo8 = YKHO.get_image() if VwNh: return (YKHO._get_faces(LNo8).recognitions, LNo8.header.stamp) else: return YKHO._get_faces(LNo8).recognitions
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nKbN(YKHO, VXjJ):\n ITiw = XC5k.cvtColor(VXjJ, XC5k.COLOR_BGR2GRAY)\n y_PJ = YKHO.face_cascade.detectMultiScale(ITiw, scaleFactor=1.2, minNeighbors=5)\n if len(y_PJ) == 0:\n return (None, None)\n WKvO, LVAh, yzQ0, MKlR = y_PJ[0]\n return (ITiw[LVAh:LVAh + yzQ0, WKvO:WKvO + MKlR], y_PJ[0])...
[ "0.67968726", "0.67432016", "0.67034453", "0.66716367", "0.66398877", "0.65701795", "0.6553965", "0.6441205", "0.6426534", "0.6422149", "0.6405296", "0.6307856", "0.62759805", "0.6258027", "0.62553155", "0.6227133", "0.62080765", "0.6164246", "0.61547244", "0.61217767", "0.61...
0.6137875
19
Return the atom indices of a proper torsion after "flipping" the order so that the first atom is the smallest index.
def dRkx(FaWX, TPao, fVVZ, VBly): if FaWX < VBly: XRN_, Smcs, qyqD, D4Ft = (FaWX, TPao, fVVZ, VBly) else: XRN_, Smcs, qyqD, D4Ft = (VBly, fVVZ, TPao, FaWX) return (XRN_, Smcs, qyqD, D4Ft)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yxRU(tyNF):\n ceSM = tyNF[0].fifo_order\n ZSml = 0\n for d6pt, WfI4 in enumerate(tyNF):\n if WfI4.fifo_order < ceSM:\n ceSM = WfI4.fifo_order\n ZSml = d6pt\n return ZSml", "def luoT(YKHO):\n YKHO.closest_ats = oyIN.zeros((YKHO.natom, YKHO.natom - 1), dtype=int)\n ...
[ "0.6400429", "0.61860085", "0.61219925", "0.59483093", "0.587723", "0.5873993", "0.58515024", "0.58366424", "0.579955", "0.57828104", "0.57649726", "0.57024276", "0.5665669", "0.56431854", "0.56301826", "0.56119585", "0.5601099", "0.55916977", "0.5587183", "0.5579915", "0.555...
0.0
-1
Get the OBO Foundry registry.
def u4xD(gLDJ: Optional[str]=pgdf, ld6c: bool=False, AqUQ: bool=False): if not AqUQ and gLDJ is not None and Hy7s.path.exists(gLDJ): with open(gLDJ) as nUeQ: im04 = qQXR.load(nUeQ) if ld6c: return B5Qi(im04, 'id') return im04 with gbPf.TemporaryDirecto...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def nqEK(YKHO):\n return YKHO._registry", "def xLzq() -> l9aG:\n global _oaas_registry\n if BA20:\n na1r.debug('oaas_registry() Using cached registry client')\n return BA20\n na1r.debug('oaas_registry() Using new registry client')\n BA20 = zQn8.get_client(l9aG)\n return BA20", "...
[ "0.7096497", "0.7046108", "0.70455444", "0.6757422", "0.6647232", "0.6634559", "0.6597221", "0.63514894", "0.6233238", "0.60268694", "0.59639585", "0.59150755", "0.59114224", "0.5882572", "0.58114886", "0.5720419", "0.57090926", "0.56778115", "0.5616687", "0.55985504", "0.559...
0.49295872
71
Reslice grayscalce slice of the index `slice_number`.
def che1(YKHO, gZDH): UANL = YKHO.f['src_gray'](idx=gZDH) E7XK = YKHO.f['resliced_gray'](idx=gZDH) lJCt = YKHO.f['src_gray'](idx=YKHO.options.slice_range[2]) lPCl = YKHO.f['comp_transf'](mIdx=gZDH, fIdx=YKHO.options.sliceRange[2]) Jn0q, lcuw = YKHO._get_output_volume_roi() oUZx = wfQS.command_wa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xcbF(YKHO, gZDH):\n UANL = YKHO.f['src_color'](idx=gZDH)\n E7XK = YKHO.f['resliced_color'](idx=gZDH)\n lJCt = YKHO.f['src_gray'](idx=YKHO.options.slice_range[2])\n lPCl = YKHO.f['comp_transf'](mIdx=gZDH, fIdx=YKHO.options.sliceRange[2])\n Jn0q, lcuw = YKHO._get_output_volume_roi()\n oUZx = wf...
[ "0.68795866", "0.63165766", "0.62099284", "0.5905384", "0.58425975", "0.5692535", "0.5661779", "0.5608254", "0.5558799", "0.55579704", "0.54314625", "0.54135424", "0.5389749", "0.5349124", "0.53292507", "0.5273272", "0.526958", "0.52590615", "0.51769185", "0.51748765", "0.517...
0.75933045
0
Reslice multichannel image with the given `slice_number`.
def xcbF(YKHO, gZDH): UANL = YKHO.f['src_color'](idx=gZDH) E7XK = YKHO.f['resliced_color'](idx=gZDH) lJCt = YKHO.f['src_gray'](idx=YKHO.options.slice_range[2]) lPCl = YKHO.f['comp_transf'](mIdx=gZDH, fIdx=YKHO.options.sliceRange[2]) Jn0q, lcuw = YKHO._get_output_volume_roi() oUZx = wfQS.command_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def che1(YKHO, gZDH):\n UANL = YKHO.f['src_gray'](idx=gZDH)\n E7XK = YKHO.f['resliced_gray'](idx=gZDH)\n lJCt = YKHO.f['src_gray'](idx=YKHO.options.slice_range[2])\n lPCl = YKHO.f['comp_transf'](mIdx=gZDH, fIdx=YKHO.options.sliceRange[2])\n Jn0q, lcuw = YKHO._get_output_volume_roi()\n oUZx = wfQS...
[ "0.7103268", "0.6587173", "0.63459605", "0.61796075", "0.60777056", "0.603885", "0.5909077", "0.5797187", "0.57836425", "0.57532907", "0.5743427", "0.5716221", "0.57015526", "0.56475013", "0.56153387", "0.55939454", "0.55814517", "0.55725545", "0.55725545", "0.55388844", "0.5...
0.6984248
1
Sets the subject_uuid of this MessageConsumeResp.
def QHKg(YKHO, QHKg): YKHO._subject_uuid = QHKg
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def HjSO(YKHO, HjSO):\n YKHO._subject_id = HjSO", "def p7U7(YKHO, U4ZT):\n YKHO._subject = U4ZT", "def XEPS(YKHO, XEPS):\n YKHO._subject_identifier = XEPS", "def U4ZT(YKHO, U4ZT):\n YKHO._subject = U4ZT", "def U4ZT(YKHO, U4ZT):\n YKHO._subject = U4ZT", "def U4ZT(YKHO, U4ZT):\n YKHO._sub...
[ "0.6060398", "0.60158783", "0.58516705", "0.5689312", "0.5689312", "0.5689312", "0.56299204", "0.56299204", "0.5511444", "0.5511444", "0.5490915", "0.5473287", "0.5277575", "0.5206669", "0.5158936", "0.50511867", "0.5029226", "0.5029226", "0.47689378", "0.47123316", "0.463099...
0.73640627
0
Sets the message_count of this MessageConsumeResp.
def Vh81(YKHO, Vh81): YKHO._message_count = Vh81
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ZB1e(YKHO, ZB1e: ConfigNodePropertyInteger):\n YKHO._message_count_limit = ZB1e", "def fcQr(YKHO, fcQr):\n YKHO._read_count = fcQr", "def Vh81(YKHO):\n return YKHO._message_count", "def Vh81(YKHO):\n pass", "def YBjW(YKHO, Ty9i, tyeH=False):\n if hasattr(Ty9i, '_utype'):\n Ty9i = ...
[ "0.7352247", "0.6393188", "0.6197709", "0.5986728", "0.5965454", "0.5866728", "0.58086354", "0.57451785", "0.57451785", "0.57451785", "0.57451785", "0.5717312", "0.5699328", "0.5674319", "0.5671497", "0.56558174", "0.564114", "0.5614765", "0.55828923", "0.5566808", "0.5540343...
0.7897736
0
Sets the messages of this MessageConsumeResp.
def yEHD(YKHO, yEHD): YKHO._messages = yEHD
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def yEHD(YKHO, yEHD):\n YKHO._messages = yEHD", "def yEHD(YKHO, yEHD):\n YKHO._messages = yEHD", "def yEHD(YKHO, yEHD):\n YKHO._messages = yEHD", "def yEHD(YKHO, yEHD):\n YKHO._messages = yEHD", "def hPUI(YKHO, hPUI):\n YKHO._unread_messages = hPUI", "def xvbn(YKHO, yEHD):\n return yEHD...
[ "0.7356575", "0.7356575", "0.7356575", "0.72938156", "0.6279805", "0.57603914", "0.5482518", "0.5361829", "0.535708", "0.53254426", "0.5288268", "0.5233783", "0.5233783", "0.5233783", "0.5223655", "0.5183181", "0.5183181", "0.5183181", "0.5183181", "0.5183181", "0.5183181", ...
0.71761113
4
Returns true if both objects are equal
def xa14(YKHO, Elif): if not isinstance(Elif, JHrC): return False return YKHO.__dict__ == Elif.__dict__
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n return p6XU(YKHO, Elif)", "def xa14(YKHO, Elif):\n try:\n return YKHO.object == Elif.object and isinstance(YKHO, type(Elif))\n except:\n return False", "def xa14(YKHO, Elif):\n if isinstance(YKHO, Elif.__c...
[ "0.8088132", "0.8088132", "0.8054589", "0.7982687", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", "0.79670393", ...
0.0
-1
Returns true if both objects are not equal
def Vdqg(YKHO, Elif): return not YKHO == Elif
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def Vdqg(YKHO, Elif: object) -> bool:\n if YKHO.__eq__(Elif):\n return False\n return True", "def Vdqg(YKHO, Elif: object) -> bool:\n return not YKHO.__eq__(Elif)", "def Vdqg(YKHO, Elif) -> bool:\n return not YKHO.__eq__(Elif)", "def xa14(YKHO, Elif):\n return not YKHO.__ne__(Elif)", ...
[ "0.845611", "0.8391477", "0.8144138", "0.81410587", "0.8132492", "0.8093973", "0.80920255", "0.80920255", "0.80920255", "0.8076365", "0.8076365", "0.8065748", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", "0.8042487", ...
0.8085325
10
Check if the resource is a reference
def m338(YKHO): return YKHO.resource.is_reference()
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def IXMJ(Q6kx):\n return bool(isinstance(Q6kx, Ziit.Referential) and Q6kx.get(o_8Q, None))", "def m338(YKHO):\n return Fv2L.lib.clang_isReference(YKHO)", "def pJQr(YKHO):\n if 'N' in YKHO.ref:\n return False\n else:\n return True", "def zEmF(*qIxc):\n return EdJ_.XCAFDoc_ShapeToo...
[ "0.75729", "0.7337837", "0.72463995", "0.7163818", "0.7137435", "0.71037275", "0.70753473", "0.7043012", "0.68337846", "0.6812514", "0.67644197", "0.67574316", "0.6716234", "0.6579639", "0.655869", "0.6519231", "0.6501288", "0.6490945", "0.6480729", "0.6424509", "0.64104325",...
0.8692843
0
r"""Negotiated Minimum Transmit Interval. This is the interval at which the local node will be sending out BFD control packets.
def U8GV(YKHO): try: return YKHO._negotiatedminimumtransmitinterval except Exception as e: raise tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bEEm(YKHO):\n try:\n return YKHO._minimumtransmitinterval\n except Exception as e:\n raise tTpl", "def XPCE(YKHO):\n try:\n return YKHO._negotiatedminimumreceiveinterval\n except Exception as e:\n raise tTpl", "def aDWp(YKHO):\n try:\n return YKHO._minimumr...
[ "0.82543564", "0.7670931", "0.7342941", "0.7010384", "0.66952974", "0.65590626", "0.64697087", "0.6344516", "0.6328509", "0.60397124", "0.59206027", "0.59121925", "0.58627015", "0.5823848", "0.58024615", "0.57802176", "0.5776909", "0.5755286", "0.57272065", "0.5726383", "0.56...
0.852095
0
r"""Negotiated Minimum Receive Interval. This is the interval at which the local node will be expecting BFD control packets.
def XPCE(YKHO): try: return YKHO._negotiatedminimumreceiveinterval except Exception as e: raise tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def U8GV(YKHO):\n try:\n return YKHO._negotiatedminimumtransmitinterval\n except Exception as e:\n raise tTpl", "def aDWp(YKHO):\n try:\n return YKHO._minimumreceiveinterval\n except Exception as e:\n raise tTpl", "def bEEm(YKHO):\n try:\n return YKHO._minimumt...
[ "0.81519747", "0.81221694", "0.76299775", "0.6965831", "0.6751805", "0.6511525", "0.6475688", "0.62189424", "0.61901903", "0.61901903", "0.6162735", "0.6142912", "0.610305", "0.6045926", "0.5988376", "0.59796786", "0.5927892", "0.5914315", "0.59066254", "0.58635896", "0.58635...
0.8608491
0
r"""Original Owner PE of the BFD session.
def tA6A(YKHO): try: return YKHO._originalownerpe except Exception as e: raise tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qsJ6(YKHO):\n ANfV = YKHO._call('owner')\n return ANfV.owner", "def qsJ6(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner')", "def qsJ6(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner')", "def G46L(YKHO):\n return ''", "def qsJ6(YKHO) -> str:\n return YKHO._owner", ...
[ "0.64701116", "0.6470051", "0.6470051", "0.63489974", "0.6314906", "0.630567", "0.630567", "0.630567", "0.630567", "0.630567", "0.6297583", "0.62707186", "0.6270617", "0.62474614", "0.62474614", "0.62057024", "0.60670984", "0.6015782", "0.59962785", "0.5989576", "0.59559476",...
0.7739725
0
r"""Current Owner PE of the BFD session.
def jLkO(YKHO): try: return YKHO._currentownerpe except Exception as e: raise tTpl
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def qsJ6(YKHO):\n ANfV = YKHO._call('owner')\n return ANfV.owner", "def qsJ6(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner')", "def qsJ6(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'owner')", "def Fqw8(YKHO):\n return YKHO.__owner", "def qsJ6(YKHO):\n return YKHO._owner...
[ "0.7098942", "0.7021614", "0.7021614", "0.6925314", "0.69234353", "0.69234353", "0.69234353", "0.69234353", "0.69234353", "0.6905942", "0.68967485", "0.6883733", "0.6883733", "0.6846282", "0.68393534", "0.67832464", "0.66524816", "0.66091853", "0.65807694", "0.65040416", "0.6...
0.6437283
27