Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for 1515 (0.01 sec)

  1. docs/ru/docs/tutorial/request-files.md

    Они будут связаны с одним и тем же "полем формы", отправляемым с помощью данных формы.
    
    Для этого необходимо объявить список `bytes` или `UploadFile`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.6+
    
    ```Python hl_lines="11  16"
    {!> ../../docs_src/request_files/tutorial002_an.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial003_py39.py

                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"file_sizes": [14, 15]}
    
    
    @needs_py39
    def test_post_upload_file(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. internal/config/scanner/scanner.go

    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 100, 15*time.Second, 30*time.Minute
    	default:
    		return cfg, fmt.Errorf("unknown '%s' value", speed)
    	}
    
    	return cfg, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body-fields.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11-14"
    {!> ../../docs_src/body_fields/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="12-15"
    {!> ../../docs_src/body_fields/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial002_an.py

                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"file_sizes": [14, 15]}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/request-files.md

    Diese werden demselben Formularfeld zugeordnet, welches mit den Formulardaten gesendet wird.
    
    Um das zu machen, deklarieren Sie eine Liste von `bytes` oder `UploadFile`s:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11  16"
    {!> ../../docs_src/request_files/tutorial002_an.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/request_files.md

    Ele ficam associados ao mesmo "campo do formulário" enviado com "form data".
    
    Para usar isso, declare uma lista de `bytes` ou `UploadFile`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11  16"
    {!> ../../docs_src/request_files/tutorial002_an.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/classes-as-dependencies.md

    👈 ✔ 🇧🇲 ⏮️ 🙅‍♂ 🔢 🌐. 🎏 ⚫️ 🔜 *➡ 🛠️ 🔢* ⏮️ 🙅‍♂ 🔢.
    
    ⤴️, 👥 💪 🔀 🔗 "☑" `common_parameters` ⚪️➡️ 🔛 🎓 `CommonQueryParams`:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="11-15"
    {!> ../../docs_src/dependencies/tutorial002.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    ```Python hl_lines="9-13"
    {!> ../../docs_src/dependencies/tutorial002_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"file_sizes": [14, 15]}
    
    
    @needs_py39
    def test_post_upload_file(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top