A property to return the key used in redis for the current field.
162913
def key(self):
        
        return self.make_key(
            self._instance._name,
            self._instance.pk.get(),
            self.name,
        )
26384
def get(self, key):
        '''
        
        '''
        if key in self._data_fields:
            return self._data_fields[key]
        if key in self._sub_reports:
            return self._sub_reports[key]
        return None
566054
def get(key, default=-1):
        """"""
        if isinstance(key, int):
            return Transport(key)
        if key not in Transport._member_map_:
            extend_enum(Transport, key, default)
        return Transport[key]
43872
def clean_key(cls, key):
        
        for var_re in cls.VARIABLE_RES:
            key = var_re.sub('#', key)
        return key
237055
def get(key, default=0)
      with_failure_grace(default) {
        val = @redis.get(key)
        return default if val.nil?
        val.numeric? ? val.to_i : val
      }
    end
359603
def get(key, default=-1):
        """"""
        if isinstance(key, int):
            return TOS_THR(key)
        if key not in TOS_THR._member_map_:
            extend_enum(TOS_THR, key, default)
        return TOS_THR[key]
122095
def property(self, key, default=None):
        
        if key == 'Name':
            return self.name()
        elif key == 'Start':
            return self.dateStart()
        elif key == 'End':
            return self.dateEnd()
        elif key == 'Calendar Days':
            return self.duration()
        elif key == 'Work Days':
            return self.weekdays()
        elif key == 'Time Start':
            return self.timeStart()
        elif key == 'Time End':
            return self.timeEnd()
        elif key == 'All Day':
            return self.isAllDay()
        else:
            return self._properties.get(nativestring(key), default)
1111187
def get(key, default=-1):
        """"""
        if isinstance(key, int):
            return TOS_REL(key)
        if key not in TOS_REL._member_map_:
            extend_enum(TOS_REL, key, default)
        return TOS_REL[key]
56103
def _hincrby(self, hashkey, attribute, command, type_, increment):
        """"""
        redis_hash = self._get_hash(hashkey, command, create=True)
        attribute = self._encode(attribute)
        previous_value = type_(redis_hash.get(attribute, '0'))
        redis_hash[attribute] = self._encode(previous_value + increment)
        return type_(redis_hash[attribute])
881999
def key(self):
        '''  '''
        prefix = type(self).cls_key()

        return '{}:{}:obj'.format(prefix, self.id)
1275438
def _get_bank_keys_redis_key(bank):
    '''
    
    '''
    opts = _get_redis_keys_opts()
    return '{prefix}{separator}{bank}'.format(
        prefix=opts['bank_keys_prefix'],
        separator=opts['separator'],
        bank=bank
    )
1022998
def get_field_entry_key(node: FieldNode) -> str:
    """"""
    return node.alias.value if node.alias else node.name.value
451572
def key(self, att=None):
        """"""
        if att is not None:
            return self._key[self.id][att]
        else:
            return self._key[self.id]
1327654
function getKey(key, req) {
  var val = this._data[key];

  // got an expired key, delete it (active expiry)
  if(val && val.e && val.e <= Date.now()) {
    this.emit('expired', key);
    this.delKey(key, req);
    return undefined;
  }

  if(req) this.emit(val ? 'hit' : 'miss', key);

  if(typeof val === 'object') val.t = Date.now();

  return val ? val.v : undefined;
}
32355
def get_property(self, property_key: str) -> str:
        """"""
        self._check_object_exists()
        return DB.get_hash_value(self.key, property_key)
744068
def get(self, key, default=None):
        """"""

        return self._data.get(key, compat_builtins.__dict__.get(key, default))
871363
def get_key(cls, key):
        ""
        return cls.get().get(key, cls.DEFAULT_CONFIG.get(key,None))