def perform_import(val, setting_name):
    if val is None:
        return None
    elif isinstance(val, six.string_types):
        return import_from_string(val, setting_name)
    elif isinstance(val, (list, tuple)):
        return [import_from_string(item, setting_name) for item in val]
    return val
Get the group of connected same-color stones to the given position
dataset/ETHPy150Open ankitpopli1891/django-autotranslate/autotranslate/utils.py/perform_import--crossover with--dataset/ETHPy150Open Rochester-NRT/RocAlphaGo/AlphaGo/go.py/GameState.get_group