- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 202 for portMap (0.2 sec)
-
docs_src/dependencies/tutorial008c_an.py
print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 710 bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromMultipleCustomPluginRepositorySpec.groovy
repoType << [IVY, MAVEN] } def "Does not fall through to plugin portal if custom #repoType repos are defined"(String repoType) { given: publishPlugins(repoType) buildScript """ plugins { id "org.gradle.hello-world" version "0.2" //exits in the plugin portal } """ use(repoA, repoB) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:30:55 UTC 2024 - 8.5K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c_an_py39.py
with pytest.raises(FastAPIError) as exc_info: client.get("/items/portal-gun") assert "No response object was returned" in exc_info.value.args[0] @needs_py39 def test_internal_server_error(): from docs_src.dependencies.tutorial008c_an_py39 import app client = TestClient(app, raise_server_exceptions=False) response = client.get("/items/portal-gun") assert response.status_code == 500, response.text
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
// volumeName: pv0001 func (iscsi *iscsiDisk) GetPodDeviceMapPath() (string, string) { return iscsi.iscsiPodDeviceMapPath() } func portalMounter(portal string) string { if !strings.Contains(portal, ":") { portal = portal + ":3260" } return portal } // get iSCSI volume info: readOnly and fstype func getISCSIVolumeInfo(spec *volume.Spec) (bool, string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial002.py
@app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> List[Item]: return [ Item( name="Portal Gun", description="Device to travel through the multi-rick-verse", ), Item(name="Plumbus"),
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 524 bytes - Viewed (0) -
tests/test_openapi_separate_input_output_schemas.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 18.4K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementWithSettingsPluginIntegrationTest.groovy
id("test.test-plugin").version("1.0") } """ when: run("pluginTask") then: outputContains("external plugin") // Ensure plugin portal is not unintentionally used pluginPortal.server.resetExpectations() } @Issue("https://github.com/gradle/gradle/issues/14536")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 8.4K bytes - Viewed (0) -
docs_src/response_model/tutorial001_py39.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 556 bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py
} }, "summary": "Read Items", "operationId": "read_items_items__get", "x-aperture-labs-portal": "blue", } } },
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1K bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial002_py39.py
@app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun", description="Device to travel through the multi-rick-verse", ), Item(name="Plumbus"),
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 518 bytes - Viewed (0)