Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for driver (0.15 sec)

  1. tests/test_tutorial/test_extra_models/test_tutorial003_py310.py

    @needs_py310
    def test_get_car(client: TestClient):
        response = client.get("/items/item1")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "description": "All my friends drive a low rider",
            "type": "car",
        }
    
    
    @needs_py310
    def test_get_plane(client: TestClient):
        response = client.get("/items/item2")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/security/oauth2-scopes.md

    🕐❔ 1️⃣ 👫 💂‍♂ ⚖ ⚙️ Oauth2️⃣, 👆 💪 📣 & ⚙️ ↔.
    
    🔠 "↔" 🎻 (🍵 🚀).
    
    👫 🛎 ⚙️ 📣 🎯 💂‍♂ ✔, 🖼:
    
    * `users:read` ⚖️ `users:write` ⚠ 🖼.
    * `instagram_basic` ⚙️ 👱📔 / 👱📔.
    * `https://www.googleapis.com/auth/drive` ⚙️ 🇺🇸🔍.
    
    !!! info
        Oauth2️⃣ "↔" 🎻 👈 📣 🎯 ✔ ✔.
    
        ⚫️ 🚫 🤔 🚥 ⚫️ ✔️ 🎏 🦹 💖 `:` ⚖️ 🚥 ⚫️ 📛.
    
        👈 ℹ 🛠️ 🎯.
    
        Oauth2️⃣ 👫 🎻.
    
    ## 🌐 🎑
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/oauth2-jwt.md

    For example, you could identify a "car" or a "blog post".
    
    Then you could add permissions about that entity, like "drive" (for the car) or "edit" (for the blog).
    
    And then, you could give that JWT token to a user (or bot), and they could use it to perform those actions (drive the car, or edit the blog post) without even needing to have an account, just with the JWT token your API generated for that.
    
    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)
  4. docs/zh/docs/tutorial/security/simple-oauth2.md

    虽然表单字段的名称是 `scope`(单数),但实际上,它是以空格分隔的,由多个**scope**组成的长字符串。
    
    **作用域**只是不带空格的字符串。
    
    常用于声明指定安全权限,例如:
    
    * 常见用例为,`users:read` 或 `users:write`
    * 脸书和 Instagram 使用 `instagram_basic`
    * 谷歌使用 `https://www.googleapis.com/auth/drive`
    
    !!! info "说明"
    
        OAuth2 中,**作用域**只是声明指定权限的字符串。
    
        是否使用冒号 `:` 等符号,或是不是 URL 并不重要。
    
        这些细节只是特定的实现方式。
    
        对 OAuth2 来说,都只是字符串而已。
    
    ## 获取 `username` 和 `password` 的代码
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/security/simple-oauth2.md

    📨 🏑 📛 `scope` (⭐), ✋️ ⚫️ 🤙 📏 🎻 ⏮️ "↔" 🎏 🚀.
    
    🔠 "↔" 🎻 (🍵 🚀).
    
    👫 🛎 ⚙️ 📣 🎯 💂‍♂ ✔, 🖼:
    
    * `users:read` ⚖️ `users:write` ⚠ 🖼.
    * `instagram_basic` ⚙️ 👱📔 / 👱📔.
    * `https://www.googleapis.com/auth/drive` ⚙️ 🇺🇸🔍.
    
    !!! info
        Oauth2️⃣ "↔" 🎻 👈 📣 🎯 ✔ ✔.
    
        ⚫️ 🚫 🤔 🚥 ⚫️ ✔️ 🎏 🦹 💖 `:` ⚖️ 🚥 ⚫️ 📛.
    
        👈 ℹ 🛠️ 🎯.
    
        Oauth2️⃣ 👫 🎻.
    
    ## 📟 🤚 `username` & `password`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. docs/fr/docs/async.md

    Si vous utilisez **FastAPI**, pas besoin de vous en inquiéter, car cette "première" fonction sera votre *fonction de chemin* ; et **FastAPI** saura comment arriver au résultat attendu.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * ✏ Rewording in `docs/en/docs/tutorial/debugging.md`. PR [#9581](https://github.com/tiangolo/fastapi/pull/9581) by [@ivan-abc](https://github.com/ivan-abc).
    * 📝 Add german blog post (Domain-driven Design mit Python und FastAPI). PR [#9261](https://github.com/tiangolo/fastapi/pull/9261) by [@msander](https://github.com/msander).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  8. docs/ja/docs/advanced/index.md

    以降のセクションは、すでにチュートリアルを読んで、その主要なアイデアを理解できていることを前提としています。
    
    ## テスト駆動開発のコース
    
    このセクションの内容を補完するために脱初心者用コースを受けたい場合は、**TestDriven.io**による、<a href="https://testdriven.io/courses/tdd-fastapi/" class="external-link" target="_blank">Test-Driven Development with FastAPI and Docker</a>を確認するのがよいかもしれません。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/security/oauth2-scopes.md

    这些安全方案在使用 OAuth2 时,还可以声明和使用作用域。
    
    **作用域**只是(不带空格的)字符串。
    
    常用于声明特定安全权限,例如:
    
    * 常见用例为,`users:read` 或 `users:write`
    * 脸书和 Instagram 使用 `instagram_basic`
    * 谷歌使用 `https://www.googleapis.com/auth/drive`
    
    !!! info "说明"
    
        OAuth2 中,**作用域**只是声明特定权限的字符串。
    
        是否使用冒号 `:` 等符号,或是不是 URL 并不重要。
    
        这些细节只是特定的实现方式。
    
        对 OAuth2 来说,它们都只是字符串而已。
    
    ## 全局纵览
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    * `users:read` oder `users:write` sind gängige Beispiele.
    * `instagram_basic` wird von Facebook / Instagram verwendet.
    * `https://www.googleapis.com/auth/drive` wird von Google verwendet.
    
    !!! info
        In OAuth2 ist ein „Scope“ nur ein String, der eine bestimmte erforderliche Berechtigung deklariert.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top