<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_object(self):
 """ Returns the OrganizationUser object based on the primary keys for both the organization and the organization user. """

        if hasattr(self, "organization_user"):
            return self.organization_user
        organization_pk = self.kwargs.get("organization_pk", None)
        user_pk = self.kwargs.get("user_pk", None)
        self.organization_user = get_object_or_404(
            self.get_user_model().objects.select_related(),
            user__pk=user_pk,
            organization__pk=organization_pk,
        )
        return self.organization_user