Skip to content

Commit

Permalink
comment out all remote references in CodeDriver and GitCodeDriver and…
Browse files Browse the repository at this point in the history
… respective tests. rearranged code to match tests. should fix one point by #141
  • Loading branch information
asampat3090 committed May 19, 2018
1 parent a7d0861 commit 69234d6
Show file tree
Hide file tree
Showing 3 changed files with 511 additions and 510 deletions.
64 changes: 32 additions & 32 deletions datmo/core/controller/code/driver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,38 +91,38 @@ def list_refs(self):
"""
pass

@abstractmethod
def push_ref(self, commit_id="*"):
"""Push commit reference given
Parameters
----------
commit_id : str, optional
commit id for commit ref (default is * to signify
all refs)
Returns
-------
bool
True if success
"""
pass

@abstractmethod
def fetch_ref(self, commit_id):
"""Fetch commit reference given
Parameters
----------
commit_id : str
commit id for commit ref
Returns
-------
bool
True if success
"""
pass
# @abstractmethod
# def push_ref(self, commit_id="*"):
# """Push commit reference given
#
# Parameters
# ----------
# commit_id : str, optional
# commit id for commit ref (default is * to signify
# all refs)
#
# Returns
# -------
# bool
# True if success
# """
# pass
#
# @abstractmethod
# def fetch_ref(self, commit_id):
# """Fetch commit reference given
#
# Parameters
# ----------
# commit_id : str
# commit id for commit ref
#
# Returns
# -------
# bool
# True if success
# """
# pass

@abstractmethod
def checkout_ref(self, commit_id, remote=False):
Expand Down
Loading

0 comments on commit 69234d6

Please sign in to comment.