You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`dbt-doc-py
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Running DBT docs generate...
DBT docs successfully generated!
You haven't specified an API Key. No worries, this one's on TextQL!
In return, please type your email address. We don't collect any other data, nor sell your email to third parties.
If you're okay with this, press enter. Otherwise, type 'no' and set the OPENAI_API_KEY environment variable.
Email (type no to abort): [email protected]
[?] Select the models you want to document: (Press Spacebar to select, Enter to confirm) :
Generating docs for: my_third_dbt_model
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
OAI request to my_third_dbt_model failed: 'UserInfo' object has no attribute 'key'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/dbt-doc-py", line 33, in
sys.exit(load_entry_point('dbt-doc-py==0.1.19', 'console_scripts', 'dbt-doc-py')())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 864, in run_async_main
asyncio.run(async_main(sys.argv[1:]))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 858, in async_main
await main(argv)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 841, in main
summarized_nodes = await asyncio.gather(*[open_ai_summarize(env, r_deps, pair[1]) for pair in nodes_to_process])
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 322, in open_ai_summarize
raise e # Reraise the exception to trigger a retry
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 304, in open_ai_summarize
tbl_result, col_result = await asyncio.gather(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 279, in run_openai_request
raise e
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 257, in run_openai_request
if env.api_key.key:
AttributeError: 'UserInfo' object has no attribute 'key'`
Troubleshooting -
Runs successfully if you add your own OPENAI_API_KEY in environment.
Tried running with local installation of dbt, rather than docker. Same issue persists.
The text was updated successfully, but these errors were encountered:
Installation -
pip3 install dbt-doc-py
DBT environment -
link to repo
Error log-
`dbt-doc-py
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Running DBT docs generate...
DBT docs successfully generated!
You haven't specified an API Key. No worries, this one's on TextQL!
In return, please type your email address. We don't collect any other data, nor sell your email to third parties.
If you're okay with this, press enter. Otherwise, type 'no' and set the OPENAI_API_KEY environment variable.
Email (type no to abort): [email protected]
[?] Select the models you want to document: (Press Spacebar to select, Enter to confirm) :
Generating docs for: my_third_dbt_model
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
'UserInfo' object has no attribute 'key'
OAI request to my_third_dbt_model failed: 'UserInfo' object has no attribute 'key'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/dbt-doc-py", line 33, in
sys.exit(load_entry_point('dbt-doc-py==0.1.19', 'console_scripts', 'dbt-doc-py')())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 864, in run_async_main
asyncio.run(async_main(sys.argv[1:]))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 858, in async_main
await main(argv)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 841, in main
summarized_nodes = await asyncio.gather(*[open_ai_summarize(env, r_deps, pair[1]) for pair in nodes_to_process])
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 322, in open_ai_summarize
raise e # Reraise the exception to trigger a retry
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 304, in open_ai_summarize
tbl_result, col_result = await asyncio.gather(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 279, in run_openai_request
raise e
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dbt_doc_py/dbt_doc_py.py", line 257, in run_openai_request
if env.api_key.key:
AttributeError: 'UserInfo' object has no attribute 'key'`
Troubleshooting -
The text was updated successfully, but these errors were encountered: