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
from pydantic_schemaorg.ScholarlyArticle import ScholarlyArticle
scholarly_article = ScholarlyArticle(url='https://github.com/lexiq-legal/pydantic_schemaorg',
sameAs='https://github.com/lexiq-legal/pydantic_schemaorg',
copyrightNotice='Free to use under the MIT license',
dateCreated='15-12-2021')
raises for me
File "pydantic/typing.py", line 551, in pydantic.typing.update_model_forward_refs
File "pydantic/typing.py", line 526, in pydantic.typing.update_field_forward_refs
return NotImplemented
File "pydantic/typing.py", line 526, in pydantic.typing.update_field_forward_refs
return NotImplemented
File "pydantic/typing.py", line 526, in pydantic.typing.update_field_forward_refs
return NotImplemented
File "pydantic/typing.py", line 521, in pydantic.typing.update_field_forward_refs
self.__forward_evaluated__ = True
File "pydantic/typing.py", line 69, in pydantic.typing.evaluate_forwardref
'Coroutine',
File ".../python3.8/typing.py", line 518, in _evaluate
eval(self.__forward_code__, globalns, localns),
File "<string>", line 1, in <module>
NameError: name 'URL' is not defined
The text was updated successfully, but these errors were encountered:
I could not run the example in the README:
raises for me
The text was updated successfully, but these errors were encountered: