language
stringclasses
2 values
func_code_string
stringlengths
63
466k
java
public String getQueryPrepareSQL(T bean) { if (this.tableStrategy == null) return queryPrepareSQL; return queryPrepareSQL.replace("${newtable}", getTable(bean)); }
java
public ListUserStorageFileOperation buildListUserStorageFileOperation(String fullPath, int offset, int numberElements) { return new ListUserStorageFileOperation(getOperationFactory(), fullPath, offset, numberElements); }
python
def execute(self, eopatch): """ Compute spatio-temporal features for input eopatch :param eopatch: Input eopatch :return: eopatch with computed spatio-temporal features """ # pylint: disable=invalid-name amax_ndvi, amin_ndvi = eopatch.data_timeless[self.argmax_ndvi], eop...
java
public void marshall(DescribeSessionsRequest describeSessionsRequest, ProtocolMarshaller protocolMarshaller) { if (describeSessionsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(describeSe...
java
public java.util.Map getParameterMap() { //321485 if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"getParameterMap", ""); } if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRe...
java
public boolean engineEntryInstanceOf(String alias, Class<? extends KeyStore.Entry> entryClass) { if (entryClass == KeyStore.TrustedCertificateEntry.class) { return engineIsCertificateEntry(alias); } if (entryClass == KeyStore.PrivateKeyEntry....
java
public JsMainImpl getMainImpl() { String thisMethodName = "getMainImpl"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, this); SibTr.exit(tc, thisMethodName, _mainImpl); } return _mainImpl; }
java
@Nonnull public CSSExpression addMember (@Nonnull final ICSSExpressionMember aMember) { ValueEnforcer.notNull (aMember, "ExpressionMember"); m_aMembers.add (aMember); return this; }
java
public final <T> TcpClient option(ChannelOption<T> key, @Nullable T value) { Objects.requireNonNull(key, "key"); return bootstrap(b -> b.option(key, value)); }
python
def get(self, terrain, num=1): """ Add a certain number of resources to the trade from getter->giver :param terrain: resource type, models.Terrain :param num: number to add, int :return: None """ for _ in range(num): logging.debug('terrain={}'.format(t...
java
@SuppressWarnings("unchecked") @Override public <T extends Query> T setStatsOptions(StatsOptions statsOptions) { this.statsOptions = statsOptions; return (T) this; }
python
def _derive_stereographic(): """Compute the formulae to cut-and-paste into the routine below.""" from sympy import symbols, atan2, acos, rot_axis1, rot_axis3, Matrix x_c, y_c, z_c, x, y, z = symbols('x_c y_c z_c x y z') # The angles we'll need to rotate through. around_z = atan2(x_c, y_c) aroun...
python
def pivot(self, columns, rows, values=None, collect=None, zero=None): """Generate a table with a column for each unique value in ``columns``, with rows for each unique value in ``rows``. Each row counts/aggregates the values that match both row and column based on ``collect``. Args: ...
java
public TopicDescription createTopic(TopicDescription topicDescription) throws ServiceBusException, InterruptedException { return Utils.completeFuture(this.asyncClient.createTopicAsync(topicDescription)); }
java
public final void mENUM() throws RecognitionException { try { int _type = ENUM; int _channel = DEFAULT_TOKEN_CHANNEL; // src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1369:5: ( 'enum' ) // src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1369:7: 'enum' { matc...
java
private static Function<Object, ? extends Color> createCellColorFunction( double min, double max, DoubleFunction<? extends Color> colorFunction) { Objects.requireNonNull(colorFunction, "The colorFunction may not be null"); DoubleUnaryOperator mapping = value -> (v...
java
public String generateDictionary(int length, int context, final String seed, int lookahead, boolean destructive) { return generateDictionary(length, context, seed, lookahead, destructive, false); }
python
def _onKeyDown(self, evt): """Capture key press.""" key = self._get_key(evt) evt.Skip() FigureCanvasBase.key_press_event(self, key, guiEvent=evt)
python
def toc(quiet=False): r""" Homemade version of matlab tic and toc function, tic starts or resets the clock, toc reports the time since the last call of tic. Parameters ---------- quiet : Boolean If False (default) then a message is output to the console. If True the message is ...
python
def trading_fees(self) -> TradingFees: """Fetch trading fees.""" return self._fetch('trading fees', self.market.code)(self._trading_fees)()
java
public boolean precedes(I other) { if ( other.getStart().isInfinite() || this.end.isInfinite() ) { return false; } T endA = this.end.getTemporal(); if (this.end.isClosed()) { endA = this.getTimeLine().stepForward(endA); ...
python
def delete(self, key): """ Removes the mapping for a key from this map if it is present (optional operation). Unlike remove(object), this operation does not return the removed value, which avoids the serialization cost of the returned value. If the removed value will not be used, a dele...
java
public TemplateBuilder load(ApplicationContext applicationContext) { Template rootTemplate = applicationContext.getBean(action.getName(), Template.class); action.setGlobalContext(rootTemplate.isGlobalContext()); action.setActor(rootTemplate.getActor()); action.setActions(rootTemplate.getActions());...
python
def pack_list(from_, pack_type): """ Return the wire packed version of `from_`. `pack_type` should be some subclass of `xcffib.Struct`, or a string that can be passed to `struct.pack`. You must pass `size` if `pack_type` is a struct.pack string. """ # We need from_ to not be empty if len(from_) ...
python
def on_message(self, unused_channel, basic_deliver, properties, body): """Invoked by pika when a message is delivered from RabbitMQ. The channel is passed for your convenience. The basic_deliver object that is passed in carries the exchange, routing key, delivery tag and a redelivered fl...
java
@Override public void setParticleRadiusRange( @FloatRange(from = 0.5f) final float minRadius, @FloatRange(from = 0.5f) final float maxRadius) { if (minRadius < 0.5f || maxRadius < 0.5f) { throw new IllegalArgumentException("Particle radius must not be less than 0.5"); ...
java
@SuppressWarnings("unchecked") public List seqLabeling(File file){ List<Sentence> obsvSeqs = dataReader.readFile(file.getPath()); return labeling(obsvSeqs); }
python
def write_pdb(self, custom_name='', out_suffix='', out_dir=None, custom_selection=None, force_rerun=False): """Write a new PDB file for the Structure's FIRST MODEL. Set custom_selection to a PDB.Select class for custom SMCRA selections. Args: custom_name: Filename of the new file (...
python
def get_global_palette(filenames, options): '''Fetch the global palette for a series of input files by merging their samples together into one large array. ''' input_filenames = [] all_samples = [] if not options.quiet: print('building global palette...') for input_filename in file...
java
public void setBeanManager(@Observes AfterBeanDiscovery afterBeanDiscovery, BeanManager beanManager) { setBeanManagerProvider(this); BeanManagerInfo bmi = getBeanManagerInfo(getClassLoader(null)); bmi.loadTimeBm = beanManager; }
java
public final UnicodeSet complement(CharSequence s) { checkFrozen(); int cp = getSingleCP(s); if (cp < 0) { String s2 = s.toString(); if (strings.contains(s2)) { strings.remove(s2); } else { strings.add(s2); } ...
java
@Override public void init(FilterConfig filterConfig) throws ServletException { final List<String> parameterNames = Collections.list(filterConfig.getInitParameterNames()); for (final String parameterName : parameterNames) { customResources.put(parameterName, filterConfig.getInitParameter(parameterName)); ...
java
public static List<Field> getRelatedColumns(Class<?> clazz) { if(clazz == null) { return new ArrayList<Field>(); } List<Class<?>> classLink = new ArrayList<Class<?>>(); Class<?> curClass = clazz; while (curClass != null) { classLink.add(curClass); curClass = curClass.getSuperclass(); } // 父类优先...
java
private void buildJoinTree(Criteria crit) { Enumeration e = crit.getElements(); while (e.hasMoreElements()) { Object o = e.nextElement(); if (o instanceof Criteria) { buildJoinTree((Criteria) o); } else ...
java
@XmlElementDecl(namespace = "http://www.w3.org/1998/Math/MathML", name = "minus") public JAXBElement<ArithType> createMinus(ArithType value) { return new JAXBElement<ArithType>(_Minus_QNAME, ArithType.class, null, value); }
python
def ellipsis_or_number(context, paginator, current_page): """ To avoid display a long pagination bar :param context: template context :param paginator: paginator_obj :param current_page: int :return: str or None """ # Checks is it first page chosen_page = int(context['request'].GET...
java
public Rule getMatchingRule(String surt, Date captureDate, Date retrievalDate, String who) { NewSurtTokenizer tok = new NewSurtTokenizer(surt); // Best general rule (when accessGroup is blank) Rule ruleGeneral = null; for (String key: tok.getSearchList()) { ...
python
def yaml_dump_hook(cfg, text: bool=False): """ Dumps all the data into a YAML file. """ data = cfg.config.dump() if not text: yaml.dump(data, cfg.fd, Dumper=cfg.dumper, default_flow_style=False) else: return yaml.dump(data, Dumper=cfg.dumper, default_flow_style=False)
python
def parseString(inString, silence=False): '''Parse a string, create the object tree, and export it. Arguments: - inString -- A string. This XML fragment should not start with an XML declaration containing an encoding. - silence -- A boolean. If False, export the object. Returns -- The root ...
java
public void alertOpen() { if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { logger.logp(Level.FINE, CLASS_NAME,"alertOpen()", ""); } if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){ checkRequestObjectInUse(); } _srtRequestHe...
python
def update(self, value): """Update the widget's value """ self.update_internal(value) self.emit('changed', self.get_widget_value())
java
public final CryptoKey updateCryptoKeyPrimaryVersion(String name, String cryptoKeyVersionId) { UpdateCryptoKeyPrimaryVersionRequest request = UpdateCryptoKeyPrimaryVersionRequest.newBuilder() .setName(name) .setCryptoKeyVersionId(cryptoKeyVersionId) .build(); return ...
java
public String getPositionInfo() { final int showStart = Math.max(0, position - SHOW_BEFORE); final int showEnd = Math.min(string.length(), position + SHOW_AFTER); return "before: \"" + JSONUtils.escapeJSONString(string.substring(showStart, position)) + "\"; after: \"" + JSONUtils...
java
private INode getErrorNode(XExpression expression, INode node) { if (expression instanceof XFeatureCall) { XFeatureCall featureCall = (XFeatureCall) expression; if (!canBeTypeLiteral(featureCall)) { return node; } if (featureCall.eContainingFeature() == XbasePackage.Literals.XMEMBER_FEATURE_CALL__MEMB...
python
def bytes_base64(x): """Turn bytes into base64""" if six.PY2: return base64.encodestring(x).replace('\n', '') return base64.encodebytes(bytes_encode(x)).replace(b'\n', b'')
python
def transpose(self, *args, **kwargs): """ Transposes the array and mask separately :param awm: ArrayWithMask :return: copy/view with transposed """ tdata = np.transpose(self.data, *args, **kwargs) tmask = np.transpose(self.mask, *args, **kwargs) if is_an_array(se...
java
protected static void sendMail( CmsObject cms, String password, CmsUser user, boolean newUser, boolean changePassword) { sendMail(cms, password, user, user.getOuFqn(), newUser, changePassword); }
java
public java.util.List<? extends com.google.appengine.v1.LibraryOrBuilder> getLibrariesOrBuilderList() { return libraries_; }
python
def resolve_real_bind_addr(socket_): """Retrieve actual bind addr from bound socket.""" # FIXME: keep requested bind_addr separate real bound_addr (port # is different in case of ephemeral port 0) bind_addr = socket_.getsockname() if socket_.family in ( # Windows does...
python
def next(self): """Return the next page. The page label is defined in ``settings.NEXT_LABEL``. Return an empty string if current page is the last. """ if self._page.has_next(): return self._endless_page( self._page.next_page_number(), ...
python
def make_python_zip(): ''' Search for all the python related files, and construct the pythonXX.zip According to # http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html site-packages, config and lib-dynload will be not included. ''' if not exists('private'): print...
java
private boolean generateJavaCode(File baseFile, File dataFile, File extendedFile) { return (baseFile.lastModified() < dataFile.lastModified() || (extendedFile.exists() && baseFile.lastModified() < extendedFile .lastModified())); }
java
protected void doRestore() throws Throwable { PlainChangesLog changes = read(); TransactionChangesLog tLog = new TransactionChangesLog(changes); tLog.setSystemId(Constants.JCR_CORE_RESTORE_WORKSPACE_INITIALIZER_SYSTEM_ID); // mark changes dataManager.save(tLog); }
java
protected void unsuccessfulAuthentication(PortletRequest request, PortletResponse response, AuthenticationException failed) { SecurityContextHolder.clearContext(); if (logger.isDebugEnabled()) { logger.debug("Cleared security context due to exception", failed); } ...
python
def get_stats(self, obj, stat_name): """ Send CLI command that returns list of integer counters. :param obj: requested object. :param stat_name: statistics command name. :return: list of counters. :rtype: list(int) """ return [int(v) for v in self.send_command_re...
java
public static BinaryExpression newInitializationExpression(String variable, ClassNode type, Expression rhs) { VariableExpression lhs = new VariableExpression(variable); if (type != null) { lhs.setType(type); } Token operator = Token.newPlaceholder(Types.ASSIGN); re...
python
def addError(self, test, exception): """Register that a test ended in an error. Parameters ---------- test : unittest.TestCase The test that has completed. exception : tuple ``exc_info`` tuple ``(type, value, traceback)``. """ result = se...
python
def add_svc_comment(self, service, author, comment): """Add a service comment Format of the line that triggers function call:: ADD_SVC_COMMENT;<host_name>;<service_description>;<persistent:obsolete>;<author>;<comment> :param service: service to add the comment :type service: al...
java
public static <A, B> B foldLeft (F<B,A> func, B zero, Iterable<? extends A> values) { for (A value : values) { zero = func.apply(zero, value); } return zero; }
java
public static String injectProperties(final String string) throws BugError { return Strings.replaceAll(string, VARIABLE_PATTERN, new Handler<String, String>() { @Override public String handle(String variableName) { String property = System.getProperty(variableName); i...
java
public void setDate(int index, Date value) { set(selectField(TaskFieldLists.CUSTOM_DATE, index), value); }
java
@SuppressWarnings("resource") public static InputStream getZipContentsRecursive(final String file) throws IOException { // return local file directly int pos = file.indexOf('!'); if (pos == -1) { if (!new File(file).exists()) { throw new IOException("File " + file + " does not exist"); } try { ...
java
private static long SBOG_LPSti64(Int512 t, int i) { return (StreebogTables.sbob_sl64[0][t.getByte(i) & 0xFF] ^ StreebogTables.sbob_sl64[1][t.getByte(i + 8) & 0xFF] ^ StreebogTables.sbob_sl64[2][t.getByte(i + 16) & 0xFF] ^ StreebogTables.sbob_sl64[3][t.getByte(i + ...
java
protected void setFormats(RTPFormats formats) { try { this.rtpChannel.setFormatMap(formats); this.rtpChannel.setOutputFormats(formats.getFormats()); } catch (FormatNotSupportedException e) { // Never happens logger.warn("Could not set output formats", e); } }
java
public void init(String text) { m_iCurrentState = OFF; if (m_iconOff == null) { m_iconOff = BaseApplet.getSharedInstance().loadImageIcon(CHECKBOX_OFF); m_iconOn = BaseApplet.getSharedInstance().loadImageIcon(CHECKBOX_ON); m_iconNull = BaseApplet.getSharedI...
python
def _get_image_infos(config,image): ''' Verify that the image exists We will try to resolve either by: - name - image_id - tag image Image Name / Image Id / Image Tag Returns dict ''' client = _get_client(config) infos = None try: infos = _se...
python
def get_instance_signature(instance): """Get state of instance for cache signature (as part of key). Attempts to get state will be done in this order: - instance._getsate_bucketcache_() - instance.__getstate__() - instance.__dict__ """ with suppress(AttributeError): return instance...
java
public static ZonedDateTime toNullableDateTime(Object value) { if (value == null) return null; if (value instanceof ZonedDateTime) return (ZonedDateTime) value; if (value instanceof Calendar) { Calendar calendar = (Calendar) value; return ZonedDateTime.ofInstant(calendar.toInstant(), calendar.getTime...
python
def parse_cookie(header, charset="utf-8", errors="replace", cls=None): """Parse a cookie. Either from a string or WSGI environ. Per default encoding errors are ignored. If you want a different behavior you can set `errors` to ``'replace'`` or ``'strict'``. In strict mode a :exc:`HTTPUnicodeError` is...
java
public <T> T getPrototypeBean(final Supplier<T> creator) { final PrototypeProvider provider = new PrototypeProvider(name, repository -> creator.get()); return provider.getBean(this, dryRun); }
java
public static IRequestMapper setRootRequestMapper(final Application application, final int httpPort, final int httpsPort) { final IRequestMapper httpsMapper = new HttpsMapper(application.getRootRequestMapper(), new HttpsConfig(httpPort, httpsPort)); application.setRootRequestMapper(httpsMapper); return http...
java
private String getInfoServer() throws IOException { URI fsName = FileSystem.getDefaultUri(conf); if (!"hdfs".equals(fsName.getScheme())) { throw new IOException("This is not a DFS"); } return NetUtils.getServerAddress(conf, "dfs.info.bindAddress", "dfs.info.po...
python
def modcheck(value): """Check if the value string passes the mod97-test. """ # move country code and check numbers to end rearranged = value[4:] + value[:4] # convert letters to numbers converted = [char_value(char) for char in rearranged] # interpret as integer integerized = int(''.join...
java
public TaskStatusesEnvelope getStatuses(String tid, Integer count, Integer offset, String status, String dids) throws ApiException { ApiResponse<TaskStatusesEnvelope> resp = getStatusesWithHttpInfo(tid, count, offset, status, dids); return resp.getData(); }
java
public OvhIncident incidents_id_GET(Long id) throws IOException { String qPath = "/xdsl/incidents/{id}"; StringBuilder sb = path(qPath, id); String resp = execN(qPath, "GET", sb.toString(), null); return convertTo(resp, OvhIncident.class); }
python
def search_proxy_for_facets(self, **kwargs): # noqa: E501 """Lists the values of one or more facets over the customer's non-deleted proxies # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=...
python
def DbDeleteDeviceAttribute(self, argin): """ Delete device attribute properties from database :param argin: Str[0] = Device name Str[1] = Attribute name :type: tango.DevVarStringArray :return: :rtype: tango.DevVoid """ self._log.debug("In DbDeleteDeviceAttribut...
python
def _parse(root): """Recursively convert an Element into python data types""" if root.tag == "nil-classes": return [] elif root.get("type") == "array": return [_parse(child) for child in root] d = {} for child in root: type = child.get("type") or "string" if child.g...
python
def register_image(self, name=None, description=None, image_location=None, architecture=None, kernel_id=None, ramdisk_id=None, root_device_name=None, block_device_map=None): """ Register an image. :type name: string :param name: The name of ...
java
public static CommerceCurrency fetchByG_P_A_Last(long groupId, boolean primary, boolean active, OrderByComparator<CommerceCurrency> orderByComparator) { return getPersistence() .fetchByG_P_A_Last(groupId, primary, active, orderByComparator); }
python
def print_results(args): """Print all comics that have at least the given number of minimum comic strips.""" min_comics, filename = args with codecs.open(filename, 'a', 'utf-8') as fp: for name, shortname in sorted(load_result(json_file).items()): if name in exclude_comics: ...
java
public QueryExpression lt(String propertyName,String value) { return new SimpleQueryExpression(propertyName, ComparisonOperator.LESS_THAN,wrap(value)); }
java
TrustManager[] getTrustManager(KeyStore trustStore) { try { TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance( TrustManagerFactory.getDefaultAlgorithm()); trustManagerFactory.init(trustStore); return trustManagerFactory.getTrustMana...
python
def _patch_original_class(self): """ Apply accumulated methods and return the class. """ cls = self._cls base_names = self._base_names # Clean class of attribute definitions (`attr.ib()`s). if self._delete_attribs: for name in self._attr_names: ...
python
def process_raw(self, raw: dict) -> None: """Pre-process raw dict. Prepare parameters to work with APIItems. """ raw_ports = {} for param in raw: port_index = REGEX_PORT_INDEX.search(param).group(0) if port_index not in raw_ports: raw_po...
java
protected String getSelectionlink(TreeElement node, String nodeName, InheritableState state) throws JspException { String selectionLink = null; if (!node.isDisabled()) { // The action on the node overrides all. Otherwise, check to see if there // is either an h...
java
private static String camelFormat(String str, boolean isFirstCapitalized) { StringBuilder builder = new StringBuilder(str.length()); String[] tokens = NOT_ALPHANUMERIC_REGEX.split(str); for (int i = 0; i < tokens.length; i++) { String lowerCased = StringUtils.lowerCase(tokens[i]); if (i == 0) { builder....
python
def get_key(self, path): """ Returns the object summary at the path """ (bucket, key) = self._path_to_bucket_and_key(path) if self._exists(bucket, key): return self.s3.ObjectSummary(bucket, key)
java
@Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case XbasePackage.XCLOSURE__DECLARED_FORMAL_PARAMETERS: return getDeclaredFormalParameters(); case XbasePackage.XCLOSURE__EXPRESSION: return getExpression(); case XbasePackage.XCLOSURE__EXPLICIT_...
java
public void setLevel (Level level) { this.defaultLevel = level; logger.setLevel (level); for (Handler handler : logger.getHandlers ()) { handler.setLevel (level); } }
java
private long getOptimalPartSize(long contentLengthOfSource) { long optimalPartSize = TransferManagerUtils .calculateOptimalPartSizeForCopy(copyObjectRequest, configuration, contentLengthOfSource); log.debug("Calculated optimal part size: " + optimalPartSize); ...
java
public Observable<JobInner> updateAsync(String resourceGroupName, String accountName, String transformName, String jobName, JobInner parameters) { return updateWithServiceResponseAsync(resourceGroupName, accountName, transformName, jobName, parameters).map(new Func1<ServiceResponse<JobInner>, JobInner>() { ...
python
def _paste(self, sources, destination, copy): """ Copies the files listed in ``sources`` to destination. Source are removed if copy is set to False. """ for src in sources: debug('%s <%s> to <%s>' % ( 'copying' if copy else 'cutting', src, destination)...
java
public MultipartUploadRequest addFileToUpload(String filePath, String parameterName, String fileName, String contentType) throws FileNotFoundException, IllegalArgumentException { UploadFile file = ne...
java
@Override public void abort() throws TTException { checkState(!mDelegate.isClosed(), "Transaction is already closed."); long revisionToSet = 0; revisionToSet = mDelegate.mPageReadTrx.getRevision() - 1; getPtx().close(); // Reset internal transaction state to last committed ...
python
def bestmove(self): """ Get proposed best move for current position. @return: dictionary with 'move', 'ponder', 'info' containing best move's UCI notation, ponder value and info dictionary. """ self.go() last_info = "" while True: text = self....
java
public ValueType getArgument(InvokeInstruction ins, ConstantPoolGen cpg, int i, SignatureParser sigParser) throws DataflowAnalysisException { if (i >= sigParser.getNumParameters()) { throw new IllegalArgumentException("requesting parameter # " + i + " of " + sigParser); } ...
python
def hessianFreqs(self,jr,jphi,jz,**kwargs): """ NAME: hessianFreqs PURPOSE: return the Hessian d Omega / d J and frequencies Omega corresponding to a torus INPUT: jr - radial action (scalar) jphi - azimuthal action (scalar) jz...
java
public static Field forName(Class cl, String name) { java.lang.reflect.Field result; try { result = cl.getDeclaredField(name); } catch (NoSuchFieldException e) { return null; } return create(result); }
python
def show_zoning_enabled_configuration_output_enabled_configuration_enabled_zone_member_entry_entry_name(self, **kwargs): """Auto Generated Code """ config = ET.Element("config") show_zoning_enabled_configuration = ET.Element("show_zoning_enabled_configuration") config = show_zoni...