Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 765 for passing (0.07 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial001.py

                "msg": "field required",
                "type": "value_error.missing",
            }
        ]
    }
    
    
    def test_post_form_no_body():
        response = client.post("/files/")
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "file"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. tests/test_forms_single_model.py

            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "username"],
                        "msg": "Field required",
                        "input": {"tags": ["foo", "bar"], "with": "nothing"},
                    },
                    {
                        "type": "missing",
                        "loc": ["body", "lastname"],
                        "msg": "Field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:51:00 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py

            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["header", "x-token"],
                        "msg": "Field required",
                        "input": None,
                    },
                    {
                        "type": "missing",
                        "loc": ["header", "x-key"],
                        "msg": "Field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

       */
      private static void assertCrc(int expectedCrc, byte[] data) {
        int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
        assertEquals(
            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrc);
        int actualCrcHasher = Hashing.crc32c().newHasher().putBytes(data).hash().asInt();
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial006_an.py

            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["header", "x-token"],
                        "msg": "Field required",
                        "input": None,
                    },
                    {
                        "type": "missing",
                        "loc": ["header", "x-key"],
                        "msg": "Field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

        /**
         * @param originatingArtifact the artifact that was being resolved
         * @param missingArtifacts    artifacts that could not be resolved
         * @param remoteRepositories  remote repositories where the missing artifacts were not found
         * @deprecated use {@link #MultipleArtifactsNotFoundException(Artifact, List, List, List)}
         */
        @Deprecated
        public MultipleArtifactsNotFoundException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_an.py

                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    def test_post_body_json():
        response = client.post("/files/", json={"file": "Foo"})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "file"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

                return false;
            }
    
            String path;
            boolean missing;
    
            if (file.getExists() != null && !file.getExists().isEmpty()) {
                path = file.getExists();
                missing = false;
            } else if (file.getMissing() != null && !file.getMissing().isEmpty()) {
                path = file.getMissing();
                missing = true;
            } else {
                return false;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params.md

    /// check | "Verifique"
    
    
    
    ///
    
    	Isso vai dar à você suporte do seu editor dentro das funções, com verificações de erros, autocompletar, etc.
    
    ## Conversão de <abbr title="também conhecido como: serialização, parsing, marshalling">dados</abbr>
    
    Se você rodar esse exemplo e abrir o seu navegador em <a href="http://127.0.0.1:8000/items/3" class="external-link" target="_blank">http://127.0.0.1:8000/items/3</a>, você verá a seguinte resposta:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

      static final int DEFAULT_SIZE = 3;
    
      /**
       * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
       * use a byte[], any smaller size uses the same amount of memory due to object padding.
       */
      private static final int MIN_HASH_TABLE_SIZE = 4;
    
      private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
      private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top