- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Update (0.14 sec)
-
docs_src/body/tutorial004_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 09 14:28:58 GMT 2024 - 408 bytes - Viewed (0) -
docs_src/security/tutorial004_py310.py
to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt async def get_current_user(token: str = Depends(oauth2_scheme)):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4K bytes - Viewed (0) -
docs_src/query_params/tutorial004_py310.py
async def read_user_item( user_id: int, item_id: str, q: str | None = None, short: bool = False ): item = {"item_id": item_id, "owner_id": user_id} if q: item.update({"q": q}) if not short: item.update( {"description": "This is an amazing item that has a long description"} )
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 436 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial004_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed May 11 17:29:02 GMT 2022 - 455 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial004_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 786 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial004_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 10 18:49:18 GMT 2023 - 603 bytes - Viewed (0) -
docs_src/dependencies/tutorial004_py310.py
@app.get("/items/") async def read_items(commons: CommonQueryParams = Depends()): response = {} if commons.q: response.update({"q": commons.q}) items = fake_items_db[commons.skip : commons.skip + commons.limit] response.update({"items": items})
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 607 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial004_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 335 bytes - Viewed (0)