code: def export_service(self, svc_ref, export_props):
          # type: (ServiceReference, Dict[str, Any]) -> EndpointDescription
          
          ed = EndpointDescription.fromprops(export_props)
          self._export_service(
              self._get_bundle_context().get_service(svc_ref), ed
          )
          return ed
docs: Exports the given service
  
          :param svc_ref: Reference to the service to export
          :param export_props: Export properties
          :return: The endpoint description