Skip to content

Commit ad14adb

Browse files
author
César Román
authored
fix(db): fix o_get_data docstring (#72)
1 parent dae3d29 commit ad14adb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Diff for: src/incendium/db.py

+8-6
Original file line numberDiff line numberDiff line change
@@ -445,14 +445,15 @@ def o_execute_non_query(
445445
446446
Args:
447447
stored_procedure: The name of the stored procedure to execute.
448-
out_params: A Dictionary containing all OUTPUT parameters.
448+
out_params: A list containing all OUTPUT parameters as OutParam
449+
objects.
449450
database: The name of the database connection to execute
450451
against. If omitted or "", the project's default database
451452
connection will be used. Optional.
452453
transaction: A transaction identifier. If omitted, the call will
453454
be executed in its own transaction. Optional.
454-
in_params: A Dictionary containing all INPUT parameters.
455-
Optional.
455+
in_params: A list containing all INPUT parameters as InParam
456+
objects. Optional.
456457
457458
Returns:
458459
A tuple containing the number of rows modified by the stored
@@ -482,12 +483,13 @@ def o_get_data(
482483
483484
Args:
484485
stored_procedure: The name of the stored procedure to execute.
485-
out_params: A Dictionary containing all OUTPUT parameters.
486+
out_params: A list containing all OUTPUT parameters as OutParam
487+
objects.
486488
database: The name of the database connection to execute
487489
against. If omitted or "", the project's default database
488490
connection will be used. Optional.
489-
in_params: A Dictionary containing all INPUT parameters.
490-
Optional.
491+
in_params: A list containing all INPUT parameters as InParam
492+
objects. Optional.
491493
492494
Returns:
493495
A tuple containing a Dataset that is the resulting data of the

0 commit comments

Comments
 (0)