RepeatedComposite delete method #322
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
Hi there!
As I understend it RepeatedComposite is list-like container. So list methods like append or extend
work fine.
I am looking for a way to delete the contents of the list (clear the object RepeatedComposite)
The ad contains 4 video files , the print function below shows them
But it has no effect.
Also try this
del ad.app_ad.youtube_videos
I've also tried clearing the object via an assignment operation
ad.app_ad.youtube_videos = []
but also to no effect.
How to correctly delete linked objects ?
p.s. This code works with the append and extend methods
The text was updated successfully, but these errors were encountered: