FitTrackee/fittrackee/activities/utils_id.py

10 lines
159 B
Python
Raw Normal View History

2020-12-30 22:07:43 +01:00
import shortuuid
def encode_uuid(uuid_value):
return shortuuid.encode(uuid_value)
def decode_short_id(short_id):
return shortuuid.decode(short_id)