Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 899 for buyers (0.25 sec)

  1. docs/ru/docs/async.md

    ```Python
    # Это не заработает, поскольку get_burgers объявлена с использованием async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    Если сторонняя библиотека требует вызывать её с ключевым словом `await`,
    необходимо писать *функции обработки пути* с использованием `async def`, например:
    
    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 39.9K bytes
    - Viewed (0)
  2. tests/sql_builder_test.go

    			t.Errorf("Should have two users having name %v", users[1].Name)
    		}
    	}
    }
    
    func TestQueryRaw(t *testing.T) {
    	users := []*User{
    		GetUser("row_query_user", Config{}),
    		GetUser("row_query_user", Config{}),
    		GetUser("row_query_user", Config{}),
    	}
    	DB.Create(&users)
    
    	var user User
    	DB.Raw("select * from users WHERE id = ?", users[1].ID).First(&user)
    	CheckUser(t, user, *users[1])
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. tests/test_security_api_key_cookie_description.py

        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    def test_security_api_key():
        client = TestClient(app, cookies={"key": "secret"})
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "secret"}
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. tests/test_security_api_key_cookie_optional.py

        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        else:
            return current_user
    
    
    def test_security_api_key():
        client = TestClient(app, cookies={"key": "secret"})
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. LICENSES/vendor/github.com/gogo/protobuf/LICENSE

    = vendor/github.com/gogo/protobuf licensed under: =
    
    Copyright (c) 2013, The GoGo Authors. All rights reserved.
    
    Protocol Buffers for Go with Gadgets
    
    Go support for Protocol Buffers - Google's data interchange format
    
    Copyright 2010 The Go Authors.  All rights reserved.
    https://github.com/golang/protobuf
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Fri May 08 04:49:00 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  6. tests/associations_many2many_test.go

    	if err := DB.Model(&users).Association("Languages").Delete(users[0].Languages[0], users[1].Languages[1]); err != nil {
    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Languages", 2, "after delete")
    
    	// Clear
    	DB.Model(&users).Association("Languages").Clear()
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/rpc.java

                    _src = _src.deferred;
                    int _buffers = _src.dec_ndr_long();
                    _src.dec_ndr_long();
                    int _bufferl = _src.dec_ndr_long();
                    int _bufferi = _src.index;
                    _src.advance(2 * _bufferl);
    
                    if (buffer == null) {
                        if (_buffers < 0 || _buffers > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  8. docs/multi-user/README.md

    MinIO supports multiple long term users in addition to default user created during server startup. New users can be added after server starts up, and server can be configured to deny or allow access to buckets and resources to each of these users. This document explains how to add/remove users and modify their access rights.
    
    ## Get started
    
    In this document we will explain in detail on how to configure multiple users.
    
    ### 1. Prerequisites
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. docs/pt/docs/async.md

    ```Python
    # Isso não irá funcionar, porquê get_burgers foi definido com: async def
    burgers = get_burgers(2)
    ```
    
    ---
    
    Então, se você está usando uma biblioteca que diz que você pode chamá-la com `await`, você precisa criar as *funções de operação de rota* com `async def`, como em:
    
    ```Python hl_lines="2 3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Charsets.java

       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top