From 8a2f3cd47e1b1d7f6c108ae34e32167a502ceeca Mon Sep 17 00:00:00 2001 From: Cam Sima Date: Tue, 3 Sep 2024 09:25:52 -0400 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37dada6..9362665 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ async def home(request, user_service: UserService, logger: LoggingService): Services can be any class, but Zipline includes a special `Service` class. Classes that inherit from `Service` have the ability to access all other services in their scope. -Classes that inherit from `Service` are expected to have a property `name` attribute, which is used to identify the service in the dependency injection container. Otherwise, they can be referenced by their class name (like with the `@inject` decorator). +Classes that inherit from `Service` are expected to have a property `name` which is used to identify the service in the dependency injection container. Otherwise, they can be referenced by their class name (like with the `@inject` decorator). ```python from zipline import ZipLine, Service