Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for __init__ (0.04 sec)

  1. docs/em/docs/tutorial/bigger-applications.md

    ///
    
    ## πŸ–Ό πŸ“ πŸ“Š
    
    ➑️ πŸ’¬ πŸ‘† βœ”οΈ πŸ“ πŸ“Š πŸ’– πŸ‘‰:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    /// tip
    
    πŸ“€ πŸ“š `__init__.py` πŸ“: 1️⃣ πŸ”  πŸ“ βš–οΈ πŸ“.
    
    πŸ‘‰ βš«οΈβ” βœ” 🏭 πŸ“Ÿ βšͺ️➑️ 1️⃣ πŸ“ πŸ”˜ βž•1️⃣.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    Let's say you have a file structure like this:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    /// tip
    
    There are several `__init__.py` files: one in each directory or subdirectory.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/bigger-applications.md

    Digamos que tienes una estructura de archivos como esta:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    /// tip | Consejo
    
    Hay varios archivos `__init__.py`: uno en cada directorio o subdirectorio.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/bigger-applications.md

    Digamos que vocΓͺ tenha uma estrutura de arquivos como esta:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    /// tip | Dica
    
    Existem vΓ‘rios arquivos `__init__.py` presentes em cada diretΓ³rio ou subdiretΓ³rio.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/bigger-applications.md

    Nehmen wir an, Sie haben eine Dateistruktur wie diese:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    /// tip | Tipp
    
    Es gibt mehrere `__init__.py`-Dateien: eine in jedem Verzeichnis oder Unterverzeichnis.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/bigger-applications.md

    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    /// tip | Подсказка
    
    ΠžΠ±Ρ€Π°Ρ‚ΠΈΡ‚Π΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅, Ρ‡Ρ‚ΠΎ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΌ ΠΊΠ°Ρ‚Π°Π»ΠΎΠ³Π΅ ΠΈ ΠΏΠΎΠ΄ΠΊΠ°Ρ‚Π°Π»ΠΎΠ³Π΅ имССтся Ρ„Π°ΠΉΠ» `__init__.py`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    {* ../../docs_src/app_testing/main.py *}
    
    ### Testing file { #testing-file }
    
    Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file):
    
    ``` hl_lines="5"
    .
    β”œβ”€β”€ app
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. buildscripts/minio-upgrade.sh

    		until (mc alias set minio http://127.0.0.1:9000 minioadmin minioadmin); do
    			echo "...waiting... for 5secs" && sleep 5
    		done
    	done
    
    	echo "Sleeping for nginx"
    	sleep 20
    }
    
    __init__() {
    	sudo apt install curl -y
    	export GOPATH=/tmp/gopath
    	export PATH=${PATH}:${GOPATH}/bin
    
    	go install github.com/minio/mc@latest
    
    	## this is needed because github actions don't have
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Apr 21 16:24:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/BUILD

            "//conditions:default": "_api/v1/v1.py",
        }),
        out = "__init__.py",
    )
    
    genrule(
        name = "virtual_root_init_gen",
        srcs = select({
            "api_version_2": [":virtual_root_template_v2.__init__.py"],
            "//conditions:default": [":virtual_root_template_v1.__init__.py"],
        }),
        outs = ["virtual_root.__init__.py"],
        cmd = "cp $(SRCS) $(OUTS)",
    )
    
    generate_apis(
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Aug 28 19:11:51 UTC 2025
    - 53.4K bytes
    - Viewed (0)
Back to top