I am getting this error --> TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'

If you’re creating a debugging post, please include the following info:
I am trying to deploy an app on https://encanto.streamlit.app/
I successfully installed all packages, but during health checks from website I have such problem:

TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 
'recursive_guard'
2024-09-03 19:43:35.715 503 GET /script-health-check (127.0.0.1) 620.99ms
Checking if Streamlit is installed

Found Streamlit version 1.38.0 in the environment

Python: 3.10

This is right now the only error in app. Any ideas? :(

Hey @Ola1, where does the call to /script-health-check come from? It does not seem to be a Streamlit-native request.

Searching for TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: seems to be a pydantic issue, could that be? If so, perhaps upgrading or downgrading the pydantic version could help.