Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 637 for Main (0.17 sec)

  1. buildscripts/verify-healing.sh

    	check_heal ${1}
    	rv=$?
    	if [ "$rv" == "1" ]; then
    		fail
    	fi
    }
    
    function main() {
    	# use same ports for all tests
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	perform_test "2" ${start_port}
    	perform_test "1" ${start_port}
    	perform_test "3" ${start_port}
    }
    
    (__init__ "$@" && main "$@")
    rv=$?
    purge "$WORK_DIR"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ## Additional Responses { #additional-responses }
    
    You probably have seen how to declare the `response_model` and `status_code` for a *path operation*.
    
    That defines the metadata about the main response of a *path operation*.
    
    You can also declare additional responses with their models, status codes, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. docs/pt/docs/deployment/server-workers.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. docs/es/docs/how-to/custom-docs-ui-assets.md

    Supongamos que la estructura de archivos de tu proyecto se ve así:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    Ahora crea un directorio para almacenar esos archivos estáticos.
    
    Tu nueva estructura de archivos podría verse así:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### Descarga los archivos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Apr 28 18:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/schema-extra-example.md

    `examples` são adicionados a <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#parameter-object" class="external-link" target="_blank">definição do OpenAPI, dentro do `Parameter Object` (na especificação)</a>.
    
    E para `Body()`, `File()`, e `Form()`, o `example` e `examples` são de maneira equivalente adicionados para a <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#mediaTypeObject" class="external-link" target="_blank">definição...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.brotli
    
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    fun main() {
      val client =
        OkHttpClient
          .Builder()
          .addInterceptor(BrotliInterceptor)
          .build()
    
      sendRequest("https://httpbin.org/brotli", client)
      sendRequest("https://httpbin.org/gzip", client)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.1K bytes
    - Viewed (1)
  8. docs/ja/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note | 備考
    
    `uvicorn main:app`は以下を示します:
    
    * `main`: `main.py`ファイル (Python "module")。
    * `app`:  `main.py`内部で作られるobject(`app = FastAPI()`のように記述される)。
    * `--reload`: コードの変更時にサーバーを再起動させる。開発用。
    
    ///
    
    出力には次のような行があります:
    
    ```hl_lines="4"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. .github/workflows/latest-changes.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
            with:
              # To allow latest-changes to commit to the main branch
              token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.3K bytes
    - Viewed (1)
  10. docs/pt/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Copie o arquivo `main.py` para o diretório `/code` diretamente (sem nenhum diretório `./app`).
    
    2. Execute o Uvicorn e diga a ele para importar o objeto `app` de `main` (em vez de importar de `app.main`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top