Skip to content
Snippets Groups Projects
Commit 957eb5b6 authored by Eterevskiy Georgiy's avatar Eterevskiy Georgiy
Browse files

Merge branch 'feature/AUTO-3479' into 'master'

feat: AUTO-3479 Add State enum

See merge request perxis/perxis-python!73
parents 388b39ec 954ee1f6
No related branches found
No related tags found
No related merge requests found
Subproject commit f10336dc4a4f58111c12dd95afec82be18388803 Subproject commit 00019d48da9824bbf43354502f15d5ea4016f931
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.
Please register or to comment