<s> from __future__ import absolute_import , unicode_literals <EOL> from django_services . api import DjangoServiceAPI , register <EOL> from . service . instance import InstanceService <EOL> from . service . databaseinfra import DatabaseInfraService <EOL> from . service . plan import PlanService <EOL> from . service . engine import EngineService , EngineTypeService <EOL> from . serializers import InstanceSerializer , DatabaseInfraSerializer , EngineSerializer , EngineTypeSerializer , PlanSerializer <EOL> class EngineTypeAPI ( DjangoServiceAPI ) : <EOL> serializer_class = EngineTypeSerializer <EOL> service_class = EngineTypeService <EOL> class EngineAPI ( DjangoServiceAPI ) : <EOL> serializer_class = EngineSerializer <EOL> service_class = EngineService <EOL> class PlanAPI ( DjangoServiceAPI ) : <EOL> serializer_class = PlanSerializer <EOL> service_class = PlanService <EOL> class DatabaseInfraAPI ( DjangoServiceAPI ) : <EOL> serializer_class = DatabaseInfraSerializer <EOL> service_class = DatabaseInfraService <EOL> operations = ( '<STR_LIT:list>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> class InstanceAPI ( DjangoServiceAPI ) : <EOL> serializer_class = InstanceSerializer <EOL> service_class = InstanceService <EOL> register ( '<STR_LIT>' , EngineTypeAPI ) <EOL> register ( '<STR_LIT>' , EngineAPI ) <EOL> register ( '<STR_LIT>' , PlanAPI ) <EOL> register ( '<STR_LIT>' , InstanceAPI ) <EOL> register ( '<STR_LIT>' , DatabaseInfraAPI ) </s>
