Skip to content
This repository was archived by the owner on Aug 11, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (9 loc) · 494 Bytes

File metadata and controls

14 lines (9 loc) · 494 Bytes

Dependency injection in python with autoconfiguration

This is a demo using ets-labs/python-dependency-injector .

The base is a DynamicContainer to autoconfigure services using the decorators @services for regular services and @command_handler for using command pattern.

Run the project

You need to have installed poetry:

  1. poetry install
  2. poetry run dev
  3. Open http://localhost:8000/docs/