diff --git a/swh/model/identifiers.py b/swh/model/identifiers.py --- a/swh/model/identifiers.py +++ b/swh/model/identifiers.py @@ -645,7 +645,8 @@ pointed object Raises: - swh.model.exceptions.ValidationError: In case of invalid object type or id + swh.model.exceptions.ValidationError: In case of invalid object type + or id Once created, it contains the following attributes: @@ -659,7 +660,10 @@ To get the raw persistent identifier string from an instance of this named tuple, use the :func:`str` function:: - pid = PersistentId(object_type='content', object_id='8ff44f081d43176474b267de5451f2c2e88089d0') + pid = PersistentId( + object_type='content', + object_id='8ff44f081d43176474b267de5451f2c2e88089d0' + ) pid_str = str(pid) # 'swh:1:cnt:8ff44f081d43176474b267de5451f2c2e88089d0' """ # noqa __slots__ = ()