Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/8/0/8-bits-HEAD/backend/presence.py   8-bits(Download)
    if not login_record:
        login_record = models.LoginRecord(
            key=ndb.Key(models.LoginRecord._get_kind(), models.human_uuid()),
            shard_id=shard,
            online=True)
        if not login:
            login = models.LoginRecord(
                key=ndb.Key(models.LoginRecord._get_kind(), user_id),
                shard_id=shard)
        elif only_active_users(login):