- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 2,114 for GET (0.01 seconds)
-
docs_src/wsgi/tutorial001_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 443 bytes - Click Count (0) -
docs_src/path_params_numeric_validations/tutorial006_py39.py
from fastapi import FastAPI, Path, Query app = FastAPI() @app.get("/items/{item_id}") async def read_items( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str, size: float = Query(gt=0, lt=10.5), ): results = {"item_id": item_id} if q: results.update({"q": q}) if size: results.update({"size": size})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 397 bytes - Click Count (0) -
docs_src/dependencies/tutorial001_an_py39.py
async def common_parameters( q: Union[str, None] = None, skip: int = 0, limit: int = 100 ): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return commons @app.get("/users/") async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 473 bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java
assertNotNull(pluginGroups); assertEquals(3, pluginGroups.size()); assertEquals("org.apache.maven.plugins", pluginGroups.get(0)); assertEquals("org.codehaus.modello", pluginGroups.get(1)); assertEquals("org.codehaus.plexus", pluginGroups.get(2)); } @Test void testRoundTripProfiles() { Random entropy = new Random(); ActivationFile af = ActivationFile.newBuilder()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.7K bytes - Click Count (0) -
cmd/metrics-v3-cluster-usage.go
// // This is a `MetricsLoaderFn`. func loadClusterUsageObjectMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { dataUsageInfo, err := c.dataUsageInfo.Get() if err != nil { metricsLogIf(ctx, err) return nil } // data usage has not captured any data yet. if dataUsageInfo.LastUpdate.IsZero() { return nil } var (
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6.5K bytes - Click Count (0) -
docs_src/app_testing/tutorial003_py39.py
@app.on_event("startup") async def startup_event(): items["foo"] = {"name": "Fighters"} items["bar"] = {"name": "Tenders"} @app.get("/items/{item_id}") async def read_items(item_id: str): return items[item_id] def test_read_items(): with TestClient(app) as client: response = client.get("/items/foo") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 528 bytes - Click Count (0) -
docs_src/dependencies/tutorial001_an_py310.py
app = FastAPI() async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return commons @app.get("/users/") async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 454 bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
List<Plugin> pending = new ArrayList<>(); for (Plugin element : src) { Object key = getPluginKey(element); Plugin existing = master.get(key); if (existing != null) { mergePlugin(existing, element, sourceDominant, context); if (!pending.isEmpty()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 8K bytes - Click Count (0) -
internal/crypto/sse-c.go
func (ssec) ParseHTTP(h http.Header) (key [32]byte, err error) { if h.Get(xhttp.AmzServerSideEncryptionCustomerAlgorithm) != xhttp.AmzEncryptionAES { return key, ErrInvalidCustomerAlgorithm } if h.Get(xhttp.AmzServerSideEncryptionCustomerKey) == "" { return key, ErrMissingCustomerKey } if h.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5) == "" { return key, ErrMissingCustomerKeyMD5 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java
new DefaultLookup(mockedPlexusContainer)); assertEquals("clean", dl.getLifeCycles().get(0).getId()); assertEquals("default", dl.getLifeCycles().get(1).getId()); assertEquals("site", dl.getLifeCycles().get(2).getId()); assertEquals("etl", dl.getLifeCycles().get(3).getId()); } private Lifecycle getLifeCycleById(String id) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.9K bytes - Click Count (0)