- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 842 for cython (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
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) -
docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md
但那不是宣告相依性的唯一方式(雖然那大概是最常見的)。 關鍵在於,相依性應該要是「callable」。 在 Python 中,「**callable**」指的是任何可以像函式一樣被 Python「呼叫」的東西。 因此,如果你有一個物件 `something`(它可能不是函式),而你可以像這樣「呼叫」(執行)它: ```Python something() ``` 或是 ```Python something(some_argument, some_keyword_argument="foo") ``` 那它就是一個「callable」。 ## 以類別作為相依性 { #classes-as-dependencies_1 } 你可能已經注意到,建立一個 Python 類別的實例時,你用的語法也是一樣的。 例如: ```Python class Cat:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/zh/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 | 提示 第二个参数是 [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) 的默认返回值。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/tr/docs/tutorial/extra-models.md
```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` ve sonra şunu çağırırsak: ```Python user_dict = user_in.model_dump() ``` artık `user_dict` değişkeninde modelin verilerini içeren bir `dict` vardır (Pydantic model nesnesi yerine bir `dict` elde etmiş oluruz). Ve eğer şunu çağırırsak: ```Python print(user_dict) ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 7.4K bytes - Click Count (0) -
docs/tr/docs/virtual-environments.md
/home/user/code/awesome-project/.venv/bin/python ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console $ Get-Command python C:\Users\user\code\awesome-project\.venv\Scripts\python ``` </div> //// Bu, kullanılacak `python` programının **virtual environment'in içindeki** Python olduğu anlamına gelir.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 23.5K bytes - Click Count (0) -
docs/ru/docs/features.md
### Только современный Python { #just-modern-python } Все основано на стандартных **аннотациях типов Python** (благодаря Pydantic). Не нужно изучать новый синтаксис. Только стандартный современный Python. Если вам нужно освежить знания о типах в Python (даже если вы не используете FastAPI), выделите 2 минуты и просмотрите краткое руководство: [Типы Python](python-types.md). Вы пишете стандартный Python с типами:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/en/docs/environment-variables.md
``` </div> //// ## Read env vars in Python { #read-env-vars-in-python } You could also create environment variables **outside** of Python, in the terminal (or with any other method), and then **read them in Python**. For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/fr/docs/environment-variables.md
Hello Wade Wilson ``` </div> //// ## Lire des variables d'environnement en Python { #read-env-vars-in-python } Vous pouvez également créer des variables d'environnement **en dehors** de Python, dans le terminal (ou par tout autre moyen), puis les **lire en Python**. Par exemple, vous pouvez avoir un fichier `main.py` contenant : ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 9.1K bytes - Click Count (0)