Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayHat12 committed Jun 23, 2024
1 parent 94be7fa commit 15593b6
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions python/pymhash/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,27 @@ from .lib import *

class OrientationHash:
def __init__(self, hash_value: List[List[bool]]) -> None: ...

def __str__(self) -> str: ...

def __hash__(self) -> int: ...

def __eq__(self, value: 'OrientationHash') -> bool: ...

def __eq__(self, value: "OrientationHash") -> bool: ...
@classmethod
def from_str(cls, hash_str: str) -> 'OrientationHash': ...

def from_str(cls, hash_str: str) -> "OrientationHash": ...
def to_str(self) -> str: ...

def hash_size(self) -> int: ...

def unique_hash(self) -> int: ...


class ImageHash:

VERSION: int = ...

def __init__(self) -> None: ...

def add_hash(self, hash: OrientationHash) -> None: ...

def to_str(self) -> str: ...

@classmethod
def from_str(cls, hash_str: str) -> ImageHash: ...

def unique_hash(self) -> int: ...

def __eq__(self, value: 'OrientationHash') -> bool: ...

def __eq__(self, value: "ImageHash") -> bool: ...
def __str__(self) -> str: ...

def __hash__(self) -> int: ...

@property
def hashes(self) -> List[OrientationHash]: ...
def hashes(self) -> List[OrientationHash]: ...

0 comments on commit 15593b6

Please sign in to comment.