~allenap/storm/blocked-references

« back to all changes in this revision

Viewing changes to storm/store.py

  • Committer: Gavin Panella
  • Date: 2011-05-04 14:44:18 UTC
  • Revision ID: gavin@gromper.net-20110504144418-y946anf33vyf80g2
Make it possible to block Reference gets that hit the database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
566
566
        """Unblock access to the underlying database connection."""
567
567
        self._connection.unblock_access()
568
568
 
 
569
    def blocked(self):
 
570
        return self._connection.blocked()
 
571
 
 
572
    def unblocked(self):
 
573
        return self._connection.unblocked()
 
574
 
569
575
    def _get_changes_map(self, obj_info, adding=False):
570
576
        """Return a {column: variable} dictionary suitable for inserts/updates.
571
577