Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 495 for Warnings (0.06 seconds)

  1. 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
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. tests/test_orjson_response_class.py

    import warnings
    
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.responses import ORJSONResponse
    from fastapi.testclient import TestClient
    from sqlalchemy.sql.elements import quoted_name
    
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", FastAPIDeprecationWarning)
        app = FastAPI(default_response_class=ORJSONResponse)
    
    
    @app.get("/orjson_non_str_keys")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 846 bytes
    - Click Count (0)
  3. tests/test_deprecated_responses.py

    import warnings
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.responses import ORJSONResponse, UJSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    # ORJSON
    
    
    def _make_orjson_app() -> FastAPI:
        with warnings.catch_warnings():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

        public void test_securitySettings_allowUnsecureBasic() throws Exception {
            // Verify the ALLOW_UNSEC_BASIC setting is documented with security warnings
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
    
            // The security warning comments should guide users to disable this in production
            // This is a compile-time check that the code structure is correct
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                assertThat("Has errors", richReport.errors.map { it.message }, inAnyOrder(errors))
            }
    
            fun assertHasWarnings(vararg warnings: String) {
                assertThat("Has warnings", richReport.warnings.map { it.message }, inAnyOrder(warnings))
            }
    
            fun assertHasInformation(vararg information: String) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  6. tests/test_pydantic_v1_error.py

    import sys
    import warnings
    
    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
    
    
    def test_raises_pydantic_v1_model_in_endpoint_param() -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. guava-gwt/pom.xml

                  <extraJvmArgs>-Dgwt.watchFileChanges=false</extraJvmArgs>
                </configuration>
              </execution>
              <!--
                GWT issues some scary warnings while running tests, but I believe they are harmless.
                Let's take the warnings for one module, c.g.c.base.testModule, as an example:
    
                  [INFO] Validating units:
                  [INFO]    Ignored 53 units with compilation errors in first pass.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:19:17 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  8. pyproject.toml

    ]
    docs = [
        { include-group = "docs-tests" },
        "black >=25.1.0",
        "cairosvg >=2.8.2",
        # for MkDocs live reload
        "click==8.2.1",
        "griffe-typingdoc >=0.3.0",
        "griffe-warnings-deprecated >=1.1.0",
        "jieba >=0.42.1",
        "markdown-include-variants >=0.0.8",
        "mdx-include >=1.4.1,<2.0.0",
        "mkdocs-macros-plugin >=1.5.0",
        "mkdocs-material >=9.7.0",
    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)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * }
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the discussion in the {@link #addListener} documentation. All its warnings about heavyweight
       * listeners are also applicable to heavyweight functions passed to this method.
       *
       * <p>This method is similar to {@link java.util.concurrent.CompletableFuture#exceptionally}. It
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  10. build-logic/src/main/kotlin/JavaModules.kt

        dependsOn(compileKotlinTask)
    
        if (enableValidation) {
          compileKotlinTask.source(file("src/main/java9"))
        }
    
        // Ignore warnings about using 'requires transitive' on automatic modules.
        // not needed when compiling with recent JDKs, e.g. 17
        options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 22:47:58 GMT 2026
    - 2.3K bytes
    - Click Count (0)
Back to Top