Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for cocreate (0.15 sec)

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

    And now in the file `sql_app/main.py` let's integrate and use all the other parts we created before.
    
    ### Create the database tables
    
    In a very simplistic way create the database tables:
    
    ```Python hl_lines="9-11"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### Create a dependency
    
    Create a dependency that will connect the database right at the beginning of a request and disconnect it at the end:
    
    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. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

        /** Returns a new response body that transmits this byte array. */
        @JvmStatic
        @JvmName("create")
        fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody = commonToResponseBody(contentType)
    
        /** Returns a new response body that transmits this byte string. */
        @JvmStatic
        @JvmName("create")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1/generated.proto

      // field as a collision avoidance mechanism when it needs to create the name for the
      // newest ReplicaSet.
      // +optional
      optional int32 collisionCount = 8;
    }
    
    // DeploymentStrategy describes how to replace existing pods with new ones.
    message DeploymentStrategy {
      // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`.
    
    You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`:
    
    ```Python hl_lines="9-14  17"
    {!../../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    Now instead of returning:
    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)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            rootDir.withFile("version.txt", "1.0")
    
            val inputBuildDir = setupRunBinaryCompatibility(v1, v2)
    
            val runner = GradleRunner.create()
                .withProjectDir(inputBuildDir)
                .withPluginClasspath()
                .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s")
    
            val (buildResult, failure) = try {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // field as a collision avoidance mechanism when it needs to create the name for the
      // newest ReplicaSet.
      // +optional
      optional int32 collisionCount = 8;
    }
    
    // DeploymentStrategy describes how to replace existing pods with new ones.
    message DeploymentStrategy {
      // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        )
    
        /**
         * Create or update incoming headers, creating the corresponding streams if necessary. Frames
         * that trigger this are HEADERS and PUSH_PROMISE.
         *
         * @param inFinished true if the sender will not send further frames.
         * @param streamId the stream owning these headers.
         * @param associatedStreamId the stream that triggered the sender to create this stream.
         */
        fun headers(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Do some asynchronous stuff to create the burgers
        return burgers
    ```
    
    ...instead of `def`:
    
    ```Python hl_lines="2"
    # This is not asynchronous
    def get_sequential_burgers(number: int):
        # Do some sequential stuff to create the burgers
        return burgers
    ```
    
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
       * We use [executeCallCount] and [runCallCount] to defend against starting more threads than we
       * need. Both fields are guarded by [lock].
       */
      private var executeCallCount = 0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt

    intended to facilitate the commercial use of the Program, the Contributor
    who includes the Program in a commercial product offering should do so in
    a manner which does not create potential liability for other Contributors.
    Therefore, if a Contributor includes the Program in a commercial product offering,
    such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Sep 17 05:50:12 GMT 2018
    - 11.1K bytes
    - Viewed (0)
Back to top