Module ImportFrom alias ImportFrom alias identifier FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad attr If NameLoad body Return NameLoad orelse Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad attr If CompareIs NameLoad NameLoad body Raise Call NameLoad keyword BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list
N/A pyramid.httpexceptions HTTPNotFound pyramid.i18n TranslationString _ get_or_create N/A N/A session model N/A kw N/A N/A  Django's get_or_create function

http://stackoverflow.com/questions/2546207/does-sqlalchemy-have-an-equivalent-of-djangos-get-or-create
     N/A obj N/A N/A N/A N/A N/A N/A session query model filter_by kw first N/A obj N/A N/A obj N/A N/A obj N/A model kw N/A N/A N/A session add obj N/A N/A N/A session flush N/A obj N/A get_object_or_404 N/A N/A session model N/A kw N/A N/A  Django's get_object_or_404 function
     N/A obj N/A N/A N/A N/A N/A N/A session query model filter_by kw first N/A N/A obj None N/A N/A N/A HTTPNotFound detail N/A N/A _ No %s matches the given query. N/A model __name__ N/A obj N/A merge_session_with_post N/A N/A session post N/A N/A N/A  Basic function to merge data into an sql object.
        This function doesn't work with relations.
     N/A N/A key value post N/A N/A N/A setattr session key value N/A session N/A