Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 333 for existing (0.16 sec)

  1. tests/test_tutorial/test_testing/test_main_b_an_py39.py

    from ...utils import needs_py39
    
    
    @needs_py39
    def test_app():
        from docs_src.app_testing.app_b_an_py39 import test_main
    
        test_main.test_create_existing_item()
        test_main.test_create_item()
        test_main.test_create_item_bad_token()
        test_main.test_read_nonexistent_item()
        test_main.test_read_item()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 357 bytes
    - Viewed (0)
  2. cni/pkg/install/install_test.go

    			cniNetDir := t.TempDir()
    			cniBinDir := t.TempDir()
    
    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    			if err := file.AtomicCopy(filepath.Join("testdata", c.existingConfigFilename), cniNetDir, c.configFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			// Create existing binary files
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-updates.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="30-35"
        {!> ../../../docs_src/body_updates/tutorial001.py!}
        ```
    
    `PUT` is used to receive data that should replace the existing data.
    
    ### Warning about replacing
    
    That means that if you want to update the item `bar` using `PUT` with a body containing:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGenerator.java

    import org.eclipse.aether.metadata.Metadata;
    import org.eclipse.aether.util.ConfigUtils;
    
    /**
     * Maven GA level metadata generator.
     *
     * Version metadata contains list of existing baseVersions within this GA.
     */
    class VersionsMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, VersionsMetadata> versions;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

                    "%branch.qualifier%",
                    label = "Branch to promote",
                    description = "Type in the branch of gradle/gradle you want to promote. Leave the default value when promoting an existing build.",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false
                )
            }
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. docs_src/app_testing/app_b_an_py310/test_main.py

            json={"id": "bazz", "title": "Bazz", "description": "Drop the bazz"},
        )
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_create_existing_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={
                "id": "foo",
                "title": "The Foo ID Stealers",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       *     expectContents(E...)} and its friends.
       */
      protected abstract Collection<E> actualContents();
    
      /**
       * Replaces the existing container under test with a new container created by the subject
       * generator.
       *
       * @see #resetContainer(Object) resetContainer(C)
       * @return the new container instance.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Supplier.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Converter.java

     * requirement that existing callers already fulfill).
     *
     * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
     * that is how the signature looked even prior to this comment! So naturally any change can break
     * existing users, but it can't *fix* existing users because any users who needed
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

      return if (cipherSuitesAsString != null) {
        // 3 options here for ordering
        // 1) Legacy Platform - based on the Platform/Provider existing ordering in
        // sslSocket.enabledCipherSuites
        // 2) OkHttp Client - based on MODERN_TLS source code ordering
        // 3) Caller specified but assuming the visible defaults in MODERN_CIPHER_SUITES are rejigged
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top