Skip to content

Commit

Permalink
Testing: Changed docsctrings with misleading return; #5169
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingstaff authored and bari12 committed May 10, 2024
1 parent b79122e commit d30303f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rucio/core/replica.py
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@ def __bulk_add_file_dids(files, account, dataset_meta=None, *, session: "Session
:param dids: the list of files.
:param account: The account owner.
:param session: The database session in use.
:returns: True is successful.
:returns: list of replicas.
"""
condition = []
for f in files:
Expand Down Expand Up @@ -1539,7 +1539,7 @@ def add_replicas(rse_id, files, account, ignore_availability=True,
:param ignore_availability: Ignore the RSE blocklisting.
:param session: The database session in use.
:returns: True is successful.
:returns: list of replicas.
"""

def _expected_pfns(lfns, rse_settings, scheme, operation='write', domain='wan', protocol_attr=None):
Expand Down Expand Up @@ -1634,7 +1634,7 @@ def add_replica(
:param tombstone: If True, create replica with a tombstone.
:param session: The database session in use.
:returns: True is successful.
:returns: list of replicas.
"""
meta = meta or {}
rules = rules or []
Expand Down

0 comments on commit d30303f

Please sign in to comment.