- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 134 for ME (0.11 sec)
-
docs/zh/docs/tutorial/path-params.md
下一章介绍详细内容。 ## 顺序很重要 有时,*路径操作*中的路径是写死的。 比如要使用 `/users/me` 获取当前用户的数据。 然后还要使用 `/users/{user_id}`,通过用户 ID 获取指定用户的数据。 由于*路径操作*是按顺序依次运行的,因此,一定要在 `/users/{user_id}` 之前声明 `/users/me` : ```Python hl_lines="6 11" {!../../../docs_src/path_params/tutorial003.py!} ``` 否则,`/users/{user_id}` 将匹配 `/users/me`,FastAPI 会**认为**正在接收值为 `"me"` 的 `user_id` 参数。 ## 预设值
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 01 05:35:40 GMT 2024 - 7.6K bytes - Viewed (0) -
docs_src/security/tutorial006_an.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 371 bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild import me.champeau.gradle.japicmp.report.GroovyReportRenderer import me.champeau.gradle.japicmp.JApiCmpWorkerAction import me.champeau.gradle.japicmp.report.RichReportData class EnrichedReportRenderer extends GroovyReportRenderer {
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 07 20:38:43 GMT 2023 - 7.2K bytes - Viewed (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 03 15:59:41 GMT 2023 - 5.8K bytes - Viewed (1) -
docs_src/security/tutorial003_py310.py
raise HTTPException(status_code=400, detail="Incorrect username or password") return {"access_token": user.username, "token_type": "bearer"} @app.get("/users/me") async def read_users_me(current_user: User = Depends(get_current_active_user)):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 2.4K bytes - Viewed (0) -
docs_src/security/tutorial003_an.py
raise HTTPException(status_code=400, detail="Incorrect username or password") return {"access_token": user.username, "token_type": "bearer"} @app.get("/users/me") async def read_users_me( current_user: Annotated[User, Depends(get_current_active_user)], ):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 2.5K bytes - Viewed (0) -
docs_src/security/tutorial003_an_py310.py
raise HTTPException(status_code=400, detail="Incorrect username or password") return {"access_token": user.username, "token_type": "bearer"} @app.get("/users/me") async def read_users_me( current_user: Annotated[User, Depends(get_current_active_user)], ):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 2.5K bytes - Viewed (0) -
docs/em/docs/tutorial/path-params.md
💖 `/users/me`, ➡️ 💬 👈 ⚫️ 🤚 📊 🔃 ⏮️ 👩💻. & ⤴️ 👆 💪 ✔️ ➡ `/users/{user_id}` 🤚 💽 🔃 🎯 👩💻 👩💻 🆔. ↩️ *➡ 🛠️* 🔬 ✔, 👆 💪 ⚒ 💭 👈 ➡ `/users/me` 📣 ⏭ 1️⃣ `/users/{user_id}`: ```Python hl_lines="6 11" {!../../../docs_src/path_params/tutorial003.py!} ``` ⏪, ➡ `/users/{user_id}` 🔜 🏏 `/users/me`, "💭" 👈 ⚫️ 📨 🔢 `user_id` ⏮️ 💲 `"me"`. ➡, 👆 🚫🔜 ↔ ➡ 🛠️:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
import gradlebuild.binarycompatibility.upgrades.UpgradedProperty.ReplacedAccessor; import gradlebuild.binarycompatibility.upgrades.UpgradedProperty.AccessorKey; import me.champeau.gradle.japicmp.report.PostProcessViolationsRule; import me.champeau.gradle.japicmp.report.ViolationCheckContextWithViolations; import org.gradle.util.internal.CollectionUtils; import java.util.HashMap; import java.util.Map; import java.util.Set;
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 3.4K bytes - Viewed (0) -
docs_src/security/tutorial006.py
from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Depends(security)):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 321 bytes - Viewed (0)