2020-11-08 01:07:27 +01:00
|
|
|
from structured_config import Structure, StrField
|
|
|
|
|
|
|
|
HAS_MODELS = False
|
|
|
|
|
|
|
|
|
|
|
|
class DevConfig(Structure):
|
|
|
|
url: str = StrField("")
|
|
|
|
login: str = StrField("")
|
|
|
|
password: str = StrField("")
|
|
|
|
|
|
|
|
|
|
|
|
extra = {
|
|
|
|
"url": {
|
|
|
|
"type": str,
|
2020-11-09 01:18:55 +01:00
|
|
|
"description": "URL of the YouTrack instance (without /youtrack/)",
|
2020-11-08 01:07:27 +01:00
|
|
|
},
|
2020-11-09 01:18:55 +01:00
|
|
|
"login": {"type": str, "description": "Login for YouTrack instance"},
|
2020-11-08 01:07:27 +01:00
|
|
|
"password": {
|
|
|
|
"type": str,
|
|
|
|
"description": "Password for YouTrack instance",
|
|
|
|
},
|
|
|
|
}
|