Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for compile (0.24 sec)

  1. docs/en/docs/advanced/dataclasses.md

        FastAPI will use the `response_model` parameter (that includes dataclasses) to convert the response.
    
    You can combine `dataclasses` with other type annotations in many different combinations to form complex data structures.
    
    Check the in-code annotation tips above to see more specific details.
    
    ## Learn More
    
    You can also combine `dataclasses` with other Pydantic models, inherit from them, include them in your own models, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/fr/docs/project-generation.md

        * **TypeScript**.
        * Serveur Docker basé sur **Nginx** (configuré pour être facilement manipulé avec Vue-router).
        * Utilisation de *Docker multi-stage building*, pour ne pas avoir besoin de sauvegarder ou *commit* du code compilé.
        * Tests frontend exécutés à la compilation (pouvant être désactivés).
        * Fait aussi modulable que possible, pour pouvoir fonctionner comme tel, tout en pouvant être utilisé qu'en partie grâce à Vue CLI.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 02 14:18:06 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Working with Python *enumerations*
    
    The value of the *path parameter* will be an *enumeration member*.
    
    #### Compare *enumeration members*
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Get the *enumeration value*
    
    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)
  4. docs/en/docs/benchmarks.md

        * If you are comparing Uvicorn, compare it against Daphne, Hypercorn, uWSGI, etc. Application servers.
    * **Starlette**:
    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)
  5. docs_src/security/tutorial007_an.py

        correct_username_bytes = b"stanleyjobson"
        is_correct_username = secrets.compare_digest(
            current_username_bytes, correct_username_bytes
        )
        current_password_bytes = credentials.password.encode("utf8")
        correct_password_bytes = b"swordfish"
        is_correct_password = secrets.compare_digest(
            current_password_bytes, correct_password_bytes
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. .github/workflows/test.yml

          - name: Store coverage files
            uses: actions/upload-artifact@v3
            with:
              name: coverage
              path: coverage
    
      coverage-combine:
        needs: [test]
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  7. tests/test_compat.py

        class Foo(BaseModel):
            model_config = ConfigDict(from_attributes=True)
    
        foo = Foo()
        config = _get_model_config(foo)
        assert config == {"from_attributes": True}
    
    
    def test_complex():
        app = FastAPI()
    
        @app.post("/")
        def foo(foo: Union[str, List[int]]):
            return foo
    
        client = TestClient(app)
    
        response = client.post("/", json="bar")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. docs/ru/docs/deployment/docker.md

    #### Docker Compose
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/graphql.md

    # GraphQL
    
    As **FastAPI** is based on the **ASGI** standard, it's very easy to integrate any **GraphQL** library also compatible with ASGI.
    
    You can combine normal FastAPI *path operations* with GraphQL on the same application.
    
    !!! tip
        **GraphQL** solves some very specific use cases.
    
        It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    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)
  10. docs/en/docs/alternatives.md

    !!! check "**FastAPI** recommends it as"
        The main web server to run **FastAPI** applications.
    
        You can combine it with Gunicorn, to have an asynchronous multi-process server.
    
        Check more details in the [Deployment](deployment/index.md){.internal-link target=_blank} section.
    
    ## Benchmarks and speed
    
    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)
Back to top