Skip to content

Commit a5626f4

Browse files
committed
hotfix - unify duplicated
1 parent c26bd2f commit a5626f4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

text_extract_api/files/file_formats/file_format.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,6 @@ def convertible_to() -> Dict[Type["FileFormat"], Callable[[Type["FileFormat"]],
178178
"""
179179
return {}
180180

181-
def unify(self) -> Type["FileFormat"]:
182-
"""
183-
Converts the file to a universal type for that format (e.g., JPEG from png, bmp, tiff, etc.).
184-
Default implementation returns a new instance of the current format.
185-
186-
:return: Unified format as a new self instance.
187-
"""
188-
return self
189-
190181
@classmethod
191182
def default_iterator_file_format(cls) -> Type["FileFormat"]:
192183
if not cls.is_pageable():

0 commit comments

Comments
 (0)