Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 519 for denial (0.05 seconds)

  1. tests/test_union_body_discriminator_annotated.py

                            "properties": {
                                "detail": {
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationError"
                                    },
                                    "type": "array",
                                    "title": "Detail",
                                }
                            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/async-tests.md

    ## Run it { #run-it }
    
    You can run your tests as usual via:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## In Detail { #in-detail }
    
    The marker `@pytest.mark.anyio` tells pytest that this test function should be called asynchronously:
    
    {* ../../docs_src/async_tests/app_a_py39/test_main.py hl[7] *}
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. tests/test_request_params/test_body/test_optional_list.py

    def test_model_optional_list_str_missing():
        client = TestClient(app)
        response = client.post("/model-optional-list-str")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "input": None,
                    "loc": ["body"],
                    "msg": "Field required",
                    "type": "missing",
                },
            ],
        }
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. docs_src/security/tutorial007_py39.py

            current_password_bytes, correct_password_bytes
        )
        if not (is_correct_username and is_correct_password):
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_updates/test_tutorial002.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. .ci/dockerOnLinuxExclusions

    # VERSION_ID from /etc/os-release, and a matching value will cause the
    # Docker tests to be skipped on that OS. If /etc/os-release doesn't exist
    # (as is the case on centos-6, for example) then that OS will again be
    # excluded.
    debian-8
    opensuse-leap-15.1
    ol-7.7
    sles-12.3 # older version used in Vagrant image
    sles-12.5
    sles-15.1
    sles-15.2
    sles-15.3
    
    # These OSes are deprecated and filtered starting with 8.0.0, but need to be excluded
    Created: Sun Dec 21 06:47:06 GMT 2025
    - Last Modified: Thu Jul 29 23:07:12 GMT 2021
    - 615 bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial013_an_py310.py

            yield session
    
    
    def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]):
        user = session.get(User, user_id)
        if not user:
            raise HTTPException(status_code=403, detail="Not authorized")
    
    
    def generate_stream(query: str):
        for ch in query:
            yield ch
            time.sleep(0.1)
    
    
    @app.get("/generate", dependencies=[Depends(get_user)])
    def generate(query: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 937 bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/extra-data-types.md

    * `bytes`:
        * Standard-Python-`bytes`.
        * In Requests und Responses werden sie als `str` behandelt.
        * Das generierte Schema wird anzeigen, dass es sich um einen `str` mit `binary` „Format“ handelt.
    * `Decimal`:
        * Standard-Python-`Decimal`.
        * In Requests und Responses wird es wie ein `float` behandelt.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

        /** Buffer provided is insufficient */
        public static final int ERROR_INSUFFICIENT_BUFFER = 0x0000007A;
        /** Operation is not supported */
        public static final int ERROR_NOT_SUPPORTED = 0x00000032;
        /** Access denied to perform the operation */
        public static final int ERROR_ACCESS_DENIED = 0x00000005;
        /** Invalid state for the operation */
        public static final int ERROR_INVALID_STATE = 0x0000139F;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top