- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 346 for redeclare (0.04 sec)
-
docs/pt/docs/tutorial/body.md
```JSON { "name": "Foo", "price": 45.2 } ``` ## Declare como um parâmetro { #declare-it-as-a-parameter } Para adicioná-lo à sua *operação de rota*, declare-o da mesma maneira que você declarou parâmetros de rota e de consulta: {* ../../docs_src/body/tutorial001_py310.py hl[16] *} ...e declare o seu tipo como o modelo que você criou, `Item`. ## Resultados { #results }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
@J2ktIncompatible // Incompatible return type change. Use inherited implementation public Object[] toArray() { /* * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements * have the same nullness as E." Since we can't, we declare it to return nullable elements, and * we can override it in our non-null-guaranteeing subtypes to present a better signature to * their users. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
## Dependencies errors and return values { #dependencies-errors-and-return-values } You can use the same dependency *functions* you use normally. ### Dependency requirements { #dependency-requirements } They can declare request requirements (like headers) or other sub-dependencies: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[8,13] *} ### Raise exceptions { #raise-exceptions }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
But if you return a `Response` directly (or any subclass, like `JSONResponse`), the data won't be automatically converted (even if you declare a `response_model`), and the documentation won't be automatically generated (for example, including the specific "media type", in the HTTP header `Content-Type` as part of the generated OpenAPI).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.4K bytes - Viewed (0) -
fastapi/param_functions.py
dependency is called again (if declared more than once) in the same request. """ ), ] = True, ) -> Any: """ Declare a FastAPI Security dependency. The only difference with a regular dependency is that it can declare OAuth2 scopes that will be integrated with OpenAPI and the automatic UI docs (by default at `/docs`).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 63K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
These functions can be declared with `async def` or normal `def`. ### `startup` event { #startup-event } To add a function that should be run before the application starts, declare it with the event `"startup"`: {* ../../docs_src/events/tutorial001_py39.py hl[8] *} In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.9K bytes - Viewed (0) -
src/builtin/builtin.go
// not as the type of a variable. type comparable interface{ comparable } // iota is a predeclared identifier representing the untyped integer ordinal // number of the current const specification in a (usually parenthesized) // const declaration. It is zero-indexed. const iota = 0 // Untyped int. // nil is a predeclared identifier representing the zero value for a // pointer, channel, func, interface, map, or slice type.Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
We can do better... ## What makes a dependency { #what-makes-a-dependency } Up to now you have seen dependencies declared as functions. But that's not the only way to declare dependencies (although it would probably be the more common). The key factor is that a dependency should be a "callable". A "**callable**" in Python is anything that Python can "call" like a function.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
erations } Later, when reading about how to structure bigger applications ([Bigger Applications - Multiple Files](../../tutorial/bigger-applications.md){.internal-link target=_blank}), possibly with multiple files, you will learn how to declare a single `dependencies` parameter for a group of *path operations*....
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.1K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
# WebSockets When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it. It is provided directly by Starlette, but you can import it from `fastapi`: ```python from fastapi import WebSocket ``` /// tip
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.7K bytes - Viewed (0)