We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4871137 + 3123a38 commit 16a677bCopy full SHA for 16a677b
src/conftest.py
@@ -122,6 +122,8 @@ def evaluate(self, example: Example) -> None | str:
122
import_header.append(
123
path_to_import_statement(Path(os.path.relpath(example.path)))
124
)
125
+ # Add microgrid as default import
126
+ import_header.append("from frequenz.sdk import microgrid")
127
imports_code = "\n".join(import_header)
128
129
# Dedent the code example
0 commit comments