ci: add flag for linter (#37018)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Asuka Minato
2026-06-08 04:53:12 +00:00
committed by GitHub
co-authored by autofix-ci[bot]
parent 0c4b36b3f5
commit f15a8f02ef
171 changed files with 885 additions and 135 deletions
+3
View File
@@ -1,3 +1,5 @@
from typing import override
from flask_restx import fields
from core.helper import encrypter
@@ -11,6 +13,7 @@ ENVIRONMENT_VARIABLE_SUPPORTED_TYPES = (SegmentType.STRING, SegmentType.NUMBER,
class EnvironmentVariableField(fields.Raw):
@override
def format(self, value):
# Mask secret variables values in environment_variables
if isinstance(value, SecretVariable):