(self, request, pk=None)
Retrieve Organization

        :param request: retrieve parameter
        :param pk: primary key
        :return: organization info
        :rtype: OrganizationResponse
Retrieve Organization
Retrieve Organization
def retrieve(self, request, pk=None):
        """
        Retrieve Organization

        :param request: retrieve parameter
        :param pk: primary key
        :return: organization info
        :rtype: OrganizationResponse
        """
        try:
            organization = Organization.objects.get(id=pk)
        except ObjectDoesNotExist:
            raise ResourceNotFound
        else:
            response = OrganizationResponse(data=organization.__dict__)
            if response.is_valid(raise_exception=True):
                return Response(
                    response.validated_data, status=status.HTTP_200_OK
                )
def retrieve ( self , request , pk = None ) : try : organization = Organization . objects . get ( id = pk ) except ObjectDoesNotExist : raise ResourceNotFound else : response = OrganizationResponse ( data = organization . __dict__ ) if response . is_valid ( raise_exception = True ) : return Response ( response . validated_data , status = status . HTTP_200_OK )