@@ -158,7 +158,7 @@ def __init__(
158
158
user_agent : str = f"terminusdb-client-python/{ __version__ } " ,
159
159
** kwargs ,
160
160
) -> None :
161
- r"""The WOQLClient constructor.
161
+ r"""The Client constructor.
162
162
163
163
Parameters
164
164
----------
@@ -1116,7 +1116,7 @@ def _convert_document(self, document, graph_type):
1116
1116
for item in document :
1117
1117
if hasattr (item , "to_dict" ) and graph_type != "schema" :
1118
1118
raise InterfaceError (
1119
- "Inserting WOQLSchema object into non-schema graph."
1119
+ "Inserting Schema object into non-schema graph."
1120
1120
)
1121
1121
item_dict = self ._conv_to_dict (item )
1122
1122
if hasattr (item , "_capture" ):
@@ -2082,7 +2082,7 @@ def diff(
2082
2082
2083
2083
Examples
2084
2084
--------
2085
- >>> client = WOQLClient ("http://127.0.0.1:6363/")
2085
+ >>> client = Client ("http://127.0.0.1:6363/")
2086
2086
>>> client.connect(user="admin", key="root", team="admin", db="some_db")
2087
2087
>>> result = client.diff({ "@id" : "Person/Jane", "@type" : "Person", "name" : "Jane"}, { "@id" : "Person/Jane", "@type" : "Person", "name" : "Janine"})
2088
2088
>>> result.to_json = '{ "name" : { "@op" : "SwapValue", "@before" : "Jane", "@after": "Janine" }}'"""
@@ -2146,7 +2146,7 @@ def patch(
2146
2146
2147
2147
Examples
2148
2148
--------
2149
- >>> client = WOQLClient ("http://127.0.0.1:6363/")
2149
+ >>> client = Client ("http://127.0.0.1:6363/")
2150
2150
>>> client.connect(user="admin", key="root", team="admin", db="some_db")
2151
2151
>>> patch_obj = Patch(json='{"name" : { "@op" : "ValueSwap", "@before" : "Jane", "@after": "Janine" }}')
2152
2152
>>> result = client.patch({ "@id" : "Person/Jane", "@type" : Person", "name" : "Jane"}, patch_obj)
0 commit comments