Skip to content

Commit

Permalink
[#19] Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uogbuji committed Jul 22, 2023
1 parent aedffeb commit 80175a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylib/async_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def openai_api_surrogate(prompt, api_func=None, **kwargs):
def save_openai_api_params():
'''
openai package uses globals for a lot of its parameters, including the mandatory api_key.
In some circumstances, such as when multiprocessing, these should be saved in order to be re-set when the module is re-imported.
In some circs, e.g. multiprocessing, these should be saved for re-set when the module is re-imported.
'''
import openai

Expand Down

0 comments on commit 80175a9

Please sign in to comment.