- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for decorate (0.08 sec)
-
.idea/inspectionProfiles/Gradle.xml
annotated with @Provides but uses wrong naming" description="A service-providing method is annotated with `@Provides`, but its name does not start with 'create' or 'decorate', or is not 'configure'" suppressId="annotated_not_service_providing" problemDescriptor="Method is annotated with @Provides, but its name does not start with 'create' or 'decorate'" text="class $Class$ implements $Base$ { @$Annotation$ @Modifier("Instance") $ReturnType$ $Method$ ($ParameterType$ $Parameter$); }"...
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 26 21:49:47 UTC 2024 - 15.4K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/lifecycle.mdo
<version>2.0.0+</version> <type>String</type> <defaultValue><![CDATA[]]></defaultValue> <description><![CDATA[If specified, identifies this phase as a dynamic phase to decorate the specified phase id, e.g. {@code after} or {@code before}.]]></description> </field> <field xml.attribute="true"> <name>priority</name> <required>false</required>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 29 05:48:54 UTC 2024 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* right before each task is run. The renaming is best effort, if a {@link SecurityManager} * prevents the renaming then it will be skipped but the tasks will still execute. * * @param executor The executor to decorate * @param nameSupplier The source of names for each task */ @J2ktIncompatible @GwtIncompatible // concurrency static Executor renamingDecorator(final Executor executor, final Supplier<String> nameSupplier) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 44.1K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
And it also includes a default exception handler for it. To override it, import the `RequestValidationError` and use it with `@app.exception_handler(RequestValidationError)` to decorate the exception handler. The exception handler will receive a `Request` and the exception. ```Python hl_lines="2 14-16" {!../../docs_src/handling_errors/tutorial004.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.5K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
* <a href="https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a> using them to decorate a function with a single `yield`. That's what **FastAPI** uses internally for dependencies with `yield`. But you don't have to use the decorators for FastAPI dependencies (and you shouldn't).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14K bytes - Viewed (0) -
fastapi/routing.py
def decorator(func: DecoratedCallable) -> DecoratedCallable: self.add_route( path, func, methods=methods, name=name, include_in_schema=include_in_schema, ) return func return decorator def add_api_route( self,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
fastapi/applications.py
``` """ def decorator(func: DecoratedCallable) -> DecoratedCallable: self.add_api_websocket_route( path, func, name=name, dependencies=dependencies, ) return func return decorator def include_router( self,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from). A "decorator" takes the function below and does something with it. In our case, this decorator tells **FastAPI** that the function below corresponds to the **path** `/` with an **operation** `get`. It is the "**path operation decorator**". /// You can also use the other operations: * `@app.post()`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:48:16 UTC 2024 - 11.8K bytes - Viewed (0)