Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for Gone (0.02 sec)

  1. scripts/translate.py

        print(f"Adding missing translations for {language}")
        add_missing(language=language)
        print(f"Done updating and adding for {language}")
    
    
    @app.command()
    def make_pr(
        *,
        language: Annotated[str | None, typer.Option(envvar="LANGUAGE")] = None,
        command: Annotated[str | None, typer.Option(envvar="COMMAND")] = None,
        github_token: Annotated[str, typer.Option(envvar="GITHUB_TOKEN")],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  2. tests/test_openapi_examples.py

    
    @app.get("/query_examples/")
    def query_examples(
        data: Union[str, None] = Query(
            default=None,
            examples=[
                "json_schema_query1",
                "json_schema_query2",
            ],
            openapi_examples={
                "Query One": {
                    "summary": "Query One Summary",
                    "description": "Query One Description",
                    "value": "query1",
                },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. fastapi/dependencies/utils.py

    
    def get_dependant(
        *,
        path: str,
        call: Callable[..., Any],
        name: Optional[str] = None,
        own_oauth_scopes: Optional[list[str]] = None,
        parent_oauth_scopes: Optional[list[str]] = None,
        use_cache: bool = True,
        scope: Union[Literal["function", "request"], None] = None,
    ) -> Dependant:
        dependant = Dependant(
            call=call,
            name=name,
            path=path,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  4. fastapi/param_functions.py

            ),
        ] = None,
        discriminator: Annotated[
            Union[str, None],
            Doc(
                """
                Parameter field name for discriminating the type in a tagged union.
                """
            ),
        ] = None,
        strict: Annotated[
            Union[bool, None],
            Doc(
                """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_param_models/test_tutorial003.py

        assert response.status_code == 200
        assert response.json() == {
            "host": "testserver",
            "save_data": True,
            "if_modified_since": None,
            "traceparent": None,
            "x_tag": [],
        }
    
    
    def test_header_param_model_invalid(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 422
        assert response.json() == snapshot(
            {
                "detail": [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_header_param_models/test_tutorial001.py

        assert response.status_code == 200
        assert response.json() == {
            "host": "testserver",
            "save_data": True,
            "if_modified_since": None,
            "traceparent": None,
            "x_tag": [],
        }
    
    
    def test_header_param_model_invalid(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 422
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_header_param_models/test_tutorial002.py

        assert response.status_code == 200
        assert response.json() == {
            "host": "testserver",
            "save_data": True,
            "if_modified_since": None,
            "traceparent": None,
            "x_tag": [],
        }
    
    
    def test_header_param_model_invalid(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 422
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. fastapi/routing.py

            summary: Optional[str] = None,
            description: Optional[str] = None,
            response_description: str = "Successful Response",
            responses: Optional[dict[Union[int, str], dict[str, Any]]] = None,
            deprecated: Optional[bool] = None,
            name: Optional[str] = None,
            methods: Optional[Union[set[str], list[str]]] = None,
            operation_id: Optional[str] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  9. fastapi/utils.py

        model_config: Union[type[BaseConfig], None] = None,
        field_info: Optional[FieldInfo] = None,
        alias: Optional[str] = None,
        mode: Literal["validation", "serialization"] = "validation",
        version: Literal["1", "auto"] = "auto",
    ) -> ModelField:
        if annotation_is_pydantic_v1(type_):
            raise PydanticV1NotSupportedError(
                "pydantic.v1 models are no longer supported by FastAPI."
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. fastapi/datastructures.py

                    """
                ),
            ],
        ) -> None:
            """
            Move to a position in the file.
    
            Any next read or write will be done from that position.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().seek(offset)
    
        async def close(self) -> None:
            """
            Close the file.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top