Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,045 for cython (0.04 seconds)

  1. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    Ключевым фактором является то, что зависимость должна быть «вызываемой».
    
    В Python «**вызываемый**» — это всё, что Python может «вызвать», как функцию.
    
    Так, если у вас есть объект `something` (который может и _не_ быть функцией) и вы можете «вызвать» его (выполнить) так:
    
    ```Python
    something()
    ```
    
    или
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    El factor clave es que una dependencia debe ser un "callable".
    
    Un "**callable**" en Python es cualquier cosa que Python pueda "llamar" como una función.
    
    Entonces, si tienes un objeto `something` (que podría _no_ ser una función) y puedes "llamarlo" (ejecutarlo) como:
    
    ```Python
    something()
    ```
    
    o
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    entonces es un "callable".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. docs/ru/docs/environment-variables.md

    </div>
    
    ////
    
    ## Чтение переменных окружения в python { #read-env-vars-in-python }
    
    Так же существует возможность создания переменных окружения **вне** Python, в терминале (или любым другим способом), а затем **чтения их в Python**.
    
    Например, у вас есть файл `main.py`:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Совет
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. docs/uk/docs/environment-variables.md

    ```
    
    </div>
    
    ////
    
    ## Читання змінних оточення в Python { #read-env-vars-in-python }
    
    Ви також можете створити змінні оточення поза Python, у терміналі (або будь-яким іншим способом), а потім зчитати їх у Python.
    
    Наприклад, у вас може бути файл `main.py` з:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Порада
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  5. docs/de/docs/environment-variables.md

    </div>
    
    ////
    
    ## Umgebungsvariablen in Python lesen { #read-env-vars-in-python }
    
    Sie können auch Umgebungsvariablen **außerhalb** von Python erstellen, im Terminal (oder mit jeder anderen Methode) und sie dann **in Python** lesen.
    
    Zum Beispiel könnten Sie eine Datei `main.py` haben mit:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    Yukarıdaki kodda `CommonQueryParams`'ı iki kez yazdığımıza dikkat edin:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    //// tab | Python 3.10+ Annotated Olmadan
    
    /// tip | İpucu
    
    Mümkünse `Annotated` sürümünü kullanmayı tercih edin.
    
    ///
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    L'élément clé est qu'une dépendance doit être un « callable ».
    
    Un « callable » en Python est tout ce que Python peut « appeler » comme une fonction.
    
    Ainsi, si vous avez un objet `something` (qui n'est peut‑être pas une fonction) et que vous pouvez « l'appeler » (l'exécuter) comme :
    
    ```Python
    something()
    ```
    
    ou
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    alors c'est un « callable ».
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    The key factor is that a dependency should be a "callable".
    
    A "**callable**" in Python is anything that Python can "call" like a function.
    
    So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like:
    
    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    then it is a "callable".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    O fator principal para uma dependência é que ela deve ser "chamável"
    
    Um objeto "chamável" em Python é qualquer coisa que o Python possa "chamar" como uma função
    
    Então se você tiver um objeto `alguma_coisa` (que pode *não* ser uma função) que você possa "chamar" (executá-lo) dessa maneira:
    
    ```Python
    something()
    ```
    
    ou
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    Então esse objeto é um "chamável".
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. docs/tr/docs/environment-variables.md

    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
Back to Top