@classmethod
    def create_from(cls, another, **kwargs):
        reused_fields = {}
        for field, value in another.get_fields():
            if field in cls.FIELDS:
                reused_fields[field] = value
        reused_fields.update(kwargs)
        return cls(**reused_fields)
Create from another object of different type.
dataset/ETHPy150Open ActiveState/applib/applib/_simpledb.py/SimpleObject.create_from