Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> from nova import objects
- >>> objects.register_all()
- >>> i = objects.Instance()
- >>> i.id = 123
- >>> i.attr_is_set('id')
- True
- >>> hasattr(i, '_obj_id')
- True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement