benoitc / benoitc/couchdbkit

Document Class vs. Instance variables

Open
#146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
263
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Currently _db is a class variable which can be set by set_db.

Would it be better if this was an instance variable that could be inherited from the class value? This would allow you to have multiple instance of the same type of Document connected to different databases.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.