Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 705 for Main (0.33 sec)

  1. docs/ja/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. main.py`ファイルを `/code` ディレクトリに直接コピーします。
    
    2. Uvicornを実行し、`main`から`app`オブジェクトをインポートするように指示します(`app.main`からインポートするのではなく)。
    
    次にUvicornコマンドを調整して、`app.main` の代わりに新しいモジュール `main` を使用し、FastAPIオブジェクトである `app` をインポートします。
    
    ## デプロイメントのコンセプト
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

                System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
              }
    
              System.out.println(responseBody.string());
            }
          }
        });
      }
    
      public static void main(String... args) throws Exception {
        new AsynchronousGet().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
      public static void main(String... args) throws Exception {
        new ParseResponseWithMoshi().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/di/tool/package-info.java

    /**
     * Provides tools for processing Maven dependency injection annotations at compile time.
     * <p>
     * This package contains annotation processors that generate metadata files used by
     * the Maven dependency injection system. The main component is the {@link org.apache.maven.di.tool.DiIndexProcessor},
     * which processes classes annotated with {@link org.apache.maven.api.di.Named} and creates an index file
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. ci/official/pycpp.sh

    fi
    
    # Note: the profile can be viewed by visiting chrome://tracing in a Chrome browser.
    # See https://docs.bazel.build/versions/main/skylark/performance.html#performance-profiling
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/debugging.md

    ---
    
    Si vous utilisez Pycharm, vous pouvez :
    
    - Ouvrir le menu "Run".
    - Sélectionnez l'option "Debug...".
    - Un menu contextuel s'affiche alors.
    - Sélectionnez le fichier à déboguer (dans ce cas, `main.py`).
    
    Il démarrera alors le serveur avec votre code **FastAPI**, s'arrêtera à vos points d'arrêt, etc.
    
    Voici à quoi cela pourrait ressembler :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/sub-applications.md

    {* ../../docs_src/sub_applications/tutorial001.py hl[11, 19] *}
    
    ### Revisa la documentación automática de la API
    
    Ahora, ejecuta el comando `fastapi` con tu archivo:
    
    <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)
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/path-operation-advanced-configuration.md

    /// note | Nota
    
    En la especificación de OpenAPI se llama el <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object" class="external-link" target="_blank">Objeto de Operación</a>.
    
    ///
    
    Tiene toda la información sobre la *path operation* y se usa para generar la documentación automática.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

            println("Response 2 network response:  ${it.networkResponse}")
            return@use it.body.string()
          }
    
        println("Response 2 equals Response 1? " + (response1Body == response2Body))
      }
    }
    
    fun main() {
      CacheResponse(File("CacheResponse.tmp")).run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.body().string());
        }
    
        server.shutdown();
        socketFile.delete();
      }
    
      public static void main(String... args) throws Exception {
        new ClientAndServer().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top