Skip to content

Commit f49454d

Browse files
committed
cleanup
1 parent 020da79 commit f49454d

File tree

1 file changed

+30
-15
lines changed

1 file changed

+30
-15
lines changed

src/rev_ai/apiclient.py

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,12 @@ def get_transcript_text(self, id_, group_channels_by=None, group_channels_thresh
349349
if not id_:
350350
raise ValueError('id_ must be provided')
351351

352-
url = self._build_transcript_url(self, id_,
353-
group_channels_by=group_channels_by,
354-
group_channels_threshold_ms=group_channels_threshold_ms)
352+
url = self._build_transcript_url(
353+
self,
354+
id_,
355+
group_channels_by=group_channels_by,
356+
group_channels_threshold_ms=group_channels_threshold_ms
357+
)
355358

356359
response = self._make_http_request(
357360
"GET",
@@ -374,9 +377,12 @@ def get_transcript_text_as_stream(self, id_, group_channels_by=None, group_chann
374377
if not id_:
375378
raise ValueError('id_ must be provided')
376379

377-
url = self._build_transcript_url(self, id_,
378-
group_channels_by=group_channels_by,
379-
group_channels_threshold_ms=group_channels_threshold_ms)
380+
url = self._build_transcript_url(
381+
self,
382+
id_,
383+
group_channels_by=group_channels_by,
384+
group_channels_threshold_ms=group_channels_threshold_ms
385+
)
380386

381387
response = self._make_http_request(
382388
"GET",
@@ -399,9 +405,12 @@ def get_transcript_json(self, id_, group_channels_by=None, group_channels_thresh
399405
if not id_:
400406
raise ValueError('id_ must be provided')
401407

402-
url = self._build_transcript_url(self, id_,
403-
group_channels_by=group_channels_by,
404-
group_channels_threshold_ms=group_channels_threshold_ms)
408+
url = self._build_transcript_url(
409+
self,
410+
id_,
411+
group_channels_by=group_channels_by,
412+
group_channels_threshold_ms=group_channels_threshold_ms
413+
)
405414

406415
response = self._make_http_request(
407416
"GET",
@@ -424,9 +433,12 @@ def get_transcript_json_as_stream(self, id_, group_channels_by=None, group_chann
424433
if not id_:
425434
raise ValueError('id_ must be provided')
426435

427-
url = self._build_transcript_url(self, id_,
428-
group_channels_by=group_channels_by,
429-
group_channels_threshold_ms=group_channels_threshold_ms)
436+
url = self._build_transcript_url(
437+
self,
438+
id_,
439+
group_channels_by=group_channels_by,
440+
group_channels_threshold_ms=group_channels_threshold_ms
441+
)
430442

431443
response = self._make_http_request(
432444
"GET",
@@ -449,9 +461,12 @@ def get_transcript_object(self, id_, group_channels_by=None, group_channels_thre
449461
if not id_:
450462
raise ValueError('id_ must be provided')
451463

452-
url = self._build_transcript_url(self, id_,
453-
group_channels_by=group_channels_by,
454-
group_channels_threshold_ms=group_channels_threshold_ms)
464+
url = self._build_transcript_url(
465+
self,
466+
id_,
467+
group_channels_by=group_channels_by,
468+
group_channels_threshold_ms=group_channels_threshold_ms
469+
)
455470

456471
response = self._make_http_request(
457472
"GET",

0 commit comments

Comments
 (0)