Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 711 for copies (0.11 sec)

  1. docs/zh/docs/advanced/using-request-directly.md

    # 直接使用请求
    
    至此,我们已经使用多种类型声明了请求的各种组件。
    
    并从以下对象中提取数据:
    
    * 路径参数
    * 请求头
    * Cookies
    * 等
    
    **FastAPI** 使用这种方式验证数据、转换数据,并自动生成 API 文档。
    
    但有时,我们也需要直接访问 `Request` 对象。
    
    ## `Request` 对象的细节
    
    实际上,**FastAPI** 的底层是 **Starlette**,**FastAPI** 只不过是在  **Starlette** 顶层提供了一些工具,所以能直接使用 Starlette 的  <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a> 对象。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStats.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
       * other using {@code second = new PairedStatsAccumulator().addAll(first).snapshot()}, if both
       * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. docs/ru/docs/features.md

    * Ключи API в:
        * Заголовках.
        * Параметрах запросов.
        * Cookies и т.п.
    
    Вдобавок все функции безопасности от Starlette (включая **сессионные cookies**).
    
    Все инструменты и компоненты спроектированы для многократного использования и легко интегрируются с вашими системами, хранилищами данных, реляционными и NoSQL базами данных и т. д.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. tensorflow/api_template_v1.__init__.py

    # Don't fail if these modules are not available.
    # For e.g. this file will be originally placed under tensorflow/_api/v1 which
    # does not have "python", "core" directories. Then, it will be copied
    # to tensorflow/ which does have these two directories.
    
    try:
      del python
    except NameError:
      pass
    try:
      del core
    except NameError:
      pass
    try:
      del compiler
    except NameError:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/simple-oauth2.md

    但由于这种用例很常见,FastAPI 为了简便,就直接提供了对它的支持。
    
    ///
    
    ### 使用表单数据
    
    /// tip | "提示"
    
    `OAuth2PasswordRequestForm` 类依赖项的实例没有以空格分隔的长字符串属性 `scope`,但它支持 `scopes` 属性,由已发送的 scope 字符串列表组成。
    
    本例没有使用 `scopes`,但开发者也可以根据需要使用该属性。
    
    ///
    
    现在,即可使用表单字段 `username`,从(伪)数据库中获取用户数据。
    
    如果不存在指定用户,则返回错误消息,提示**用户名或密码错误**。
    
    本例使用 `HTTPException` 异常显示此错误:
    
    ```Python hl_lines="3  77-79"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
       * the given array.
       *
       * @param array the array to copy elements from
       * @throws NullPointerException if array is null
       */
      public AtomicDoubleArray(double[] array) {
        int len = array.length;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/security/index.md

    OpenAPI может использовать следующие схемы авторизации:
    
    * `apiKey`: уникальный идентификатор для приложения, который может быть получен из:
        * Параметров запроса.
        * Заголовка.
        * Cookies.
    * `http`: стандартные системы аутентификации по протоколу HTTP, включая:
        * `bearer`: заголовок `Authorization` со значением `Bearer {уникальный токен}`. Это унаследовано от OAuth2.
        * Базовая аутентификация по протоколу HTTP.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/features/calls.md

    original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This requires...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. cmd/erasure-coding.go

    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/uk/docs/index.md

    * <abbr title="також відомий як: serialization, parsing, marshalling">Перетворення</abbr> вхідних даних: з мережі до даних і типів Python. Читання з:
        * JSON.
        * Параметрів шляху.
        * Параметрів запиту.
        * Cookies.
        * Headers.
        * Forms.
        * Файлів.
    * <abbr title="також відомий як: serialization, parsing, marshalling">Перетворення</abbr> вихідних даних: з типів і даних Python до мережевих даних (як JSON):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top