python-dependency-injector/examples/miniapps/decoupled-packages/example/analytics/services.py
Roman Mogylatov 29f209d382
Update bundles example (#292)
* Fix dependency provider stub issue with required init arg

* Refactor bundles example app

* Rename bundles package

* Rename bundles example container

* Rename bundles mini app to decoupled packages

* Move decoupled packages example to main examples

* Fix a typo

* Add meta
2020-09-06 21:51:38 -04:00

9 lines
217 B
Python

"""Analytics services module."""
class AggregationService:
def __init__(self, user_repository, photo_repository):
self.user_repository = user_repository
self.photo_repository = photo_repository