From 293beee813a15d7be923dbf2718cd3be482e37e8 Mon Sep 17 00:00:00 2001 From: Josey Date: Fri, 4 Nov 2022 13:00:29 -0400 Subject: [PATCH 1/2] collection_names -> list_collection_names --- fiftyone/migrations/revisions/v0_6_2.py | 2 +- fiftyone/server/static/404.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 fiftyone/server/static/404.html diff --git a/fiftyone/migrations/revisions/v0_6_2.py b/fiftyone/migrations/revisions/v0_6_2.py index 927179fcbe..768c2bc937 100644 --- a/fiftyone/migrations/revisions/v0_6_2.py +++ b/fiftyone/migrations/revisions/v0_6_2.py @@ -34,7 +34,7 @@ def up(db, dataset_name): if c.startswith("frames.") and ".".join(c.split(".")[1:]) not in colls: db[c].drop() - colls = set(db.collection_names()) + colls = set(db.list_collection_names()) match_d = {"name": dataset_name} dataset_dict = db.datasets.find_one(match_d) diff --git a/fiftyone/server/static/404.html b/fiftyone/server/static/404.html deleted file mode 100644 index 8b13789179..0000000000 --- a/fiftyone/server/static/404.html +++ /dev/null @@ -1 +0,0 @@ - From 8d835254e9736e1accadb29c39387aa06814306d Mon Sep 17 00:00:00 2001 From: Josey Date: Fri, 4 Nov 2022 13:18:40 -0400 Subject: [PATCH 2/2] adding 404 back in, i don't know why it was deleted --- fiftyone/server/static/404.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 fiftyone/server/static/404.html diff --git a/fiftyone/server/static/404.html b/fiftyone/server/static/404.html new file mode 100644 index 0000000000..e69de29bb2