style(): small improvements

This commit is contained in:
ITQ
2026-02-24 18:30:01 +03:00
parent 727f42c1f2
commit 1c7753b71e
3 changed files with 13 additions and 9 deletions
+1 -3
View File
@@ -71,9 +71,7 @@ def _validate_channel_config(
raise ValidationError(
{"config": "Channel config must be a JSON object."}
)
for required_field in REQUIRED_CHANNEL_CONFIG_FIELDS.get(
channel_type, ()
):
for required_field in REQUIRED_CHANNEL_CONFIG_FIELDS.get(channel_type, ()):
_required_str_config(config, required_field, channel_type)