Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for Digges (0.29 sec)

  1. cmd/object-api-errors.go

    func (e PartTooSmall) Error() string {
    	return fmt.Sprintf("Part size for %d should be at least 5MB", e.PartNumber)
    }
    
    // PartTooBig returned if size of part is bigger than the allowed limit.
    type PartTooBig struct{}
    
    func (e PartTooBig) Error() string {
    	return "Part size bigger than the allowed limit"
    }
    
    // InvalidETag error returned when the etag has changed on disk
    type InvalidETag struct{}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. fastapi/routing.py

        in another `APIRouter` (ultimately included in the app).
    
        Read more about it in the
        [FastAPI docs for Bigger Applications - Multiple Files](https://fastapi.tiangolo.com/tutorial/bigger-applications/).
    
        ## Example
    
        ```python
        from fastapi import APIRouter, FastAPI
    
        app = FastAPI()
        router = APIRouter()
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_bigger_applications/test_main.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.bigger_applications.app.main import app
    
        client = TestClient(app)
        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/testing.md

    ## 🎏 💯
    
    🎰 🈸, 👆 🎲 🔜 ✔️ 👆 💯 🎏 📁.
    
    & 👆 **FastAPI** 🈸 5️⃣📆 ✍ 📚 📁/🕹, ♒️.
    
    ### **FastAPI** 📱 📁
    
    ➡️ 💬 👆 ✔️ 📁 📊 🔬 [🦏 🈸](bigger-applications.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    📁 `main.py` 👆 ✔️ 👆 **FastAPI** 📱:
    
    
    ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/testing.md

    ## 分离测试
    
    在实际应用中,你可能会把你的测试放在另一个文件里。
    
    您的**FastAPI**应用程序也可能由一些文件/模块组成等等。
    
    ### **FastAPI** app 文件
    
    假设你有一个像 [更大的应用](bigger-applications.md){.internal-link target=_blank} 中所描述的文件结构:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    在 `main.py` 文件中你有一个 **FastAPI** app:
    
    
    ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/settings.md

    & ⤴️ `admin_email` ⚒ 🔜 ⚒ `"******@****.***"`.
    
    `app_name` 🔜 `"ChimichangApp"`.
    
    & `items_per_user` 🔜 🚧 🚮 🔢 💲 `50`.
    
    ## ⚒ ➕1️⃣ 🕹
    
    👆 💪 🚮 👈 ⚒ ➕1️⃣ 🕹 📁 👆 👀 [🦏 🈸 - 💗 📁](../tutorial/bigger-applications.md){.internal-link target=_blank}.
    
    🖼, 👆 💪 ✔️ 📁 `config.py` ⏮️:
    
    ```Python
    {!../../../docs_src/settings/app01/config.py!}
    ```
    
    & ⤴️ ⚙️ ⚫️ 📁 `main.py`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. internal/config/storageclass/storage-class.go

    		inlineBlock, err := humanize.ParseBytes(inlineBlockStr)
    		if err != nil {
    			return cfg, err
    		}
    		if inlineBlock > 128*humanize.KiByte {
    			configLogOnceIf(context.Background(), fmt.Errorf("inline block value bigger than recommended max of 128KiB -> %s, performance may degrade for PUT please benchmark the changes", inlineBlockStr), inlineBlockStr)
    		}
    		cfg.inlineBlock = int64(inlineBlock)
    	} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. docs/fr/docs/deployment/docker.md

    ```Dockerfile
    FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
    
    COPY ./app /app
    ```
    
    ### Applications plus larges
    
    Si vous avez suivi la section sur la création d' [Applications avec plusieurs fichiers](../tutorial/bigger-applications.md){.internal-link target=_blank}, votre `Dockerfile` pourrait ressembler à ceci :
    
    ```Dockerfile
    FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
    
    COPY ./app /app/app
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  9. cmd/erasure-decode.go

    	// Fill buffers
    	b := globalBytePoolCap.Load().Get()
    	shardSize := int(e.ShardSize())
    	if cap(b) < len(readers)*shardSize {
    		// We should always have enough capacity, but older objects may be bigger.
    		globalBytePoolCap.Load().Put(b)
    		b = nil
    	} else {
    		// Seed the buffers.
    		for i := range bufs {
    			bufs[i] = b[i*shardSize : (i+1)*shardSize]
    		}
    	}
    
    	return &parallelReader{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/testing.md

    Кроме того, Ваше приложение **FastAPI** может состоять из нескольких файлов, модулей и т.п.
    
    ### Файл приложения **FastAPI**
    
    Допустим, структура файлов Вашего приложения похожа на ту, что описана на странице [Более крупные приложения](bigger-applications.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top