Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 217 for __init__ (0.07 sec)

  1. docs/em/docs/advanced/async-tests.md

    ## ๐Ÿ–ผ
    
    ๐Ÿ™… ๐Ÿ–ผ, โžก๏ธ ๐Ÿค” ๐Ÿ“ ๐Ÿ“Š ๐ŸŽ 1๏ธโƒฃ ๐Ÿ”ฌ [๐Ÿฆ ๐Ÿˆธ](../tutorial/bigger-applications.md){.internal-link target=_blank} & [๐Ÿ”ฌ](../tutorial/testing.md){.internal-link target=_blank}:
    
    ```
    .
    โ”œโ”€โ”€ app
    โ”‚ย ย  โ”œโ”€โ”€ __init__.py
    โ”‚ย ย  โ”œโ”€โ”€ main.py
    โ”‚ย ย  โ””โ”€โ”€ test_main.py
    ```
    
    ๐Ÿ“ `main.py` ๐Ÿ”œ โœ”๏ธ:
    
    ```Python
    {!../../docs_src/async_tests/main.py!}
    ```
    
    ๐Ÿ“ `test_main.py` ๐Ÿ”œ โœ”๏ธ ๐Ÿ’ฏ `main.py`, โšซ๏ธ ๐Ÿ’ช ๐Ÿ‘€ ๐Ÿ’– ๐Ÿ‘‰ ๐Ÿ”œ:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ์ƒ๊ธฐ์™€ ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ "ํ˜ธ์ถœ(์‹คํ–‰)" ํ•  ์ˆ˜ ์žˆ๋‹ค๋ฉด "ํ˜ธ์ถœ ๊ฐ€๋Šฅ"์ด ๋ฉ๋‹ˆ๋‹ค.
    
    ## ์˜์กด์„ฑ์œผ๋กœ์„œ์˜ ํด๋ž˜์Šค
    
    ํŒŒ์ด์ฌ ํด๋ž˜์Šค์˜ ์ธ์Šคํ„ด์Šค๋ฅผ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ๊ณผ ๋™์ผํ•œ ๋ฌธ๋ฒ•์„ ์‚ฌ์šฉํ•œ๋‹ค๋Š” ๊ฑธ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ์˜ˆ๋ฅผ ๋“ค์–ด:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    ์ด ๊ฒฝ์šฐ์— `fluffy`๋Š” ํด๋ž˜์Šค `Cat`์˜ ์ธ์Šคํ„ด์Šค์ž…๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ์šฐ๋ฆฌ๋Š” `fluffy`๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด์„œ `Cat`์„ "ํ˜ธ์ถœ"ํ–ˆ์Šต๋‹ˆ๋‹ค.
    
    ๋”ฐ๋ผ์„œ, ํŒŒ์ด์ฌ ํด๋ž˜์Šค๋Š” **ํ˜ธ์ถœ ๊ฐ€๋Šฅ**ํ•ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. docs/ko/docs/fastapi-cli.md

    <font color="#3465A4">INFO    </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     โ•ญโ”€ <font color="#8AE234"><b>Python module file</b></font> โ”€โ•ฎ
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:29:32 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/async-tests.md

    ```
    .
    โ”œโ”€โ”€ app
    โ”‚ย ย  โ”œโ”€โ”€ __init__.py
    โ”‚ย ย  โ”œโ”€โ”€ main.py
    โ”‚ย ย  โ””โ”€โ”€ test_main.py
    ```
    
    Die Datei `main.py` hรคtte als Inhalt:
    
    ```Python
    {!../../docs_src/async_tests/main.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:34:47 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/async-tests.md

    ```
    .
    โ”œโ”€โ”€ app
    โ”‚ย ย  โ”œโ”€โ”€ __init__.py
    โ”‚ย ย  โ”œโ”€โ”€ main.py
    โ”‚ย ย  โ””โ”€โ”€ test_main.py
    ```
    
    The file `main.py` would have:
    
    {* ../../docs_src/async_tests/main.py *}
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. docs/pt/docs/deployment/manually.md

    <font color="#3465A4">INFO    </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     โ•ญโ”€ <font color="#8AE234"><b>Python module file</b></font> โ”€โ•ฎ
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    ใ“ใ‚Œใ‚’ใ€Œๅ‘ผใณๅ‡บใ—ๅฏ่ƒฝใ€ใชใ‚‚ใฎใจๅ‘ผใณใพใ™ใ€‚
    
    ## ไพๅญ˜้–ขไฟ‚ใจใ—ใฆใฎใ‚ฏใƒฉใ‚น
    
    Pythonใฎใ‚ฏใƒฉใ‚นใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚นใ‚’ไฝœๆˆใ™ใ‚‹้š›ใซใ€ๅŒใ˜ๆง‹ๆ–‡ใ‚’ไฝฟ็”จใ—ใฆใ„ใ‚‹ใ“ใจใซๆฐ—ใฅใใ‹ใ‚‚ใ—ใ‚Œใพใ›ใ‚“ใ€‚
    
    ไพ‹ใˆใฐ:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    ใ“ใฎๅ ดๅˆใ€`fluffy`ใฏ`Cat`ใ‚ฏใƒฉใ‚นใฎใ‚คใƒณใ‚นใ‚ฟใƒณใ‚นใงใ™ใ€‚
    
    ใใ—ใฆ`fluffy`ใ‚’ไฝœๆˆใ™ใ‚‹ใŸใ‚ใซใ€`Cat`ใ‚’ใ€Œๅ‘ผใณๅ‡บใ—ใฆใ„ใ‚‹ใ€ใ“ใจใซใชใ‚Šใพใ™ใ€‚
    
    ใใฎใŸใ‚ใ€Pythonใฎใ‚ฏใƒฉใ‚นใ‚‚ใพใŸใ€Œๅ‘ผใณๅ‡บใ—ๅฏ่ƒฝใ€ใงใ™ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. fastapi/datastructures.py

        """
        You shouldn't use this class directly.
    
        It's used internally to recognize when a default value has been overwritten, even
        if the overridden default value was truthy.
        """
    
        def __init__(self, value: Any):
            self.value = value
    
        def __bool__(self) -> bool:
            return bool(self.value)
    
        def __eq__(self, o: object) -> bool:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. docs/en/docs/fastapi-cli.md

    <font color="#3465A4">INFO    </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     โ•ญโ”€ <font color="#8AE234"><b>Python module file</b></font> โ”€โ•ฎ
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/pt/docs/fastapi-cli.md

    <font color="#3465A4">INFO    </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     โ•ญโ”€ <font color="#8AE234"><b>Python module file</b></font> โ”€โ•ฎ
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top