Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for technique (0.17 sec)

  1. docs/en/docs/advanced/additional-responses.md

    You might want to have some predefined responses that apply to many *path operations*, but you want to combine them with custom responses needed by each *path operation*.
    
    For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/additional-responses.md

    Dans ces cas, vous pouvez utiliser la technique Python "d'affection par décomposition" (appelé _unpacking_ en anglais) d'un `dict` avec `**dict_to_unpack` :
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-updates.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="30-37"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    !!! tip
        You can actually use this same technique with an HTTP `PUT` operation.
    
        But the example here uses `PATCH` because it was created for these use cases.
    
    !!! note
        Notice that the input model is still validated.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/fr/docs/advanced/additional-status-codes.md

        Elle ne sera pas sérialisée avec un modèle.
    
        Assurez-vous qu'il contient les données souhaitées et que les valeurs soient dans un format JSON valides (si vous utilisez une `JSONResponse`).
    
    !!! note "Détails techniques"
        Vous pouvez également utiliser `from starlette.responses import JSONResponse`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. docs/fr/docs/advanced/response-directly.md

    ```Python hl_lines="6-7  21-22"
    {!../../../docs_src/response_directly/tutorial001.py!}
    ```
    
    !!! note "Détails techniques"
        Vous pouvez aussi utiliser `from starlette.responses import JSONResponse`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package framer implements simple frame decoding techniques for an io.ReadCloser
    package framer
    
    import (
    	"encoding/binary"
    	"encoding/json"
    	"io"
    )
    
    type lengthDelimitedFrameWriter struct {
    	w io.Writer
    	h [4]byte
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs/fr/docs/fastapi-people.md

    {% endif %}
    {% endfor %}
    
    </div>
    
    {% endfor %}
    {% endif %}
    
    ## À propos des données - détails techniques
    
    L'intention de cette page est de souligner l'effort de la communauté pour aider les autres.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ## OpenAPI supplémentaire
    
    Lorsque vous déclarez un *chemin* dans votre application, **FastAPI** génère automatiquement les métadonnées concernant ce *chemin* à inclure dans le schéma OpenAPI.
    
    !!! note "Détails techniques"
        La spécification OpenAPI appelle ces métadonnées des <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object" class="external-link" target="_blank">Objets d'opération</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

    // 3) What will be the quantization precision for each unit (nodes / ops) in the
    //    model.
    
    // Model quantization method for optimization.
    //
    // Various techniques for model quantization are defined within this message
    // along with a field that specifies a method to be used for a particular
    // quantization request.
    // NEXT ID: 5
    message QuantizationMethod {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top