diff options
| -rw-r--r-- | ricky/params/__init__.py | 11 | ||||
| -rw-r--r-- | ricky/pb.py | 3 |
2 files changed, 1 insertions, 13 deletions
diff --git a/ricky/params/__init__.py b/ricky/params/__init__.py index da4562f..a48f681 100644 --- a/ricky/params/__init__.py +++ b/ricky/params/__init__.py @@ -9,7 +9,6 @@ import ricky.utils as utils class Params(object): def __init__(self, *args): - self._api = None self._url = None self._params = tuple(args) @@ -32,7 +31,7 @@ class Params(object): else: filepath = os.path.join( PROBABILITIES_DIR, - "%s.json" % (self.api.__class__.__name__) + "%s.json" % (self.__class__.__name__) ) try: f = open(filepath, 'r') @@ -65,15 +64,7 @@ class Params(object): for param in self._params: param.randomize(probabilities=probabilities_dict.get(param.name)) - @property - def api(self): - """property setter for im api""" - return self._api - @api.setter - def api(self, cls): - """property getter for im api""" - self._api = cls def execute(self): """calls the associated api""" diff --git a/ricky/pb.py b/ricky/pb.py deleted file mode 100644 index fe0cb0f..0000000 --- a/ricky/pb.py +++ /dev/null @@ -1,3 +0,0 @@ -class Pb(object): - def __init__(self): - pass |
