- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,499 for it (0.14 sec)
-
fastapi/applications.py
internally. The first time it is called it stores the result in the attribute `app.openapi_schema`, and next times it is called, it just returns that same result. To avoid the cost of generating the schema every time. If you need to modify the generated OpenAPI schema, you could modify it. Read more in the
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
os to (testProject to performanceTestDuration) } } } return pairs.groupBy({ it.first }, { it.second }) .mapValues { entry -> entry.value.groupBy({ it.first }, { it.second }) } } private fun readPerformanceTestConfigurations(performanceTestsCiJson: File): List<PerformanceTestConfiguration> {
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Mon Feb 19 11:22:56 GMT 2024 - 15.3K bytes - Viewed (0) -
docs/en/docs/async.md
But all this functionality of using asynchronous code with `async` and `await` is many times summarized as using "coroutines". It is comparable to the main key feature of Go, the "Goroutines". ## Conclusion
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
Iterator<Integer> it = mmHeap.iterator(); assertEquals((Integer) 1, it.next()); assertEquals((Integer) 20, it.next()); assertEquals((Integer) 100, it.next()); assertEquals((Integer) 2, it.next()); it.remove(); assertFalse(mmHeap.contains(2)); assertTrue(it.hasNext()); assertEquals((Integer) 3, it.next()); assertTrue(it.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
You can return it directly. It accepts the following parameters: * `content` - A `str` or `bytes`. * `status_code` - An `int` HTTP status code. * `headers` - A `dict` of strings. * `media_type` - A `str` giving the media type. E.g. `"text/html"`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
```Python hl_lines="8-11" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` That's it. **2 lines**. And it has the same shape and structure that all your *path operation functions* have. You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`). And it can return anything you want. In this case, this dependency expects:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
maven-core/src/site/apt/offline-mode.apt
* Not all "remote" repositories will fail. Specifically, if the remote repo uses the file:// protocol, and it doesn't refer to a shared filesystem, it will continue to be available. The question remaining is: Which level of offline mode will we support? It seems reasonable to assume that users will be able to tell when localhost is
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 18 00:24:53 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
To create the callback *path operation* use the same `APIRouter` you created above. It should look just like a normal FastAPI *path operation*: * It should probably have a declaration of the body it should receive, e.g. `body: InvoiceEvent`. * And it could also have a declaration of the response it should return, e.g. `response_model=InvoiceEventReceived`. ```Python hl_lines="16-18 21-22 28-32"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
`OAuth2PasswordBearer` makes **FastAPI** know that it is a security scheme. So it is added that way to OpenAPI. But `OAuth2PasswordRequestForm` is just a class dependency that you could have written yourself, or you could have declared `Form` parameters directly. But as it's a common use case, it is provided by **FastAPI** directly, just to make it easier. ### Use the form data !!! tip
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
fastapi/routing.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0)