- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 1,357 for params (0.07 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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
import me.champeau.gradle.japicmp.report.Violation class IncubatingInternalInterfaceAddedRule extends AbstractSuperClassChangesRule { IncubatingInternalInterfaceAddedRule(Map<String, Object> params) { super(params) } protected boolean changed(JApiCompatibility member) { return member.getChangeStatus() == JApiChangeStatus.MODIFIED }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Click Count (0) -
impl/maven-cli/pom.xml
<template>writer-stax.vm</template> </templates> <params> <param>packageModelV4=org.apache.maven.api.cli.extensions</param> <param>packageToolV4=org.apache.maven.cling.internal.extension.io</param> <param>locationTracking=true</param> </params> <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir> </configuration>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
Parameter param = params.get(i); if (i != indexOfParamToSetToNull) { args[i] = getDefaultValue(param.getType()); Assert.assertTrue( "Can't find or create a sample instance for type '" + param.getType() + "'; please provide one using NullPointerTester.setDefault()", args[i] != null || isNullable(param)); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java
return parameters; } private static void decomposeParameterIntoUserInstructions( MojoDescriptor mojo, Parameter param, StringBuilder messageBuffer) { String expression = param.getExpression(); if (param.isEditable()) { boolean isArray = param.getType().endsWith("[]"); boolean isCollection = false; boolean isMap = false; boolean isProperties = false;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 6.8K bytes - Click Count (0) -
tests/test_starlette_urlconvertors.py
@app.get("/int/{param:int}") def int_convertor(param: int = Path()): return {"int": param} @app.get("/float/{param:float}") def float_convertor(param: float = Path()): return {"float": param} @app.get("/path/{param:path}") def path_convertor(param: str = Path()): return {"path": param} @app.get("/query/") def query_convertor(param: str = Query()): return {"query": param}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Nov 27 14:46:06 GMT 2022 - 1.7K bytes - Click Count (0) -
fastapi/routing.py
from enum import Enum, IntEnum from typing import ( Annotated, Any, Callable, Optional, Union, ) from annotated_doc import Doc from fastapi import params from fastapi._compat import ( ModelField, Undefined, annotation_is_pydantic_v1, lenient_issubclass, ) from fastapi.datastructures import Default, DefaultPlaceholder
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
import java.util.concurrent.ConcurrentHashMap import javax.inject.Inject private val logger = LoggerFactory.getLogger("daemonTracker") abstract class DaemonTracker : BuildService<DaemonTracker.Params>, AutoCloseable { interface Params : BuildServiceParameters { val rootProjectDir: DirectoryProperty } @get:Inject abstract val execOperations: ExecOperations private
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 3.4K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial008e.py
import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial008e_py39"), pytest.param("tutorial008e_an_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") client = TestClient(mod.app) return client def test_get_users_me(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 574 bytes - Click Count (0)