summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_yaml.pyi8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/buildstream/_yaml.pyi b/src/buildstream/_yaml.pyi
index 215866e3e..6f4b31bd5 100644
--- a/src/buildstream/_yaml.pyi
+++ b/src/buildstream/_yaml.pyi
@@ -1,3 +1,5 @@
-# FIXME: This file is currently a placeholder so that mypy doesn't complain
-# about `_yaml` module being missing. In future, we should consider adding
-# stubs for Cythonized code.
+from typing import Optional
+
+from .node import MappingNode
+
+def load(filename: str, shortname: str, copy_tree: bool = False, project: Optional[object] = None) -> MappingNode: ...