Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for E501 (0.02 sec)

  1. pyproject.toml

        "W",  # pycodestyle warnings
        "F",  # pyflakes
        "I",  # isort
        "B",  # flake8-bugbear
        "C4",  # flake8-comprehensions
        "UP",  # pyupgrade
    ]
    ignore = [
        "E501",  # line too long, handled by black
        "B008",  # do not perform function calls in argument defaults
        "C901",  # too complex
        "W191",  # indentation contains tabs
    ]
    
    [tool.ruff.lint.per-file-ignores]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body/test_tutorial004.py

        response = client.put(
            "/items/123",
            json={"name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3},
            params={"q": "somequery"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": "Some Foo",
            "tax": 0.3,
            "q": "somequery",
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body/test_tutorial003.py

    def test_put_all(client: TestClient):
        response = client.put(
            "/items/123",
            json={"name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3},
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": "Some Foo",
            "tax": 0.3,
        }
    
    
    def test_put_only_required(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. tests/test_additional_responses_router.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class ResponseModel(BaseModel):
        message: str
    
    
    app = FastAPI()
    router = APIRouter()
    
    
    @router.get("/a", responses={501: {"description": "Error 1"}})
    async def a():
        return "a"
    
    
    @router.get(
        "/b",
        responses={
            502: {"description": "Error 2"},
            "4XX": {"description": "Error with range, upper"},
        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. gradle/libs.versions.toml

    [versions]
    agp = "8.13.1"
    biz-aQute-bnd = "7.1.0"
    checkStyle = "12.3.0"
    com-squareup-moshi = "1.15.2"
    com-squareup-okio = "3.16.4"
    de-mannodermaus-junit5 = "1.9.0"
    graalvm = "25.0.1"
    #noinspection UnusedVersionCatalogEntry
    junit-platform = "1.13.4"
    kotlinx-serialization = "1.9.0"
    ksp = "2.3.2"
    lintGradle = "1.0.0-alpha05"
    mockserverClient = "5.15.0"
    org-bouncycastle = "1.82"
    org-conscrypt = "2.5.2"
    org-jetbrains-coroutines = "1.10.2"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 19 22:05:50 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top