Skip to content

Instantly share code, notes, and snippets.

@sunapi386
Created June 24, 2014 02:59
Show Gist options
  • Save sunapi386/8f395711409c9fde93c7 to your computer and use it in GitHub Desktop.
Save sunapi386/8f395711409c9fde93c7 to your computer and use it in GitHub Desktop.
Make Rooms in Claims
r = session.query(ClaimRoom)[-1]
for name in range(0,10):
ClaimAsset(room=r,product_type_name=name,simple=False)
session.commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment