Skip to content

Commit 223c3f6

Browse files
authored
docs(advanced-alchemy): fix attribute name in services example (#589)
The example for Complex Operation in the Usage / Services section of the Advanced Alchemy docs use a `default_load_options` attribute. To my understanding, this should be `loader_options` instead.
1 parent 5eacfdc commit 223c3f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/usage/services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The code below shows a service coordinating posts and tags.
116116
117117
class PostService(SQLAlchemyAsyncRepositoryService[Post, PostRepository]):
118118
119-
default_load_options = [Post.tags]
119+
loader_options = [Post.tags]
120120
repository_type = PostRepository
121121
match_fields = ["name"]
122122

0 commit comments

Comments
 (0)