Closed ylathouris closed 8 years ago
That is correct, it should be there. Are you using the latest? Seems to work for me, what happen if you try
import aaf
f = aaf.open()
desc = f.create.CDCIDescriptor()
print desc.locators()
it should print
<aaf.iterator.LocatorIter object at 0x1021d7cf8>
The documentation says the
aaf.essence.EssenceDescriptor
object has a methodlocators()
. It also says theaaf.essence.CDCIDescriptor
object inherits fromaaf.essence.DigitalImageDescriptor
which inherits fromaaf.essence.FileDescriptor
which inherits fromaaf.essence.EssenceDescriptor
. Therefore theaaf.essence.CDCIDescriptor
should also have the methodlocators()
, right?The code snippet above yields the following error:
Is this a bug?