code: def ResolveForCreate(self, document):
          
          if document is None:
              raise ValueError("document is None.")
  
          partition_key = self.partition_key_extractor(document)
          containing_range = self._GetContainingRange(partition_key)
          
          if containing_range is None:
              raise ValueError("A containing range for " + str(partition_key) + " doesn't exist in the partition map.")
          
          return self.partition_map.get(containing_range)
docs: 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