def METHOD_NAME(
    self, stubs: List[DeviceStub]
) -> Union[StubManager, Sequence[DeviceStub]]:
    """Resolves stub resource.
    Args:
        stubs (stubs): Stubs Passed to Manager
    """
    if not hasattr(self, "_parent"):
        return self._stubs
    if not self.parent.exists:
        return self._stubs
    try:
        resource = set(self.stub_manager.resolve_subresource(stubs, self.parent.data_path))
    except OSError as e:
        self.log.error("Failed to Create Stub Links!", exception=e)
        sys.exit(1)
    else:
        self.config.upsert("stubs", {s.name: s.stub_version for s in stubs})
        return resource