Error when using langchain document_loaders

Error “typing.ClassVar[typing.Collection[str]] is not valid as type argument” is occuring when using langchain.document