Skip to content
Snippets Groups Projects
Commit ace8dbcb3fe0 authored by Elouan Martinet's avatar Elouan Martinet
Browse files

[storages] Fix docstrings

parent a6d52e881cdf
No related branches found
No related tags found
1 merge request!21Draft: Topic/default/callback precommit
...@@ -137,10 +137,6 @@ ...@@ -137,10 +137,6 @@
""" """
Return the S3 key of the S3 object storing the content of attribute Return the S3 key of the S3 object storing the content of attribute
attr of the entity. attr of the entity.
If the given entity already has a key (eg. at entity creation time),
a new key is generated.
""" """
try: try:
rset = entity._cw.execute( rset = entity._cw.execute(
...@@ -160,7 +156,7 @@ ...@@ -160,7 +156,7 @@
def new_s3_key(self, entity, attr): def new_s3_key(self, entity, attr):
"""Generate a new key for given entity attr. """Generate a new key for given entity attr.
This implemenation just return a random UUID""" This implementation just returns a random UUID"""
return str(uuid.uuid1()) return str(uuid.uuid1())
def suffixed_key(self, key): def suffixed_key(self, key):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment