Skip to content

Commit 3121809

Browse files
author
codegen-bot
committed
select
1 parent 3afef6b commit 3121809

File tree

1 file changed

+1
-1
lines changed
  • examples/sqlalchemy_1.6_to_2.0

1 file changed

+1
-1
lines changed

examples/sqlalchemy_1.6_to_2.0/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def run(codebase: Codebase):
5454
if isinstance(attr.value, FunctionCall) and attr.value.name == "relationship":
5555
if "lazy=" not in attr.value.source:
5656
original_rel = attr.value.source
57-
new_rel = original_rel + ', lazy="selectin"'
57+
new_rel = original_rel + ', lazy="select"'
5858
if "backref" in new_rel:
5959
new_rel = new_rel.replace("backref", "back_populates")
6060

0 commit comments

Comments
 (0)