def __init__(self, name, group=None, title=None, metadata=None):
self.name = name<EOL>self.group = group<EOL>if metadata is None:<EOL><INDENT>self.metadata = get_metadata()<EOL><DEDENT>else:<EOL><INDENT>self.metadata = metadata<EOL><DEDENT>self.location = get_callsite_location()<EOL>self.doc = None<EOL>module = self.location['<STR_LIT>']<EOL>docs = None<EOL>if module and module.__doc__:<EOL><INDENT>docs = clean_docstring(module.__doc__)<EOL><DEDENT>self.metadata.register_service(name, group, docs, title)<EOL>
Create an instance of AcceptableService.

        :param name: The service name.
        :param group: An arbitrary API group within a service.