Skip to content

Commit

Permalink
fix: dataset other
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydawka committed Oct 21, 2023
1 parent c7617d0 commit f62f1e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions model/dataset_metadata/dataset_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@
class DatasetOther(db.Model): # type: ignore
def __init__(self, dataset):
self.dataset = dataset
self.resource_type = ""
self.language = None
self.managing_organization_name = ""
self.managing_organization_ror_id = ""
self.size = ""
self.standards_followed = ""
self.acknowledgement = ""
self.publisher = []

__tablename__ = "dataset_other"

resource_type = db.Column(db.String, nullable=False)
language = db.Column(db.String, nullable=True)
managing_organization_name = db.Column(db.String, nullable=False)
Expand Down

0 comments on commit f62f1e0

Please sign in to comment.