- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for mr (0.21 sec)
-
docs/de/docs/advanced/settings.md
function ->> execute: führe Code der Funktion aus execute ->> code: gib das Resultat zurück end rect rgba(0, 255, 0, .1) code ->> function: say_hi(name="Rick", salutation="Mr.") function ->> execute: führe Code der Funktion aus execute ->> code: gib das Resultat zurück end rect rgba(0, 255, 255, .1) code ->> function: say_hi(name="Rick")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:14 GMT 2024 - 17.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md
``` 这就是 "可调用对象"。 ## 类作为依赖项 您可能会注意到,要创建一个 Python 类的实例,您可以使用相同的语法。 举个例子: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` 在这个例子中, `fluffy` 是一个 `Cat` 类的实例。 为了创建 `fluffy`,你调用了 `Cat` 。 所以,Python 类也是 **可调用对象**。 因此,在 **FastAPI** 中,你可以使用一个 Python 类作为一个依赖项。 实际上 FastAPI 检查的是它是一个 "可调用对象"(函数,类或其他任何类型)以及定义的参数。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 6.5K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/classes-as-dependencies.md
``` ⤴️ ⚫️ "🇧🇲". ## 🎓 🔗 👆 5️⃣📆 👀 👈 ✍ 👐 🐍 🎓, 👆 ⚙️ 👈 🎏 ❕. 🖼: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` 👉 💼, `fluffy` 👐 🎓 `Cat`. & ✍ `fluffy`, 👆 "🤙" `Cat`. , 🐍 🎓 **🇧🇲**. ⤴️, **FastAPI**, 👆 💪 ⚙️ 🐍 🎓 🔗. ⚫️❔ FastAPI 🤙 ✅ 👈 ⚫️ "🇧🇲" (🔢, 🎓 ⚖️ 🕳 🙆) & 🔢 🔬.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
You might notice that to create an instance of a Python class, you use that same syntax. For example: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` In this case, `fluffy` is an instance of the class `Cat`. And to create `fluffy`, you are "calling" `Cat`. So, a Python class is also a **callable**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.4K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
function ->> execute: execute function code execute ->> code: return the result end rect rgba(0, 255, 0, .1) code ->> function: say_hi(name="Rick", salutation="Mr.") function ->> execute: execute function code execute ->> code: return the result end rect rgba(0, 255, 255, .1) code ->> function: say_hi(name="Rick")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 15.7K bytes - Viewed (0) -
docs/zh/docs/advanced/settings.md
code ->> function: say_hi(name="Rick") function ->> execute: 执行函数代码 execute ->> code: 返回结果 end rect rgba(0, 255, 0, .1) code ->> function: say_hi(name="Rick", salutation="Mr.") function ->> execute: 执行函数代码 execute ->> code: 返回结果 end rect rgba(0, 255, 255, .1) code ->> function: say_hi(name="Rick") function ->> code: 返回存储的结果 end
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 13.9K bytes - Viewed (0)