griffithlab/civicpy

refactor object retrieval from cache

ahwagner opened this issue · 0 comments

Currently, _include_filter gets cached, and could mistakenly be retrieved from cache. Refactor calls to cache to always build new CivicRecord objects to prevent _include_filter (and other private variables) from propagating and potentially creating unintended behaviors.