diff --git a/src/helpers.py b/src/helpers.py index 4875018..5d8ad19 100644 --- a/src/helpers.py +++ b/src/helpers.py @@ -59,3 +59,27 @@ def prepare_process_input( # It is expected! assert type(input) is bytes return input + + # OLD NAMES [DEPRECATED SINCE OS_OPS 3.1.0] ------------------------- + + @staticmethod + def GetDefaultEncoding(): + # + # Dependencies: + # - testgres.utils.execute_utility2 < 1.15 + # + return __class__.get_default_encoding() + + @staticmethod + def PrepareProcessInput( + input: typing.Optional[typing.Union[str, bytes]], + encoding: typing.Optional[str], + ) -> typing.Optional[bytes]: + # + # Dependencies: + # - no information + # + return __class__.prepare_process_input( + input, + encoding, + )