Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 260 for Executor (1.45 sec)

  1. docs/pt/docs/advanced/async-tests.md

    O `TestClient` faz algumas mágicas para invocar a aplicação FastAPI assíncrona em suas funções `def` normais, utilizando o pytest padrão. Porém a mágica não acontece mais quando nós estamos utilizando dentro de funções assíncronas. Ao executar os nossos testes de forma assíncrona, nós não podemos mais utilizar o `TestClient` dentro das nossas funções de teste.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/settings.md

    ### Usar o `settings` { #use-the-settings }
    
    Depois você pode usar o novo objeto `settings` na sua aplicação:
    
    {* ../../docs_src/settings/tutorial001_py39.py hl[18:20] *}
    
    ### Executar o servidor { #run-the-server }
    
    Em seguida, você executaria o servidor passando as configurações como variáveis de ambiente, por exemplo, você poderia definir `ADMIN_EMAIL` e `APP_NAME` com:
    
    <div class="termy">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import java.util.concurrent.Callable
    import java.util.concurrent.Executors
    import java.util.concurrent.Future
    import java.nio.file.Files
    import java.nio.file.Paths
    
    /**
     * See https://github.com/gradle/gradle-private/issues/3919
     *
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

    import java.io.PrintWriter;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.eclipse.aether.transfer.TransferCancelledException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.6K bytes
    - Viewed (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"))
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 30 14:53:14 UTC 2024
    - 756 bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/middleware.md

    * Ele pode então fazer algo com essa **requisição** ou executar qualquer código necessário.
    * Então ele passa a **requisição** para ser processada pelo resto do aplicativo (por alguma *operação de rota*).
    * Ele então pega a **resposta** gerada pelo aplicativo (por alguma *operação de rota*).
    * Ele pode fazer algo com essa **resposta** ou executar qualquer código necessário.
    * Então ele retorna a **resposta**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/sql-databases.md

    ### Deletar um Hero { #delete-a-hero }
    
    Também podemos **deletar** um `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *}
    
    ### Executar o App { #run-the-app }
    
    Você pode executar o app:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

     */
    package org.codelibs.fess.exec;
    
    import java.io.File;
    import java.lang.management.ManagementFactory;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.DynamicProperties;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals("http://example.com/", HcHttpClient.constructRedirectLocation("http://example.com/path/", "../"));
        }
    
        // public void test_doGet_mt() throws Exception {
        // ExecutorService executorService = Executors.newFixedThreadPool(1);
        //
        // // HttpClient Parameters
        // Map<String, Object> paramMap = new HashMap<String, Object>();
        // httpClient.setInitParameterMap(paramMap);
        //
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top