Did I find the right examples for you? yes no

All Samples(231)  |  Call(219)  |  Derive(0)  |  Import(12)

src/w/e/Webapp2-Sample-Applications-HEAD/sample-app-auth/ndb/model.py   Webapp2-Sample-Applications(Download)
        uv.federated_identity().decode('utf-8'))
 
  value = users.User(email=email,
                     _auth_domain=auth_domain,
                     _user_id=obfuscated_gaiaid,

src/w/e/Webapp2-Sample-Applications-HEAD/sample-app-auth/ndb/model_test.py   Webapp2-Sample-Applications(Download)
from . import test_utils
 
TESTUSER = users.User('test@example.com', 'example.com', '123')
AMSTERDAM = model.GeoPt(52.35, 4.9166667)
 
      s='a',
      t=datetime.time(),
      u=TESTUSER,
      xy=AMSTERDAM,
      )
    MyModel.d._set_value(ent, 2.5)
    MyModel.k._set_value(ent, k)
    MyModel.u._set_value(ent, TESTUSER)
    MyModel.xy._set_value(ent, AMSTERDAM)
    self.assertEqual(MyModel.b._get_value(ent), True)
    self.assertEqual(MyModel.p._get_value(ent), 42)
    self.assertEqual(MyModel.q._get_value(ent), 'hello')
    self.assertEqual(MyModel.d._get_value(ent), 2.5)
    self.assertEqual(MyModel.k._get_value(ent), k)
    self.assertEqual(MyModel.u._get_value(ent), TESTUSER)
    MyModel.dd._set_value(ent, 2.5)
    MyModel.kk._set_value(ent, k)
    MyModel.uu._set_value(ent, TESTUSER)
    MyModel.xxyy._set_value(ent, AMSTERDAM)
    self.assertEqual(MyModel.pp._get_value(ent), 42)

src/m/o/MOL-HEAD/lib/google_appengine/google/appengine/api/datastore_types.py   MOL(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

src/s/p/Spatial-Data-Library-HEAD/lib/google_appengine/google/appengine/api/datastore_types.py   Spatial-Data-Library(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

src/d/a/Darwin-Core-Engine-HEAD/lib/google_appengine/google/appengine/api/datastore_types.py   Darwin-Core-Engine(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

src/a/p/appscale-HEAD/AppServer/google/appengine/api/datastore_types.py   appscale(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

src/a/p/appscale-original-HEAD/AppServer/google/appengine/api/datastore_types.py   appscale-original(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

src/g/a/gaeframework-2.0.10/google_appengine/google/appengine/api/datastore_types.py   gaeframework(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

src/n/e/neutron-drive-HEAD/google_appengine/google/appengine/api/datastore_types.py   neutron-drive(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

src/g/o/google-app-engine-HEAD/google/appengine/api/datastore_types.py   google-app-engine(Download)
 
 
    value = users.User(email=email,
                       _auth_domain=auth_domain,
                       _user_id=obfuscated_gaiaid,
    return value_string == 'True'
  elif type_ == users.User:
    return users.User(value_string, _auth_domain)
  elif type_ == type(None):
    return None

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next