diff options
Diffstat (limited to 'bsfs')
-rw-r--r-- | bsfs/utils/uuid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsfs/utils/uuid.py b/bsfs/utils/uuid.py index 7c39128..6366b18 100644 --- a/bsfs/utils/uuid.py +++ b/bsfs/utils/uuid.py @@ -27,7 +27,7 @@ __all__: typing.Sequence[str] = [ ## code ## -class UUID(abc.Iterator, abc.Callable): +class UUID(abc.Iterator, abc.Callable): # type: ignore [misc] # abc.Callable "is an invalid base class" """Generate 256-bit universally unique IDs. This is a 'best-effort' kind of implementation that tries to ensure global @@ -69,7 +69,7 @@ class UUID(abc.Iterator, abc.Callable): # initialize random component random.seed(seed) - def __call__(self, content: typing.Optional[str] = None) -> str: + def __call__(self, content: typing.Optional[str] = None) -> str: # pylint: disable=arguments-differ """Return a globally unique ID.""" # content component content = str(content) if content is not None else '' @@ -93,7 +93,7 @@ class UUID(abc.Iterator, abc.Callable): return self() -class UCID(abc.Callable): +class UCID(): """Generate 256-bit content IDs. Effectively computes a cryptographic hash over the content. |