Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for some_var (0.28 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. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

    <classpath>
    	<classpathentry kind="output" path="bin"/>
    	<classpathentry kind="con" path="$jreContainerPath"/>
    	<classpathentry kind="lib" path="/some/path/someDependency.jar"/>
    	<classpathentry kind="var" path="SOME_VAR/someVarDependency.jar"/>
    	<classpathentry kind="src" path="/someProject"/>
    </classpath>
    """
    
            //when
            runEclipseTask """
    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

        def "configures destinationDirectory for jar tasks"() {
            when:
            project.pluginManager.apply(JavaBasePlugin)
            project.version = '1.0'
    
            then:
            def someJar = project.tasks.create('someJar', Jar)
            someJar.destinationDirectory.get().asFile == project.libsDirectory.get().asFile
        }
    
        @Issue("gradle/gradle#8700")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            impl.someLong(12L) == 13L
            impl.someBoolean(true) == false
            impl.someChar('a' as char) == 'b' as char
            impl.someThing(1, 4) == 5
            impl.dontReturn(1 as short, 4 as byte)
        }
    
        static interface TypeWithPrimitiveMethods {
            long someLong(long l)
            boolean someBoolean(boolean b)
            char someChar(char ch)
            int someThing(int a, int b)
            void dontReturn(short s, byte b)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/Script.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 Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top