Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for still (0.22 sec)

  1. tests/test_openapi_servers.py

    app = FastAPI(
        servers=[
            {"url": "/", "description": "Default, relative server"},
            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    def foo():
        return {"message": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_app():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. .github/actions/notify-translations/app/main.py

        done_translation_message = f"~There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}~ Good job! This is done. 🍰☕"
    
        # Normally only one language, but still
        for lang in langs:
            if lang not in lang_to_discussion_map:
                log_message = f"Could not find discussion for language: {lang}"
                logging.error(log_message)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  3. fastapi/params.py

            example: Annotated[
                Optional[Any],
                deprecated(
                    "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, "
                    "although still supported. Use examples instead."
                ),
            ] = _Unset,
            openapi_examples: Optional[Dict[str, Example]] = None,
            deprecated: Union[deprecated, str, bool, None] = None,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  4. fastapi/param_functions.py

                """
            ),
        ] = None,
        example: Annotated[
            Optional[Any],
            deprecated(
                "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, "
                "although still supported. Use examples instead."
            ),
        ] = _Unset,
        openapi_examples: Annotated[
            Optional[Dict[str, Example]],
            Doc(
                """
                OpenAPI-specific examples.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  5. fastapi/openapi/models.py

        example: Annotated[
            Optional[Any],
            typing_deprecated(
                "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, "
                "although still supported. Use examples instead."
            ),
        ] = None
    
    
    # Ref: https://json-schema.org/draft/2020-12/json-schema-core.html#name-json-schema-documents
    # A JSON Schema MUST be an object or a boolean.
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. configure.py

      return curr_version
    
    
    # Disable clang extension that rejects type definitions within offsetof.
    # This was added in clang-16 by https://reviews.llvm.org/D133574.
    # Still required for clang-17.
    # Can be removed once upb is updated, since a type definition is used within
    # offset of in the current version of ubp. See
    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)
  7. fastapi/applications.py

                RequestValidationError, request_validation_exception_handler
            )
            self.exception_handlers.setdefault(
                WebSocketRequestValidationError,
                # Starlette still has incorrect type specification for the handlers
                websocket_request_validation_exception_handler,  # type: ignore
            )
    
            self.user_middleware: List[Middleware] = (
    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)
Back to top