Skip to content

Commit e0520f3

Browse files
Fix Import of Verboselogs Package
1 parent 195ed28 commit e0520f3

File tree

21 files changed

+22
-22
lines changed

21 files changed

+22
-22
lines changed

deepgram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
__version__ = "0.0.0"
77

88
# entry point for the deepgram python sdk
9-
from .client import verboselogs
9+
from .utils import * # pylint: disable=wildcard-import
1010
from .client import Deepgram, DeepgramClient
1111
from .client import DeepgramClientOptions, ClientOptionsFromEnv
1212
from .client import DeepgramApiKeyError, DeepgramModuleError

deepgram/audio/microphone/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
33
# SPDX-License-Identifier: MIT
44

5-
from deepgram.utils import verboselogs
5+
from ...utils import verboselogs
66

77
# Constants for microphone
88

deepgram/audio/microphone/microphone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from typing import Optional, Callable
99
import logging
1010

11-
from deepgram.utils import verboselogs
11+
from ...utils import verboselogs
1212
from .constants import LOGGING, CHANNELS, RATE, CHUNK
1313

1414

deepgram/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import os
88

99
import logging
10-
from deepgram.utils import verboselogs
10+
from .utils import verboselogs
1111

1212
# common
1313
# pylint: disable=unused-import

deepgram/clients/analyze/v1/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import httpx
99

10-
from deepgram.utils import verboselogs
10+
from ....utils import verboselogs
1111
from ....options import DeepgramClientOptions
1212
from ...abstract_async_client import AbstractAsyncRestClient
1313
from ..errors import DeepgramError, DeepgramTypeError

deepgram/clients/analyze/v1/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import httpx
99

10-
from deepgram.utils import verboselogs
10+
from ....utils import verboselogs
1111
from ....options import DeepgramClientOptions
1212
from ...abstract_sync_client import AbstractSyncRestClient
1313
from ..errors import DeepgramError, DeepgramTypeError

deepgram/clients/analyze/v1/options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
33
# SPDX-License-Identifier: MIT
44

5-
from typing import List, Union, Optional
65
import logging
6+
from typing import List, Union, Optional
77

88
from dataclasses import dataclass, field
99
from dataclasses_json import config as dataclass_config, DataClassJsonMixin
1010

11-
from deepgram.utils import verboselogs
11+
from ....utils import verboselogs
1212
from ...common import FileSource, StreamSource, UrlSource
1313

1414

deepgram/clients/listen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from importlib import import_module
66
import logging
77

8-
from deepgram.utils import verboselogs
8+
from ..utils import verboselogs
99
from ..options import DeepgramClientOptions
1010
from .errors import DeepgramModuleError
1111

deepgram/clients/live/v1/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import websockets
1212
from websockets.client import WebSocketClientProtocol
1313

14-
from deepgram.utils import verboselogs
14+
from ....utils import verboselogs
1515
from ....options import DeepgramClientOptions
1616
from ..enums import LiveTranscriptionEvents
1717
from ..helpers import convert_to_websocket_url, append_query_params

deepgram/clients/live/v1/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from websockets.sync.client import connect, ClientConnection
1212
import websockets
1313

14-
from deepgram.utils import verboselogs
14+
from ....utils import verboselogs
1515
from ....options import DeepgramClientOptions
1616
from ..enums import LiveTranscriptionEvents
1717
from ..helpers import convert_to_websocket_url, append_query_params

0 commit comments

Comments
 (0)