sync rm unused get_id function
This commit is contained in:
1 parent
09b41182ce
commit
a15f030956
1 file changed
-7
@@ -5,13 +5,6 @@ from sync import untouched
|
||||
from sync.data import Provider
|
||||
|
||||
|
||||
def get_id(item):
|
||||
try:
|
||||
return item.id
|
||||
except AttributeError:
|
||||
return item['id']
|
||||
|
||||
|
||||
class Sync:
|
||||
def __init__(self, provider: Provider, model):
|
||||
super().__init__()
|
||||
|
||||
Reference in new issue
Block a user