<s> """<STR_LIT>""" <EOL> import re <EOL> from gcloud . _helpers import _name_from_project_path <EOL> _TOPIC_TEMPLATE = re . compile ( r"""<STR_LIT>""" , re . VERBOSE ) <EOL> _SUBSCRIPTION_TEMPLATE = re . compile ( r"""<STR_LIT>""" , re . VERBOSE ) <EOL> def topic_name_from_path ( path , project ) : <EOL> """<STR_LIT>""" <EOL> return _name_from_project_path ( path , project , _TOPIC_TEMPLATE ) <EOL> def subscription_name_from_path ( path , project ) : <EOL> """<STR_LIT>""" <EOL> return _name_from_project_path ( path , project , _SUBSCRIPTION_TEMPLATE ) </s>
