code review feedback

This commit is contained in:
Kenneth Kehl
2023-08-15 14:50:41 -07:00
parent c5008da8df
commit f2f0e5a0f1
10 changed files with 2 additions and 165 deletions

View File

@@ -679,10 +679,7 @@ class ServiceInboundApi(db.Model, Versioned):
@property
def bearer_token(self):
# Column is non-nullable
# if self._bearer_token:
return encryption.decrypt(self._bearer_token)
# return None
@bearer_token.setter
def bearer_token(self, bearer_token):
@@ -719,10 +716,7 @@ class ServiceCallbackApi(db.Model, Versioned):
@property
def bearer_token(self):
# There is a non-null constraint on this column
# if self._bearer_token:
return encryption.decrypt(self._bearer_token)
# return None
@bearer_token.setter
def bearer_token(self, bearer_token):
@@ -777,10 +771,7 @@ class ApiKey(db.Model, Versioned):
@property
def secret(self):
# Column is non-nullable
# if self._secret:
return encryption.decrypt(self._secret)
# return None
@secret.setter
def secret(self, secret):