@@ -158,7 +158,7 @@ def __init__(
158158 user_agent : str = f"terminusdb-client-python/{ __version__ } " ,
159159 ** kwargs ,
160160 ) -> None :
161- r"""The WOQLClient constructor.
161+ r"""The Client constructor.
162162
163163 Parameters
164164 ----------
@@ -1116,7 +1116,7 @@ def _convert_document(self, document, graph_type):
11161116 for item in document :
11171117 if hasattr (item , "to_dict" ) and graph_type != "schema" :
11181118 raise InterfaceError (
1119- "Inserting WOQLSchema object into non-schema graph."
1119+ "Inserting Schema object into non-schema graph."
11201120 )
11211121 item_dict = self ._conv_to_dict (item )
11221122 if hasattr (item , "_capture" ):
@@ -2082,7 +2082,7 @@ def diff(
20822082
20832083 Examples
20842084 --------
2085- >>> client = WOQLClient ("http://127.0.0.1:6363/")
2085+ >>> client = Client ("http://127.0.0.1:6363/")
20862086 >>> client.connect(user="admin", key="root", team="admin", db="some_db")
20872087 >>> result = client.diff({ "@id" : "Person/Jane", "@type" : "Person", "name" : "Jane"}, { "@id" : "Person/Jane", "@type" : "Person", "name" : "Janine"})
20882088 >>> result.to_json = '{ "name" : { "@op" : "SwapValue", "@before" : "Jane", "@after": "Janine" }}'"""
@@ -2146,7 +2146,7 @@ def patch(
21462146
21472147 Examples
21482148 --------
2149- >>> client = WOQLClient ("http://127.0.0.1:6363/")
2149+ >>> client = Client ("http://127.0.0.1:6363/")
21502150 >>> client.connect(user="admin", key="root", team="admin", db="some_db")
21512151 >>> patch_obj = Patch(json='{"name" : { "@op" : "ValueSwap", "@before" : "Jane", "@after": "Janine" }}')
21522152 >>> result = client.patch({ "@id" : "Person/Jane", "@type" : Person", "name" : "Jane"}, patch_obj)
0 commit comments