Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 841 for users (0.15 sec)

  1. tests/test_tutorial/test_generate_clients/test_tutorial003.py

                                },
                            },
                        },
                    },
                },
                "/users/": {
                    "post": {
                        "tags": ["users"],
                        "summary": "Create User",
                        "operationId": "users-create_user",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_metadata/test_tutorial001_1.py

                "summary": "Deadpool's favorite app. Nuff said.",
                "description": "\nChimichangApp API helps you do awesome stuff. 🚀\n\n## Items\n\nYou can **read items**.\n\n## Users\n\nYou will be able to:\n\n* **Create users** (_not implemented_).\n* **Read users** (_not implemented_).\n",
                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. tests/associations_has_one_test.go

    )
    
    func TestHasOneAssociation(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    	CheckUser(t, user2, user)
    
    	// Count
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  4. clause/limit_test.go

    				Offset: 20,
    			}},
    			"SELECT * FROM `users` LIMIT ? OFFSET ?",
    			[]interface{}{limit10, 20},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit0}},
    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit0},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit0}, clause.Limit{Offset: 0}},
    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit0},
    		},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Feb 06 02:54:40 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. docs_src/path_params/tutorial003b.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users")
    async def read_users():
        return ["Rick", "Morty"]
    
    
    @app.get("/users")
    async def read_users2():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 16:16:16 GMT 2022
    - 193 bytes
    - Viewed (0)
  6. docs_src/dependency_testing/tutorial001_an_py39.py

    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: Union[str, None] = None):
        return {"q": q, "skip": 5, "limit": 10}
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       * non-nullable {@code cause}, as many users expect to find one.
       */
      public UncheckedExecutionException(@CheckForNull String message, @CheckForNull Throwable cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. tests/test_route_scope.py

    from fastapi.routing import APIRoute, APIWebSocketRoute
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. 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},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. .github/actions/people/app/main.py

            counter=experts_results.commenters,
            authors=authors,
            skip_users=skip_users,
        )
        last_month_experts = get_top_users(
            counter=experts_results.last_month_commenters,
            authors=authors,
            skip_users=skip_users,
        )
        three_months_experts = get_top_users(
            counter=experts_results.three_months_commenters,
            authors=authors,
            skip_users=skip_users,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top