def _item_to_subscription_for_topic(iterator, subscription_path):
 subscription_name = subscription_name_from_path(subscription_path, iterator.client.project)
 return Subscription(subscription_name, iterator.topic)

def _item_to_subscription_for_topic ( iterator , subscription_path ) : subscription_name = subscription_name_from_path ( subscription_path , iterator . client . project ) return Subscription ( subscription_name , iterator . topic )
convert a subscription name to the native object .