Correct 'scope' usage in code snippet

```"""Get data from ENM for cells configured on ENM."""

import os

import enmscripting


class EnmCli(object, scope):
    """Present ENM interface for getting data for cells configured on ENM."""

    BbuENodeBFunctionFea = [
        "FeatureState.(FeatureStateId=='CXC4010320',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010512',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010613',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010616',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010618',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010770',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010912',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010956',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010973',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4010974',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011011',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011033',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011075',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011157',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011183',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011251',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011258',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011319',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011327',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011345',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011366',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011370',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011373',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011376',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011378',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011422',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011444',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011478',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011479',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011482',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011515',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011559',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011663',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011664',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011711',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011713',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011714',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011715',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011820',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011910',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011913',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011937',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011938',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011939',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011940',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011946',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011955',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011969',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011973',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011975',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4011991',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4012003',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4012018',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4040007',FeatureState)",
        "FeatureState.(FeatureStateId=='CXC4040008',FeatureState)",
    ]

    cli_commands = {
        'all_RBS': 'cmedit get *RBS_*',

        'BBU_ENodeBFunction_fea': 'cmedit get {scope} {params}'.format(
            params=';'.join(BbuENodeBFunctionFea), scope=';'.join(scope),
        ),
    }

 @classmethod
    def execute_cli_command(cls, command, enm_name, scope):
        """
        Execute ENM CLI commands.

        Args:
            enm_name: ENM server name
            command: string

        Returns:
            enmscripting ElementGroup
        """
        enm_server = ''
        if enm_name == 'ENM_1':
            enm_server = os.getenv('ENM_SERVER_1')
        elif enm_name == 'ENM_2':
            enm_server = os.getenv('ENM_SERVER_2')

        session = enmscripting.open(enm_server).with_credentials(
            enmscripting.UsernameAndPassword(
                os.getenv('ENM_LOGIN'),
                os.getenv('ENM_PASSWORD'),
            ),
        )
        enm_cmd = session.command()
        response = enm_cmd.execute(cls.cli_commands[command], scope)
        enmscripting.close(session)
        return response.get_output()


def enm_main(mo_type, enm, scope):
    """
    Update network live with ENM cells.

    Args:
        mo_type: string
        enm: enm server

    Returns:
        string
    """

    if mo_type == 'BbuENodeBFunctionFea_base':
        enm_bbu_feature = EnmCli.execute_cli_command('BBU_ENodeBFunction_fea', enm, scope)
        bbu_feature_sort = parse_fea(enm_bbu_feature)
        bbu_features = combine_fea(bbu_feature_sort, len(EnmCli.BbuENodeBFunctionFea))
        if bbu_features:
            return compare(bbu_features, Baseline.BbuENodeBFunctionFea_base)


base = [name for name, obj in vars(Baseline).items() if isinstance(obj, dict)]
subnetworks_enm2 = get_enm_subnetworks(EnmCli.execute_cli_command('all_RBS', 'ENM_2'))
subnetworks_enm1 = get_enm_subnetworks(EnmCli.execute_cli_command('all_RBS', 'ENM_1'))

# start_time = datetime.now()
inconslist = []
parslist = []
total_delta = []
output1 = [enm_main(b, 'ENM_1',subnetworks_enm1) for b in base]
output2 = [enm_main(b, 'ENM_2',subnetworks_enm2) for b in base]
output = output1 + output2```