Skip to content

Commit

Permalink
ran black formatting on files
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Pankey committed Jul 13, 2023
1 parent 838d73d commit 0c2521e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion beagle/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"drf_multiple_model",
"drf_yasg",
"advanced_filters",
"ddtrace.contrib.django"
"ddtrace.contrib.django",
]


Expand Down
4 changes: 2 additions & 2 deletions beagle_etl/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def process_smile_events():
if message.request_id in update_requests:
update_requests.remove(message.request_id)
current_span = tracer.current_span()
request_id=message.request_id
current_span.set_tag("request.id", request_id)
request_id = message.request_id
current_span.set_tag("request.id", request_id)
logger.info(f"New request: {message.request_id}")
new_request.delay(str(message.id))

Expand Down
2 changes: 2 additions & 0 deletions runner/operator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def get_output_metadata(self):
:return: dict
"""
return {}

def failed_to_create_job(self, error):
operator_error = OperatorErrorSerializer(
data={"operator_name": self.model.slug, "request_id": self.request_id, "error": error}
Expand All @@ -81,6 +82,7 @@ def ready_job(self, pipeline, tempo_inputs, job):
current_span = tracer.current_span()
cmo_request_id = self.request_id
span.set_tag("request.id", cmo_request_id)

def on_job_fail(self, run):
pass

Expand Down
1 change: 0 additions & 1 deletion runner/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
from ddtrace import tracer



logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 0c2521e

Please sign in to comment.