Skip to content

Commit

Permalink
remove unneeded pass statements
Browse files Browse the repository at this point in the history
  • Loading branch information
DanCech committed Nov 3, 2017
1 parent 7e3c98b commit 3d856e8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions webapp/graphite/tags/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class BaseTagDB(object):

def __init__(self):
"""Initialize the tag db."""
pass

@logtime
def find_series(self, tags, timer=None):
Expand Down Expand Up @@ -56,7 +55,6 @@ def _find_series(self, tags):
"""
Internal function called by find_series, follows the same semantics allowing base class to implement caching
"""
pass

@abc.abstractmethod
def get_series(self, path):
Expand All @@ -65,7 +63,6 @@ def get_series(self, path):
If the path is not found in the TagDB, returns None.
"""
pass

@abc.abstractmethod
def list_tags(self, tagFilter=None):
Expand All @@ -84,7 +81,6 @@ def list_tags(self, tagFilter=None):
Accepts an optional filter parameter which is a regular expression used to filter the list of returned tags
"""
pass

@abc.abstractmethod
def get_tag(self, tag, valueFilter=None):
Expand All @@ -108,7 +104,6 @@ def get_tag(self, tag, valueFilter=None):
Accepts an optional filter parameter which is a regular expression used to filter the list of returned tags
"""
pass

@abc.abstractmethod
def list_values(self, tag, valueFilter=None):
Expand All @@ -129,21 +124,18 @@ def list_values(self, tag, valueFilter=None):
Accepts an optional filter parameter which is a regular expression used to filter the list of returned tags
"""
pass

@abc.abstractmethod
def tag_series(self, series):
"""
Enter series into database. Accepts a series string, upserts into the TagDB and returns the canonicalized series name.
"""
pass

@abc.abstractmethod
def del_series(self, series):
"""
Remove series from database. Accepts a series string and returns True
"""
pass

def auto_complete_tags(self, exprs, tagPrefix=None, limit=None):
"""
Expand Down

0 comments on commit 3d856e8

Please sign in to comment.