def METHOD_NAME(self, regi: Dict[str, Any]) -> str:
    regi_size = regi['size'] if 'size' in regi.keys() else None
    fixed_addr = regi['fixed_address'] if 'fixed_address' in regi.keys() else None
    if 'register' in regi.keys():
        ret = f'register: {regi["register"]}, base_field: {regi["base_field"]}, size: {regi_size}, fixed_address: {fixed_addr}'
    else:
        ret = f'bus: {regi["bus"]}, dev: {regi["dev"]}, func: {regi["fun"]}, mask: {regi["mask"]}, width: {regi["width"]}, size: {regi_size}, fixed_address: {fixed_addr}'
    return ret