@staticmethod
    def _from_db_object_list(db_objects, cls, context):
        return [Port._from_db_object(cls(context), obj) for obj in db_objects]

    # NOTE(xek): We don't want to enable RPC on this call just yet. Remotable
    # methods can be used in the future to replace current explicit RPC calls.
    # Implications of calling new remote procedures should be thought through.
    # @object_base.remotable_classmethod
Converts a list of database entities to a list of formal objects.
dataset/ETHPy150Open openstack/ironic/ironic/objects/port.py/Port._from_db_object_list