Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 817 for users1 (0.07 sec)

  1. docs/em/docs/tutorial/bigger-applications.md

    πŸ•Ή `items` πŸ”œ βœ”οΈ πŸ”’ `router` (`items.router`). πŸ‘‰ 🎏 1️⃣ πŸ‘₯ ✍ πŸ“ `app/routers/items.py`, ⚫️ `APIRouter` 🎚.
    
    & ‴️ πŸ‘₯ 🎏 πŸ•Ή `users`.
    
    πŸ‘₯ πŸ’ͺ πŸ—„ πŸ‘« πŸ’–:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info
    
    πŸ₯‡ ⏬ "βš– πŸ—„":
    
    ```Python
    from .routers import items, users
    ```
    
    πŸ₯ˆ ⏬ "πŸŽ† πŸ—„":
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py

                                    }
                                },
                            },
                        },
                    }
                },
                "/users/": {
                    "get": {
                        "summary": "Read Users",
                        "operationId": "read_users_users__get",
                        "parameters": [
                            {
                                "required": True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. clause/order_by_test.go

    			}},
    			"SELECT * FROM `users` ORDER BY `users`.`id` DESC", nil,
    		},
    		{
    			[]clause.Interface{
    				clause.Select{}, clause.From{}, clause.OrderBy{
    					Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}},
    				}, clause.OrderBy{
    					Columns: []clause.OrderByColumn{{Column: clause.Column{Name: "name"}}},
    				},
    			},
    			"SELECT * FROM `users` ORDER BY `users`.`id` DESC,`name`", nil,
    		},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/00-bug.yml

            GO111MODULE=""
            GOARCH="arm64"
            GOBIN="/Users/gopher/go/bin"
            GOCACHE="/Users/gopher/go/cache"
            GOENV="/Users/gopher/Library/Application Support/go/env"
            GOEXE=""
            GOEXPERIMENT=""
            GOFLAGS=""
            GOHOSTARCH="arm64"
            GOHOSTOS="darwin"
            GOINSECURE=""
            GOMODCACHE="/Users/gopher/go/pkg/mod"
            GONOPROXY=""
            GONOSUMDB=""
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. logger/sql_test.go

    		Result        string
    	}{
    		{
    			SQL:           "create table users (name, age, height, actived, bytes, create_at, update_at, deleted_at, email, role, pass) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    ## Den Benutzer holen
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurΓΌckgibt:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19-22  26-27"
    {!> ../../docs_src/security/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    Pydantic λͺ¨λΈμΈ `User`둜 `current_user`의 νƒ€μž…μ„ μ„ μ–Έν•˜λŠ” 것을 μ•Œμ•„μ•Ό ν•©λ‹ˆλ‹€.
    
    이것은 λͺ¨λ“  μ™„λ£Œ 및 νƒ€μž… 검사λ₯Ό 톡해 ν•¨μˆ˜ λ‚΄λΆ€μ—μ„œ 우리λ₯Ό λ„μšΈ κ²ƒμž…λ‹ˆλ‹€.
    
    /// tip | "팁"
    
    μš”μ²­ 본문도 Pydantic λͺ¨λΈλ‘œ μ„ μ–Έλœλ‹€λŠ” 것을 κΈ°μ–΅ν•  κ²ƒμž…λ‹ˆλ‹€.
    
    μ—¬κΈ°μ„œ **FastAPI**λŠ” `Depends`λ₯Ό μ‚¬μš©ν•˜κ³  있기 λ•Œλ¬Έμ— ν˜Όλ™λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
    
    ///
    
    /// check | "확인"
    
    이 μ˜μ‘΄μ„± μ‹œμŠ€ν…œμ΄ μ„€κ³„λœ 방식은 λͺ¨λ‘ `User` λͺ¨λΈμ„ λ°˜ν™˜ν•˜λŠ” λ‹€μ–‘ν•œ μ˜μ‘΄μ„±(λ‹€λ₯Έ "의쑴적인")을 κ°€μ§ˆ 수 μžˆλ„λ‘ ν•©λ‹ˆλ‹€.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/bigger-applications.md

    β”‚Β Β  β”‚   └── users.py     # "users" submodule, e.g. import app.routers.users
    β”‚Β Β  └── internal         # "internal" is a "Python subpackage"
    β”‚Β Β      β”œβ”€β”€ __init__.py  # makes "internal" a "Python subpackage"
    β”‚Β Β      └── admin.py     # "admin" submodule, e.g. import app.internal.admin
    ```
    
    ## `APIRouter`
    
    Let's say the file dedicated to handling just users is the submodule at `/app/routers/users.py`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. cmd/iam.go

    			if _, ok := cleanQ.Users[user]; !ok {
    				cleanQ.Users[user] = nil
    			}
    		}
    
    		// Validate and normalize groups.
    		for _, group := range q.Groups {
    			lookupRes, underDN, _ := sys.LDAPConfig.GetValidatedGroupDN(nil, group)
    			if lookupRes != nil && underDN {
    				cleanQ.Groups.Add(lookupRes.NormDN)
    			}
    		}
    	} else {
    		for _, user := range q.Users {
    			info, err := sys.store.GetUserInfo(user)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  10. tests/test_security_oauth2_optional.py

                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        },
        auto_error=False,
    )
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top