def databoxedge_device_update(client, device_name, resource_group_name, tags=None):
    if (tags is None):
        return client.get(device_name=device_name, resource_group_name=resource_group_name)
    parameters = {'tags': tags}
    return client.update(device_name=device_name, resource_group_name=resource_group_name, parameters=parameters)
def databoxedge_device_update(client, device_name, resource_group_name, tags=None):
    if (tags is None):
        return client.get(device_name=device_name, resource_group_name=resource_group_name)
    parameters = {'tags': tags}
    return client.update(device_name=device_name, resource_group_name=resource_group_name, parameters=parameters)