def ResolveForCreate(self, document):
        """Resolves the collection for creating the document based on the partition key.
        
        :param dict document:
            The document to be created.

        :return:
            Collection Self link or Name based link which should handle the Create operation.
        :rtype:
            str
        """
        if document is None:
            raise ValueError("document is None.")

        partition_key = self.partition_key_extractor(document)
        return self.consistent_hash_ring.GetCollectionNode(partition_key)
Resolves the collection for creating the document based on the partition key.
        
        :param dict document:
            The document to be created.

        :return:
            Collection Self link or Name based link which should handle the Create operation.
        :rtype:
            str