From aa13a556d67e926aca6e3053aa383d9cdf5a88b1 Mon Sep 17 00:00:00 2001 From: zevaryx Date: Tue, 3 May 2022 09:21:32 -0600 Subject: [PATCH] Add orphaned state for embedded actions --- jarvis_core/db/models/modlog.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jarvis_core/db/models/modlog.py b/jarvis_core/db/models/modlog.py index 56122b8..378dcb4 100644 --- a/jarvis_core/db/models/modlog.py +++ b/jarvis_core/db/models/modlog.py @@ -19,6 +19,7 @@ class Action(EmbeddedDocument): action_type: str = fields.StringField(required=True) parent: ObjectId = fields.ObjectIdField(required=True) + orphaned: bool = fields.BoolField(default=False) @JARVIS_INST.register diff --git a/pyproject.toml b/pyproject.toml index ba185df..e8a8cc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "jarvis-core" -version = "0.9.0" +version = "0.9.1" description = "JARVIS core" authors = ["Zevaryx "]