Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 199 for Next (0.13 sec)

  1. docs/en/docs/tutorial/path-params.md

    You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.
    
    Several of these are explored in the next chapters of the tutorial.
    
    ## Order matters
    
    When creating *path operations*, you can find situations where you have a fixed path.
    
    Like `/users/me`, let's say that it's to get data about the current user.
    
    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)
  2. docs/en/docs/advanced/generate-clients.md

    But I'll show you how to improve that next. πŸ€“
    
    ## Custom Operation IDs and Better Method Names
    
    You can **modify** the way these operation IDs are **generated** to make them simpler and have **simpler method names** in the clients.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/middleware.md

        λ§Œμ•½ (λ‚˜μ€‘μ— λ¬Έμ„œμ—μ„œ λ‹€λ£°) λ°±κ·ΈλΌμš΄λ“œ μž‘μ—…μ΄ μžˆλ‹€λ©΄, λͺ¨λ“  미듀웨어가 μ‹€ν–‰λ˜κ³  *λ‚œ 후에* μ‹€ν–‰λ©λ‹ˆλ‹€.
    
    ## 미듀웨어 λ§Œλ“€κΈ°
    
    미듀웨어λ₯Ό μž‘μ„±ν•˜κΈ° μœ„ν•΄μ„œ ν•¨μˆ˜ 상단에 `@app.middleware("http")` λ°μ½”λ ˆμ΄ν„°λ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
    
    미듀웨어 ν•¨μˆ˜λŠ” λ‹€μŒ ν•­λͺ©λ“€μ„ λ°›μŠ΅λ‹ˆλ‹€:
    
    * `request`.
    * `request`λ₯Ό λ§€κ°œλ³€μˆ˜λ‘œ λ°›λŠ” `call_next` ν•¨μˆ˜.
        * 이 ν•¨μˆ˜λŠ” `request`λ₯Ό ν•΄λ‹Ήν•˜λŠ” *경둜 μž‘μ—…*으둜 μ „λ‹¬ν•©λ‹ˆλ‹€.
        * 그런 λ‹€μŒ, *경둜 μž‘μ—…*에 μ˜ν•΄ μƒμ„±λœ `response` λ₯Ό λ°˜ν™˜ν•©λ‹ˆλ‹€.
    * `response`λ₯Ό λ°˜ν™˜ν•˜κΈ° 전에 μΆ”κ°€λ‘œ `response`λ₯Ό μˆ˜μ •ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
    
    ```Python hl_lines="8-9  11  14"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Jan 31 14:35:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/custom-request-and-route.md

    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    ```Python hl_lines="8-15"
    {!../../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    ### Create a custom `GzipRoute` class
    
    Next, we create a custom subclass of `fastapi.routing.APIRoute` that will make use of the `GzipRequest`.
    
    This time, it will overwrite the method `APIRoute.get_route_handler()`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep.
    
    Given the simplicity of Flask, it seemed like a good match for building APIs. The next thing to find was a "Django REST Framework" for Flask.
    
    !!! check "Inspired **FastAPI** to"
        Be a micro-framework. Making it easy to mix and match the tools and parts needed.
    
    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)
  6. docs/de/docs/how-to/custom-docs-ui-assets.md

    * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a>
    
    Und **ReDoc** verwendet diese Datei:
    
    * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a>
    
    Danach kΓΆnnte Ihre Dateistruktur wie folgt aussehen:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:36 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/index.md

    The main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} should be enough to give you a tour through all the main features of **FastAPI**.
    
    In the next sections you will see other options, configurations, and additional features.
    
    !!! tip
        The next sections are **not necessarily "advanced"**.
    
        And it's possible that for your use case, the solution is in one of them.
    
    ## Read the Tutorial first
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/extending-openapi.md

    * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a>
    
    **ReDoc** δ½Ώη”¨ε¦‚δΈ‹ζ–‡δ»ΆοΌš
    
    * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a>
    
    保存ε₯½εŽοΌŒζ–‡δ»ΆζžΆζž„ζ‰€η€Ίε¦‚δΈ‹οΌš
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    └── static
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/openapi-callbacks.md

    The only new thing is the `callbacks=invoices_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next.
    
    ## Documenting the callback
    
    The actual callback code will depend heavily on your own API app.
    
    And it will probably vary a lot from one app to the next.
    
    It could be just one or two lines of code, like:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/oauth2-jwt.md

    But it's signed. So, when you receive a token that you emitted, you can verify that you actually emitted it.
    
    That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top