@staticmethod
def stuff_predictor_into_envelope(predictor: dict) ->dict:
    """Insert a serialized embedded predictor into a module envelope, to facilitate deser."""
    return dict(module_type='PREDICTOR', config=predictor, active=False,
        schema_id='43c61ad4-7e33-45d0-a3de-504acb4e0737')
