code: def register_service(self, **kwargs):
          
          kwargs.setdefault('name', self.app.name)
          self.session.agent.service.register(**kwargs)
docs: register this service with consul
          kwargs passed to Consul.agent.service.register