Beispiel #1
0
 def set_api_user(self):
     g.api_user = AdsApiUser.from_dev_key(self.dev_key)
Beispiel #2
0
def global_api_user(dev_key):
    g.api_user = AdsApiUser.from_dev_key(dev_key)
    yield
    g.api_user = None