Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for haml (0.12 sec)

  1. docs/em/docs/contributing.md

    docs/en/mkdocs.yml
    ```
    
    * ๐Ÿ”Ž ๐Ÿฅ‰ ๐ŸŒโ” ๐Ÿ‘ˆ `docs/features.md` ๐Ÿ”Ž ๐Ÿ“ ๐Ÿ“. ๐Ÿ‘ฑ ๐Ÿ’–:
    
    ```YAML hl_lines="8"
    site_name: FastAPI
    # More stuff
    nav:
    - FastAPI: index.md
    - Languages:
      - en: /
      - es: /es/
    - features.md
    ```
    
    * ๐Ÿ“‚ โฌœ ๐Ÿ“ ๐Ÿ“ ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‘† โœ, โœ…:
    
    ```
    docs/es/mkdocs.yml
    ```
    
    * ๐Ÿšฎ โšซ๏ธ ๐Ÿ“ค โ˜‘ ๐ŸŽ ๐Ÿ—บ โšซ๏ธ ๐Ÿ‡ช๐Ÿ‡ธ, โœ…:
    
    ```YAML hl_lines="8"
    site_name: FastAPI
    # More stuff
    nav:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/contributing.md

    ## Tests
    
    There is a script that you can run locally to test all the code and generate coverage reports in HTML:
    
    <div class="termy">
    
    ```console
    $ bash scripts/test-cov-html.sh
    ```
    
    </div>
    
    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. docs/en/docs/alternatives.md

    The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route.
    
    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).
    
    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)
  4. docs_src/path_operation_advanced_configuration/tutorial007.py

    )
    async def create_item(request: Request):
        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.model_validate(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors(include_url=False))
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 822 bytes
    - Viewed (0)
  5. .github/workflows/test.yml

          - run: ls -la coverage
          - run: coverage combine coverage
          - run: coverage report
          - run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}"
          - name: Store coverage HTML
            uses: actions/upload-artifact@v3
            with:
              name: coverage-html
              path: htmlcov
    
      # https://github.com/marketplace/actions/alls-green#why
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (2)
  6. docs/ko/docs/tutorial/request-files.md

    * ์—…๋กœ๋“œ ๋œ ํŒŒ์ผ์˜ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋ฅผ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    * <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a>  `async` ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๊ฐ–๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
    * file-like object๋ฅผ ํ•„์š”๋กœํ•˜๋Š” ๋‹ค๋ฅธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์— ์ง์ ‘์ ์œผ๋กœ ์ „๋‹ฌํ•  ์ˆ˜ ์žˆ๋Š” ํŒŒ์ด์ฌ <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> ๊ฐ์ฒด๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
    
    ### `UploadFile`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/request-files.md

    * ๐Ÿ‘‰ โ›“ ๐Ÿ‘ˆ โšซ๏ธ ๐Ÿ”œ ๐Ÿ‘ท ๐Ÿ‘ โญ• ๐Ÿ“ ๐Ÿ’– ๐Ÿ–ผ, ๐Ÿ“น, โญ• ๐Ÿ’ฑ, โ™’๏ธ. ๐Ÿต ๐Ÿ˜ฉ ๐ŸŒ ๐Ÿ’พ.
    * ๐Ÿ‘† ๐Ÿ’ช ๐Ÿคš ๐Ÿ—ƒ โšช๏ธโžก๏ธ ๐Ÿ“‚ ๐Ÿ“.
    * โšซ๏ธ โœ”๏ธ <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">๐Ÿ“-๐Ÿ’–</a> `async` ๐Ÿ”ข.
    * โšซ๏ธ ๐ŸŽฆ โ˜‘ ๐Ÿ <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> ๐ŸŽš ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšถโ€โ™€๏ธ ๐Ÿ”— ๐ŸŽ ๐Ÿ—ƒ ๐Ÿ‘ˆ โŒ› ๐Ÿ“-๐Ÿ’– ๐ŸŽš.
    
    ### `UploadFile`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. docs_src/templates/tutorial001.py

    templates = Jinja2Templates(directory="templates")
    
    
    @app.get("/items/{id}", response_class=HTMLResponse)
    async def read_item(request: Request, id: str):
        return templates.TemplateResponse(
            request=request, name="item.html", context={"id": id}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Dec 26 20:12:34 GMT 2023
    - 521 bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/debugging.md

    ๋”ฐ๋ผ์„œ ๋‹ค์Œ ํ–‰
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ์€ ์‹คํ–‰๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    !!! info "์ •๋ณด"
        ์ž์„ธํ•œ ๋‚ด์šฉ์€ <a href="https://docs.python.org/3/library/__main__.html" class="external-link" target="_blank">๊ณต์‹ Python ๋ฌธ์„œ</a>๋ฅผ ํ™•์ธํ•˜์„ธ์š”
    
    ## ๋””๋ฒ„๊ฑฐ๋กœ ์ฝ”๋“œ ์‹คํ–‰
    
    ์ฝ”๋“œ์—์„œ ์ง์ ‘ Uvicorn ์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋””๋ฒ„๊ฑฐ์—์„œ ์ง์ ‘ Python ํ”„๋กœ๊ทธ๋žจ(FastAPI ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜)์„ ํ˜ธ์ถœํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ---
    
    ์˜ˆ๋ฅผ ๋“ค์–ด Visual Studio Code์—์„œ ๋‹ค์Œ์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:18:08 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/path-params.md

    # Paramรจtres de chemin
    
    Vous pouvez dรฉclarer des "paramรจtres" ou "variables" de chemin avec la mรชme syntaxe que celle utilisรฉe par le
    <a href="https://docs.python.org/fr/3/library/string.html#format-string-syntax" class="external-link" target="_blank">formatage de chaรฎne Python</a> :
    
    
    ```Python hl_lines="6-7"
    {!../../../docs_src/path_params/tutorial001.py!}
    ```
    
    La valeur du paramรจtre `item_id` sera transmise ร  la fonction dans l'argument `item_id`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top