Mahmudul Hassan
Mahmudul Hassan
i am facing this problem .  Any help . Thanks
Here suppose deposit updated successfully but user balance not updated because of error. in that case how to rollback ``` def status_change(self,id: int, entity: DepositUpdate) -> Deposit: # first call...
```def authenticate(email, password): # step 1 try: user_obj = User.objects.get(email=email) except Exception as e: user_obj = None if user_obj: if not user_obj.verify_password(password): return None return user_obj```
https://www.npmjs.com/package/xss-clean. can you replace this package with any updated one. Thanks
Hello i am using this example : https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/fastapi-sqlalchemy/webapp it is working fine . Trying to use different database for testing . but can not setup a pytest fixture for override...