From 2ac309c2cb511bd6cb032dfa9e3cb3d7fde5d2c2 Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Thu, 25 Jan 2024 19:45:23 +0000 Subject: [PATCH] formatting --- brewtils/rest/system_client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/brewtils/rest/system_client.py b/brewtils/rest/system_client.py index e1a197fc..561fda82 100644 --- a/brewtils/rest/system_client.py +++ b/brewtils/rest/system_client.py @@ -425,7 +425,9 @@ def send_bg_request(self, *args, **kwargs): # If not blocking just return the future if not blocking: # TODO: Investigate if self targeting requests with no parents can be processed locally - if not self.target_self or not getattr(brewtils.plugin.request_context, "current_request", None): + if not self.target_self or not getattr( + brewtils.plugin.request_context, "current_request", None + ): return self._thread_pool.submit( self._wait_for_request, request, raise_on_error, timeout )