- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for ushr (0.02 sec)
-
docs/en/docs/tutorial/security/get-current-user.md
# Get Current User { #get-current-user } In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`: {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} But that is still not that useful. Let's make it give us the current user. ## Create a user model { #create-a-user-model } First, let's create a Pydantic user model.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
pom.xml
<packaging.fess.user>fess</packaging.fess.user> <packaging.fess.group>fess</packaging.fess.group> <packaging.fess.pid.dir>/var/run/fess</packaging.fess.pid.dir> <packaging.fess.systemd.dir>/usr/lib/systemd/system</packaging.fess.systemd.dir> <packaging.fess.systemd.sysctl.dir>/usr/lib/sysctl.d</packaging.fess.systemd.sysctl.dir> <packaging.fess.tmpfilesd.dir>/usr/lib/tmpfiles.d</packaging.fess.tmpfilesd.dir>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Sep 04 05:22:58 UTC 2025 - 49.6K bytes - Viewed (0) -
docs/en/docs/environment-variables.md
For example, the `PATH` environment variable could look like this: //// tab | Linux, macOS ```plaintext /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin ``` This means that the system should look for programs in the directories: * `/usr/local/bin` * `/usr/bin` * `/bin` * `/usr/sbin` * `/sbin` //// //// tab | Windows ```plaintext
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/en/docs/virtual-environments.md
//// tab | Linux, macOS ```plaintext /home/user/code/awesome-project/.venv/bin:/usr/bin:/bin:/usr/sbin:/sbin ``` That means that the system will now start looking first for programs in: ```plaintext /home/user/code/awesome-project/.venv/bin ``` before looking in the other directories.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 22.4K bytes - Viewed (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
Pero al usar `Security` en lugar de `Depends`, **FastAPI** sabrá que puede declarar scopes de seguridad, usarlos internamente y documentar la API con OpenAPI. Pero cuando importas `Query`, `Path`, `Depends`, `Security` y otros de `fastapi`, en realidad son funciones que devuelven clases especiales. /// ## Usar `SecurityScopes` Ahora actualiza la dependencia `get_current_user`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.8K bytes - Viewed (0) -
docs/es/docs/index.md
Usadas por Starlette: * <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> - Requerido si deseas usar el `TestClient`. * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - Requerido si deseas usar la configuración de plantilla predeterminada.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.5K bytes - Viewed (0) -
docs/pt/docs/index.md
* **Fácil**: Projetado para ser fácil de aprender e usar. Menos tempo lendo documentação. * **Enxuto**: Minimize duplicação de código. Múltiplos recursos para cada declaração de parâmetro. Menos bugs. * **Robusto**: Tenha código pronto para produção. E com documentação interativa automática.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.6K bytes - Viewed (0) -
tests/generics_test.go
t.Errorf("found invalid user, got %v, expect %v", u, user) } if u, err := gorm.G[User](DB).Where("name = ?", user.Name).Take(ctx); err != nil { t.Fatalf("failed to find user, got error: %v", err) } else if u.Name != user.Name || u.ID != user.ID { t.Errorf("found invalid user, got %v, expect %v", u, user) } if u, err := gorm.G[User](DB).Select("name").Where("name = ?", user.Name).First(ctx); err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Inactive user { #inactive-user } Now try with an inactive user, authenticate with: User: `alice` Password: `secret2` And try to use the operation `GET` with the path `/users/me`. You will get an "Inactive user" error, like: ```JSON { "detail": "Inactive user" } ``` ## Recap { #recap }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
/// ## Advanced User Guide { #advanced-user-guide } There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**. The **Advanced User Guide** builds on this one, uses the same concepts, and teaches you some extra features. But you should first read the **Tutorial - User Guide** (what you are reading right now).Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.1K bytes - Viewed (0)