Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for USER_ID (0.11 sec)

  1. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. docs/em/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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. docs/fa/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    که سپس میتوان به این شکل از آن استفاده کرد:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertNull(StringUtil.camelize(null));
            assertEquals("Emp", StringUtil.camelize("EMP"));
            assertEquals("AaaBbb", StringUtil.camelize("AAA_BBB"));
            assertEquals("UserId", StringUtil.camelize("USER_ID"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testDecamelize() throws Exception {
            assertNull(StringUtil.decamelize(null));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. docs/es/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declaras la variable como un str
    # y obtienes 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
    ```
    
    Este puede ser usado como:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 19 18:15:21 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. tests/distinct_test.go

    	}
    
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    	r := dryDB.Distinct("u.id, u.*").Table("user_speaks as s").Joins("inner join users as u on u.id = s.user_id").Where("s.language_code ='US' or s.language_code ='ES'").Find(&User{})
    	if !regexp.MustCompile(`SELECT DISTINCT u\.id, u\.\* FROM user_speaks as s inner join users as u`).MatchString(r.Statement.SQL.String()) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. docs/de/docs/features.md

    from typing import List, Dict
    from datetime import date
    
    from pydantic import BaseModel
    
    # Deklarieren Sie eine Variable als ein `str`
    # und bekommen Sie Editor-Unterstütung 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/en/docs/features.md

    You write standard Python with types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/pl/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Zadeklaruj parametr jako str
    # i uzyskaj wsparcie edytora wewnątrz funkcji
    def main(user_id: str):
        return user_id
    
    
    # Model Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    A one będą mogły zostać później użyte w następujący sposób:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top