teoat commited on
Commit
291a9ec
·
verified ·
1 Parent(s): ecb8770

Upload core/security/encryption.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. core/security/encryption.py +2 -0
core/security/encryption.py CHANGED
@@ -81,6 +81,8 @@ class VersionedEncryptedString(TypeDecorator):
81
  class EncryptedString(VersionedEncryptedString):
82
  """Backward compatibility alias for VersionedEncryptedString"""
83
 
 
 
84
 
85
  # Helper methods
86
  def encrypt_value(value: str) -> str:
 
81
  class EncryptedString(VersionedEncryptedString):
82
  """Backward compatibility alias for VersionedEncryptedString"""
83
 
84
+ cache_ok = True
85
+
86
 
87
  # Helper methods
88
  def encrypt_value(value: str) -> str: