Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,293 for bytesA (0.06 sec)

  1. docs/ko/docs/project-generation.md

        - πŸ¦‡ 닀크 λͺ¨λ“œ 지원.
    - πŸ‹ [Docker Compose](https://www.docker.com): 개발 ν™˜κ²½κ³Ό ν”„λ‘œλ•μ…˜(운영).
    - πŸ”’ 기본으둜 μ§€μ›λ˜λŠ” μ•ˆμ „ν•œ λΉ„λ°€λ²ˆν˜Έ ν•΄μ‹±.
    - πŸ”‘ JWT 토큰 인증.
    - πŸ“« 이메일 기반 λΉ„λ°€λ²ˆν˜Έ 볡ꡬ.
    - βœ… [Pytest]λ₯Ό μ΄μš©ν•œ ν…ŒμŠ€νŠΈ(https://pytest.org).
    - πŸ“ž [Traefik](https://traefik.io): λ¦¬λ²„μŠ€ ν”„λ‘μ‹œ / λ‘œλ“œ λ°ΈλŸ°μ„œ.
    - 🚒 Docker Composeλ₯Ό μ΄μš©ν•œ 배포 지침: μžλ™ HTTPS μΈμ¦μ„œλ₯Ό μ²˜λ¦¬ν•˜κΈ° μœ„ν•œ ν”„λ‘ νŠΈμ—”λ“œ Traefik ν”„λ‘μ‹œ μ„€μ • 방법을 포함.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py

    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py39, needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_form_models.tutorial002_an_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    @needs_py39
    def test_post_body_form(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.body_fields.tutorial001_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_items_5(client: TestClient):
        response = client.put("/items/5", json={"item": {"name": "Foo", "price": 3.0}})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse`
    
    Takes some text or bytes and returns a plain text response.
    
    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial005.py!}
    ```
    
    ### `JSONResponse`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          sink.flush()
        }
      }
    
      /** The maximum size of bytes that may be sent in a single call to [data]. */
      fun maxDataLength(): Int = maxFrameSize
    
      /**
       * `source.length` may be longer than the max length of the variant's data frame. Implementations
       * must send multiple frames as necessary.
       *
       * @param source the buffer to draw bytes from. May be null if byteCount is 0.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. cmd/erasure-healing.go

    	srcDataDir := latestMeta.DataDir
    	dstDataDir := latestMeta.DataDir
    	if latestMeta.XLV1 {
    		dstDataDir = migrateDataDir
    	}
    
    	var inlineBuffers []*bytes.Buffer
    	if !latestMeta.Deleted && !latestMeta.IsRemote() {
    		if latestMeta.InlineData() {
    			inlineBuffers = make([]*bytes.Buffer, len(outDatedDisks))
    		}
    
    		erasureInfo := latestMeta.Erasure
    		for partIndex := 0; partIndex < len(latestMeta.Parts); partIndex++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/SingletonImmutableSet.java

    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
        this.element = Preconditions.checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/request-forms-and-files.md

    `Body` 및 `Query`와 λ™μΌν•œ λ°©μ‹μœΌλ‘œ 파일과 폼의 λ§€κ°œλ³€μˆ˜λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€:
    
    ```Python hl_lines="8"
    {!../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    파일과 폼 ν•„λ“œλŠ” 폼 데이터 ν˜•μ‹μœΌλ‘œ μ—…λ‘œλ“œλ˜μ–΄ 파일과 폼 ν•„λ“œλ‘œ μ „λ‹¬λ©λ‹ˆλ‹€.
    
    μ–΄λ–€ νŒŒμΌλ“€μ€ `bytes`둜, 또 μ–΄λ–€ νŒŒμΌλ“€μ€ `UploadFile`둜 μ„ μ–Έν•  수 μžˆμŠ΅λ‹ˆλ‹€.
    
    /// warning | "κ²½κ³ "
    
    λ‹€μˆ˜μ˜ `File`κ³Ό `Form` λ§€κ°œλ³€μˆ˜λ₯Ό ν•œ *경둜 μž‘λ™*에 μ„ μ–Έν•˜λŠ” 것이 κ°€λŠ₯ν•˜μ§€λ§Œ, μš”μ²­μ˜ 본문이 `application/json`κ°€ μ•„λ‹Œ `multipart/form-data`둜 인코딩 되기 λ•Œλ¬Έμ— JSON으둜 λ°›μ•„μ•Όν•˜λŠ” `Body` ν•„λ“œλ₯Ό ν•¨κ»˜ μ„ μ–Έν•  μˆ˜λŠ” μ—†μŠ΅λ‹ˆλ‹€.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. docs/debugging/inspect/decrypt-v1.go

    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py

    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39, needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client() -> TestClient:
        from docs_src.separate_openapi_schemas.tutorial002_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_create_item(client: TestClient) -> None:
        response = client.post("/items/", json={"name": "Foo"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top