<s> """<STR_LIT>""" <EOL> from . settings import azure_rm_endpoint , BASE_API <EOL> from . restfns import do_get <EOL> def list_locations ( access_token , subscription_id ) : <EOL> endpoint = '<STR_LIT>' . join ( [ azure_rm_endpoint , <EOL> '<STR_LIT>' , subscription_id , <EOL> '<STR_LIT>' , BASE_API ] ) <EOL> return do_get ( endpoint , access_token ) <EOL> def list_subscriptions ( access_token ) : <EOL> endpoint = '<STR_LIT>' . join ( [ azure_rm_endpoint , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , BASE_API ] ) <EOL> return do_get ( endpoint , access_token ) </s>
