These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async def transfer( | |
| self, | |
| uow: UnitOfWork, | |
| from_user_h_id: int, | |
| to_user_h_id: int, | |
| sender_amount: amount_decimal(gt=0), | |
| recipient_amount: amount_decimal(gt=0), | |
| payment_system_h_id: int | |
| ) -> Optional[int]: | |
| from_user_h = await Handlers.user_history.get_one(uow, id=from_user_h_id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async def _done( | |
| self, | |
| uow: UnitOfWork, | |
| current_order: OrderSchemaFromDB, | |
| update_order: OrderSchemaUpdateForSeller | |
| ): | |
| """ | |
| - create a transaction | |
| - increase daily volume for seller and buyer | |
| - update order |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async def edit_for_seller( | |
| self, | |
| uow: UnitOfWork, | |
| current_order: OrderSchemaFromDB, | |
| update_order: OrderSchemaUpdateForSeller | |
| ) -> None: | |
| async with self.lock.lock("order", str(current_order.id)): | |
| message = None | |
| if current_order.status == OrderStatusSchema.TRANSFERRING: | |
| if update_order.status == OrderStatusSchema.DONE: |