def METHOD_NAME(self, did: str) -> Optional[DDO]:
    """Retrieve ddo for a given did."""
    response = self.requests_session.get(f"{self.base_url}/ddo/{did}")
    if response.status_code == 200:
        response_dict = response.json()
        return DDO.from_dict(response_dict)
    return None