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

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions