Skip to content

Commit

Permalink
docs: better docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Nov 19, 2024
1 parent a765366 commit 35f2e3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DIRAC/Core/Utilities/MySQL.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}")
Expand Down Expand Up @@ -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)}")
Expand Down

0 comments on commit 35f2e3e

Please sign in to comment.