Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1431 - 1440 of 1,487 for apps (0.02 seconds)

  1. docs/ko/docs/advanced/events.md

    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    최근 버전의 파이썬에서는 **비동기 컨텍스트 매니저**도 있습니다. 이를 `async with`와 함께 사용합니다:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    컨텍스트 매니저나 위와 같은 비동기 컨텍스트 매니저를 만들면, `with` 블록에 들어가기 전에 `yield` 이전의 코드가 실행되고, `with` 블록을 벗어난 후에는 `yield` 이후의 코드가 실행됩니다.
    
    위의 코드 예제에서는 직접 사용하지 않고, FastAPI에 전달하여 사용하도록 합니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. docs/fr/docs/alternatives.md

    ```
    
    En contrepartie l'API _des opérations de chemin_ de FastAPI pourrait ressembler à ceci :
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Notez les similitudes entre `requests.get(...)` et `@app.get(...)`.
    
    /// check | A inspiré **FastAPI** à
    
    Avoir une API simple et intuitive.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  3. docs/en/docs/environment-variables.md

    $ python main.py
    
    Hello World from Python
    ```
    
    </div>
    
    /// tip
    
    You can read more about it at <a href="https://12factor.net/config" class="external-link" target="_blank">The Twelve-Factor App: Config</a>.
    
    ///
    
    ## Types and Validation { #types-and-validation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. docs/pt/docs/help-fastapi.md

    ### Testes { #tests }
    
    * Me ajude a verificar se o PR tem **testes**.
    
    * Verifique se os testes **falham** antes do PR. 🚨
    
    * Depois verifique se os testes **passam** após o PR. ✅
    
    * Muitos PRs não têm testes, você pode **lembrar** a pessoa de adicionar testes, ou até **sugerir** alguns testes você mesmo(a). Essa é uma das coisas que consomem mais tempo e você pode ajudar muito com isso.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/query-params-str-validations.md

    Podem existir casos em que você precise fazer alguma **validação personalizada** que não pode ser feita com os parâmetros mostrados acima.
    
    Nesses casos, você pode usar uma **função validadora personalizada** que é aplicada após a validação normal (por exemplo, depois de validar que o valor é uma `str`).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  6. docs/pt/docs/environment-variables.md

    $ python main.py
    
    Hello World from Python
    ```
    
    </div>
    
    /// tip | Dica
    
    Você pode ler mais sobre isso em <a href="https://12factor.net/config" class="external-link" target="_blank">The Twelve-Factor App: Config</a>.
    
    ///
    
    ## Tipos e Validação { #types-and-validation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_bigger_applications/test_main.py

            "app_an_py39.main",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.bigger_applications.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  8. docs/de/docs/environment-variables.md

    $ python main.py
    
    Hello World from Python
    ```
    
    </div>
    
    /// tip | Tipp
    
    Sie können mehr darüber lesen auf <a href="https://12factor.net/config" class="external-link" target="_blank">The Twelve-Factor App: Config</a>.
    
    ///
    
    ## Typen und Validierung { #types-and-validation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/dependencies/index.md

    И всё.
    
    **2 строки.**
    
    И она имеет ту же форму и структуру, что и все ваши *функции обработки пути*.
    
    Можно думать о ней как о *функции обработки пути* без «декоратора» (без `@app.get("/some-path")`).
    
    И она может возвращать что угодно.
    
    В этом случае эта зависимость ожидает:
    
    * Необязательный query-параметр `q` типа `str`.
    * Необязательный query-параметр `skip` типа `int`, по умолчанию `0`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 15.4K bytes
    - Click Count (1)
  10. docs/es/docs/_llm-test.md

    * diseñado
    * inválido
    * sobre la marcha
    * estándar
    * por defecto
    * sensible a mayúsculas/minúsculas
    * insensible a mayúsculas/minúsculas
    
    * servir la aplicación
    * servir la página
    
    * la app
    * la aplicación
    
    * la request
    * la response
    * la response de error
    
    * la path operation
    * el decorador de path operation
    * la path operation function
    
    * el body
    * el request body
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:16:35 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top