Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa133ce

Browse files
authored
Update __init__.py (openai#382)
1 parent 6572ef4 commit aa133ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openai/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
Moderation,
3434
)
3535
from openai.error import APIError, InvalidRequestError, OpenAIError
36+
from openai.version import VERSION
3637

3738
if TYPE_CHECKING:
3839
from aiohttp import ClientSession
@@ -62,6 +63,7 @@
6263
) # Acts as a global aiohttp ClientSession that reuses connections.
6364
# This is user-supplied; otherwise, a session is remade for each request.
6465

66+
__version__ = VERSION
6567
__all__ = [
6668
"APIError",
6769
"Audio",

0 commit comments

Comments
 (0)