From 2fd171afc8b292c15250016a6b2dfe10c77a0234 Mon Sep 17 00:00:00 2001 From: Ali Ahmed <36087995+aligredo@users.noreply.github.com> Date: Wed, 27 Sep 2023 15:09:56 +0300 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e09ab3a..4474b4e 100644 --- a/README.md +++ b/README.md @@ -503,10 +503,9 @@ A service can be: - A simple function. (At Shahry we won't be using them at all) - A class. -- An entire module. -- Whatever makes sense in your case. +- An entire module when a class-based service gets big for an object gets big enough, or an object has a few domains that require services classes. -In most cases, a service can be simple function that: +In most cases, a service can be a simple function that: - Lives in `/services.py` module under its object service class. - Takes keyword-only arguments, even if it requires one argument.