Skip to content

Commit ac2c348

Browse files
bagel897tkucar
authored andcommitted
fix init.py bug (#364)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent ba4b842 commit ac2c348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/sdk/python/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def valid_import_names(self) -> dict[str, PySymbol | PyImport | WildcardImport[P
215215
another file.
216216
"""
217217
if self.name == "__init__":
218-
ret = {}
218+
ret = super().valid_import_names
219219
if self.directory:
220220
for file in self.directory:
221221
if file.name == "__init__":

0 commit comments

Comments
 (0)