Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for some_var (0.34 sec)

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

    `ContextVar` ✔️ ✍ 🔝 🕹, 💖:
    
    ```Python
    some_var = ContextVar("some_var", default="default value")
    ```
    
    ⚒ 💲 ⚙️ ⏮️ "🔑" (✅ ⏮️ 📨) ⚙️:
    
    ```Python
    some_var.set("new value")
    ```
    
    🤚 💲 🙆 🔘 🔑 (✅ 🙆 🍕 🚚 ⏮️ 📨) ⚙️:
    
    ```Python
    some_var.get()
    ```
    
    ### ⚒ 🔑 🔢 `async` 🔗 `reset_db_state()`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/sql-databases-peewee.md

    ```Python
    some_var = ContextVar("some_var", default="default value")
    ```
    
    To set a value used in the current "context" (e.g. for the current request) use:
    
    ```Python
    some_var.set("new value")
    ```
    
    To get a value anywhere inside of the context (e.g. in any part handling the current request) use:
    
    ```Python
    some_var.get()
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/KotlinDslTestProjectInitiation.groovy

                    a: a,
                    b: b
                ]
            )
        }
    
        String getBuildScriptDependency(someJar) {
            """
                buildscript {
                    dependencies {
                        classpath(files("${escapeString(someJar)}"))
                    }
                }
            """
        }
    
        TestFile withDefaultSettings() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/strategy_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:            "test-pod",
    					Namespace:       "test-ns",
    					ResourceVersion: "1",
    					Annotations:     map[string]string{api.MirrorPodAnnotationKey: "someVal"},
    				},
    				Spec: api.PodSpec{
    					RestartPolicy: api.RestartPolicyAlways,
    					DNSPolicy:     api.DNSDefault,
    					Containers: []api.Container{
    						{
    							Name:                     "container",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         *
         *   //tar tree attempts to guess the compression based on the file extension
         *   //however if you must specify the compression explicitly you can:
         *   from tarTree(resources.gzip('someTar.ext'))
         *
         *   //in case you work with unconventionally compressed tars
         *   //you can provide your own implementation of a ReadableResource:
         *   //from tarTree(yourOwnResource as ReadableResource)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top