- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 3,211 for List (0.04 sec)
-
tests/test_response_model_invalid.py
from typing import List import pytest from fastapi import FastAPI from fastapi.exceptions import FastAPIError class NonPydanticModel: pass def test_invalid_response_model_raises(): with pytest.raises(FastAPIError): app = FastAPI() @app.get("/", response_model=NonPydanticModel) def read_root(): pass # pragma: nocover def test_invalid_response_model_sub_type_raises():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 29 13:04:35 UTC 2020 - 1.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/forked/ForkedMavenInvokerRequest.java
/** * Returns the list of extra JVM arguments to be passed to the forked Maven process. * These arguments allow for customization of the JVM environment in which Maven will run. * * @return an Optional containing the list of extra JVM arguments, or empty if not specified */ @Nonnull Optional<List<String>> jvmArguments();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java
Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) { List<Exclusion> tgt = target.getExclusions(); if (tgt.isEmpty()) { List<Exclusion> src = source.getExclusions(); builder.exclusions(src); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/DataConfigService.java
final ListResultBean<DataConfig> list = dataConfigBhv.selectList(cb -> { cb.query().setName_Equal(name); cb.query().addOrderBy_SortOrder_Asc(); }); if (list.isEmpty()) { return OptionalEntity.empty(); } return OptionalEntity.of(list.get(0)); } public void store(final DataConfig dataConfig) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.2K bytes - Viewed (0) -
common-protos/k8s.io/api/extensions/v1beta1/generated.proto
// traffic matches at least one item in the from list. // +optional repeated NetworkPolicyPeer from = 2; } // DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. // Network Policy List is a list of NetworkPolicy objects. message NetworkPolicyList { // Standard list metadata.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 45.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosAuthData.java
import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.security.auth.kerberos.KerberosKey; import jcifs.pac.PACDecodingException; @SuppressWarnings ( "javadoc" ) public abstract class KerberosAuthData { public static List<KerberosAuthData> parse ( int authType, byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java
public abstract void overriddenInSubclass(Object o); } static class SubClass extends SuperClass { final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); final List<Object> overriddenInSubclassEvents = Lists.newArrayList(); @Subscribe @Override public void overriddenAndAnnotatedInSubclass(Object o) { overriddenAndAnnotatedInSubclassEvents.add(o); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java
public abstract void overriddenInSubclass(Object o); } static class SubClass extends SuperClass { final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); final List<Object> overriddenInSubclassEvents = Lists.newArrayList(); @Subscribe @Override public void overriddenAndAnnotatedInSubclass(Object o) { overriddenAndAnnotatedInSubclassEvents.add(o); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 2K bytes - Viewed (0) -
tests/test_validate_response.py
from typing import List, Optional, Union import pytest from fastapi import FastAPI from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 2K bytes - Viewed (0) -
tests/test_ws_dependencies.py
import json from typing import List from fastapi import APIRouter, Depends, FastAPI, WebSocket from fastapi.testclient import TestClient from typing_extensions import Annotated def dependency_list() -> List[str]: return [] DepList = Annotated[List[str], Depends(dependency_list)] def create_dependency(name: str): def fun(deps: DepList): deps.append(name) return Depends(fun)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 20:35:39 UTC 2023 - 2.1K bytes - Viewed (0)