![](https://secure.gravatar.com/avatar/b009b2809a98fc29d87d2ef8a9609005.jpg?s=120&d=mm&r=g)
I’m going to store as string representation of the integer as I don’t want to be dealing with databases or anything else that makes a distinction between different types and lengths of integer. Ideally the identifier would match the core internal identifier which is UUID but since userid-as-UUID is not seen from the REST API side of things then I’ll act like that concept does not exist and hope I’m not making things more confused around user id.
On 1 Feb 2015, at 11:31 am, Andrew Stuart <andrew.stuart@supercoders.com.au> wrote:
I have read previous discussion here about format of user_id
https://mail.python.org/pipermail/mailman-developers/2014-October/024024.htm...
That’s fine, I understand the issues.
The question is, I am storing user ids and it’s not clear to me if I should be storing them as INTs as returned by the REST API or converting back to UUID?
It’s important to get right now because Im going to use the same approach everywhere.
thanks
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/andrew.stuart%40s...
Security Policy: http://wiki.list.org/x/QIA9