diff --git a/dj_gui_api_server/DJConnector.py b/dj_gui_api_server/DJConnector.py index 8dbea22..cac5cba 100644 --- a/dj_gui_api_server/DJConnector.py +++ b/dj_gui_api_server/DJConnector.py @@ -148,15 +148,15 @@ def get_table_definition(jwt_payload, schema_name, table_name): table_name (string): Table name under the given schema, must be in camel case tuple (dict): tuple to be inserted - Return: - bool: true if input is sucessful + Returns: + None """ @staticmethod def insert_tuple(jwt_payload, schema_name, table_name, tuple_to_insert): DJConnector.set_datajoint_config(jwt_payload) schema_virtual_module = dj.create_virtual_module(schema_name, schema_name) - return getattr(schema_virtual_module, table_name).insert1(tuple_to_insert) + getattr(schema_virtual_module, table_name).insert1(tuple_to_insert) """ Method to set credentials for database