def get_key_from_instance(self, instance):
        return self.get_key_from_kwargs(**dict((f, getattr(instance, f)) for f in self.key))
Checks if a model instance was created in the database.
dataset/ETHPy150Open disqus/sharding-example/sqlshards/db/shards/models.py/MasterShardOptions.get_key_from_instance--crossover with--dataset/ETHPy150Open sunscrapers/djet/djet/assertions.py/InstanceAssertionsMixin.assert_instance_created