Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 213 for Wain (0.2 sec)

  1. docs/ru/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Технические детали"
        Команда `uvicorn main:app` обращается к:
    
        * `main`: файл `main.py` (модуль Python).
        * `app`: объект, созданный внутри файла `main.py` в строке `app = FastAPI()`.
        * `--reload`: перезапускает сервер после изменения кода. Используйте только для разработки.
    
    В окне вывода появится следующая строка:
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 728 bytes
    - Viewed (0)
  3. docs/pl/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note
        Polecenie `uvicorn main:app` odnosi się do:
    
        * `main`: plik `main.py` ("moduł" Python).
        * `app`: obiekt utworzony w pliku `main.py` w lini `app = FastAPI()`.
        * `--reload`: sprawia, że serwer uruchamia się ponownie po zmianie kodu. Używany tylko w trakcie tworzenia oprogramowania.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. docs/em/docs/deployment/server-workers.md

    ```
    
    </div>
    
    ➡️ 👀 ⚫️❔ 🔠 👈 🎛 ⛓:
    
    * `main:app`: 👉 🎏 ❕ ⚙️ Uvicorn, `main` ⛓ 🐍 🕹 📛 "`main`",, 📁 `main.py`. &amp; `app` 📛 🔢 👈 **FastAPI** 🈸.
        * 👆 💪 🌈 👈 `main:app` 🌓 🐍 `import` 📄 💖:
    
            ```Python
            from main import app
            ```
    
        * , ❤ `main:app` 🔜 🌓 🐍 `import` 🍕 `from main import app`.
    * `--workers`: 🔢 👨‍🏭 🛠️ ⚙️, 🔠 🔜 🏃 Uvicorn 👨‍🏭, 👉 💼, 4️⃣ 👨‍🏭.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Nota"
        O comando `uvicorn main:app` se refere a:
    
        * `main`: o arquivo `main.py` (o "módulo" Python).
        * `app`: o objeto criado no arquivo `main.py` com a linha `app = FastAPI()`.
        * `--reload`: faz o servidor reiniciar após mudanças de código. Use apenas para desenvolvimento.
    
    Na saída, temos:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3  7" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### 🗄 `APIRouter`
    
    🔜 👥 🗄 🎏 🔁 👈 ✔️ `APIRouter`Ⓜ:
    
    ```Python hl_lines="5" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. docs/ko/docs/deployment/server-workers.md

    ```
    
    </div>
    
    각 옵션이 무엇을 의미하는지 살펴봅시다:
    
    * 이것은 유비콘과 똑같은 문법입니다. `main`은 파이썬 모듈 네임 "`main`"을 의미하므로 `main.py`파일을 뜻합니다. 그리고 `app`은 **FastAPI** 어플리케이션이 들어 있는 변수의 이름입니다.
        * `main:app`이 파이썬의 `import` 문법과 흡사한 면이 있다는 걸 알 수 있습니다:
    
            ```Python
            from main import app
            ```
    
        * 곧, `main:app`안에 있는 콜론의 의미는 파이썬에서 `from main import app`에서의 `import`와 같습니다.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "참고"
        `uvicorn main:app` 명령은 다음을 의미합니다:
    
        * `main`: 파일 `main.py` (파이썬 "모듈").
        * `app`: `main.py` 내부의 `app = FastAPI()` 줄에서 생성한 오브젝트.
        * `--reload`: 코드 변경 시 자동으로 서버 재시작. 개발 시에만 사용.
    
    출력되는 줄들 중에는 아래와 같은 내용이 있습니다:
    
    ```hl_lines="4"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. tests/test_dependency_overrides.py

                ]
            }
        )
    
    
    def test_main_depends_q_foo():
        response = client.get("/main-depends/?q=foo")
        assert response.status_code == 200
        assert response.json() == {
            "in": "main-depends",
            "params": {"q": "foo", "skip": 0, "limit": 100},
        }
    
    
    def test_main_depends_q_foo_skip_100_limit_200():
        response = client.get("/main-depends/?q=foo&skip=100&limit=200")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/server-workers.md

    ```
    
    </div>
    
    Let's see what each of those options mean:
    
    * `main:app`: This is the same syntax used by Uvicorn, `main` means the Python module named "`main`", so, a file `main.py`. And `app` is the name of the variable that is the **FastAPI** application.
        * You can imagine that `main:app` is equivalent to a Python `import` statement like:
    
            ```Python
            from main import app
            ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top