From 35f2e3eba98f09130c1e5616e2546dfd0361a99c Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Tue, 19 Nov 2024 09:56:46 +0100 Subject: [PATCH] docs: better docstrings --- src/DIRAC/Core/Utilities/MySQL.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DIRAC/Core/Utilities/MySQL.py b/src/DIRAC/Core/Utilities/MySQL.py index af31450bbd8..91c7c1156e4 100755 --- a/src/DIRAC/Core/Utilities/MySQL.py +++ b/src/DIRAC/Core/Utilities/MySQL.py @@ -756,8 +756,8 @@ def _update(self, cmd, *, conn=None, debug=True): :param debug: print or not the errors - return S_OK with number of updated registers upon success - return S_ERROR upon error + :return: S_OK with number of updated registers upon success. + S_ERROR upon error. """ self.log.debug(f"_update: {self._safeCmd(cmd)}") @@ -791,8 +791,8 @@ def _updatemany(self, cmd, data, *, conn=None, debug=True): :param debug: print or not the errors - return S_OK with number of updated registers upon success - return S_ERROR upon error + :return: S_OK with number of updated registers upon success. + S_ERROR upon error. """ self.log.debug(f"_updatemany: {self._safeCmd(cmd)}")