Skip to content

Commit 5b3963f

Browse files
Stephanie ReederStephanie Reeder
authored andcommitted
add createannotations)
1 parent b99d4f1 commit 5b3963f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

odm2api/ODM2/services/createService.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ def createFeatureAction(self, action):
103103
self._session.commit()
104104
return action
105105

106+
def createAnnotations(self, anno):
107+
self._session.add(anno)
108+
self._session.commit()
109+
110+
return anno
111+
106112
def createRelatedAction(self, relatedaction):
107113
self._session.add(relatedaction)
108114
self._session.commit()

0 commit comments

Comments
 (0)