async def METHOD_NAME(
    self,
    profile: Profile,
    did: Union[str, DID],
    service_accept: Optional[Sequence[Text]] = None,
    *,
    timeout: Optional[int] = None,
) -> dict:
    """Resolve a DID."""
    _, doc = await self._resolve(profile, did, service_accept, timeout=timeout)
    return doc