GraphQL Part1 (gql endpoint only) #162 #192
@ -4,7 +4,6 @@ from werkzeug.exceptions import Unauthorized
|
||||
|
||||
|
||||
class ServiceErrorCode(Enum):
|
||||
|
||||
Unknown = 0
|
||||
|
||||
InvalidDependencies = 1
|
||||
|
@ -6,7 +6,6 @@ from bot_core.logging.database_logger import DatabaseLogger
|
||||
|
||||
class DBContext(DatabaseContext):
|
||||
def __init__(self, logger: DatabaseLogger):
|
||||
|
||||
self._logger = logger
|
||||
|
||||
DatabaseContext.__init__(self)
|
||||
|
@ -2,6 +2,5 @@ from enum import Enum
|
||||
|
||||
|
||||
class AuthRoleEnum(Enum):
|
||||
|
||||
normal = 0
|
||||
admin = 1
|
||||
|
@ -12,7 +12,6 @@ from bot_data.model.statistic import Statistic
|
||||
|
||||
|
||||
class AddStatisticForm(ui.Modal):
|
||||
|
||||
description = ui.TextInput(label="Beschreibung", required=True)
|
||||
code = ui.TextInput(label="Code", required=True, style=TextStyle.long)
|
||||
|
||||
|
@ -16,7 +16,6 @@ class RemoveConfig:
|
||||
build: BuildSettings,
|
||||
post_build: PostBuildSettings,
|
||||
):
|
||||
|
||||
self._env = env
|
||||
self._workspace = ws
|
||||
self._project = project
|
||||
|
Loading…
Reference in New Issue
Block a user