Skip to content

Commit

Permalink
fill none
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Sep 24, 2024
1 parent 5ca5e40 commit cf82768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fiftyone/migrations/revisions/v1_0_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def up(db, dataset_name):

now = datetime.utcnow()

# Add `last_modified_at` property
if "last_modified_at" not in dataset_dict:
# Populate `Dataset.last_modified_at`
if dataset_dict.get("last_modified_at", None) is None:
dataset_dict["last_modified_at"] = now

added_created_at_samples = False
Expand Down

0 comments on commit cf82768

Please sign in to comment.