Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for something (4.75 sec)

  1. docs/de/docs/tutorial/first-steps.md

     * den Pfad `/`
     * unter der Verwendung der <abbr title="eine HTTP GET Methode"><code>get</code>-Operation</abbr> gehen
    
    !!! info "`@decorator` Information"
        Diese `@something`-Syntax wird in Python โ€žDekoratorโ€œ genannt.
    
        Sie platzieren ihn รผber einer Funktion. Wie ein hรผbscher, dekorativer Hut (daher kommt wohl der Begriff).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:16:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/generate-clients.md

    This also means that if something changed it will be **reflected** on the client code automatically. And if you **build** the client it will error out if you have any **mismatch** in the data used.
    
    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/en/docs/deployment/https.md

    # About HTTPS
    
    It is easy to assume that HTTPS is something that is just "enabled" or not.
    
    But it is way more complex than that.
    
    !!! tip
        If you are in a hurry or don't care, continue with the next sections for step by step instructions to set everything up with different techniques.
    
    To **learn the basics of HTTPS**, from a consumer perspective, check <a href="https://howhttps.works/" class="external-link" target="_blank">https://howhttps.works/</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. docs/en/docs/async.md

    Asynchronous code just means that the language ๐Ÿ’ฌ has a way to tell the computer / program ๐Ÿค– that at some point in the code, it ๐Ÿค– will have to wait for *something else* to finish somewhere else. Let's say that *something else* is called "slow-file" ๐Ÿ“.
    
    So, during that time, the computer can go and do some other work, while "slow-file" ๐Ÿ“ finishes.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/http-basic-auth.md

    At that point, by noticing that the server took some microseconds longer to send the "Incorrect username or password" response, the attackers will know that they got _something_ right, some of the initial letters were right.
    
    And then they can try again knowing that it's probably something more similar to `stanleyjobsox` than to `johndoe`.
    
    #### A "professional" attack
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/handling-errors.md

    ๐Ÿ“ฅ, ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“จ `/unicorns/yolo`, *โžก ๐Ÿ› ๏ธ* ๐Ÿ”œ `raise` `UnicornException`.
    
    โœ‹๏ธ โšซ๏ธ ๐Ÿ”œ ๐Ÿต `unicorn_exception_handler`.
    
    , ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ“จ ๐Ÿงน โŒ, โฎ๏ธ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ‘” ๐Ÿ“Ÿ `418` &amp; ๐ŸŽป ๐ŸŽš:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    !!! note "๐Ÿ“ก โ„น"
        ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `from starlette.requests import Request` &amp; `from starlette.responses import JSONResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. tests/test_repeated_dependency_schema.py

    app = FastAPI()
    
    
    def get_header(*, someheader: str = Header()):
        return someheader
    
    
    def get_something_else(*, someheader: str = Depends(get_header)):
        return f"{someheader}123"
    
    
    @app.get("/")
    def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
        return {"dep1": dep1, "dep2": dep2}
    
    
    client = TestClient(app)
    
    schema = {
        "components": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/first-steps.md

    ```
    
    `@app.get("/")` ๐Ÿ’ฌ **FastAPI** ๐Ÿ‘ˆ ๐Ÿ”ข โ–ถ๏ธ๏ธ ๐Ÿ”› ๐Ÿˆš ๐Ÿšš ๐Ÿ“จ ๐Ÿ‘ˆ ๐Ÿšถ:
    
    * โžก `/`
    * โš™๏ธ <abbr title="an HTTP GET method"><code>get</code> ๐Ÿ› ๏ธ</abbr>
    
    !!! info "`@decorator` โ„น"
        ๐Ÿ‘ˆ `@something` โ• ๐Ÿ ๐Ÿค™ "๐Ÿ‘จโ€๐ŸŽจ".
    
        ๐Ÿ‘† ๐Ÿšฎ โšซ๏ธ ๐Ÿ”› ๐Ÿ” ๐Ÿ”ข. ๐Ÿ’– ๐Ÿ“ถ ๐Ÿ“” ๐Ÿ‘’ (๐Ÿ‘ค ๐Ÿ’ญ ๐Ÿ‘ˆ ๐ŸŒโ” โš– ๐Ÿ‘Ÿ โšช๏ธโžก๏ธ).
    
         "๐Ÿ‘จโ€๐ŸŽจ" โœŠ ๐Ÿ”ข ๐Ÿ”› &amp; ๐Ÿ”จ ๐Ÿ•ณ โฎ๏ธ โšซ๏ธ.
    
        ๐Ÿ‘† ๐Ÿ’ผ, ๐Ÿ‘‰ ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ’ฌ **FastAPI** ๐Ÿ‘ˆ ๐Ÿ”ข ๐Ÿ”› ๐Ÿ”— **โžก** `/` โฎ๏ธ **๐Ÿ› ๏ธ** `get`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/handling-errors.md

    ใ“ใ“ใงใ€`/unicorns/yolo`ใ‚’ใƒชใ‚ฏใ‚จใ‚นใƒˆใ™ใ‚‹ใจใ€*path operation*ใฏ`UnicornException`ใ‚’`raise`ใ—ใพใ™ใ€‚
    
    ใ—ใ‹ใ—ใ€ใ“ใ‚Œใฏ`unicorn_exception_handler`ใงๅ‡ฆ็†ใ•ใ‚Œใพใ™ใ€‚
    
    ใใฎใŸใ‚ใ€HTTPใ‚นใƒ†ใƒผใ‚ฟใ‚นใ‚ณใƒผใƒ‰ใŒ`418`ใงใ€JSONใฎๅ†…ๅฎนใŒไปฅไธ‹ใฎใ‚ˆใ†ใชๆ˜Ž็ขบใชใ‚จใƒฉใƒผใ‚’ๅ—ใ‘ๅ–ใ‚‹ใ“ใจใซใชใ‚Šใพใ™:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    !!! note "ๆŠ€่ก“่ฉณ็ดฐ"
        ใพใŸใ€`from starlette.requests import Request`ใจ`from starlette.responses import JSONResponse`ใ‚’ไฝฟ็”จใ™ใ‚‹ใ“ใจใ‚‚ใงใใพใ™ใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/first-steps.md

    ```
    `@app.get("/")`ใฏ็›ดไธ‹ใฎ้–ขๆ•ฐใŒไธ‹่จ˜ใฎใƒชใ‚ฏใ‚จใ‚นใƒˆใฎๅ‡ฆ็†ใ‚’ๆ‹…ๅฝ“ใ™ใ‚‹ใ“ใจใ‚’**FastAPI**ใซไผใˆใพใ™:
    
    * ใƒ‘ใ‚น `/`
    * <abbr title="an HTTP GET method"><code>get</code> ใ‚ชใƒšใƒฌใƒผใ‚ทใƒงใƒณ</abbr>
    
    !!! info "`@decorator` ใซใคใ„ใฆ"
        PythonใซใŠใ‘ใ‚‹`@something`ใ‚ทใƒณใ‚ฟใƒƒใ‚ฏใ‚นใฏใƒ‡ใ‚ณใƒฌใƒผใ‚ฟใจๅ‘ผใฐใ‚Œใพใ™ใ€‚
    
        ใ€Œใƒ‡ใ‚ณใƒฌใƒผใ‚ฟใ€ใฏ้–ขๆ•ฐใฎไธŠใซ็ฝฎใใพใ™ใ€‚ใ‹ใ‚ใ„ใ‚‰ใ—ใ„่ฃ…้ฃพ็š„ใชๅธฝๅญใฎใ‚ˆใ†ใงใ™๏ผˆใ“ใฎ็”จ่ชžใฎ็”ฑๆฅใฏใใ“ใซใ‚ใ‚‹ใจๆ€ใ„ใพใ™๏ผ‰ใ€‚
    
        ใ€Œใƒ‡ใ‚ณใƒฌใƒผใ‚ฟใ€ใฏ็›ดไธ‹ใฎ้–ขๆ•ฐใ‚’ๅ—ใ‘ๅ–ใ‚Šใ€ใใ‚Œใ‚’ไฝฟใฃใฆไฝ•ใ‹ใ‚’่กŒใ„ใพใ™ใ€‚
    
        ็งใŸใกใฎๅ ดๅˆใ€ใ“ใฎใƒ‡ใ‚ณใƒฌใƒผใ‚ฟใƒผใฏ็›ดไธ‹ใฎ้–ขๆ•ฐใŒ**ใ‚ชใƒšใƒฌใƒผใ‚ทใƒงใƒณ** `get`ใ‚’ไฝฟ็”จใ—ใŸ**ใƒ‘ใ‚น**` / `ใซๅฏพๅฟœใ™ใ‚‹ใ“ใจใ‚’**FastAPI** ใซ้€š็Ÿฅใ—ใพใ™ใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top