diff --git a/serving_utils/saver.py b/serving_utils/saver.py index cff8fdf..92ea868 100644 --- a/serving_utils/saver.py +++ b/serving_utils/saver.py @@ -17,8 +17,8 @@ def __init__( self.output_dir = pathlib.Path(output_dir) self.output_dir.mkdir(parents=True, exist_ok=True) + @staticmethod def _get_next_version( - self, path: pathlib.PosixPath, ) -> pathlib.PosixPath: candidate_paths = path.glob('**/*') diff --git a/setup.py b/setup.py index b6ce8b2..93041b5 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def run(self): setup( name='serving-utils', - version='0.5.1', + version='0.5.2', description='Some utilities for tensorflow serving', long_description=long_description, python_requires='>=3.6',