Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Parser (0.45 sec)

  1. bin/diff_yaml.py

    def main(args):
        return compare(args)
    
    
    def get_parser():
        parser = argparse.ArgumentParser(
            description="Compare kubernetes yaml files")
    
        parser.add_argument("orig")
        parser.add_argument("new")
        parser.add_argument("--ignore-namespace", action="store_true", default=False,
                            help="Ignore namespace during comparison")
    Python
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  2. ci/official/utilities/extract_resultstore_links.py

                          action='store_true', dest='verbose', default=False,
                          help='Prints out lines helpful for debugging.')
      parsed_args = parser.parse_args()
      if not parsed_args.print and not parsed_args.xml_out_path:
        raise TypeError('`--print` or `--xml-out-path` must be specified')
    
      return parsed_args
    
    
    def parse_log(file_path: str,
    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)
  3. docs/sts/client_grants/__init__.py

                        provider=method,
                        error_msg=message % response.status,
                    )
    
                return parse_grants_response(response.data)
    
            def parse_grants_response(data):
                """
                Parser for AssumeRoleWithClientGrants response
    
                :param data: Response data for AssumeRoleWithClientGrants request
                :return: dict
                """
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  4. configure.py

      global _TF_WORKSPACE_ROOT
      global _TF_BAZELRC
      global _TF_CURRENT_BAZEL_VERSION
    
      parser = argparse.ArgumentParser()
      parser.add_argument(
          '--workspace',
          type=str,
          default=os.path.abspath(os.path.dirname(__file__)),
          help='The absolute path to your active Bazel workspace.')
      args = parser.parse_args()
    
      _TF_WORKSPACE_ROOT = args.workspace
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. scripts/mkdocs_hooks.py

                first_child = new_children[0]
                if isinstance(first_child, Page):
                    if first_child.file.src_path.endswith("index.md"):
                        # Read the source so that the title is parsed and available
                        first_child.read_source(config=config)
                        new_title = first_child.title or new_title
                # Creating a new section makes it render it collapsed by default
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. tests/test_path.py

        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "value could not be parsed to a boolean",
                        "type": "type_error.bool",
                    }
                ]
            }
        )
    
    
    def test_path_bool_True():
        response = client.get("/path/bool/True")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 34.4K bytes
    - Viewed (0)
  7. docs/sts/client_grants/sts_element.py

        @classmethod
        def fromstring(cls, root_name, data):
            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
            :return: Returns an STSElement.
            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
                raise InvalidXMLError(
    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)
  8. fastapi/routing.py

        *, dependant: Dependant, values: Dict[str, Any], is_coroutine: bool
    ) -> Any:
        # Only called by get_request_handler. Has been split into its own function to
        # facilitate profiling endpoints, since inner functions are harder to profile.
        assert dependant.call is not None, "dependant.call must be a function"
    
        if is_coroutine:
            return await dependant.call(**values)
        else:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top