- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 190 for modesA (0.17 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy
""" withIsolatedProjects() def model3 = runBuildAction(new FetchCustomModelForEachProject()) then: model3.size() == 2 model3[0].message == "updated message for root" model3[1].message == "It works from project :a" fixture.assertStateUpdated { fileChanged("build.gradle") projectConfigured(":buildSrc")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.1K bytes - Viewed (0) -
tests/test_response_model_include_exclude.py
}, "baz": "simple_include_dict model2 baz", } @app.get( "/simple_exclude", response_model=Model2, response_model_exclude={"ref": {"bar"}}, ) def simple_exclude(): return Model2( ref=Model1(foo="simple_exclude model foo", bar="simple_exclude model bar"), baz="simple_exclude model2 baz", ) @app.get( "/simple_exclude_dict",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jul 19 19:14:58 UTC 2021 - 4K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model_pv2.py
from pydantic import BaseModel, ValidationInfo, field_validator app = FastAPI() class ModelB(BaseModel): username: str class ModelC(ModelB): password: str class ModelA(BaseModel): name: str description: Optional[str] = None foo: ModelB @field_validator("name") def lower_username(cls, name: str, info: ValidationInfo):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/modes/modes.go
ModeWebhook string = "Webhook" // ModeRBAC is the mode to use Role Based Access Control to authorize ModeRBAC string = "RBAC" // ModeNode is an authorization mode that authorizes API requests made by kubelets. ModeNode string = "Node" ) // AuthorizationModeChoices is the list of supported authorization modes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 05 01:22:41 UTC 2018 - 1.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/MultipleParametersAction.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy
modelsCreated(":", ":a") } when: executer.withArguments(ENABLE_CLI) def model2 = runBuildAction(new FetchCustomModelForEachProjectInTree()) then: model2.size() == 2 model2[0].message == "It works from project :" model2[1].message == "It works from project :a" and: fixture.assertStateLoaded() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy
model2.values().every { it.size() == 2 } model2[":"][0].message == "fetch2 It works from project :" model2[":"][1].message == "fetch1 It works from project :" model2[":a"][0].message == "fetch2 It works from project :a" model2[":a"][1].message == "fetch1 It works from project :a" } def "no parameterized models are reused when settings change"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.3K bytes - Viewed (0) -
tests/test_duplicate_models_openapi.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Model(BaseModel): pass class Model2(BaseModel): a: Model class Model3(BaseModel): c: Model d: Model2 @app.get("/", response_model=Model3) def f(): return {"c": {}, "d": {"a": {}}} client = TestClient(app) def test_get_api_route():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/GradleBuildBuilderTest.groovy
expect: def model = builder.create(rootBuildState) model.includedBuilds.size() == 1 def model1 = model.includedBuilds[0] model1.rootDir == dir1 model1.includedBuilds.size() == 1 def model2 = model1.includedBuilds[0] model2.rootDir == dir2 model2.includedBuilds.empty model.editableBuilds.size() == 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomModelBuildingAction.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.1K bytes - Viewed (0)