Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 248 for Executar (0.06 seconds)

  1. docs/es/docs/advanced/testing-events.md

    Cuando necesitas que `lifespan` se ejecute en tus tests, puedes usar el `TestClient` con un statement `with`:
    
    {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Puedes leer más detalles sobre ["Ejecutar lifespan en tests en el sitio oficial de documentación de Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Para los eventos obsoletos `startup` y `shutdown`, puedes usar el `TestClient` así:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 632 bytes
    - Click Count (0)
  2. docs/es/docs/advanced/async-tests.md

    El `TestClient` hace algo de magia interna para llamar a la aplicación FastAPI asíncrona en tus funciones de test `def` normales, usando pytest estándar. Pero esa magia ya no funciona cuando lo usamos dentro de funciones asíncronas. Al ejecutar nuestros tests de manera asíncrona, ya no podemos usar el `TestClient` dentro de nuestras funciones de test.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
        }
    
        /**
         * Registers a new searcher with the rank fusion processor.
         * Adds the searcher to the searchers list and initializes the executor service
         * if it hasn't been created yet. The executor service is created with a thread pool
         * sized based on configuration or system capabilities.
         *
         * @param searcher the RankFusionSearcher to register
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** créera l'objet de type `BackgroundTasks` pour vous et le passera comme paramètre.
    
    ## Créer une fonction de tâche
    
    Une fonction à exécuter comme tâche d'arrière-plan est juste une fonction standard qui peut recevoir des paramètres.
    
    Elle peut être une fonction asynchrone (`async def`) ou une fonction normale (`def`), **FastAPI** saura la gérer correctement.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/AbstractService.java

      public final Throwable failureCause() {
        return snapshot.failureCause();
      }
    
      /**
       * @since 13.0
       */
      @Override
      public final void addListener(Listener listener, Executor executor) {
        listeners.addListener(listener, executor);
      }
    
      @Override
      public String toString() {
        return getClass().getSimpleName() + " [" + state() + "]";
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. build-logic/integration-testing-kotlin/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle-integ-tests.gradle.kts

        }
    }
    
    dependencies {
        integTestRuntimeOnly(project(":kotlin-dsl-plugins")) {
            because("Tests require 'future-plugin-versions.properties' on the test classpath and the embedded executer needs them available")
            attributes {
                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named("future-versions-resource"))
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 30 14:53:14 GMT 2024
    - 756 bytes
    - Click Count (0)
  7. docs/es/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Esta herramienta te ayudará a cambiar automáticamente la mayor parte del código que necesita cambiarse.
    
    Después de esto, puedes ejecutar los tests y revisa si todo funciona. Si es así, ya terminaste. 😎
    
    ## Pydantic v1 en v2 { #pydantic-v1-in-v2 }
    
    Pydantic v2 incluye todo lo de Pydantic v1 como un submódulo `pydantic.v1`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:16:35 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

            .build();
    
        Request request = new Request.Builder()
            .url("ws://echo.websocket.org")
            .build();
        client.newWebSocket(request, this);
    
        // Trigger shutdown of the dispatcher's executor so this process exits immediately.
        client.dispatcher().executorService().shutdown();
      }
    
      @Override public void onOpen(WebSocket webSocket, Response response) {
        webSocket.send("Hello...");
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
     * <p>Note that task wrapping may occur even if the task is never executed.
     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(5, 6, "C");
    
        int threadCount = 20;
        ExecutorService executor = newFixedThreadPool(threadCount);
        CyclicBarrier barrier = new CyclicBarrier(threadCount);
        ImmutableList.Builder<Future<?>> futures = ImmutableList.builder();
        for (int i = 0; i < threadCount; i++) {
          futures.add(
              executor.submit(
                  new Callable<@Nullable Void>() {
                    @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top