Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for Write (1.02 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    **FastAPI** calls the `CommonQueryParams` class. This creates an "instance" of that class and the instance will be passed as the parameter `commons` to your function.
    
    ## Type annotation vs `Depends`
    
    Notice how we write `CommonQueryParams` twice in the above code:
    
    === "Python 3.8+"
    
        ```Python
        commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
        ```
    
    === "Python 3.8+ non-Annotated"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/index.md

    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    This way you write shared code once and **FastAPI** takes care of calling it for your *path operations*.
    
    !!! check
        Notice that you don't have to create a special class and pass it somewhere to **FastAPI** to "register" it or anything similar.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/en/docs/async.md

    But if you want to use `async` / `await` without FastAPI, you can do it as well.
    
    ### Write your own async code
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/list.md

    | `minio_cluster_nodes_online_total`                | Total number of MinIO nodes online.            |
    | `minio_cluster_write_quorum`                      | Maximum write quorum across all pools and sets |
    | `minio_cluster_health_status`                     | Get current cluster health status              |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                bytesRead = source.read(sink, byteCount)
              } catch (e: IOException) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
                  cacheRequest.abort() // Failed to write a complete cache response.
                }
                throw e
              }
    
              if (bytesRead == -1L) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. ReadMe.md

    #Linux & Git for Windows
    sed -i -e '/<components>/,/<\/components>/d' gradle/verification-metadata.xml
    ```
    - Re-generate dependencies with Gradle's `--write-verification-metadata` command (verify update relates to your changes)
    
    ```bash
    ./gradlew -i --write-verification-metadata sha256,md5 -Pkotlin.native.enabled=true resolveDependencies
    ```
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/en/docs/help-fastapi.md

    * <a href="https://www.linkedin.com/in/tiangolo/" class="external-link" target="_blank">Follow me on **LinkedIn**</a>.
        * Hear when I make announcements or release new tools (although I use Twitter more often 🤷‍♂).
    * Read what I write (or follow me) on <a href="https://dev.to/tiangolo" class="external-link" target="_blank">**Dev.to**</a> or <a href="https://medium.com/@tiangolo" class="external-link" target="_blank">**Medium**</a>.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                info: UrlResponseInfo,
                byteBuffer: ByteBuffer,
              ) {
                println("onReadCompleted ${info.headers.asMap}")
                byteBuffer.flip()
                buffer.write(byteBuffer)
                byteBuffer.clear()
                request.read(byteBuffer)
              }
    
              override fun onSucceeded(
                request: UrlRequest,
                info: UrlResponseInfo,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    @Throws(IOException::class)
    fun Response.commonPeekBody(byteCount: Long): ResponseBody {
      val peeked = body.source().peek()
      val buffer = Buffer()
      peeked.request(byteCount)
      buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
      return buffer.asResponseBody(body.contentType(), buffer.size)
    }
    
    fun Response.commonNewBuilder(): Response.Builder = Response.Builder(this)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs/en/docs/benchmarks.md

    * **Uvicorn**:
        * Will have the best performance, as it doesn't have much extra code apart from the server itself.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top