update_forward_refs pydantic circular references 다음과 같은 에러를 마주했다. 서로 다른 파일에서 class를 가져다 type hinting을 해야하는 상황이었다. pydantic.errors.ConfigError: field "" not yet prepared so type is still a ForwardRef, you might need to call Model.update_forward_refs(). 아래 방법으로도 해결되지 않는 ... forwardRefpythonupdate_forward_refscircular referencesPydanticPydantic
pydantic circular references 다음과 같은 에러를 마주했다. 서로 다른 파일에서 class를 가져다 type hinting을 해야하는 상황이었다. pydantic.errors.ConfigError: field "" not yet prepared so type is still a ForwardRef, you might need to call Model.update_forward_refs(). 아래 방법으로도 해결되지 않는 ... forwardRefpythonupdate_forward_refscircular referencesPydanticPydantic