Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 323 of 323 for tutorial010_py310 (0.38 sec)

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

    每个属性都拥有类型。
    
    接着你用一些值来创建这个类的实例,这些值会被校验,并被转换为适当的类型(在需要的情况下),返回一个包含所有数据的对象。
    
    然后,你将获得这个对象的所有编辑器支持。
    
    下面的例子来自 Pydantic 官方文档:
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/python_types/tutorial011_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python
    {!> ../../docs_src/python_types/tutorial011_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 18 06:34:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/security/simple-oauth2.md

    따라서 해커는 다른 시스템에서 동일한 암호를 사용하려고 시도할 수 없습니다(많은 사용자가 모든 곳에서 동일한 암호를 사용하므로 이는 위험할 수 있습니다).
    
    //// tab | 파이썬 3.7 이상
    
    {* ../../docs_src/security/tutorial003.py hl[80:83] *}
    
    ////
    
    {* ../../docs_src/security/tutorial003_py310.py hl[78:81] *}
    
    #### `**user_dict`에 대해
    
    `UserInDB(**user_dict)`는 다음을 의미한다:
    
    *`user_dict`의 키와 값을 다음과 같은 키-값 인수로 직접 전달합니다:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 11:19:12 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    You can also declare a class as the type of a variable.
    
    Let's say you have a class `Person`, with a name:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *}
    
    Then you can declare a variable to be of type `Person`:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *}
    
    And then, again, you get all the editor support:
    
    <img src="/img/python-types/image06.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top