Skip to content

Commit

Permalink
remaining for calls remaining function
Browse files Browse the repository at this point in the history
  • Loading branch information
dishantsethi committed Aug 12, 2024
1 parent 8156e87 commit f205abe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_diarize.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from unittest.mock import patch

from willisapi_client.services.diarize.willisdiarize import (
from willisapi_client.services.diarize.willisdiarize_call_remaining import (
willis_diarize_call_remaining,
)

Expand Down
2 changes: 1 addition & 1 deletion willisapi_client/services/diarize/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# website: https://www.brooklyn.health
from willisapi_client.services.diarize.willisdiarize import (
from willisapi_client.services.diarize.willisdiarize_call_remaining import (
willis_diarize_call_remaining,
)

Expand Down
2 changes: 1 addition & 1 deletion willisapi_client/services/diarize/diarize_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class DiarizeUtils:
def request(url, headers, try_number):
def request_call_remaining(url, headers, try_number):
"""
------------------------------------------------------------------------------------------------------
Class: DiarizeUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def willis_diarize_call_remaining(key: str, **kwargs):
headers = wc.get_headers()
headers["Authorization"] = key

response = DiarizeUtils.request(url, headers, try_number=1)
response = DiarizeUtils.request_call_remaining(url, headers, try_number=1)
if response:
logger.info(response["message"])
return response["message"]
Expand Down

0 comments on commit f205abe

Please sign in to comment.