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
Traceback (most recent call last):
File "/home/gleb/genai-databases-retrieval-app/retrieval_service/run_database_init.py", line 39, in
asyncio.run(main())
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/gleb/genai-databases-retrieval-app/retrieval_service/run_database_init.py", line 27, in main
cfg = parse_config("config.yml")
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gleb/genai-databases-retrieval-app/retrieval_service/app/app.py", line 41, in parse_config
return AppConfig(**config)
^^^^^^^^^^^^^^^^^^^
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/site-packages/pydantic/main.py", line 164, in init pydantic_self.pydantic_validator.validate_python(data, self_instance=pydantic_self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for AppConfig
clientId
Field required [type=missing, input_value={'host': '0.0.0.0', 'data...': 'ShittyPassword01#'}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
It seems clientId parameter is missing in the config.yml template. It was stated as an optional but the parse_config cannot really skip it if it is present in the class AppConfig
Can we please fix it? I am getting complains from users trying to execute codelab and qwiklab.
Thanks,
Gleb
The text was updated successfully, but these errors were encountered:
Here is the error:
Traceback (most recent call last):
File "/home/gleb/genai-databases-retrieval-app/retrieval_service/run_database_init.py", line 39, in
asyncio.run(main())
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/gleb/genai-databases-retrieval-app/retrieval_service/run_database_init.py", line 27, in main
cfg = parse_config("config.yml")
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gleb/genai-databases-retrieval-app/retrieval_service/app/app.py", line 41, in parse_config
return AppConfig(**config)
^^^^^^^^^^^^^^^^^^^
File "/home/gleb/.pyenv/versions/3.11.6/lib/python3.11/site-packages/pydantic/main.py", line 164, in init
pydantic_self.pydantic_validator.validate_python(data, self_instance=pydantic_self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for AppConfig
clientId
Field required [type=missing, input_value={'host': '0.0.0.0', 'data...': 'ShittyPassword01#'}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing
It seems clientId parameter is missing in the config.yml template. It was stated as an optional but the parse_config cannot really skip it if it is present in the class AppConfig
Can we please fix it? I am getting complains from users trying to execute codelab and qwiklab.
Thanks,
Gleb
The text was updated successfully, but these errors were encountered: