Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for mangle (0.15 sec)

  1. fastapi/dependencies/utils.py

        if depends is not None and depends.dependency is None:
            # Copy `depends` before mutating it
            depends = copy(depends)
            depends.dependency = type_annotation
    
        # Handle non-param type annotations like Request
        if lenient_issubclass(
            type_annotation,
            (
                Request,
                WebSocket,
                HTTPConnection,
                Response,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

     */
    @Named
    @Singleton
    public class DefaultExceptionHandler implements ExceptionHandler {
        @Override
        public ExceptionSummary handleException(Throwable exception) {
            return handle("", exception);
        }
    
        private ExceptionSummary handle(String message, Throwable exception) {
            String reference = getReference(Collections.newSetFromMap(new IdentityHashMap<>()), exception);
    
            List<ExceptionSummary> children = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. README.md

    and aggregate telemetry data. Istio's control plane provides an abstraction
    layer over the underlying cluster management platform, such as Kubernetes.
    
    Istio is composed of these components:
    
    - **Envoy** - Sidecar proxies per microservice to handle ingress/egress traffic
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 22:38:34 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/events.md

    ## Use Case
    
    Let's start with an example **use case** and then see how to solve it with this.
    
    Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖
    
    The same models are shared among requests, so, it's not one model per request, or one per user or something similar.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/middleware.md

    # Advanced Middleware
    
    In the main tutorial you read how to add [Custom Middleware](../tutorial/middleware.md){.internal-link target=_blank} to your application.
    
    And then you also read how to handle [CORS with the `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}.
    
    In this section we'll see how to use other middlewares.
    
    ## Adding ASGI middlewares
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        /**
         * Constructor that makes passed in delegate run on single thread, and will block on last event.
         */
        public SimplexTransferListener(TransferListener delegate) {
            this(delegate, QUEUE_SIZE, BATCH_MAX_SIZE, true);
        }
    
        /**
         * Constructor that may alter behaviour of this listener.
         *
         * @param delegate The delegate that should run on single thread.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/background-tasks.md

    ## Create a task function
    
    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/custom-request-and-route.md

    If there's no `gzip` in the header, it will not try to decompress the body.
    
    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[8:15] *}
    
    ### Create a custom `GzipRoute` class
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java

         */
        @Deprecated
        public static DefaultRepositorySystemSession newSession() {
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
            MavenSessionBuilderSupplier builder = new MavenSessionBuilderSupplier();
            session.setDependencyTraverser(builder.getDependencyTraverser());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

            return "Secure console password prompt";
        }
    
        @Override
        public Optional<String> configTemplate() {
            return Optional.empty();
        }
    
        @Override
        public String handle(String config) throws SecDispatcherException {
            if (NAME.equals(config)) {
                try {
                    return prompter.promptForPassword("Enter the master password: ");
                } catch (PrompterException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top