- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 389 for warnings (0.09 sec)
-
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) -
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Oct 27 09:26:32 UTC 2025 - 15.4K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial001.py
yield c # Clean up connection explicitly to avoid resource warning mod.engine.dispose() def test_crud_app(client: TestClient): # TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor # this if using obj.model_validate becomes independent of Pydantic v2 with warnings.catch_warnings(record=True): warnings.simplefilter("always") # No heroes before creatingRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 14K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
yield c # Clean up connection explicitly to avoid resource warning mod.engine.dispose() def test_crud_app(client: TestClient): # TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor # this if using obj.model_validate becomes independent of Pydantic v2 with warnings.catch_warnings(record=True): warnings.simplefilter("always") # No heroes before creatingRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 17.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 18K bytes - Viewed (0) -
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)