Skip to content

Commit

Permalink
fix: remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
osoken committed Aug 17, 2024
1 parent 98294ca commit f05c65b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion api/birdxplorer_api/routers/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def get_posts(
elif created_at_end is not None:
posts = list(storage.get_posts_by_created_at_end(end=ensure_twitter_timestamp(created_at_end)))
elif search_text is not None and len(search_text) > 0:
print(search_text)
posts = list(storage.search_posts_by_text(search_text))
else:
posts = list(storage.get_posts())
Expand Down
1 change: 0 additions & 1 deletion api/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ def _get_posts_by_created_at_end(

def _search_posts_by_text(search_text: str) -> Generator[Post, None, None]:
for post in post_samples:
print(search_text in post.text, post.text)
if search_text in post.text:
yield post

Expand Down

0 comments on commit f05c65b

Please sign in to comment.