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
In general we can't iterate through all MetadataSource implementations, because get_next_block is allowed to return None if metadata is not yet available, but might become available in time for rendering.
Allowing iteration through a MetadataSourceIter would be fine though, and would make using rendering items in scripts where we know we're always going to have a MetadataSourceIter a bit nicer.
The text was updated successfully, but these errors were encountered:
In general we can't iterate through all
MetadataSource
implementations, becauseget_next_block
is allowed to returnNone
if metadata is not yet available, but might become available in time for rendering.Allowing iteration through a
MetadataSourceIter
would be fine though, and would make using rendering items in scripts where we know we're always going to have aMetadataSourceIter
a bit nicer.The text was updated successfully, but these errors were encountered: