Unverified Commit 98c227d1 authored by David Runge's avatar David Runge
Browse files

Add IntEnum to distinguish members of a repository db

repo_management/defaults.py:
Add the IntEnum `RepoDbMemberType` to distinguish different members
(files) in a repository database (e.g. 'desc' or 'files' files).
parent 2660ca6c
......@@ -2,6 +2,12 @@ from enum import IntEnum
from typing import Dict, Union
class RepoDbMemberType(IntEnum):
UNKNOWN = 0
DESC = 1
FILES = 2
class FieldType(IntEnum):
STRING = 0
INT = 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment