Skip to content

Commit

Permalink
removing overwrite in field type
Browse files Browse the repository at this point in the history
  • Loading branch information
taxe10 committed Aug 18, 2023
1 parent 18c23dd commit 3c3fa97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tagging/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class DatasetType(str, Enum):
tiled = "tiled"
file = "file"
web = "web"
not_defined = None


class DatasetCollection(Persistable):
Expand All @@ -60,7 +59,7 @@ class Dataset(BaseModel, extra='forbid'):
uid: str = DEFAULT_UID
schema_version: str = SCHEMA_VERSION
project: str = None
type: DatasetType = "not_defined"
type: DatasetType
uri: str = None
tags: Optional[List[Tag]] = None

Expand Down

0 comments on commit 3c3fa97

Please sign in to comment.