From 7679d9be76cd3be4cdaf1d02b63ec54ef05a8d39 Mon Sep 17 00:00:00 2001
From: teplyakov <teolyakov@perx.ru>
Date: Thu, 21 Nov 2024 15:25:57 +0300
Subject: [PATCH 1/2] Revert "feat: AUTO-3479 Add State enum"

This reverts commit 46169340c8e0a064c6eaf8c331ca9551c69bdf1f.
---
 perxis-proto     | 2 +-
 perxis/models.py | 9 ---------
 setup.py         | 2 +-
 3 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/perxis-proto b/perxis-proto
index 00019d4..f10336d 160000
--- a/perxis-proto
+++ b/perxis-proto
@@ -1 +1 @@
-Subproject commit 00019d48da9824bbf43354502f15d5ea4016f931
+Subproject commit f10336dc4a4f58111c12dd95afec82be18388803
diff --git a/perxis/models.py b/perxis/models.py
index 0e50403..e3a1d57 100644
--- a/perxis/models.py
+++ b/perxis/models.py
@@ -1,5 +1,3 @@
-import enum
-
 from dataclasses import dataclass
 
 
@@ -8,10 +6,3 @@ class Reference:
     id: str
     collection_id: str
     disabled: bool = False
-
-
-class State(str, enum.Enum):
-    DRAFT = "DRAFT"
-    PUBLISHED = "PUBLISHED"
-    CHANGED = "CHANGED"
-    ARCHIVED = "ARCHIVED"
diff --git a/setup.py b/setup.py
index 210545e..e7e5226 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ def load_requirements():
 
 setup(
     name='perxis',
-    version='1.7.3',
+    version='1.7.2',
     description='Perxis python client',
     long_description=long_description,
     long_description_content_type='text/markdown',
-- 
GitLab


From 0d143d949fce98ae849aa7a755ff638cc5952cb2 Mon Sep 17 00:00:00 2001
From: teplyakov <teolyakov@perx.ru>
Date: Thu, 21 Nov 2024 15:28:56 +0300
Subject: [PATCH 2/2] feat: AUTO-3479 Add State enum

---
 perxis/models.py | 9 +++++++++
 setup.py         | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/perxis/models.py b/perxis/models.py
index e3a1d57..0e50403 100644
--- a/perxis/models.py
+++ b/perxis/models.py
@@ -1,3 +1,5 @@
+import enum
+
 from dataclasses import dataclass
 
 
@@ -6,3 +8,10 @@ class Reference:
     id: str
     collection_id: str
     disabled: bool = False
+
+
+class State(str, enum.Enum):
+    DRAFT = "DRAFT"
+    PUBLISHED = "PUBLISHED"
+    CHANGED = "CHANGED"
+    ARCHIVED = "ARCHIVED"
diff --git a/setup.py b/setup.py
index e7e5226..210545e 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ def load_requirements():
 
 setup(
     name='perxis',
-    version='1.7.2',
+    version='1.7.3',
     description='Perxis python client',
     long_description=long_description,
     long_description_content_type='text/markdown',
-- 
GitLab