def create_from_args(args):

    endpoint_name = args.endpoint
    for entry_point in pkg_resources.iter_entry_points("cassback.endpoints"):            
        
        endpoint_class = entry_point.load()
        if endpoint_class.name == endpoint_name:
            return endpoint_class(args)

    raise RuntimeError((endpoint_name,) % "Unknown endpoint name %s")
dataset/ETHPy150Open amorton/cassback/cassback/endpoints/endpoints.py/create_from_args/swapped operands of `%`