method

to_id

to_id(obj)
public

Convert an object into a reference id.

This implementation returns the object’s __id__ in the local object space.