potiuk commented on a change in pull request #18590:
URL: https://github.com/apache/airflow/pull/18590#discussion_r820272922



##########
File path: airflow/cli/commands/user_command.py
##########
@@ -22,13 +22,28 @@
 import random
 import re
 import string
+from typing import Any, Dict, List
+
+from marshmallow import Schema, fields, validate
+from marshmallow.exceptions import ValidationError
 
 from airflow.cli.simple_table import AirflowConsole
 from airflow.utils import cli as cli_utils
 from airflow.utils.cli import suppress_logs_and_warning
 from airflow.www.app import cached_app
 
 
+class UserSchema(Schema):

Review comment:
       Nice to use marshmallow !




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to