diff --git a/CHANGELOG.D/1714.bugfix b/CHANGELOG.D/1714.bugfix new file mode 100644 index 000000000..b4a52c8d8 --- /dev/null +++ b/CHANGELOG.D/1714.bugfix @@ -0,0 +1 @@ +Make `neuromation.api.SecretFile` class public \ No newline at end of file diff --git a/neuromation/api/__init__.py b/neuromation/api/__init__.py index ef0e63b94..c1ab91566 100644 --- a/neuromation/api/__init__.py +++ b/neuromation/api/__init__.py @@ -52,9 +52,8 @@ JobTelemetry, Resources, StdStream, - Volume, ) -from .parser import Parser +from .parser import Parser, SecretFile, Volume from .parsing_utils import LocalImage, RemoteImage, TagOption from .plugins import PluginManager from .secrets import Secret, Secrets @@ -131,6 +130,7 @@ "Parser", "Secrets", "Secret", + "SecretFile", "PluginManager", "find_project_root", ) diff --git a/tests/cli/formatters/test_jobs_formatters.py b/tests/cli/formatters/test_jobs_formatters.py index 467c70db3..d002f444f 100644 --- a/tests/cli/formatters/test_jobs_formatters.py +++ b/tests/cli/formatters/test_jobs_formatters.py @@ -16,9 +16,9 @@ JobTelemetry, RemoteImage, Resources, + SecretFile, Volume, ) -from neuromation.api.parser import SecretFile from neuromation.api.parsing_utils import _ImageNameParser from neuromation.cli.formatters.jobs import ( JobStartProgress,