Skip to content

Commit 665de0a

Browse files
author
codegen-bot
committed
Update create_file to return TSourceFile
1 parent bca7abb commit 665de0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/sdk/core/codebase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def types(self) -> list[TTypeAlias]:
391391
# EXTERNAL API
392392
####################################################################################################################
393393

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

0 commit comments

Comments
 (0)