Skip to content

Commit

Permalink
remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebCourier committed Jun 5, 2024
1 parent 15eded7 commit c8e0ad5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def create_app():
guardrails_log_level = os.environ.get("GUARDRAILS_LOG_LEVEL", "INFO")
configure_logging(log_level=guardrails_log_level)

print("otel_is_disabled: ", otel_is_disabled())
if not otel_is_disabled():
FlaskInstrumentor().instrument_app(app)
initialize()
Expand Down
2 changes: 0 additions & 2 deletions src/blueprints/guards.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ def validate_streamer(guard_iter):
next_result = result
# next_validation_output = validation_output
fragment = json.dumps(validation_output.to_response())
print("yielding fragment")
yield f"{fragment}\n"

final_validation_output: ValidationOutput = ValidationOutput(
Expand All @@ -297,7 +296,6 @@ def validate_streamer(guard_iter):
# result=next_result
# )
final_output_json = json.dumps(final_validation_output.to_response())
print("Yielding final output.")
yield f"{final_output_json}\n"

return Response(
Expand Down

0 comments on commit c8e0ad5

Please sign in to comment.