Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,162 for c1test (0.06 sec)

  1. docs/en/docs/tutorial/extra-data-types.md

        * A Python `datetime.timedelta`.
        * In requests and responses will be represented as a `float` of total seconds.
        * Pydantic also allows representing it as a "ISO 8601 time diff encoding", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers" class="external-link" target="_blank">see the docs for more info</a>.
    * `frozenset`:
        * In requests and responses, treated the same as a `set`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/extra-data-types.md

        * En requests y responses se representará como un `float` de segundos totales.
        * Pydantic también permite representarlo como una "codificación de diferencia horaria ISO 8601", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers" class="external-link" target="_blank">consulta la documentación para más información</a>.
    * `frozenset`:
        * En requests y responses, tratado igual que un `set`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. tests/test_stringified_annotation_dependency.py

    from __future__ import annotations
    
    from typing import TYPE_CHECKING, Annotated
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    if TYPE_CHECKING:  # pragma: no cover
        from collections.abc import AsyncGenerator
    
    
    class DummyClient:
        async def get_people(self) -> list:
            return ["John Doe", "Jane Doe"]
    
        async def close(self) -> None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001_py39 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. tests/test_route_scope.py

    import pytest
    from fastapi import FastAPI, Request, WebSocket, WebSocketDisconnect
    from fastapi.routing import APIRoute, APIWebSocketRoute
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 03:29:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. .github/workflows/replication.yaml

              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-decom
    
          - name: Test ILM
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-ilm
              make test-ilm-transition
    
          - name: Test PBAC
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. docs/bucket/lifecycle/README.md

    This is available only on MinIO as an extension to the Expiration feature. The following rule makes it possible to remove all versions of an object under 
    the prefix `user-uploads/` as soon as the latest object satisfies the expiration criteria. 
    
    > NOTE: If the latest object is a delete marker then filtering based on `Filter.Tags` is ignored and 
    > if the DELETE marker modTime satisfies the `Expiration.Days` then all versions of the object are 
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    	"fmt"
    	"hash/crc32"
    	"net/http"
    	"strconv"
    	"sync/atomic"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // A message is in the format specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png
    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_path_params/test_tutorial003.py

    import pytest
    from fastapi.testclient import TestClient
    
    from docs_src.path_params.tutorial003_py39 import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        ("user_id", "expected_response"),
        [
            ("me", {"user_id": "the current user"}),
            ("alice", {"user_id": "alice"}),
        ],
    )
    def test_get_users(user_id: str, expected_response: dict):
        response = client.get(f"/users/{user_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top