Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 2,410 for demais (0.03 seconds)

  1. tests/test_request_params/test_file/test_required.py

        ],
    )
    def test_required_missing(path: str):
        client = TestClient(app)
        response = client.post(path)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["body", "p"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. tests/test_security_oauth2.py

        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_strict_login_no_data():
        response = client.post("/login")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                        "HTTPValidationError": {
                            "properties": {
                                "detail": {
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationError",
                                    },
                                    "title": "Detail",
                                    "type": "array",
                                },
                            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exception/SsoLoginException.java

         * Constructs a new SsoLoginException with the specified detail message.
         *
         * @param message The detail message explaining the SSO login failure
         */
        public SsoLoginException(final String message) {
            super(message);
        }
    
        /**
         * Constructs a new SsoLoginException with the specified detail message and cause.
         *
         * @param message The detail message explaining the SSO login failure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            context.success("Test success message");
            context.failure("Test failure message");
            context.warning("Test warning message");
            context.detail("Test detail message");
            context.action("Test action message");
        }
    
        @Test
        @DisplayName("should handle indentation correctly")
        void shouldHandleIndentationCorrectly() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. docs_src/security/tutorial004_py310.py

        return encoded_jwt
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": "Bearer"},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username = payload.get("sub")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4Authentication.java

    /**
     * Authentication class for Apache HttpComponents 4.x (HC4).
     * This class provides methods to handle authentication details such as
     * authentication scope, credentials, and authentication scheme.
     *
     * <p>
     * It includes constructors to initialize these details and getter and setter
     * methods to access and modify them.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     * <pre>
     * {@code
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5Authentication.java

    /**
     * Authentication class for Apache HttpComponents 5.x (HC5).
     * This class provides methods to handle authentication details such as
     * authentication scope, credentials, and authentication scheme.
     *
     * <p>
     * It includes constructors to initialize these details and getter and setter
     * methods to access and modify them.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     * <pre>
     * {@code
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

            assertEquals("✗", ConsoleIcon.ERROR.getIcon(mockTerminal));
            assertEquals("⚠", ConsoleIcon.WARNING.getIcon(mockTerminal));
            assertEquals("•", ConsoleIcon.DETAIL.getIcon(mockTerminal));
            assertEquals("→", ConsoleIcon.ACTION.getIcon(mockTerminal));
        }
    
        @Test
        @DisplayName("should return ASCII fallback when terminal uses US-ASCII")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. docs_src/security/tutorial003_an_py310.py

                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "Bearer"},
            )
        return user
    
    
    async def get_current_active_user(
        current_user: Annotated[User, Depends(get_current_user)],
    ):
        if current_user.disabled:
            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top