Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 779 for extras (0.04 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,141,172] *}
    
    /// info | Technical Details
    
    `Security` is actually a subclass of `Depends`, and it has just one extra parameter that we'll see later.
    
    But by using `Security` instead of `Depends`, **FastAPI** will know that it can declare security scopes, use them internally, and document the API with OpenAPI.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body/test_tutorial001.py

        assert response.json() == {
            "detail": [
                {
                    "type": "model_attributes_type",
                    "loc": ["body"],
                    "msg": "Input should be a valid dictionary or object to extract fields from",
                    "input": "name=Foo&price=50.5",
                }
            ]
        }
    
    
    def test_explicit_content_type(client: TestClient):
        response = client.post(
            "/items/",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. docs_src/cookie_param_models/tutorial002_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        model_config = {"extra": "forbid"}
    
        session_id: str
        fatebook_tracker: Union[str, None] = None
        googall_tracker: Union[str, None] = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Annotated[Cookies, Cookie()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 402 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        /**
         * Returns the offset.
         *
         * @return The offset.
         */
        public abstract int getOffset();
    
        /**
         * Returns the extra queries.
         *
         * @return The extra queries.
         */
        public abstract String[] getExtraQueries();
    
        /**
         * Returns the attribute.
         *
         * @param name The name of the attribute.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. helm/minio/templates/statefulset.yaml

                  subPath: {{ $subPath }}
                  {{- end }}
                {{- end }}
                {{- end }}
                {{- if .Values.extraSecret }}
                - name: extra-secret
                  mountPath: "/tmp/minio-config-env"
                {{- end }}
                {{- include "minio.tlsKeysVolumeMount" . | indent 12 }}
                {{- if .Values.extraVolumeMounts }}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 11 12:21:05 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[30]; // Extra space to test offset
            int bufferIndex = 5; // Start at offset 5
            long expectedAllocationSize = 2048L;
            long expectedEndOfFile = 1536L;
            int expectedNumberOfLinks = 5;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test decode ignores extra buffer length")
        void testDecodeIgnoresExtraLength() throws SMBProtocolDecodingException {
            // Create larger buffer
            byte[] buffer = new byte[100];
            long value = 999L;
            SMBUtil.writeInt8(value, buffer, 0);
    
            // Decode with extra length - should only read 8 bytes
            int bytesRead = fileInfo.decode(buffer, 0, 100);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/path-operation-advanced-configuration.md

    Es gibt hier in der Dokumentation ein ganzes Kapitel darüber, Sie können es unter [Zusätzliche Responses in OpenAPI](additional-responses.md){.internal-link target=_blank} lesen.
    
    ## OpenAPI-Extra { #openapi-extra }
    
    Wenn Sie in Ihrer Anwendung eine *Pfadoperation* deklarieren, generiert **FastAPI** automatisch die relevanten Metadaten dieser *Pfadoperation*, die in das OpenAPI-Schema aufgenommen werden sollen.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/dataclasses.md

    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## Dataclasses em Estruturas de Dados Aninhadas { #dataclasses-in-nested-data-structures }
    
    Você também pode combinar `dataclasses` com outras anotações de tipo para criar estruturas de dados aninhadas.
    
    Em alguns casos, você ainda pode ter que usar a versão do Pydantic das `dataclasses`. Por exemplo, se você tiver erros com a documentação da API gerada automaticamente.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/security/simple-oauth2.md

        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    /// info | Informação
    
    Para uma explicação mais completa de `**user_dict`, verifique [a documentação para **Extra Models**](../extra-models.md#about-user-in-dict){.internal-link target=_blank}.
    
    ///
    
    ## Retorne o token { #return-the-token }
    
    A resposta do endpoint `token` deve ser um objeto JSON.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top