Skip to content

Commit

Permalink
:add: API to save/delete models
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdd committed Jul 12, 2016
1 parent 668f556 commit d164ffe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion link/model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-

__version__ = '0.2'
__version__ = '0.3'

CONF_BASE_PATH = 'link/model'
6 changes: 6 additions & 0 deletions link/model/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,9 @@ def __str__(self):

def __repr__(self):
return 'Model(data_id={0})'.format(self[self.DATA_ID])

def save(self):
raise NotImplementedError()

def delete(self):
raise NotImplementedError()

0 comments on commit d164ffe

Please sign in to comment.