Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 530 for com (0.12 sec)

  1. docs_src/security/tutorial002_py310.py

        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="john@example.com", full_name="John Doe"
        )
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 711 bytes
    - Viewed (0)
  2. docs_src/security/tutorial002.py

        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="john@example.com", full_name="John Doe"
        )
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 755 bytes
    - Viewed (0)
  3. docs_src/security/tutorial002_an_py39.py

        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="john@example.com", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 786 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial003_03.py

    client = TestClient(app)
    
    
    def test_get_portal():
        response = client.get("/teleport", follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  5. .github/workflows/publish.yml

            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.10"
              # Issue ref: https://github.com/actions/setup-python/issues/436
              # cache: "pip"
              # cache-dependency-path: pyproject.toml
          - name: Install build dependencies
            run: pip install build
          - name: Build distribution
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1K bytes
    - Viewed (0)
  6. .github/workflows/latest-changes.yml

          - closed
      workflow_dispatch:
        inputs:
          number:
            description: PR number
            required: true
          debug_enabled:
            description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
            required: false
            default: 'false'
    
    jobs:
      latest-changes:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 14:57:33 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. docs/en/docs/external-links.md

    Here's an incomplete list of some of them.
    
    !!! tip
        If you have an article, project, tool, or anything related to **FastAPI** that is not yet listed here, create a <a href="https://github.com/tiangolo/fastapi/edit/master/docs/en/data/external_links.yml" class="external-link" target="_blank">Pull Request adding it</a>.
    
    {% for section_name, section_content in external_links.items() %}
    
    ## {{ section_name }}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Oct 22 07:35:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  8. docs/em/docs/contributing.md

    #### ๐Ÿ’โ€โ™‚ &amp; ๐Ÿ“„
    
    * โœ… โณ <a href="https://github.com/tiangolo/fastapi/pulls" class="external-link" target="_blank">โ™ป ๐Ÿšฒ ๐Ÿ“จ</a> ๐Ÿ‘† ๐Ÿ‡ช๐Ÿ‡ธ &amp; ๐Ÿšฎ ๐Ÿ“„ โœ” ๐Ÿ”€ โš–๏ธ โœ” ๐Ÿ‘ซ.
    
    !!! tip
        ๐Ÿ‘† ๐Ÿ’ช <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request" class="external-link" target="_blank">๐Ÿšฎ ๐Ÿค โฎ๏ธ ๐Ÿ”€ ๐Ÿ”‘</a> โ™ป ๐Ÿšฒ ๐Ÿ“จ.
    
    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)
  9. docs/ko/docs/tutorial/request-files.md

    ์„ ์–ธํ•œ๋Œ€๋กœ, `bytes` ์˜ `list` ๋˜๋Š” `UploadFile` ๋“ค์„ ์ „์†ก๋ฐ›์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    !!! note "์ฐธ๊ณ "
        2019๋…„ 4์›” 14์ผ๋ถ€ํ„ฐ Swagger UI๊ฐ€ ํ•˜๋‚˜์˜ ํผ ํ•„๋“œ๋กœ ๋‹ค์ˆ˜์˜ ํŒŒ์ผ์„ ์—…๋กœ๋“œํ•˜๋Š” ๊ฒƒ์„ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋” ๋งŽ์€ ์ •๋ณด๋ฅผ ์›ํ•˜๋ฉด,  <a href="https://github.com/swagger-api/swagger-ui/issues/4276" class="external-link" target="_blank">#4276</a>๊ณผ <a href="https://github.com/swagger-api/swagger-ui/issues/3641" class="external-link" target="_blank">#3641</a>์„ ์ฐธ๊ณ ํ•˜์„ธ์š”.
    
        ๊ทธ๋Ÿผ์—๋„, **FastAPI**๋Š” ํ‘œ์ค€ Open API๋ฅผ ์‚ฌ์šฉํ•ด ์ด๋ฏธ ํ˜ธํ™˜์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
    
    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)
  10. docs/en/docs/deployment/manually.md

    * <a href="https://pgjones.gitlab.io/hypercorn/" class="external-link" target="_blank">Hypercorn</a>: an ASGI server compatible with HTTP/2 and Trio among other features.
    * <a href="https://github.com/django/daphne" class="external-link" target="_blank">Daphne</a>: the ASGI server built for Django Channels.
    
    ## Server Machine and Server Program
    
    There's a small detail about names to keep in mind. ๐Ÿ’ก
    
    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)
Back to top