Merge remote-tracking branch 'origin/master'

This commit is contained in:
Yerassyl Zhanymkanov
2022-08-26 19:37:30 +06:00

View File

@@ -111,7 +111,7 @@ fastapi-project
3. When package requires services or dependencies or constants from other packages - import them with explicit module name 3. When package requires services or dependencies or constants from other packages - import them with explicit module name
```python ```python
from src.auth import constants as auth_constants from src.auth import constants as auth_constants
from src.notifictions import service as notification_service from src.notifications import service as notification_service
from src.posts.constants import ErrorCode as PostsErrorCode # in case we have Standard ErrorCode in constants module of each package from src.posts.constants import ErrorCode as PostsErrorCode # in case we have Standard ErrorCode in constants module of each package
``` ```