Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 334 for __init__ (0.09 sec)

  1. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    El archivo `main.py` tendría:
    
    {* ../../docs_src/async_tests/app_a_py39/main.py *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/advanced-dependencies.md

    ## Parametrizar a instância { #parameterize-the-instance }
    
    E agora, nós podemos utilizar o `__init__` para declarar os parâmetros da instância que podemos utilizar para "parametrizar" a dependência:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    Neste caso, o **FastAPI** nunca tocará ou se importará com o `__init__`, nós vamos utilizar diretamente em nosso código.
    
    ## Crie uma instância { #create-an-instance }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/advanced-dependencies.md

    ## Parameterize the instance { #parameterize-the-instance }
    
    And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    In this case, **FastAPI** won't ever touch or care about `__init__`, we will use it directly in our code.
    
    ## Create an instance { #create-an-instance }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Nov 13 07:37:15 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Файл `main.py`:
    
    {* ../../docs_src/async_tests/app_a_py39/main.py *}
    
    Файл `test_main.py` содержит тесты для `main.py`, теперь он может выглядеть так:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. scripts/docs.py

    code_block3_pattern = re.compile(r"^\s*```")
    code_block4_pattern = re.compile(r"^\s*````")
    
    
    class VisibleTextExtractor(HTMLParser):
        """Extract visible text from a string with HTML tags."""
    
        def __init__(self):
            super().__init__()
            self.text_parts = []
    
        def handle_data(self, data):
            self.text_parts.append(data)
    
        def extract_visible_text(self, html: str) -> str:
            self.reset()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Die Datei `main.py` hätte als Inhalt:
    
    {* ../../docs_src/async_tests/app_a_py39/main.py *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (1)
  8. docs/ru/docs/deployment/manually.md

      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting production server 🚀
    
                 Searching for package file structure from directories
                 with <font color="#3465A4">__init__.py</font> files
                 Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/advanced-dependencies.md

    ## Parametrizar la instance { #parameterize-the-instance }
    
    Y ahora, podemos usar `__init__` para declarar los parámetros de la instance que podemos usar para "parametrizar" la dependencia:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    En este caso, **FastAPI** nunca tocará ni se preocupará por `__init__`, lo usaremos directamente en nuestro código.
    
    ## Crear una instance { #create-an-instance }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. docs/es/docs/fastapi-cli.md

      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
                 Searching for package file structure from directories with
                 <font color="#3465A4">__init__.py</font> files
                 Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top