Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 141 for Ball (0.17 sec)

  1. docs/pt/docs/tutorial/index.md

    ## Instale o FastAPI
    
    O primeiro passo é instalar o FastAPI.
    
    Para o tutorial, você deve querer instalá-lo com todas as dependências e recursos opicionais.
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...isso também inclui o `uvicorn`, que você pode usar como o servidor que rodará seu código.
    
    !!! note "Nota"
        Você também pode instalar parte por parte.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_extra_models/test_tutorial003_py310.py

    
    @needs_py310
    def test_get_car(client: TestClient):
        response = client.get("/items/item1")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "description": "All my friends drive a low rider",
            "type": "car",
        }
    
    
    @needs_py310
    def test_get_plane(client: TestClient):
        response = client.get("/items/item2")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/index.md

    
    ---
    
    ## FastAPI 설치
    
    첫 번째 단계는 FastAPI를 설치하는 것입니다.
    
    자습시에는 모든 선택적인 의존성 및 기능을 함께 설치하는 것을 추천합니다:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...이는 코드를 실행하는 서버로 사용할 수 있는 `uvicorn` 또한 포함하고 있습니다.
    
    !!! note "참고"
        부분적으로 설치할 수도 있습니다.
    
        애플리케이션을 운영 환경에 배포하려는 경우 다음과 같이 합니다:
    
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Feb 02 17:39:46 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    The same way, there are many compatible tools. Including code generation tools for many languages.
    
    ## Pydantic
    
    All the data validation is performed under the hood by <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a>, so you get all the benefits from it. And you know you are in good hands.
    
    You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/graphql.md

    If you need or want to work with **GraphQL**, <a href="https://strawberry.rocks/" class="external-link" target="_blank">**Strawberry**</a> is the **recommended** library as it has the design closest to **FastAPI's** design, it's all based on **type annotations**.
    
    Depending on your use case, you might prefer to use a different library, but if you asked me, I would probably suggest you try **Strawberry**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/testing.md

        **FastAPI** provides the same `starlette.testclient` as `fastapi.testclient` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    !!! tip
        If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} in the advanced tutorial.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. fastapi/dependencies/models.py

            self.name = name
            self.call = call
            self.use_cache = use_cache
            # Store the path to be able to re-generate a dependable from it in overrides
            self.path = path
            # Save the cache key at creation to optimize performance
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. tests/test_ws_router.py

                    return await app(scope, receive, send)  # pragma: no cover
    
                async def call_next():
                    return await app(scope, receive, send)
    
                websocket = WebSocket(scope, receive=receive, send=send)
                return await middleware_func(websocket, call_next)
    
            return wrapped_app
    
        return middleware_constructor
    
    
    def test_depend_validation():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/global-dependencies.md

        ```Python hl_lines="15"
        {!> ../../../docs_src/dependencies/tutorial012.py!}
        ```
    
    And all the ideas in the section about [adding `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} still apply, but in this case, to all of the *path operations* in the app.
    
    ## Dependencies for groups of *path operations*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. docs/en/docs/fastapi-people.md

    {% endfor %}
    
    </div>
    {% endif %}
    
    ### FastAPI Experts - All Time
    
    Here are the all time **FastAPI Experts**. 🤓🤯
    
    These are the users that have [helped others the most with questions in GitHub](help-fastapi.md#help-others-with-questions-in-github){.internal-link target=_blank} through *all time*. 🧙
    
    {% if people %}
    <div class="user-list user-list-center">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top