<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_peer(self, name, peer_type="REPLICATION"):
 """ Retrieve a replication peer by name. @param name: The name of the peer. @param peer_type: Added in v11. The type of the peer. Defaults to 'REPLICATION'. @return: The peer. @since: API v3 """

    params = self._get_peer_type_param(peer_type)
    return self._get("peers/" + name, ApiCmPeer, params=params, api_version=3)