Esempio n. 1
0
 def mock_get_syncer_fn(local_dir, remote_dir, sync_function):
     client = mock_storage_client()
     return MockNodeSyncer(local_dir, remote_dir, client)
Esempio n. 2
0
 def _create_trial_syncer(self, trial: "Trial"):
     client = mock_storage_client()
     return MockNodeSyncer(trial.logdir, trial.logdir, client)