From 6ac1aa1e6179b9e85b928601355d1f5c22eb7073 Mon Sep 17 00:00:00 2001 From: aaschaer Date: Thu, 14 Mar 2024 17:44:20 -0500 Subject: [PATCH] fix stat text_mode (#967) --- src/globus_cli/commands/stat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/globus_cli/commands/stat.py b/src/globus_cli/commands/stat.py index 01a3f2db4..bc993bb90 100644 --- a/src/globus_cli/commands/stat.py +++ b/src/globus_cli/commands/stat.py @@ -7,7 +7,7 @@ from globus_cli.login_manager import LoginManager from globus_cli.parsing import ENDPOINT_PLUS_REQPATH, command, local_user_option -from globus_cli.termio import Field, TextMode, display +from globus_cli.termio import Field, display STAT_FIELDS = [ Field("Name", "name"), @@ -52,7 +52,7 @@ def stat_command( res = transfer_client.operation_stat(endpoint_id, path, local_user=local_user) display( res, - text_mode=TextMode.text_record, + text_mode=display.RECORD, fields=STAT_FIELDS, )