Skip to content

Commit

Permalink
Merge pull request #35 from ra1nty/fix-annotation
Browse files Browse the repository at this point in the history
Import annotation
  • Loading branch information
zli117 authored Mar 12, 2019
2 parents 0c2fb6b + 20eae0b commit 9d7e137
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions instadam/models/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from flask import current_app as app
from sqlalchemy.orm import relationship

from instadam.models.annotation import Annotation

from instadam.models.project import Project
from instadam.utils.file import (get_project_dir,
parse_and_validate_file_extension)
Expand Down
2 changes: 2 additions & 0 deletions instadam/models/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# from instadam.models.project import label_project_association_table
from ..app import db

from instadam.models.annotation import Annotation


class Label(db.Model):
"""Class label is a database model to represent an label
Expand Down
2 changes: 2 additions & 0 deletions instadam/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
from sqlalchemy.orm import relationship
from werkzeug.security import check_password_hash, generate_password_hash

from instadam.models.annotation import Annotation

from ..app import db


Expand Down

0 comments on commit 9d7e137

Please sign in to comment.