Skip to content
Snippets Groups Projects
Commit 27c04c73 authored by teplyakov's avatar teplyakov
Browse files

feat: AUTO-3479 Add State enum

parent 388b39ec
No related branches found
No related tags found
1 merge request!73feat: AUTO-3479 Add State enum
import enum
from dataclasses import dataclass from dataclasses import dataclass
...@@ -6,3 +8,10 @@ class Reference: ...@@ -6,3 +8,10 @@ class Reference:
id: str id: str
collection_id: str collection_id: str
disabled: bool = False disabled: bool = False
class State(str, enum.Enum):
DRAFT = "DRAFT"
PUBLISHED = "PUBLISHED"
CHANGED = "CHANGED"
ARCHIVED = "ARCHIVED"
...@@ -14,7 +14,7 @@ def load_requirements(): ...@@ -14,7 +14,7 @@ def load_requirements():
setup( setup(
name='perxis', name='perxis',
version='1.7.2', version='1.7.3',
description='Perxis python client', description='Perxis python client',
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment