Skip to content

Commit 0e4f1f7

Browse files
committed
add placeholder schema for anomaly db
1 parent 6b921ac commit 0e4f1f7

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

hypernets_processor/data_io/format/databases.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@
4040
# Metadata Database
4141
METADATA_DB = {}
4242

43-
# Anolomy Database
44-
ANOMOLY_DB = {}
43+
# Anomaly Database
44+
ANOMALY_DB = {"anomalies": {"columns": {"anomaly": {"type": str},
45+
"raw_product_name": {"type": str},
46+
"site": {"type": str}
47+
}
48+
}
49+
}
4550

4651
# Archive Database
4752
ARCHIVE_DB = {"products": {"columns": {"product_name": {"type": str},
@@ -56,5 +61,5 @@
5661
# --------------------
5762

5863
DB_DICT_DEFS = {"metadata": METADATA_DB,
59-
"anomoly": ANOMOLY_DB,
64+
"anomaly": ANOMALY_DB,
6065
"archive": ARCHIVE_DB}

0 commit comments

Comments
 (0)