Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create SQLite mixin #53

Open
dlqqq opened this issue Dec 6, 2022 · 0 comments
Open

create SQLite mixin #53

dlqqq opened this issue Dec 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dlqqq
Copy link
Collaborator

dlqqq commented Dec 6, 2022

Helps ensure self.con is of type SQLite connection whenever it is used, and allows us to remove redundant type assertions, e.g.

if not hasattr(self, "con") or self.con is None:
    return

See discussion in #49.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant