- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 139 for user_id (0.05 seconds)
-
docs/es/docs/features.md
Escribes Python estándar con tipos: ```Python from datetime import date from pydantic import BaseModel # Declara una variable como un str # y obtiene soporte del editor dentro de la función def main(user_id: str): return user_id # Un modelo de Pydantic class User(BaseModel): id: int name: str joined: date ``` Que luego puede ser usado como: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/tr/docs/features.md
Türleriyle standart Python yazarsınız: ```Python from datetime import date from pydantic import BaseModel # Bir değişkeni str olarak belirt # ve fonksiyon içinde editör desteği al def main(user_id: str): return user_id # Bir Pydantic modeli class User(BaseModel): id: int name: str joined: date ``` Sonra şöyle kullanabilirsiniz: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/tr/docs/tutorial/dependencies/index.md
Örneğin, 4 API endpoint'iniz (*path operation*) olduğunu varsayalım: * `/items/public/` * `/items/private/` * `/users/{user_id}/activate` * `/items/pro/` O zaman her biri için farklı izin gereksinimlerini yalnızca dependency'ler ve alt dependency'lerle ekleyebilirsiniz: ```mermaid graph TB current_user(["current_user"])
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/de/docs/features.md
```Python from datetime import date from pydantic import BaseModel # Deklarieren Sie eine Variable als ein str # und bekommen Sie Editor-Unterstützung innerhalb der Funktion def main(user_id: str): return user_id # Ein Pydantic-Modell class User(BaseModel): id: int name: str joined: date ``` Das kann nun wie folgt verwendet werden: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
Por exemplo, vamos supor que você possua 4 endpoints na sua API (*operações de rota*): * `/items/public/` * `/items/private/` * `/users/{user_id}/activate` * `/items/pro/` Você poderia adicionar diferentes requisitos de permissão para cada um deles utilizando apenas dependências e sub-dependências: ```mermaid graph TB
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.6K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/index.md
Nehmen wir zum Beispiel an, Sie haben vier API-Endpunkte (*Pfadoperationen*): * `/items/public/` * `/items/private/` * `/users/{user_id}/activate` * `/items/pro/` Dann könnten Sie für jeden davon unterschiedliche Berechtigungsanforderungen hinzufügen, nur mit Abhängigkeiten und Unterabhängigkeiten: ```mermaid graph TBCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 11.3K bytes - Click Count (0) -
docs/pt/docs/features.md
Você escreve Python padrão com tipos: ```Python from datetime import date from pydantic import BaseModel # Declare uma variável como str # e obtenha suporte do editor dentro da função def main(user_id: str): return user_id # Um modelo do Pydantic class User(BaseModel): id: int name: str joined: date ``` Que então pode ser usado como: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/index.md
Par exemple, supposons que vous ayez 4 endpoints d’API (chemins d’accès) : * `/items/public/` * `/items/private/` * `/users/{user_id}/activate` * `/items/pro/` alors vous pourriez ajouter différentes exigences d’autorisations pour chacun d’eux uniquement avec des dépendances et des sous-dépendances : ```mermaid graph TBCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/index.md
* `/items/private/` * `/users/{user_id}/activate` * `/items/pro/` 그 다음 각각에 대해 그저 의존성과 하위 의존성을 사용하여 다른 권한 요구 사항을 추가할 수 있을 겁니다: ```mermaid 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/"]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11.4K bytes - Click Count (0) -
tests/update_test.go
t.Fatalf("user's updated at should not zero, %v", users[0].UpdatedAt) } if rowsAffected := DB.Model(&User{}).Clauses(clause.From{Tables: []clause.Table{{Name: "accounts"}}}).Where("accounts.user_id = users.id AND accounts.number = ? AND accounts.deleted_at IS NULL", users[0].Account.Number).Update("name", "franco").RowsAffected; rowsAffected != 1 { t.Errorf("should only update one record, but got %v", rowsAffected) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0)