Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for John (0.14 sec)

  1. docs/pt/docs/python-types.md

    
    ## Motivação
    
    Vamos começar com um exemplo simples:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    A chamada deste programa gera:
    
    ```
    John Doe
    ```
    
    A função faz o seguinte:
    
    * Pega um `first_name` e `last_name`.
    * Converte a primeira letra de cada uma em maiúsculas com `title ()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs_src/security/tutorial004_py310.py

    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        }
    }
    
    
    class Token(BaseModel):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

        response = client.get("/users/me", headers={"Authorization": "Bearer johndoe"})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        }
    
    
    @needs_py39
    def test_incorrect_token(client: TestClient):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    			// the TCP fast open connect. This feature is supported
    			// since Linux 4.11.
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_FASTOPEN_CONNECT, 1)
    
    			// Enable TCP quick ACK, John Nagle says
    			// "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know."
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			/// Enable keep-alive
    			{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 4.3K bytes
    - Viewed (3)
  5. docs/fr/docs/python-types.md

    ## Motivations
    
    Prenons un exemple simple :
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Exécuter ce programe affiche :
    
    ```
    John Doe
    ```
    
    La fonction :
    
    * Prend un `first_name` et un `last_name`.
    * Convertit la première lettre de chaque paramètre en majuscules grâce à `title()`.
    * Concatène les résultats avec un espace entre les deux.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs_src/security/tutorial005_an.py

    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. docs/ko/docs/python-types.md

    !!! note "참고"
        파이썬에 능숙하셔서 타입 힌트에 대해 모두 아신다면, 다음 챕터로 건너뛰세요.
    
    ## 동기 부여
    
    간단한 예제부터 시작해봅시다:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    이 프로그램을 실행한 결과값:
    
    ```
    John Doe
    ```
    
    함수는 아래와 같이 실행됩니다:
    
    * `first_name`과 `last_name`를 받습니다.
    * `title()`로 각 첫 문자를 대문자로 변환시킵니다.
    * 두 단어를 중간에 공백을 두고 <abbr title="두 개를 하나로 차례차례 이어지게 하다">연결</abbr>합니다.
    
    ```Python hl_lines="2"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom

          <name>Brett Porter</name>
          <id>brett</id>
          <email>******@****.***</email>
          <roles>
            <role>Developer</role>
          </roles>
        </developer>
        <developer>
          <name>John Casey</name>
          <id>jdcasey</id>
          <email>******@****.***</email>
          <roles>
            <role>Developer</role>
          </roles>
        </developer>
      </developers>
      <dependencies>
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial003_an.py

        response = client.get("/users/me", headers={"Authorization": "Bearer johndoe"})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        }
    
    
    def test_incorrect_token():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. chainable_api.go

    	}
    	return
    }
    
    // Or add OR conditions
    //
    // Or is used to chain together queries with an OR.
    //
    //	// Find the first user with name equal to jinzhu or john
    //	db.Where("name = ?", "jinzhu").Or("name = ?", "john").First(&user)
    func (db *DB) Or(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if conds := tx.Statement.BuildCondition(query, args...); len(conds) > 0 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
Back to top