52eecb165eb3ff72ee7d625016cee41648298c7c,studio/model.py,FirebaseProvider,get_users,#FirebaseProvider#,584
Before Change
return self.__getitem__(self._get_projects_keybase())
def get_users(self):
return self.__getitem__("users/")
def refresh_auth_token(self, email, refresh_token):
if self.auth:
self.auth.refresh_token(email, refresh_token)
After Change
return self._get(self._get_projects_keybase(), shallow=True)
def get_users(self):
user_ids = self._get("users/", shallow=True)
retval = {}
for user_id in user_ids.keys():
retval[user_id] = {
"email":self._get("users/" + user_id + "/email")
}
return retval
def refresh_auth_token(self, email, refresh_token):
if self.auth:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: studioml/studio
Commit Name: 52eecb165eb3ff72ee7d625016cee41648298c7c
Time: 2017-09-14
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: get_users
Project Name: biolab/orange3
Commit Name: 549645246bf957b98545a7a0b39813e50d6e4c30
Time: 2013-02-11
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name: ControlledList
Method Name: __setitem__
Project Name: biolab/orange3
Commit Name: 549645246bf957b98545a7a0b39813e50d6e4c30
Time: 2013-02-11
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name: ControlledList
Method Name: __delitem__