- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 3,170 for LIST (0.03 seconds)
-
docs/zh/docs/tutorial/body-nested-models.md
# 请求体 - 嵌套模型 使用 **FastAPI**,你可以定义、校验、记录文档并使用任意深度嵌套的模型(归功于Pydantic)。 ## List 字段 你可以将一个属性定义为拥有子元素的类型。例如 Python `list`: {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} 这将使 `tags` 成为一个由元素组成的列表。不过它没有声明每个元素的类型。 ## 具有子类型的 List 字段 但是 Python 有一种特定的方法来声明具有子类型的列表: ### 从 typing 导入 `List` 首先,从 Python 的标准库 `typing` 模块中导入 `List`: {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FileConfigService.java
final ListResultBean<FileConfig> list = fileConfigBhv.selectList(cb -> { cb.query().setName_Equal(name); cb.query().addOrderBy_SortOrder_Asc(); }); if (list.isEmpty()) { return OptionalEntity.empty(); } return OptionalEntity.of(list.get(0)); } /** * Stores a file configuration in the database.
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java
return this; } /** * Gets the list of active features. * * @return A list of active features. */ public List<String> activeFeatures() { return activeFeatures; } /** * Sets the list of active features. * * @param activeFeatures A list of active features. * @return This query builder. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
* * @param repositories a list of repositories * @return corresponding effective repositories * @since 3.6.1 */ public List<ArtifactRepository> getEffectiveRepositories(List<ArtifactRepository> repositories) { if (repositories == null) { return null; } Map<String, List<ArtifactRepository>> reposByKey = new LinkedHashMap<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 33.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
*/ public SearchRenderData() { // Default constructor } /** * Sets the list of search result documents. * * @param documentItems The list of search result documents */ public void setDocumentItems(final List<Map<String, Object>> documentItems) { this.documentItems = documentItems; } /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
E[] createArray(int length); /** * Returns the iteration ordering of elements, given the order in which they were added to the * container. This method may return the original list unchanged, the original list modified in * place, or a different list. * * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return * its input unmodified. Provided that the test suite is built without {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.project; import java.io.File; import java.util.Collections; import java.util.List; import org.apache.maven.model.building.ModelProblem; /** * Collects the output of the project builder. * * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 3.4K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
} private fun <T : Any?> withParsedKotlinSource(sourceRoots: List<File>, block: (List<KtFile>) -> T) = Disposer.newDisposable().use { parseKotlinFiles(sourceRoots, emptyList()).let(block) } private fun Disposable.parseKotlinFiles(sourceRoots: List<File>, compilationClasspath: List<File>): List<KtFile> { configureKotlinCompilerIoForWindowsSupport()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 16 08:22:33 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
if (isNewOrRemoved(member)) { return null } List<String> warnings = [] List<String> errors = [] def inspectParametersNullabilityOf = { CtBehavior oldBehavior, CtBehavior newBehavior -> List<Boolean> oldParametersNullability = parametersNullabilityOf(oldBehavior) List<Boolean> newParametersNullability = parametersNullabilityOf(newBehavior)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java
/** * Displays the file configuration list page. * * @return HTML response for the list page */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { return asListHtml(); } /** * Displays the file configuration list with pagination. * * @param pageNumber the page numberCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 19.9K bytes - Click Count (0)