Skip to content
Snippets Groups Projects
Commit 8ae28108 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

STY: autopep8

parent 89586e23
No related branches found
No related tags found
2 merge requests!198REL: Release 0.10.0,!182Better error message
Pipeline #56533 passed with warnings
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment