Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-python
Manage
Activity
Members
Plan
Custom issue tracker
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-python
Commits
27c04c73
Commit
27c04c73
authored
8 months ago
by
teplyakov
Browse files
Options
Downloads
Patches
Plain Diff
feat:
AUTO-3479
Add State enum
parent
388b39ec
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
perxis/models.py
+9
-0
9 additions, 0 deletions
perxis/models.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
10 additions
and
1 deletion
perxis/models.py
+
9
−
0
View file @
27c04c73
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
"
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
27c04c73
...
@@ -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
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment