(row: Dict)
| 20 | |
| 21 | @staticmethod |
| 22 | def build(row: Dict): |
| 23 | encrypted_apikey = row["encrypted_apikey"] |
| 24 | apikey = aes_decrypt(encrypted_apikey) |
| 25 | return Apikey( |
| 26 | apikey_id=row["apikey_id"], |
| 27 | encrypted_apikey=encrypted_apikey, |
| 28 | apikey=apikey, |
| 29 | name=row["name"], |
| 30 | created_timestamp=row["created_timestamp"], |
| 31 | updated_timestamp=row["updated_timestamp"], |
| 32 | ) |
| 33 | |
| 34 | def to_response_dict(self) -> Dict: |
| 35 | response_dict = super().to_response_dict() |
nothing calls this directly
no test coverage detected