def my_protocol(input_packed_pose=None, **kwargs):
    """
    Relax the input `PackedPose` object.
    
    Args:
        input_packed_pose: A `PackedPose` object to be repacked. Optional.
        **kwargs: PyRosettaCluster task keyword arguments.

    Returns:
        A `PackedPose` object.
    """
    import pyrosetta # Local import
    import pyrosetta.distributed.io as io # Local import
    import pyrosetta.distributed.tasks.rosetta_scripts as rosetta_scripts # Local import
    
    packed_pose = io.pose_from_file(kwargs["s"])
    
    xml = """
        <ROSETTASCRIPTS>
          <TASKOPERATIONS>
            <RestrictToRepacking name="repack"/>
          </TASKOPERATIONS>
          <MOVERS>
            <FastRelax name="pack" task_operations="repack" />
          </MOVERS>
          <PROTOCOLS>
            <Add mover="pack"/>
          </PROTOCOLS>
        </ROSETTASCRIPTS>
    """
    
    return rosetta_scripts.SingleoutputRosettaScriptsTask(xml)(packed_pose)

def my_protocol(input_packed_pose=None, **kwargs):
    """
    Relax the input `PackedPose` object.
    
    Args:
        input_packed_pose: A `PackedPose` object to be repacked. Optional.
        **kwargs: PyRosettaCluster task keyword arguments.

    Returns:
        A `PackedPose` object.
    """
    import pyrosetta # Local import
    import pyrosetta.distributed.io as io # Local import
    import pyrosetta.distributed.tasks.rosetta_scripts as rosetta_scripts # Local import
    
    packed_pose = io.pose_from_file(kwargs["s"])
    
    xml = """
        <ROSETTASCRIPTS>
          <TASKOPERATIONS>
            <RestrictToRepacking name="repack"/>
          </TASKOPERATIONS>
          <MOVERS>
            <FastRelax name="pack" task_operations="repack" />
          </MOVERS>
          <PROTOCOLS>
            <Add mover="pack"/>
          </PROTOCOLS>
        </ROSETTASCRIPTS>
    """
    
    return rosetta_scripts.SingleoutputRosettaScriptsTask(xml)(packed_pose)

Relax the input `PackedPose` object.          Args:         input_packed_pose: A `PackedPose` object to be repacked. Optional.         **kwargs: PyRosettaCluster task keyword arguments.      Returns:         A `PackedPose` object. # Local import # Local import # Local import <ROSETTASCRIPTS>           <TASKOPERATIONS>             <RestrictToRepacking name="repack"/>           </TASKOPERATIONS>           <MOVERS>             <FastRelax name="pack" task_operations="repack" />           </MOVERS>           <PROTOCOLS>             <Add mover="pack"/>           </PROTOCOLS>         </ROSETTASCRIPTS>