<commit_before>Deprecated Features
===================

In order to simplify the py2neo API, a significant number of functions have
been deprecated in version 1.5. These functions are listed below and, for each,
an alternative is presented.

GraphDatabaseService
--------------------

.. automethod:: py2neo.neo4j.GraphDatabaseService.get_reference_node

.. automethod:: py2neo.neo4j.GraphDatabaseService.get_or_create_relationships

Node
----

.. automethod:: py2neo.neo4j.Node.create_relationship_from

.. automethod:: py2neo.neo4j.Node.create_relationship_to

.. automethod:: py2neo.neo4j.Node.get_related_nodes

.. automethod:: py2neo.neo4j.Node.get_relationships

.. automethod:: py2neo.neo4j.Node.get_relationships_with

.. automethod:: py2neo.neo4j.Node.get_single_related_node

.. automethod:: py2neo.neo4j.Node.get_single_relationship

.. automethod:: py2neo.neo4j.Node.has_relationship

.. automethod:: py2neo.neo4j.Node.has_relationship_with

.. automethod:: py2neo.neo4j.Node.is_related_to

Relationship
------------

.. automethod:: py2neo.neo4j.Relationship.is_type

.. autoattribute:: py2neo.neo4j.Relationship.nodes

WriteBatch
----------

.. automethod:: py2neo.neo4j.WriteBatch.create_node

.. automethod:: py2neo.neo4j.WriteBatch.create_relationship

.. automethod:: py2neo.neo4j.WriteBatch.get_or_create_relationship

.. automethod:: py2neo.neo4j.WriteBatch.delete_node

.. automethod:: py2neo.neo4j.WriteBatch.delete_relationship

.. automethod:: py2neo.neo4j.WriteBatch.set_node_property

.. automethod:: py2neo.neo4j.WriteBatch.set_node_properties

.. automethod:: py2neo.neo4j.WriteBatch.delete_node_property

.. automethod:: py2neo.neo4j.WriteBatch.delete_node_properties

.. automethod:: py2neo.neo4j.WriteBatch.set_relationship_property

.. automethod:: py2neo.neo4j.WriteBatch.set_relationship_properties

.. automethod:: py2neo.neo4j.WriteBatch.delete_relationship_property

.. automethod:: py2neo.neo4j.WriteBatch.delete_relationship_properties
<commit_msg>updated page on deprecated features<commit_after>Deprecated Features
===================

All features deprecated in py2neo 1.5 and earlier versions have now been
removed. The list below shows all features deprecated in version 1.6.

Cypher
--------------------

.. automethod:: py2neo.neo4j.Cypher.execute

WriteBatch
----------

.. automethod:: py2neo.neo4j.WriteBatch.get_or_create

{'fraction_non_alphanumeric': 0.14038785834738618, 'fraction_numerical': 0.02782462057335582, 'mean_word_length': 4.544392523364486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4199651', 'n_tokens_mistral': 791, 'n_tokens_neox': 763, 'n_words': 125}