Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 132 for userDir (0.04 sec)

  1. docs/de/docs/tutorial/response-model.md

    `BaseUser` verfügt über die Basis-Felder. Dann erbt `UserIn` von `BaseUser` und fügt das Feld `password` hinzu, sodass es nun alle Felder beider Modelle hat.
    
    Wir annotieren den Funktionsrückgabetyp als `BaseUser`, geben aber tatsächlich eine `UserIn`-Instanz zurück.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Name   string
    		UserID uint
    	}
    
    	type User struct {
    		gorm.Model
    		Refer   string
    		Profile Profile `gorm:"ForeignKey:UserID;References:Refer"`
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    		Name: "Profile", Type: schema.HasOne, Schema: "User", FieldSchema: "Profile",
    		References: []Reference{{"Refer", "User", "UserID", "Profile", "", true}},
    	})
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/path-params.md

    `/users/me` から、現在のユーザに関するデータを取得するとします。
    
    さらに、ユーザIDによって特定のユーザに関する情報を取得するパス  `/users/{user_id}` ももつことができます。
    
    *path operations* は順に評価されるので、 `/users/me` が `/users/{user_id}` よりも先に宣言されているか確認する必要があります:
    
    {* ../../docs_src/path_params/tutorial003.py hl[6,11] *}
    
    それ以外の場合、 `/users/{users_id}` は `/users/me` としてもマッチします。値が「"me"」であるパラメータ `user_id` を受け取ると「考え」ます。
    
    ## 定義済みの値
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/response-model.md

    `BaseUser` tiene los campos base. Luego `UserIn` hereda de `BaseUser` y añade el campo `password`, por lo que incluirá todos los campos de ambos modelos.
    
    Anotamos el tipo de retorno de la función como `BaseUser`, pero en realidad estamos devolviendo un instance de `UserIn`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/static-files.md

    # Archivos Estáticos { #static-files }
    
    Puedes servir archivos estáticos automáticamente desde un directorio utilizando `StaticFiles`.
    
    ## Usa `StaticFiles` { #use-staticfiles }
    
    * Importa `StaticFiles`.
    * "Monta" una instance de `StaticFiles()` en un path específico.
    
    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/dependencies/index.md

    Por ejemplo, digamos que tienes 4 endpoints de API (*path operations*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    entonces podrías agregar diferentes requisitos de permiso para cada uno de ellos solo con dependencias y sub-dependencias:
    
    ```mermaid
    graph TB
    
    current_user(["current_user"])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/dependencies/index.md

    * `/items/public/`
    * `/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/"]
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/SystemUtil.java

         */
        public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir");
    
        /**
         * <code>user.dir</code> system property.
         */
        public static final String USER_DIR = System.getProperty("user.dir");
    
        /**
         * <code>user.home</code> system property.
         */
        public static final String USER_HOME = System.getProperty("user.home");
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    For example, let's say you have 4 API endpoints (*path operations*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    then you could add different permission requirements for each of them just with dependencies and sub-dependencies:
    
    ```mermaid
    graph TB
    
    current_user(["current_user"])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. docs/ru/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Объявляем параметр как `str`
    # и получаем поддержку редактора кода внутри функции
    def main(user_id: str):
        return user_id
    
    
    # Модель Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Это можно использовать так:
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top