diff options
Diffstat (limited to 'src/buildstream/_artifactelement.py')
-rw-r--r-- | src/buildstream/_artifactelement.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_artifactelement.py b/src/buildstream/_artifactelement.py index 63bb904fd..94503c4df 100644 --- a/src/buildstream/_artifactelement.py +++ b/src/buildstream/_artifactelement.py @@ -32,7 +32,7 @@ from .node import Node if TYPE_CHECKING: from ._context import Context - from ._state import _Task + from ._state import Task # ArtifactElement() @@ -81,7 +81,7 @@ class ArtifactElement(Element): # (ArtifactElement): A newly created Element instance # @classmethod - def new_from_artifact_name(cls, artifact_name: str, context: "Context", task: Optional["_Task"] = None): + def new_from_artifact_name(cls, artifact_name: str, context: "Context", task: Optional["Task"] = None): # Initial lookup for already loaded artifact. with suppress(KeyError): |