Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,729 for target (0.09 sec)

  1. docs/zh/docs/python-types.md

    ```Python
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    /// info
    
    想进一步了解 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic,请阅读其文档</a>.
    
    ///
    
    整个 **FastAPI** 建立在 Pydantic 的基础之上。
    
    实际上你将在 [教程 - 用户指南](tutorial/index.md){.internal-link target=_blank} 看到很多这种情况。
    
    ## **FastAPI** 中的类型提示
    
    **FastAPI** 利用这些类型提示来做下面几件事。
    
    使用 **FastAPI** 时用类型提示声明参数可以获得:
    
    * **编辑器支持**。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. docs/ja/docs/advanced/custom-response.md

    上で読んだように、**FastAPI** のデフォルトのレスポンスとして利用されます。
    
    ### `ORJSONResponse`
    
    上で読んだように、<a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>を使った、高速な代替のJSONレスポンスです。
    
    ### `UJSONResponse`
    
    <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>を使った、代替のJSONレスポンスです。
    
    /// warning | "注意"
    
    `ujson` は、いくつかのエッジケースの取り扱いについて、Pythonにビルトインされた実装よりも作りこまれていません。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    
      @Override
      int indexOf(@CheckForNull Object target) {
        int index = forward.indexOf(target);
        if (index == -1) {
          return index;
        } else {
          return size() - 1 - index;
        }
      }
    
      @Override
      boolean isPartialView() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/response-cookies.md

    Você também pode criar cookies ao retornar uma `Response` diretamente no seu código.
    
    Para fazer isso, você pode criar uma resposta como descrito em [Retornando uma Resposta Diretamente](response-directly.md){.internal-link target=_blank}.
    
    Então, defina os cookies nela e a retorne:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/response-cookies.md

    Sie können Cookies auch erstellen, wenn Sie eine `Response` direkt in Ihrem Code zurückgeben.
    
    Dazu können Sie eine Response erstellen, wie unter [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} beschrieben.
    
    Setzen Sie dann Cookies darin und geben Sie sie dann zurück:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/background-tasks.md

    <a href="https://www.starlette.io/background/" class="external-link" target="_blank">`Starlette의 공식 문서`</a>에서 백그라운드 작업에 대한 자세한 내용을 확인할 수 있습니다.
    
    ## 경고
    
    만약 무거운 백그라운드 작업을 수행해야하고 동일한 프로세스에서 실행할 필요가 없는 경우 (예: 메모리, 변수 등을 공유할 필요가 없음) <a href="https://docs.celeryq.dev" class="external-link" target="_blank">`Celery`</a>와 같은 큰 도구를 사용하면 도움이 될 수 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    	} else {
    		bs.XferRateSml.addSize(sz, duration)
    	}
    }
    
    // RMetricName - name of replication metric
    type RMetricName string
    
    const (
    	// Large - objects larger than 128MiB
    	Large RMetricName = "Large"
    	// Small - objects smaller than 128MiB
    	Small RMetricName = "Small"
    	// Total - metric pertaining to totals
    	Total RMetricName = "Total"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/using-request-directly.md

    ## Details zum `Request`-Objekt
    
    Da **FastAPI** unter der Haube eigentlich **Starlette** ist, mit einer Ebene von mehreren Tools darüber, können Sie Starlette's <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a>-Objekt direkt verwenden, wenn Sie es benötigen.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/events.md

    # 事件:启动 - 关闭
    
    **FastAPI** 支持定义在应用启动前,或应用关闭后执行的事件处理器(函数)。
    
    事件函数既可以声明为异步函数(`async def`),也可以声明为普通函数(`def`)。
    
    /// warning | "警告"
    
    **FastAPI** 只执行主应用中的事件处理器,不执行[子应用 - 挂载](sub-applications.md){.internal-link target=_blank}中的事件处理器。
    
    ///
    
    ## `startup` 事件
    
    使用 `startup` 事件声明 `app` 启动前运行的函数:
    
    ```Python hl_lines="8"
    {!../../docs_src/events/tutorial001.py!}
    ```
    
    本例中,`startup` 事件处理器函数为项目数据库(只是**字典**)提供了一些初始值。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

        * You can also add [`Security` dependencies with `scopes`](../advanced/security/oauth2-scopes.md){.internal-link target=_blank}.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top