@@ -559,7 +559,7 @@ class test_common(build):
559
559
"This flag is useful for building your app and generating a test plan to run on different infrastructure. "
560
560
"This flag does not actually perform the test. Instead, it builds validates all content and builds the app(s). "
561
561
"It MUST be used with mode.changes and must run in the context of a git repo." )
562
- suppress_tqdm :bool = Field (default = False , exclude = True , description = "The tdqm library (https://github.com/tqdm/tqdm) is used to facilitate a richer,"
562
+ disable_tqdm :bool = Field (default = False , exclude = True , description = "The tdqm library (https://github.com/tqdm/tqdm) is used to facilitate a richer,"
563
563
" interactive command line workflow that can display progress bars and status information frequently. "
564
564
"Unfortunately it is incompatible with, or may cause poorly formatted logs, in many CI/CD systems or other unattended environments. "
565
565
"If you are running contentctl in CI/CD, then please set this argument to True. Note that if you are running in a CI/CD context, "
@@ -574,7 +574,7 @@ def dumpCICDPlanAndQuit(self, githash: str, detections:List[Detection]):
574
574
self .mode = Selected (files = sorted ([detection .file_path for detection in detections ], key = lambda path : str (path )))
575
575
self .post_test_behavior = PostTestBehavior .never_pause .value
576
576
#required so that CI/CD does not get too much output or hang
577
- self .suppress_tqdm = True
577
+ self .disable_tqdm = True
578
578
579
579
# We will still parse the app, but no need to do enrichments or
580
580
# output to dist. We have already built it!
@@ -633,7 +633,7 @@ def ensureCommonInformationModel(self)->Self:
633
633
634
634
@model_validator (mode = 'after' )
635
635
def suppressTQDM (self )-> Self :
636
- if self .suppress_tqdm :
636
+ if self .disable_tqdm :
637
637
tqdm .tqdm .__init__ = partialmethod (tqdm .tqdm .__init__ , disable = True )
638
638
if self .post_test_behavior != PostTestBehavior .never_pause .value :
639
639
raise ValueError (f"You have disabled tqdm, presumably because you are "
0 commit comments