Skip to content

Commit 968f0ed

Browse files
authored
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 b7944df commit 968f0ed

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
@@ -187,7 +187,7 @@ def valid_import_names(self) -> dict[str, PySymbol | PyImport | WildcardImport[P
187187
another file.
188188
"""
189189
if self.name == "__init__":
190-
ret = {}
190+
ret = super().valid_import_names
191191
if self.directory:
192192
for file in self.directory:
193193
if file.name == "__init__":

0 commit comments

Comments
 (0)