- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 300 for deprecations (0.14 sec)
-
tests/test_tutorial/test_query_param_models/test_tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
private final ConsumerPomBuilder builder; @Inject DefaultConsumerPomArtifactTransformer(ConsumerPomBuilder builder) { this.builder = builder; } @SuppressWarnings("deprecation") public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException { if (project.getFile() == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
fastapi/encoders.py
include = set(include) if exclude is not None and not isinstance(exclude, (set, dict)): exclude = set(exclude) if isinstance(obj, BaseModel): # TODO: remove when deprecating Pydantic v1 encoders: Dict[Any, Any] = {} if not PYDANTIC_V2: encoders = getattr(obj.__config__, "json_encoders", {}) # type: ignore[attr-defined] if custom_encoder:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 10.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
.setDeprecatedHandler(usedDeprecatedOptions::add) .build(); CommandLine commandLine = parser.parse(options, cleanArgs); // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options options.getOptions().forEach(commandLine::hasOption); return commandLine; } public Set<Option> getUsedDeprecatedOptions() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
} }, }, } }, } # TODO: remove when deprecating Pydantic v1 @needs_pydanticv1 def test_openapi_schema_pv1(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 8.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
.setDeprecatedHandler(this::addDeprecatedOption) .build(); CommandLine commandLine = parser.parse(options, cleanArgs); // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options options.getOptions().forEach(commandLine::hasOption); return commandLine; } protected void addDeprecatedOption(Option option) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
dst[ dstIndex++ ] = (byte) 0x00; SMBUtil.writeInt2(this.passwordLength, dst, dstIndex); return 4; } @SuppressWarnings ( "deprecation" ) private static boolean isExternalAuth ( NtlmPasswordAuthenticator pwAuth ) { return pwAuth instanceof jcifs.smb.NtlmPasswordAuthentication && ! ( (jcifs.smb.NtlmPasswordAuthentication) pwAuth ).areHashesExternal()
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py
} }, }, } }, } # TODO: remove when deprecating Pydantic v1 @needs_py310 @needs_pydanticv1 def test_openapi_schema_pv1(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
private static class DontCompareMe implements Comparable<DontCompareMe> { @Override public int compareTo(DontCompareMe o) { throw new AssertionFailedError(); } } @SuppressWarnings("deprecation") public void testCompareBooleans() { assertThat( ComparisonChain.start() .compare(true, true) .compare(true, Boolean.TRUE) .compare(Boolean.TRUE, true)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 13:27:08 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
subclass_model = ModelWithCustomEncoderSubclass(dt_field=datetime(2019, 1, 1, 8)) assert jsonable_encoder(subclass_model) == {"dt_field": "2019-01-01T08:00:00+00:00"} # TODO: remove when deprecating Pydantic v1 @needs_pydanticv1 def test_encode_custom_json_encoders_model_pydanticv1(): class ModelWithCustomEncoder(BaseModel): dt_field: datetime class Config:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0)