Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,487 for uber (0.07 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial003.py

    from fastapi.testclient import TestClient
    
    from docs_src.response_model.tutorial003 import app
    
    client = TestClient(app)
    
    
    def test_post_user():
        response = client.post(
            "/user/",
            json={
                "username": "foo",
                "password": "fighter",
                "email": "******@****.***",
                "full_name": "Grave Dohl",
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. docs/site-replication/run-multi-site-minio-idp.sh

    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # Create user with policy consoleAdmin on minio1
    ./mc admin user add minio1 foobarx foobar123
    if [ $? -ne 0 ]; then
    	echo "adding user failed, exiting.."
    	exit_1
    fi
    ./mc admin policy attach minio1 consoleAdmin --user=foobarx
    if [ $? -ne 0 ]; then
    	echo "adding policy mapping failed, exiting.."
    	exit_1
    fi
    sleep 10
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsSearchLogCQ.java

        }
    
        public void setUser_Equal(String user) {
            setUser_Term(user, null);
        }
    
        public void setUser_Equal(String user, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setUser_Term(user, opLambda);
        }
    
        public void setUser_Term(String user) {
            setUser_Term(user, null);
        }
    
        public void setUser_Term(String user, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 145.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                    localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[0]));
            assertEquals(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. helm-releases/minio-4.0.5.tgz

    "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi # Create the user if it does not exist if ! checkUserExists ; then USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jul 16 06:42:56 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  6. helm/minio/values.yaml

    ##
    svcaccts: []
      ## accessKey, secretKey and parent user to be assigned to the service accounts
      ## Add new service accounts as explained here https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management/minio-user-management.html#service-accounts
      # - accessKey: console-svcacct
      #   secretKey: console123
      #   user: console
      ## Or you can refer to specific secret
      # - accessKey: externalSecret
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. docs_src/generate_clients/tutorial003.py

            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 939 bytes
    - Viewed (0)
  8. tests/scopes_test.go

    		return d.Where("name in (?)", names)
    	}
    }
    
    func TestScopes(t *testing.T) {
    	users := []*User{
    		GetUser("ScopeUser1", Config{}),
    		GetUser("ScopeUser2", Config{}),
    		GetUser("ScopeUser3", Config{}),
    	}
    
    	DB.Create(&users)
    
    	var users1, users2, users3 []User
    	DB.Scopes(NameIn1And2).Find(&users1)
    	if len(users1) != 2 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/user/": {
                    "post": {
                        "summary": "Create User",
                        "operationId": "create_user_user__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. clause/expression_test.go

    	}}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    			stmt := &gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    			clause.Expr{SQL: result.SQL, Vars: result.Vars}.Build(stmt)
    			if stmt.SQL.String() != result.Result {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top