<s> from cloudferry . lib . base . action import action <EOL> class SnapTransfer ( action . Action ) : <EOL> def __init__ ( self , init , driver , <EOL> snap_position ) : <EOL> super ( SnapTransfer , self ) . __init__ ( init ) <EOL> self . driver = driver ( self . src_cloud , self . dst_cloud ) <EOL> self . snap_position = snap_position <EOL> def run ( self , volume , snapshot_info , ** kwargs ) : <EOL> self . driver . transfer ( volume , snapshot_info , self . snap_position ) <EOL> return { } </s>
