Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for __init__ (0.05 sec)

  1. docs/de/docs/advanced/advanced-dependencies.md

    ## Die Instanz parametrisieren
    
    Und jetzt können wir `__init__` verwenden, um die Parameter der Instanz zu deklarieren, die wir zum `Parametrisieren` der Abhängigkeit verwenden können:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    In diesem Fall wird **FastAPI** `__init__` nie berühren oder sich darum kümmern, wir werden es direkt in unserem Code verwenden.
    
    ## Eine Instanz erstellen
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/advanced-dependencies.md

    👉 💼, 👉 `__call__` ⚫️❔ **FastAPI** 🔜 ⚙️ ✅ 🌖 🔢 & 🎧-🔗, & 👉 ⚫️❔ 🔜 🤙 🚶‍♀️ 💲 🔢 👆 *➡ 🛠️ 🔢* ⏪.
    
    ## 🔗 👐
    
    & 🔜, 👥 💪 ⚙️ `__init__` 📣 🔢 👐 👈 👥 💪 ⚙️ "🔗" 🔗:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[7] *}
    
    👉 💼, **FastAPI** 🏆 🚫 ⏱ 👆 ⚖️ 💅 🔃 `__init__`, 👥 🔜 ⚙️ ⚫️ 🔗 👆 📟.
    
    ## ✍ 👐
    
    👥 💪 ✍ 👐 👉 🎓 ⏮️:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[16] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/advanced-dependencies.md

    ## Parametrizar a instância
    
    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
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/advanced-dependencies.md

    ## Parametrizar la 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
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    # `_MINIO_LDAP_TEST_SERVER`.
    
    OLD_VERSION=RELEASE.2024-03-26T22-10-45Z
    OLD_BINARY_LINK=https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${OLD_VERSION}
    
    __init__() {
    	if which curl &>/dev/null; then
    		echo "curl is already installed"
    	else
    		echo "Installing curl:"
    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 11 15:01:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Klassen als Abhängigkeiten
    
    Möglicherweise stellen Sie fest, dass Sie zum Erstellen einer Instanz einer Python-Klasse die gleiche Syntax verwenden.
    
    Zum Beispiel:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In diesem Fall ist `fluffy` eine Instanz der Klasse `Cat`.
    
    Und um `fluffy` zu erzeugen, rufen Sie `Cat` auf.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. 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)
  10. buildscripts/verify-healing-empty-erasure-set.sh

    	exit 1
    }
    
    function check_online() {
    	if ! grep -q 'API:' ${WORK_DIR}/dist-minio-*.log; then
    		echo "1"
    	fi
    }
    
    function purge() {
    	echo rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top