Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sargument (0.17 sec)

  1. scripts/docs.py

    
    @app.command()
    def live(
        lang: str = typer.Argument(
            None, callback=lang_callback, autocompletion=complete_existing_lang
        ),
    ) -> None:
        """
        Serve with livereload a docs site for a specific language.
    
        This only shows the actual translated files, not the placeholders created with
        build-all.
    
        Takes an optional LANG argument with the name of the language to serve, by default
        en.
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  2. ci/official/utilities/extract_resultstore_links.py

      parser.add_argument('build_log',
                          help='Path to a build log.')
      parser.add_argument('--xml-out-path',
                          required=False,
                          help='Path to which to output '
                               'the JUnit-based XML with ResultStore links.')
      parser.add_argument('--print',
                          action='store_true', dest='print', default=False,
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. bin/diff_yaml.py

        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")
        parser.add_argument("--ignore-labels", action="store_true", default=False,
    Python
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  4. tests/test_inherited_custom_class.py

            return uuid.UUID
    
        @property
        def __dict__(self):
            """Spoof a missing __dict__ by raising TypeError, this is how
            asyncpg.pgroto.pgproto.UUID behaves"""
            raise TypeError("vars() argument must have __dict__ attribute")
    
    
    @needs_pydanticv2
    def test_pydanticv2():
        from pydantic import field_serializer
    
        app = FastAPI()
    
        @app.get("/fast_uuid")
        def return_fast_uuid():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. fastapi/applications.py

                    another one for output.
                    """
                ),
            ] = True,
            **extra: Annotated[
                Any,
                Doc(
                    """
                    Extra keyword arguments to be stored in the app, not used by FastAPI
                    anywhere.
                    """
                ),
            ],
        ) -> None:
            self.debug = debug
            self.title = title
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  6. configure.py

        var_default: (String) default value string.
        ask_for_var: (String) string for how to ask for user input.
        check_success: (Function) function that takes one argument and returns a
          boolean. Should return True if the value provided is considered valid. May
          contain a complex error message if error_msg does not provide enough
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top