Skip to content

Commit

Permalink
Export some missing symbols for compatibility
Browse files Browse the repository at this point in the history
fixes #635
  • Loading branch information
mdellweg committed Feb 17, 2023
1 parent de64a80 commit fa9a513
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES/635.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reimport some missing symbols into their old location for compatibility.
12 changes: 11 additions & 1 deletion pulpcore/cli/common/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
EntityDefinition,
EntityFieldDefinition,
PluginRequirement,
PreprocessedEntityDefinition,
PulpACSContext,
PulpContentContext,
PulpContext,
PulpDistributionContext,
PulpEntityContext,
PulpException,
PulpRemoteContext,
PulpRepositoryContext,
PulpRepositoryVersionContext,
registered_repository_contexts,
Expand All @@ -14,10 +19,15 @@
"EntityDefinition",
"EntityFieldDefinition",
"PluginRequirement",
"PreprocessedEntityDefinition",
"PulpACSContext",
"PulpContentContext",
"PulpContext",
"PulpDistributionContext",
"PulpEntityContext",
"PulpException",
"PulpRemoteContext",
"PulpRepositoryContext",
"PulpRepositoryVersionContext",
"PulpException",
"registered_repository_contexts",
]
4 changes: 2 additions & 2 deletions pulpcore/cli/core/context.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from pulp_glue.core.context import PulpSigningServiceContext # noqa: F401
from pulp_glue.core.context import PulpArtifactContext, PulpSigningServiceContext # noqa: F401

__all__ = ["PulpSigningServiceContext"]
__all__ = ["PulpArtifactContext", "PulpSigningServiceContext"]

0 comments on commit fa9a513

Please sign in to comment.