Fetching contributors…
Cannot retrieve contributors at this time
38 lines (20 sloc) 736 Bytes

Add _db suffix to variables for single entities. For example: user_db = User.query().get()

Add _dbs suffix to variables for list of entities. For example: user_dbs = User.query().fetch()

Add _qry suffix to variables for queries. For example: user_qry = User.query()

Specify the UTF-8 encoding in every file: # coding: utf-8.

Use trailing commas in multi-line array lists.

Use single quotes ', but avoid escaping.

Every import should be on separate line.

Imports should be grouped in the following order:

  1. standard library imports
  2. related third party imports
  3. local application/library specific imports

You should put a blank line between each group of imports.