From 92581344a24c7cce147001bdca6241e119ee932e Mon Sep 17 00:00:00 2001 From: jfuller Date: Thu, 20 Apr 2023 10:35:01 +0200 Subject: [PATCH] GRIF-92: deactivate griffon status bar (eg. --no-progres-bar) when create/update/deleting entity --- griffon/commands/entities/osidb.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/griffon/commands/entities/osidb.py b/griffon/commands/entities/osidb.py index 3433629..ff58168 100644 --- a/griffon/commands/entities/osidb.py +++ b/griffon/commands/entities/osidb.py @@ -109,7 +109,6 @@ def get_flaw(ctx, flaw_id, **params): endpoint_module=osidb_api_v1_flaws_update, exclude=["uuid", "trackers", "created_dt"] ) @click.pass_context -@progress_bar def update_flaw(ctx, flaw_id, **params): request_body_type = getattr(osidb_api_v1_flaws_update, "REQUEST_BODY_TYPE", None) if request_body_type is None: @@ -164,7 +163,6 @@ def update_flaw(ctx, flaw_id, **params): exclude=["uuid", "trackers", "created_dt", "updated_dt"], ) @click.pass_context -@progress_bar def create_flaw(ctx, **params): request_body_type = getattr(osidb_api_v1_flaws_create, "REQUEST_BODY_TYPE", None) if request_body_type is None: @@ -262,7 +260,6 @@ def get_affect(ctx, affect_uuid, **params): @click.option("--uuid", "affect_uuid", help="Affect UUID.", required=True) @request_body_options(endpoint_module=osidb_api_v1_affects_update, exclude=["uuid"]) @click.pass_context -@progress_bar def update_affect(ctx, affect_uuid, **params): request_body_type = getattr(osidb_api_v1_affects_update, "REQUEST_BODY_TYPE", None) if request_body_type is None: @@ -315,7 +312,6 @@ def update_affect(ctx, affect_uuid, **params): exclude=["uuid", "created_dt", "updated_dt"], ) @click.pass_context -@progress_bar def create_affect(ctx, **params): request_body_type = getattr(osidb_api_v1_affects_create, "REQUEST_BODY_TYPE", None) if request_body_type is None: @@ -364,7 +360,6 @@ def create_affect(ctx, **params): prompt="Are you sure you delete affect?", ) @click.pass_context -@progress_bar def delete_affect(ctx, affect_uuid, **params): session = OSIDBService.create_session() try: