Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Potter (0.2 sec)

  1. docs/en/docs/how-to/sql-databases-peewee.md

        Feel free to skip this.
    
        Peewee is not recommended with FastAPI as it doesn't play well with anything async Python. There are several better alternatives.
    
    !!! info
        These docs assume Pydantic v1.
    
        Because Pewee doesn't play well with anything async and there are better alternatives, I won't update these docs for Pydantic v2, they are kept for now only for historical purposes.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (1)
  2. docs/en/docs/async.md

    ### Is concurrency better than parallelism?
    
    Nope! That's not the moral of the story.
    
    Concurrency is different than parallelism. And it is better on **specific** scenarios that involve a lot of waiting. Because of that, it generally is a lot better than parallelism for web application development. But not for everything.
    
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            /**
             * Not all expressions appear in the [ControlFlowGraph].
             * Still, if we find at least some of them, it's very unlikely that we will ever find a better graph.
             */
            val firCandidates = buildSet {
                fun addCandidate(firCandidate: FirElement) {
                    add(firCandidate)
    
                    if (firCandidate is FirBlock) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  4. docs/en/docs/help-fastapi.md

    * In many cases the question asked is about an imaginary solution from the user, but there might be a **better** one. If you can understand the problem and use case better, you might be able to suggest a better **alternative solution**.
    
    * If you can't understand the question, ask for more **details**.
    
    ### Reproduce the problem
    
    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)
  5. docs/en/docs/advanced/custom-response.md

    ```json
    {"message": "Hello World"}
    ```
    
    ...this response will return:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Of course, you will probably find much better ways to take advantage of this than formatting JSON. 😉
    
    ## Default response class
    
    When creating a **FastAPI** class instance or an `APIRouter` you can specify which response class to use by default.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

    **Using `Annotated` is recommended** instead of the default value in function parameters, it is **better** for multiple reasons. 🤓
    
    The **default** value of the **function parameter** is the **actual default** value, that's more intuitive with Python in general. 😌
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        // Do blocking calls to plan a route for a new connection.
        val connect = planConnect()
    
        // Now that we have a set of IP addresses, make another attempt at getting a connection from
        // the pool. We have a better chance of matching thanks to connection coalescing.
        val pooled2 = planReusePooledConnection(connect, connect.routes)
        if (pooled2 != null) return pooled2
    
        return connect
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. maven-core/src/site/apt/offline-mode.apt

      The majority of mojos will leave the requiresOnline == false,
      since online/offline status will be irrelevant, provided they have
      access to their required artifacts and other classpath elements. In the case
      of required artifacts and other classpath elements, this is assumed by the
      mojo API to be in a correct state, and will be handled by the Wagon
      modifications.
    
    
    * Implementation Notes
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. CHANGELOG.md

        prepared to build a TLS API for Kotlin/Native.
    
        We'd prefer a multiplatform HTTP client API that's backed by OkHttp on Android and JVM, and
        other engines on other platforms. [Ktor] does this pretty well today!
    
     *  Breaking: Use `kotlin.time.Duration` in APIs like `OkHttpClient.Builder.callTimeout()`. This
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            return
          }
          val stream: Http2Stream?
          ******@****.***ck {
            stream = getStream(streamId)
    
            if (stream == null) {
              // If we're shutdown, don't bother with this stream.
              if (isShutdown) return
    
              // If the stream ID is less than the last created ID, assume it's already closed.
              if (streamId <= lastGoodStreamId) return
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
Back to top