@staticmethod
    def _extract_id(obj):
        try:
            return obj.id
        except AttributeError:
            return obj
should set global service and call service.setName(SERVICENAME)
dataset/ETHPy150Open photo/openphoto-python/trovebox/api/api_base.py/ApiBase._extract_id--crossover with--dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/kitt/interfaces/service.py/IDroneDService.start