Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 169 for url_lines (0.04 sec)

  1. docs/pt/docs/advanced/path-operation-advanced-configuration.md

    E se você olhar o esquema OpenAPI resultante (na rota `/openapi.json` da sua API), você verá que a sua extensão também faz parte da *operação de rota* específica:
    
    ```JSON hl_lines="22"
    {
        "openapi": "3.1.0",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. docs/ru/docs/environment-variables.md

    Так же существует возможность создания переменных окружения **вне** Python, в терминале (или любым другим способом), а затем **чтения их в Python**.
    
    Например, у вас есть файл `main.py`:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Совет
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. docs/tr/docs/python-types.md

    #### `Optional`
    
    `Optional` bir değişkenin `str`gibi bir tipi olabileceğini ama isteğe bağlı olarak tipinin `None` olabileceğini belirtir:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. docs/es/docs/environment-variables.md

    También podrías crear variables de entorno **fuera** de Python, en la terminal (o con cualquier otro método), y luego **leerlas en Python**.
    
    Por ejemplo, podrías tener un archivo `main.py` con:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Consejo
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/body-multiple-params.md

    ```Python
    item: Item = Body(..., embed=True)
    ```
    
    以下において:
    
    {* ../../docs_src/body_multiple_params/tutorial005.py hl[17] *}
    
    この場合、**FastAPI** は以下のようなボディを期待します:
    
    ```JSON hl_lines="2"
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    以下の代わりに:
    
    ```JSON
    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. docs/de/docs/environment-variables.md

    Sie können auch Umgebungsvariablen **außerhalb** von Python erstellen, im Terminal (oder mit jeder anderen Methode) und sie dann **in Python** lesen.
    
    Zum Beispiel könnten Sie eine Datei `main.py` haben mit:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Tipp
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/testing.md

    `main.py` 파일 안에 **FastAPI** app 을 만들었습니다:
    
    {* ../../docs_src/app_testing/main.py *}
    
    ### 테스트 파일
    
    테스트를 위해 `test_main.py` 라는 파일을 생성할 수 있습니다. 이 파일은 동일한 Python 패키지(즉, `__init__.py` 파일이 있는 동일한 디렉터리)에 위치할 수 있습니다.
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    파일들이 동일한 패키지에 위치해 있으므로, 상대 참조를 사용하여 `main` 에서 `app` 객체를 임포트 해올 수 있습니다.
    
    {* ../../docs_src/app_testing/test_main.py hl[3] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. docs/pt/docs/environment-variables.md

    Você também pode criar variáveis de ambiente **fora** do Python, no terminal (ou com qualquer outro método) e depois **lê-las no Python**.
    
    Por exemplo, você poderia ter um arquivo `main.py` com:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Dica
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/body-nested-models.md

    ## 서브모델 리스트를 갖는 어트리뷰트
    
    `list`, `set` 등의 서브타입으로 Pydantic 모델을 사용할 수도 있습니다:
    
    {* ../../docs_src/body_nested_models/tutorial006.py hl[20] *}
    
    아래와 같은 JSON 본문으로 예상(변환, 검증, 문서화 등을)합니다:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": [
            "rock",
            "metal",
            "bar"
        ],
        "images": [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/first-steps.md

    * `--reload`: kod değişikliklerinin ardından sunucuyu otomatik olarak yeniden başlatır. Bu parameteyi sadece geliştirme aşamasında kullanmalıyız.
    
    ///
    
    Çıktı olarak şöyle bir satır ile karşılaşacaksınız:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Bu satır, yerel makinenizde uygulamanızın çalıştığı bağlantıyı gösterir.
    
    ### Kontrol Edelim
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top