Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for E501 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. tests/test_include_router_defaults_overrides.py

        deprecated=True,
    )
    router4_default = APIRouter()
    
    
    @app.get(
        "/override1",
        tags=["path1a", "path1b"],
        responses={
            401: {"description": "Client error level 1"},
            501: {"description": "Server error level 1"},
        },
        deprecated=True,
        callbacks=callback_router1.routes,
        dependencies=[Depends(dep1)],
        response_class=ResponseLevel1,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 385.6K bytes
    - Click Count (0)
  3. tests/test_additional_responses_router.py

    from inline_snapshot import snapshot
    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"},
        },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  4. 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):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(10, 20);
        fakeTicker.advance(500, MILLISECONDS);
        cache.put(20, 22);
        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        assertThat(cache.asMap().values().contains(22)).isTrue();
        assertThat(cache.asMap().values().contains(10)).isTrue();
        assertThat(cache.asMap().values().contains(20)).isFalse();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            sidArray.sids[1].sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
            sidArray.sids[1].sid.sub_authority_count = 1;
            sidArray.sids[1].sid.sub_authority = new int[] { 501 };
    
            // Encode to buffer
            byte[] buffer = new byte[1024];
            NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0);
            sidArray.encode(encodeBuffer);
    
            // Decode from buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U0.50", // #2
            "U4.00", // #3
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #4
            "U0.50", // #5
            "U2.00", // #6
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U0.50", // #2
            "U4.00", // #3
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #4
            "U0.50", // #5
            "U2.00", // #6
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  9. docs/en/data/topic_repos.yml

      stars: 3521
      owner_login: rashadphz
      owner_html_url: https://github.com/rashadphz
    - name: mcp-context-forge
      html_url: https://github.com/IBM/mcp-context-forge
      stars: 3501
      owner_login: IBM
      owner_html_url: https://github.com/IBM
    - name: opyrator
      html_url: https://github.com/ml-tooling/opyrator
      stars: 3137
      owner_login: ml-tooling
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 12:36:41 GMT 2026
    - 16K bytes
    - Click Count (0)
  10. cmd/format-erasure.go

    // Does all errors indicate we need to initialize all disks?.
    func shouldInitErasureDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) == len(errs)
    }
    
    // Check if unformatted disks are equal to 50%+1 of all the drives.
    func quorumUnformattedDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) >= (len(errs)/2)+1
    }
    
    // loadFormatErasureAll - load all format config from all input disks in parallel.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
Back to Top