__init__.py 328 B

12345678910111213
  1. from clean_python import InMemoryGateway
  2. from clean_python.fastapi import Service
  3. from .presentation import V1Books
  4. service = Service(V1Books())
  5. app = service.create_app(
  6. title="Book service",
  7. description="Service for testing clean-python",
  8. hostname="testserver",
  9. access_logger_gateway=InMemoryGateway([]),
  10. )