Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/codegen/sdk/core/codebase.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def types(self) -> list[TTypeAlias]:
# EXTERNAL API
####################################################################################################################

def create_file(self, filepath: str, content: str = "", sync: bool = True) -> File:
def create_file(self, filepath: str, content: str = "", sync: bool = True) -> TSourceFile:
"""Creates a new file in the codebase with specified content.

Args:
Expand Down