- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,362 for param1 (0.05 seconds)
-
docs/zh/docs/tutorial/body-fields.md
## 声明模型属性 然后,使用 `Field` 定义模型的属性: {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *} `Field` 的工作方式和 `Query`、`Path`、`Body` 相同,参数也相同。 /// note | 技术细节 实际上,`Query`、`Path` 都是 `Params` 的子类,而 `Params` 类又是 Pydantic 中 `FieldInfo` 的子类。 Pydantic 的 `Field` 返回也是 `FieldInfo` 的类实例。 `Body` 直接返回的也是 `FieldInfo` 的子类的对象。后文还会介绍一些 `Body` 的子类。 注意,从 `fastapi` 导入的 `Query`、`Path` 等对象实际上都是返回特殊类的函数。 ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.6K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt
*/ abstract class AbstractBuildScanInfoCollectingService : BuildService<AbstractBuildScanInfoCollectingService.Params>, OperationCompletionListener { /** * To be compatible with configuration cache, this field must be Serializable. */ abstract val collectedInformation: Serializable interface Params : BuildServiceParameters { val monitoredTaskPaths: SetProperty<String> }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 2.3K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
* be created automatically. * * @param output The file to serialize the settings to, must not be {@code null}. * @param options The options to use for serialization, may be {@code null} to use the default values. * @param settings The settings to serialize, must not be {@code null}. * @throws IOException If the settings could not be serialized. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
} /** * Create a remote download repository. * * @param id the unique identifier of the repository * @param url the URL of the repository * @param layout the layout of the repository * @param snapshots the policies to use for snapshots * @param releases the policies to use for releases */ public DefaultArtifactRepository( String id,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java
import me.champeau.gradle.japicmp.report.Violation; import java.util.Map; public class NewIncubatingAPIRule extends AbstractGradleViolationRule { public NewIncubatingAPIRule(Map<String, Object> params) { super(params); } @Override public Violation maybeViolation(final JApiCompatibility member) { if (member instanceof JApiMethod || member instanceof JApiField || member instanceof JApiClass) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 1.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java
* Validate the specified settings. * * @param settings The settings to validate, must not be {@code null}. * @param problems The container used to collect problems that were encountered, must not be {@code null}. */ void validate(Settings settings, SettingsProblemCollector problems); /** * Validate the specified settings. * * @param settings The settings to validate, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataManager.java
throws RepositoryMetadataResolutionException; /** * Deploy metadata to the remote repository. * * @param metadata the metadata to deploy * @param localRepository the local repository to install to first * @param deploymentRepository the remote repository to deploy to * @throws RepositoryMetadataDeploymentException in case of metadata deployment issue */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java
} /** * Create an instance of the exception with all required information. * * @param originatingArtifact the artifact that was being resolved * @param resolvedArtifacts artifacts that could be resolved * @param missingArtifacts artifacts that could not be resolved * @param remoteRepositories remote repositories where the missing artifacts were not found */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
* but only preserves problems that match the given filter. * * @param <P> the type of problem * @param maxCountLimit the maximum number of problems to preserve * @param filter predicate to decide which problems to record * @return a new filtered problem collector instance */ @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
tests/test_tutorial/test_response_model/test_tutorial003_04.py
import importlib import pytest from fastapi.exceptions import FastAPIError from ...utils import needs_py310 @pytest.mark.parametrize( "module_name", [ pytest.param("tutorial003_04_py39"), pytest.param("tutorial003_04_py310", marks=needs_py310), ], ) def test_invalid_response_model(module_name: str) -> None: with pytest.raises(FastAPIError):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 453 bytes - Click Count (0)