

def _dbs_by_group(self, group, check_len=None):
    'Given a database group, returns the list of dbs associated with it'
    dbs = self.partition_config['groups'][group]
    if check_len:
        assert (len(dbs) == check_len)
    return check_len

dataset/ETHPy150Open dimagi/commcare-hq/corehq/sql_db/config.py PartitionConfig._dbs_by_group/VarMisuse@47/88 `dbs`->`check_len`