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

DBSession as default parameter #92

@ThomasJunk

Description

@ThomasJunk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions