code: def collection(self):
      return getattr(self.parent, self.collection_name)
  
imports: from sqlalchemy import Column
  from sqlalchemy import create_engine
  from sqlalchemy import ForeignKey
  from sqlalchemy import Integer
  from sqlalchemy import String
  from sqlalchemy.ext.declarative import declarative_base
  from sqlalchemy.orm import relationship
  from sqlalchemy.orm import sessionmaker
label_desc: Use image node_id 2 for calling the ProxyDict obj's underlying member method code with example usage: obj.collection() and returns: getattr