def get_shards(self):
        shard_config = self.partition_config['shards']
        host_map = self.partition_config.get('host_map', {})
        db_shards = []
        for db, shard_range in shard_config.items():
            db_shards.extend([DbShard(shard_num, db) for shard_num in range(shard_range[0], shard_range[1] + 1)])
        db_shards = sorted(db_shards, key=lambda shard: shard.shard_id)
        return [shard.to_shard_meta(host_map) for shard in db_shards]
Returns data about the products that were found.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/sql_db/config.py/PartitionConfig.get_shards--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/pipedrive/products.py/Products.find