You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/03/18 08:54:56 UTC

[buildstream] 01/01: __init__.py: Adding FastEnum

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/add-missing-symbol
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 622624b21347709d4a7beec7846bed29dac36dd0
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Fri Mar 18 17:41:41 2022 +0900

    __init__.py: Adding FastEnum
    
    The BuildStream API is constructed such that plugins can import any
    data type from the main package without digging into subpackages, it
    was missing FastEnum.
---
 src/buildstream/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/buildstream/__init__.py b/src/buildstream/__init__.py
index eff98a4..b56ac7d 100644
--- a/src/buildstream/__init__.py
+++ b/src/buildstream/__init__.py
@@ -30,7 +30,7 @@ if "_BST_COMPLETION" not in os.environ:
     from .utils import UtilError, ProgramNotFoundError
     from .sandbox import Sandbox, SandboxCommandError
     from .storage import Directory, DirectoryError, FileType, FileStat
-    from .types import CoreWarnings, OverlapAction
+    from .types import CoreWarnings, OverlapAction, FastEnum
     from .node import MappingNode, Node, ProvenanceInformation, ScalarNode, SequenceNode
     from .plugin import Plugin
     from .source import Source, SourceError, SourceFetcher