Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 360 for warnings (0.4 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

                    if (!errors.contains(req.getMessage())) {
                        errors.add(req.getMessage());
                    }
                    break;
                case WARNING:
                    if (!warnings.contains(req.getMessage())) {
                        warnings.add(req.getMessage());
                    }
                    break;
                default:
                    throw new IllegalArgumentException("Unknown severity: " + req.getSeverity());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. architecture/standards/0008-use-nullaway.md

    Our codebase uses `null` extensively to represent an absence of value or optionality of the argument.
    We utilize nullness annotations in Java code and somewhat rely on IDE warnings to guide us.
    However, the Java code we have is not fully annotated, which causes several consequences:
    * IDE warnings can be misleading
    * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_graphql/test_tutorial001.py

    import warnings
    
    import pytest
    from starlette.testclient import TestClient
    
    warnings.filterwarnings(
        "ignore",
        message=r"The 'lia' package has been renamed to 'cross_web'\..*",
        category=DeprecationWarning,
    )
    
    from docs_src.graphql_.tutorial001_py39 import app  # noqa: E402
    
    
    @pytest.fixture(name="client")
    def get_client() -> TestClient:
        return TestClient(app)
    
    
    def test_query(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. tests/test_multipart_installation.py

    import warnings
    
    import pytest
    from fastapi import FastAPI, File, Form, UploadFile
    from fastapi.dependencies.utils import (
        multipart_incorrect_install_error,
        multipart_not_installed_error,
    )
    
    
    def test_incorrect_multipart_installed_form(monkeypatch):
        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        val errors: List<ReportMessage>,
        val warnings: List<ReportMessage>,
        val information: List<ReportMessage>,
        val accepted: List<ReportMessage>
    ) {
    
        val isEmpty: Boolean
            get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty()
    
        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. fastapi/_compat/shared.py

        )
    
    
    def is_pydantic_v1_model_instance(obj: Any) -> bool:
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", UserWarning)
            from pydantic import v1
        return isinstance(obj, v1.BaseModel)
    
    
    def is_pydantic_v1_model_class(cls: Any) -> bool:
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", UserWarning)
            from pydantic import v1
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

     */
    @Deprecated(since = "4.0.0")
    public class Result<T> {
    
        /**
         * Success without warnings
         *
         * @param model
         */
        public static <T> Result<T> success(T model) {
            return success(model, Collections.emptyList());
        }
    
        /**
         * Success with warnings
         *
         * @param model
         * @param problems
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. requirements-docs.txt

    jieba==0.42.1
    # For image processing by Material for MkDocs
    pillow==11.3.0
    # For image processing by Material for MkDocs
    cairosvg==2.8.2
    mkdocstrings[python]==0.30.1
    griffe-typingdoc==0.3.0
    griffe-warnings-deprecated==1.1.0
    # For griffe, it formats with black
    black==25.1.0
    mkdocs-macros-plugin==1.4.1
    markdown-include-variants==0.0.8
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 14:39:10 UTC 2025
    - 554 bytes
    - Viewed (0)
  9. tests/test_pydantic_v1_error.py

    import sys
    import warnings
    from typing import Union
    
    import pytest
    
    from tests.utils import skip_module_if_py_gte_314
    
    if sys.version_info >= (3, 14):
        skip_module_if_py_gte_314()
    
    from fastapi import FastAPI
    from fastapi.exceptions import PydanticV1NotSupportedError
    
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", UserWarning)
        from pydantic.v1 import BaseModel
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

     *
     * <p>This class ensures that the temporary file is deleted if it is not needed.
     * It uses a logger to log warnings if there are issues deleting the temporary file.</p>
     *
     * <p>Fields:</p>
     * <ul>
     *   <li>{@code logger} - Logger instance for logging warnings.</li>
     *   <li>{@code PREFIX} - Prefix for the temporary file name.</li>
     *   <li>{@code SUFFIX} - Suffix for the temporary file name.</li>
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top