Get parent from a collection that's already in a collection Im really struggling with what seems to be an easy task, however Im not able to make this work.
I need to get the parent inside of a collection that's already in a collection,
with the code im using
    print(collection)
    if collection.name == doorname:
        door = collection.children[0]
        print(door) //OUTPUT: &lt;bpy_struct, Collection(&quot;Door&quot;) at 0x7ff8f180b678&gt;
        for objects in door:
            print(objects) //Error 

I want all the objects in the Door collection to be printed.
Is there a way to do this, what am I missing?
Thanks in advance!
Maybe for objects in door.children since you're parenting them?

Yeah it could be cool to use magic method looping over children