Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for muck (0.15 sec)

  1. docs/en/docs/benchmarks.md

            * **FastAPI**: (uses Starlette) an API microframework with several additional features for building APIs, with data validation, etc.
    
    * **Uvicorn**:
        * Will have the best performance, as it doesn't have much extra code apart from the server itself.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/en/docs/contributing.md

    ```
    
    </div>
    
    as Uvicorn by default will use the port `8000`, the documentation on port `8008` won't clash.
    
    ### Translations
    
    Help with translations is VERY MUCH appreciated! And it can't be done without the help from the community. 🌎 🚀
    
    Here are the steps to help with translations.
    
    #### Tips and guidelines
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body/test_tutorial001_py310.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. tests/test_tutorial/test_body/test_tutorial001.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001 import app
    
        client = TestClient(app)
        return client
    
    
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 14.7K bytes
    - Viewed (5)
  5. docs/en/docs/deployment/manually.md

        ```Python
        from main import app
        ```
    
    !!! warning
        Uvicorn and others support a `--reload` option that is useful during development.
    
        The `--reload` option consumes much more resources, is more unstable, etc.
    
        It helps a lot during **development**, but you **shouldn't** use it in **production**.
    
    ## Hypercorn with Trio
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    FastAPI does several things internally with Pydantic to make sure that those same rules of class inheritance are not used for the returned data filtering, otherwise you could end up returning much more data than what you expected.
    
    This way, you can get the best of both worlds: type annotations with **tooling support** and **data filtering**.
    
    ## See it in the docs
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  7. docs/en/docs/alternatives.md

    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    But then, we have again the problem of having a micro-syntax, inside of a Python string (a big YAML).
    
    The editor can't help much with that. And if we modify parameters or Marshmallow schemas and forget to also modify that YAML docstring, the generated schema would be obsolete.
    
    !!! info
        APISpec was created by the same Marshmallow developers.
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. SECURITY.md

    ## Public Discussions
    
    Please restrain from publicly discussing a potential security vulnerability. 🙊
    
    It's better to discuss privately and try to find a solution first, to limit the potential impact as much as possible.
    
    ---
    
    Thanks for your help!
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Sep 11 16:15:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  9. docs/en/docs/history-design-future.md

    That way I could find the best ways to reduce code duplication as much as possible, to have completion everywhere, type and error checks, etc.
    
    All in a way that provided the best development experience for all the developers.
    
    ## Requirements
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. docs/en/docs/help-fastapi.md

    * There's also a good chance that the pull request is not actually needed because the problem can be solved in a **different way**. Then you can suggest or ask about that.
    
    ### Don't worry about style
    
    * Don't worry too much about things like commit message styles, I will squash and merge customizing the commit manually.
    
    * Also don't worry about style rules, there are already automatized tools checking that.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
Back to top