def register_sync_strategy(session, strategy_cls, sync_type='file_at_src_and_dest'):
 strategy = strategy_cls(sync_type)
 strategy.register_strategy(session)

def register_sync_strategy ( session , strategy_cls , sync_type = 'file_at_src_and_dest' ) : strategy = strategy_cls ( sync_type ) strategy . register_strategy ( session )
registers a single sync strategy .