docs: def get_device_topology(self, id_or_uri):
          """
          Retrieves the topology information for the rack resource specified by ID or URI.
  
          Args:
              id_or_uri: Can be either the resource ID or the resource URI.
  
          Return:
              dict: Device topology.
          """
          uri = self._client.build_uri(id_or_uri) + "/deviceTopology"
          return self._client.get(uri)