Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

DBSession as default parameter #92

Open
ThomasJunk opened this issue Sep 12, 2017 · 0 comments
Open

DBSession as default parameter #92

ThomasJunk opened this issue Sep 12, 2017 · 0 comments

Comments

@ThomasJunk
Copy link
Member

def load(self, id, db=DBSession, cache="", uuid=False, field=None):

came with the last Pullrequest #90

Is not the common python pattern, but from my point of view without problems (DBSession is already treated like a "singleton").

@g-tom @toirl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant