templates.ManagerClass.tpl Maven / Gradle / Ivy
from defpi.Connection import Connection
from defpi.Service import Service
from .{{itf.manager.interface}} import {{itf.manager.interface}}
{{itf.manager.imports.interface}}
{{itf.manager.imports.implementation}}
class {{itf.manager.class}}({{itf.manager.interface}}):
""" {{itf.manager.class}}
Manages all connection handlers for the {{service.name}} service
Generated by {{generator}} at {{date}} by {{username}}
NOTE: This file is generated as a stub, and has to be implemented by the user. Re-running the codegen plugin
will not change the contents of this file.
Template by FAN, 2017 """
def __init__(self, service: Service):
""" Auto-generated constructor building the manager for the provided service """
self.service = service
{{itf.manager.implementations}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy