How to Solve NameError: name 'assisted_volume_snapshots' is not defined -- nova

Solution: Import the 'assisted_volume_snapshots' module

# Add the following line to the top of your code
from nova.policies import assisted_volume_snapshots

 

For more information:
nova assisted_volume_snapshots