Closed
Description
Confirm this is an issue with the Python library and not an underlying OpenAI API
- This is an issue with the Python library
Describe the bug
The commit 8136a21 add both an module openai/helpers.py
and a package openai/helpers/__init__.py
. You cannot have both a module and a package with the same name. If both are present, then Python's import system ignores the module and only imports the package.
I recommend to remove openai/helpers.py
.
To Reproduce
>>> import openai.helpers
>>> openai.helpers
<module 'openai.helpers' from '/home/cheimes/tmp/venv/lib64/python3.12/site-packages/openai/helpers/__init__.py'>
Code snippets
OS
any
Python version
any
Library version
1.68