Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for elem (0.15 sec)

  1. ci/official/utilities/extract_resultstore_links.py

      return result_store_links
    
    
    def indent_xml(elem, level=0) -> None:
      """Indents and newlines the XML for better output."""
      indent_str = '\n' + level * '  '
      if len(elem):  # pylint: disable=g-explicit-length-test  # `if elem` not valid
        if not elem.text or not elem.text.strip():
          elem.text = indent_str + '  '
        if not elem.tail or not elem.tail.strip():
          elem.tail = indent_str
        for elem in elem:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

      ).group(0)
      for testsuite in r:
        testsuite._elem.set("source_file", source_file)
        # Remove empty testcases
        for p in testsuite._elem.xpath(".//testcase"):
          if not len(p):  # pylint: disable=g-explicit-length-test
            testsuite._elem.remove(p)
        # Change "testsuite > testcase,system-out" to "testsuite > testcase > error"
        for p in testsuite._elem.xpath(".//system-out"):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. docs/sts/client_grants/sts_element.py

                    )
                )
    
        def findall(self, name):
            """Similar to ElementTree.Element.findall()
    
            """
            return [
                STSElement(self.root_name, elem)
                for elem in self.element.findall('sts:{}'.format(name), _STS_NS)
            ]
    
        def find(self, name):
            """Similar to ElementTree.Element.find()
    
            """
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top