Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for main (0.14 sec)

  1. 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)
  2. docs/zh/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`:让服务器在更新代码后重新启动。仅在开发时使用该选项。
    
    
    在输出中,会有一行信息像下面这样:
    
    ```hl_lines="4"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.2K bytes
    - Viewed (0)
  3. docs/vi/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note
        Câu lệnh `uvicorn main:app` được giải thích như sau:
    
        * `main`: tệp tin `main.py` (một Python "mô đun").
        * `app`: một object được tạo ra bên trong `main.py` với dòng `app = FastAPI()`.
        * `--reload`: làm server khởi động lại sau mỗi lần thay đổi. Chỉ sử dụng trong môi trường phát triển.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/first-steps.md

    Let's use the tools provided by **FastAPI** to handle security.
    
    ## How it looks
    
    Let's first just use the code and see how it works, and then we'll come back to understand what's happening.
    
    ## Create `main.py`
    
    Copy the example in a file `main.py`:
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/first-steps.md

    ## Wie es aussieht
    
    Lassen Sie uns zunächst einfach den Code verwenden und sehen, wie er funktioniert, und dann kommen wir zurück, um zu verstehen, was passiert.
    
    ## `main.py` erstellen
    
    Kopieren Sie das Beispiel in eine Datei `main.py`:
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:07:08 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/security/first-steps.md

    **FastAPI**では、これを**OAuth2**を使用して構築できます。
    
    ですが、ちょっとした必要な情報を探すために、長い仕様のすべてを読む必要はありません。
    
    **FastAPI**が提供するツールを使って、セキュリティを制御してみましょう。
    
    ## どう見えるか
    
    まずはこのコードを使って、どう動くか観察します。その後で、何が起こっているのか理解しましょう。
    
    ## `main.py`を作成
    
    `main.py`に、下記の例をコピーします:
    
    ```Python
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    ## 実行
    
    !!! info "情報"
    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)
  7. 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)
  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. docs/tr/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Not"
        `uvicorn main:app` komutunu şu şekilde açıklayabiliriz:
    
        * `main`: dosya olan `main.py` (yani Python "modülü").
        * `app`: ise `main.py` dosyasının içerisinde `app = FastAPI()` satırında oluşturduğumuz `FastAPI` nesnesi.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Nota"
        El comando `uvicorn main:app` se refiere a:
    
        * `main`: el archivo `main.py` (el "módulo" de Python).
        * `app`: el objeto creado dentro de `main.py` con la línea `app = FastAPI()`.
        * `--reload`: hace que el servidor se reinicie cada vez que cambia el código. Úsalo únicamente para desarrollo.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top