Skip to content

Commit

Permalink
more formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
macpd committed Jun 24, 2024
1 parent 706b3ef commit 47e0075
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/tiktok_api_helper/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ def fetch_all(

if max_requests and self.num_api_requests_sent >= max_requests:
logging.info(
"Max requests (%d) reached (sent: %d). Discontinuing API requests regardless of has_more",
"Max requests (%d) reached (sent: %d). Discontinuing API requests regardless "
"of has_more",
max_requests,
self.num_api_requests_sent,
)
Expand Down
5 changes: 4 additions & 1 deletion src/tiktok_api_helper/cli_data_acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,10 @@ def run(
spider_top_n_music_ids: Annotated[
int,
typer.Option(
help="After fetching all query results from API, compute most common music_id from results and search for videos with the same music_id. Arg should be a positive integer which is the max number of most common music_ids to search, while 0 will search for all music IDs from the latest crawl."
help="After fetching all query results from API, compute most common music_id from "
"results and search for videos with the same music_id. Arg should be a positive "
"integer which is the max number of most common music_ids to search, while 0 will "
"search for all music IDs from the latest crawl."
),
]
| None = None,
Expand Down

0 comments on commit 47e0075

Please sign in to comment.