def get_key_for_schema_and_document_string(self, schema, request_string):
        # type: (GraphQLSchema, str) -> int
        """This method returns a unique key given a schema and a request_string"""
        if self.use_consistent_hash:
            schema_id = get_unique_schema_id(schema)
            document_id = get_unique_document_id(request_string)
            return hash((schema_id, document_id))
        return hash((schema, request_string))
This method returns a unique key given a schema and a request_string