couchdbkit icon indicating copy to clipboard operation
couchdbkit copied to clipboard

Document Class vs. Instance variables

Open ryanolson opened this issue 13 years ago • 0 comments

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.

ryanolson avatar Aug 26 '12 07:08 ryanolson