We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset.__repr__() utilises Asset.url() which depends on file instance attribute.
Asset.__repr__()
Asset.url()
file
If the asset is optional and not set, the object cannot be represented: 'contentful.asset.Asset object' has no attribute 'file'.
'contentful.asset.Asset object' has no attribute 'file'
The text was updated successfully, but these errors were encountered:
Hey @ryankask,
The fix has been released in v1.12.2.
v1.12.2
Cheers
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Asset.__repr__()
utilisesAsset.url()
which depends onfile
instance attribute.If the asset is optional and not set, the object cannot be represented:
'contentful.asset.Asset object' has no attribute 'file'
.The text was updated successfully, but these errors were encountered: