Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 122 for Sohn (0.16 sec)

  1. docs_src/security/tutorial003_an.py

    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs_src/security/tutorial003_an_py310.py

    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from pydantic import BaseModel
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. docs_src/security/tutorial003_py310.py

    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from pydantic import BaseModel
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  4. docs/zh/docs/python-types.md

    !!! note
        如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。
    
    ## 动机
    
    让我们从一个简单的例子开始:
    
    ```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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. maven-core/src/site/apt/getting-to-container-configured-mojos.apt

    ~~ KIND, either express or implied.  See the License for the
    ~~ specific language governing permissions and limitations
    ~~ under the License.
    
      ---
      Getting to Plexus-configured Mojos
      ---
      John Casey
      ---
      2005-04-29
    
    Abstract
    
      We're moving toward integrating mojos as first-class plexus components, while
      at the same time avoiding introducing required plexus dependencies into the
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 30 15:20:35 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. docs/tr/docs/python-types.md

    ## Motivasyon
    
    Basit bir örnek ile başlayalım:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Programın çıktısı:
    
    ```
    John Doe
    ```
    
    Fonksiyon sırayla şunları yapar:
    
    * `first_name` ve `last_name` değerlerini alır.
    * `title()` ile değişkenlerin ilk karakterlerini büyütür.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs_src/security/tutorial004_an_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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs_src/security/tutorial003.py

    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from pydantic import BaseModel
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial003.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. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top