From 8ae2810884b026a9534c57ee5ff07f631997d61a Mon Sep 17 00:00:00 2001 From: Alexander Schlemmer <a.schlemmer@indiscale.com> Date: Mon, 21 Oct 2024 10:01:03 +0200 Subject: [PATCH] STY: autopep8 --- src/caoscrawler/identifiable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/caoscrawler/identifiable.py b/src/caoscrawler/identifiable.py index f6c85c69..cd52effb 100644 --- a/src/caoscrawler/identifiable.py +++ b/src/caoscrawler/identifiable.py @@ -80,7 +80,7 @@ class Identifiable(): def get_representation(self) -> str: return sha256(Identifiable._create_hashable_string(self).encode('utf-8')).hexdigest() - @ staticmethod + @staticmethod def _value_representation(value) -> str: """returns the string representation of property values to be used in the hash function @@ -103,7 +103,7 @@ class Identifiable(): else: raise ValueError(f"Unknown datatype of the value: {value}") - @ staticmethod + @staticmethod def _create_hashable_string(identifiable: Identifiable) -> str: """ creates a string from the attributes of an identifiable that can be hashed -- GitLab