- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for doc_id (0.14 sec)
-
docs_src/nosql_databases/tutorial001.py
disabled: Union[bool, None] = None class UserInDB(User): type: str = USERPROFILE_DOC_TYPE hashed_password: str def get_user(bucket: Bucket, username: str): doc_id = f"userprofile::{username}" result = bucket.get(doc_id, quiet=True) if not result.value: return None user = UserInDB(**result.value) return user # FastAPI specific code app = FastAPI()
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 1.3K bytes - Viewed (0)