Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 8921 - 8930 of 9,300 for Use (0.02 seconds)

  1. docs/ru/docs/tutorial/static-files.md

    # Статические Файлы { #static-files }
    
    Вы можете предоставлять статические файлы автоматически из директории, используя `StaticFiles`.
    
    ## Использование `StaticFiles` { #use-staticfiles }
    
    * Импортируйте `StaticFiles`.
    * "Примонтируйте" экземпляр `StaticFiles()` к определённому пути.
    
    {* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *}
    
    /// note | Технические детали
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/response-model.md

    * `tax: float = 10.5` 預設為 `10.5`。
    * `tags: List[str] = []` 預設為空的 list:`[]`。
    
    但如果這些值其實沒有被儲存,你可能想要在結果中省略它們。
    
    例如,如果你在 NoSQL 資料庫中有包含許多選擇性屬性的模型,但你不想傳送充滿預設值的冗長 JSON 回應。
    
    ### 使用 `response_model_exclude_unset` 參數 { #use-the-response-model-exclude-unset-parameter }
    
    你可以在「路徑操作裝飾器」上設定 `response_model_exclude_unset=True`:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[22] *}
    
    如此這些預設值就不會被包含在回應中,只有實際被設定的值才會包含。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/query-params-str-validations.md

    如果你的版本更旧,使用 `Annotated` 会报错。
    
    在使用 `Annotated` 之前,请确保先[升级 FastAPI 版本](../deployment/versions.md#upgrading-the-fastapi-versions)到至少 0.95.1。
    
    ///
    
    ## 在 `q` 参数的类型中使用 `Annotated` { #use-annotated-in-the-type-for-the-q-parameter }
    
    还记得我之前在[Python 类型简介](../python-types.md#type-hints-with-metadata-annotations)中说过可以用 `Annotated` 给参数添加元数据吗?
    
    现在正是与 FastAPI 搭配使用它的时候。🚀
    
    我们之前的类型标注是:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  4. src/archive/tar/tar_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"maps"
    	"math"
    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  5. src/main/webapp/js/popper.min.js

     */
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/static-files.md

    # Archivos Estáticos { #static-files }
    
    Puedes servir archivos estáticos automáticamente desde un directorio utilizando `StaticFiles`.
    
    ## Usa `StaticFiles` { #use-staticfiles }
    
    * Importa `StaticFiles`.
    * "Monta" una instance de `StaticFiles()` en un path específico.
    
    {* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.staticfiles import StaticFiles`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/static-files.md

    # Fichiers statiques { #static-files }
    
    Vous pouvez servir des fichiers statiques automatiquement à partir d'un répertoire en utilisant `StaticFiles`.
    
    ## Utiliser `StaticFiles` { #use-staticfiles }
    
    - Importer `StaticFiles`.
    - « Mount » une instance `StaticFiles()` sur un chemin spécifique.
    
    {* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *}
    
    /// note | Détails techniques
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsBadWordCA.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 46.6K bytes
    - Click Count (0)
  9. cmd/metacache-entries.go

    	defer xioutil.SafeClose(out)
    	top := make([]*metaCacheEntry, len(in))
    	nDone := 0
    	ctxDone := ctx.Done()
    
    	// Use simpler forwarder.
    	if len(in) == 1 {
    		for {
    			select {
    			case <-ctxDone:
    				return ctx.Err()
    			case v, ok := <-in[0]:
    				if !ok {
    					return nil
    				}
    				select {
    				case <-ctxDone:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  10. docs/ko/docs/deployment/docker.md

    /// tip | 팁
    
    코드의 각 숫자 버블을 클릭해 각 줄이 하는 일을 확인하세요. 👆
    
    ///
    
    /// warning | 경고
    
    아래에서 설명하는 것처럼 `CMD` 지시어는 **항상** **exec form**을 사용해야 합니다.
    
    ///
    
    #### `CMD` 사용하기 - Exec Form { #use-cmd-exec-form }
    
    Docker 지시어 [`CMD`](https://docs.docker.com/reference/dockerfile/#cmd)는 두 가지 형식으로 작성할 수 있습니다:
    
    ✅ **Exec** form:
    
    ```Dockerfile
    # ✅ 이렇게 하세요
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 32.6K bytes
    - Click Count (0)
Back to Top