Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 1,159 for MAIN (0.03 seconds)

  1. docs/zh/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    在 `main.py` 文件中你有一个 **FastAPI** app:
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    ### 测试文件 { #testing-file }
    
    然后你会有一个包含测试的文件 `test_main.py` 。app可以像Python包那样存在(一样是目录,但有个 `__init__.py` 文件):
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[1,3,7] title["app/main.py"] *}
    
    ### Импорт `APIRouter` { #import-the-apirouter }
    
    Теперь мы импортируем другие подмодули, содержащие `APIRouter`:
    
    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[4:5] title["app/main.py"] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  3. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

          response.use {
            assertEquals(Protocol.HTTP_2, response.protocol)
            assertEquals(200, response.code)
            // see https://github.com/google/conscrypt/blob/b9463b2f74df42d85c73715a5f19e005dfb7b802/android/src/main/java/org/conscrypt/Platform.java#L613
            when {
              Build.VERSION.SDK_INT >= 24 -> {
                // Conscrypt 2.5+ defaults to SSLEngine-based SSLSocket
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[1,3,7] title["app/main.py"] *}
    
    ### Den `APIRouter` importieren { #import-the-apirouter }
    
    Jetzt importieren wir die anderen Submodule, die `APIRouter` haben:
    
    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[4:5] title["app/main.py"] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 21.9K bytes
    - Click Count (0)
  5. docs/tr/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Kodunuz şu şekilde yapılandırılmışsa:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    O zaman `entrypoint`'i şu şekilde ayarlarsınız:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    Bu da şu koda eşdeğerdir:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. docs/en/docs/release-notes.md

        * New docs at [Dependencies with `yield`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/).
        * Updated database docs [SQL (Relational) Databases: Main **FastAPI** app](https://fastapi.tiangolo.com/tutorial/sql-databases/#main-fastapi-app).
        * PR [#595](https://github.com/tiangolo/fastapi/pull/595).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  7. docs/ru/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Если ваш код организован так:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Тогда следует указать `entrypoint` так:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    что будет эквивалентно:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  8. docs/es/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Si tu código estuviera estructurado así:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Entonces establecerías el `entrypoint` como:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    lo cual sería equivalente a:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. docs/fr/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Si votre code était structuré comme ceci :
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Vous définiriez alors le `entrypoint` comme suit :
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    ce qui serait équivalent à :
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>Fingerprint2011() is a form of Murmur2 on strings up to 32 bytes and a form of CityHash for
       * longer strings. It could have been one or the other throughout. The main advantage of the
       * combination is that CityHash has a bunch of special cases for short strings that don't need to
       * be replicated here. The result will never be 0 or 1.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
Back to Top