Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for native (0.46 sec)

  1. .github/actions/notify-translations/app/main.py

        # Messages to create or check
        new_translation_message = f"Good news everyone! ๐Ÿ˜‰ There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}. ๐ŸŽ‰ This requires 2 approvals from native speakers to be merged. ๐Ÿค“"
        done_translation_message = f"~There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}~ Good job! This is done. ๐Ÿฐโ˜•"
    
        # Normally only one language, but still
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/security/oauth2-scopes.md

    โžก๏ธ ๐Ÿ“„ ๐Ÿ”„ ๐Ÿ‘‰ ๐Ÿ”— ๐ŸŒฒ & โ†”.
    
    `get_current_active_user` ๐Ÿ”— โœ”๏ธ ๐ŸŽง-๐Ÿ”— ๐Ÿ”› `get_current_user`, โ†” `"me"` ๐Ÿ“ฃ `get_current_active_user` ๐Ÿ”œ ๐Ÿ”Œ ๐Ÿ“‡ โœ” โ†” `security_scopes.scopes` ๐Ÿšถโ€โ™€๏ธ `get_current_user`.
    
    *โžก ๐Ÿ› ๏ธ* โšซ๏ธ ๐Ÿ“ฃ โ†”, `"items"`, ๐Ÿ‘‰ ๐Ÿ”œ ๐Ÿ“‡ `security_scopes.scopes` ๐Ÿšถโ€โ™€๏ธ `get_current_user`.
    
    ๐Ÿ“ฅ โ” ๐Ÿ”— ๐Ÿ”— & โ†” ๐Ÿ‘€ ๐Ÿ’–:
    
    *  *โžก ๐Ÿ› ๏ธ* `read_own_items` โœ”๏ธ:
        * โœ” โ†” `["items"]` โฎ๏ธ ๐Ÿ”—:
        * `get_current_active_user`:
    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. tests/test_tutorial/test_security/test_tutorial005_an.py

    
    def test_token_inactive_user():
        access_token = get_access_token(
            username="alice", password="secretalice", scope="me"
        )
        response = client.get(
            "/users/me", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Inactive user"}
    
    
    def test_read_items():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="7"
    {!../../../docs_src/query_params_str_validations/tutorial006.py!}
    ```
    
    !!! info
        Si vous n'avez jamais vu ce `...` auparavant : c'est une des constantes natives de Python <a href="https://docs.python.org/fr/3/library/constants.html#Ellipsis" class="external-link" target="_blank">appelรฉe "Ellipsis"</a>.
    
    Cela indiquera ร  **FastAPI** que la prรฉsence de ce paramรจtre est obligatoire.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/dependencies/index.md

    graph TB
    
    current_user(["current_user"])
    active_user(["active_user"])
    admin_user(["admin_user"])
    paying_user(["paying_user"])
    
    public["/items/public/"]
    private["/items/private/"]
    activate_user["/users/{user_id}/activate"]
    pro_items["/items/pro/"]
    
    current_user --> active_user
    active_user --> admin_user
    active_user --> paying_user
    
    current_user --> public
    active_user --> private
    admin_user --> activate_user
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/index.md

    graph TB
    
    current_user(["current_user"])
    active_user(["active_user"])
    admin_user(["admin_user"])
    paying_user(["paying_user"])
    
    public["/items/public/"]
    private["/items/private/"]
    activate_user["/users/{user_id}/activate"]
    pro_items["/items/pro/"]
    
    current_user --> active_user
    active_user --> admin_user
    active_user --> paying_user
    
    current_user --> public
    active_user --> private
    admin_user --> activate_user
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_sql_databases.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. docs/pt/docs/contributing.md

    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Isso criarรก o diretรณrio `./env/` com os binรกrios Python e entรฃo vocรช serรก capaz de instalar pacotes nesse ambiente isolado.
    
    ### Ativar o ambiente
    
    Ative o novo ambiente com:
    
    === "Linux, macOS"
    
        <div class="termy">
    
        ```console
        $ source ./env/bin/activate
        ```
    
        </div>
    
    === "Windows PowerShell"
    
        <div class="termy">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial005_py39.py

        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py39
    def test_token_inactive_user(client: TestClient):
        access_token = get_access_token(
            username="alice", password="secretalice", scope="me", client=client
        )
        response = client.get(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top