Skip to content

Commit 18d0363

Browse files
committed
Fixed inccorect documentation for insert_tuple in DJConnector
1 parent 5b3e1a8 commit 18d0363

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dj_gui_api_server/DJConnector.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ def get_table_definition(jwt_payload, schema_name, table_name):
148148
table_name (string): Table name under the given schema, must be in camel case
149149
tuple (dict): tuple to be inserted
150150
151-
Return:
152-
bool: true if input is sucessful
151+
Returns:
152+
None
153153
"""
154154
@staticmethod
155155
def insert_tuple(jwt_payload, schema_name, table_name, tuple_to_insert):
156156
DJConnector.set_datajoint_config(jwt_payload)
157157

158158
schema_virtual_module = dj.create_virtual_module(schema_name, schema_name)
159-
return getattr(schema_virtual_module, table_name).insert1(tuple_to_insert)
159+
getattr(schema_virtual_module, table_name).insert1(tuple_to_insert)
160160

161161
"""
162162
Method to set credentials for database

0 commit comments

Comments
 (0)