Skip to content

Commit

Permalink
Code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyrahul committed Jun 19, 2024
1 parent 729c7ef commit 3f8b544
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,6 @@ def index_document(
reindex=True,
run_id=run_id,
)
# import time

# print("Start")
# time.sleep(30) # Pauses the program for 2 seconds
# print("End")
# doc_id = "123"

logger.info(f"[{tool_id}] Indexing successful for doc: {file_name}")
PromptStudioHelper._publish_log(
Expand Down
1 change: 0 additions & 1 deletion backend/prompt_studio/prompt_studio_core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
logger = logging.getLogger(__name__)


# @method_decorator(transaction.non_atomic_requests(using='default'), name='dispatch')
class PromptStudioCoreView(viewsets.ModelViewSet):
"""Viewset to handle all Custom tool related operations."""

Expand Down

0 comments on commit 3f8b544

Please sign in to comment.