Sets the current account id

    Args:
      value: current account id (string)

    Returns:
      None
968077
def account_id(self, value):
    
    if type(value) is not str:
      raise TypeError("commit value must be string")
    self._account_id = value
289909
def value(self, value):
        
        self.client.nowait(
            'set_field', (Literal('browser'), self.element, value))
626185
def update_value(self, name, value):
        
        if name not in {'id', self.SERVICE_ENDPOINT, self.CONSUME_ENDPOINT, 'type'}:
            self._values[name] = value
876558
def name(self, value):
        
        if value == self._defaults['name'] and 'name' in self._values:
            del self._values['name']
        else:
            self._values['name'] = value
1065358
def set_value(self, eid, val, idx='*'):
        
        if eid in self.__element_ids:
            elems = self.__element_ids[eid]
            if type(val) in SEQ_TYPES:
                idx = 0
            if idx == '*':
                for elem in elems:
                    self.__set_value(eid, elem, val, idx)
            elif idx < len(elems):
                self.__set_value(eid, elems[idx], val, idx)
1113551
def set(self, i, value):
        
        value_encoded = encode(value, self.get_change_trigger(i))

        if i in self.data and self.data[i] == value_encoded:
            return self

        self.data[i] = value_encoded
        return self.trigger_changed(i)
1353395
public function setId($value)
    {
        $this->_validateNotNull('Id', $value);
        $this->_validateInt('Id', $value);

        if ($this->data['id'] === $value) {
            return;
        }

        $this->data['id'] = $value;

        $this->_setModified('id');
    }
1258086
public function setAccountId($value)
    {
        if ($value === null || $value === '') {
            $this->_accountId = null;
        } elseif (TypeCast::canCastToString($value)) {
            $this->_accountId = (string)$value;
        } else {
            throw new \InvalidArgumentException('Invalid account_id value type "' . gettype($value) . '"');
        }
    }
440592
def set_id(self,i):
        
        if self.type == 'NAF':
            self.node.set('id',i)
        elif self.type == 'KAF':
            self.node.set('mid',i)
889819
def set_current_value(self, value):
        '''
        
        '''
        self._current_value = value
        self._current_rendered = self._encode_value(self._current_value)
        return self._current_rendered
1268350
def _setID(self, id):
        
        if type(id) in (types.ListType, types.TupleType):
            try:
                for key in self._sqlPrimary:
                    value = id[0]
                    self.__dict__[key] = value
                    id = id[1:] # rest, go revursive
            except IndexError:
                raise 'Not enough id fields, required: %s' % len(self._sqlPrimary)
        elif len(self._sqlPrimary) <= 1:
            # It's a simple value
            key = self._sqlPrimary[0]
            self.__dict__[key] = id
        else:
            raise 'Not enough id fields, required: %s' % len(self._sqlPrimary)
        self._new = False
946819
private static function setAccountBalance($account_id, $accountSide, $value, $delete = false) {
        $account = Account::findOne($account_id);

        if ($account === null) {
            throw new Exception('account with id ' . $account_id . ' not found');
        }

        if ($accountSide === StaticEb::$accountsideDebitSign) {
            //If delete, then subtract
            If ($delete === false) {
                $account->balance_debit = StaticEb::mathAdd($account->balance_debit, $value);
            } else {
                $account->balance_debit = StaticEb::mathSubtract($account->balance_debit, $value);
            }

        }
1196974
def set(self, id, value):
        
        id = self.key_name(id)
        self.redis.set(id, json_dumps(value))
921965
def set(self, option, value):
        
        if self.config is None:
            self.config = {}
        self.config[option] = value
540969
def _set(self, value):
        '''
        

        '''
        user = self.USER
        try:
            uid = pwd.getpwnam(user).pw_uid
        except KeyError:
            log.info('User does not exist')
            result = {}
            result['retcode'] = 1
            result['stdout'] = 'User {0} does not exist'.format(user)
            return result

        cmd = self.gsetting_command + ['set', self.SCHEMA, self.KEY, value]
        environ = {}
        environ['XDG_RUNTIME_DIR'] = '/run/user/{0}'.format(uid)
        result = __salt__['cmd.run_all'](cmd, runas=user, env=environ, python_shell=False)
        return result
212286
def set(ctx, key, value):
    
    if key == "default_account" and value[0] == "@":
        value = value[1:]
    ctx.bitshares.config[key] = value
150365
def set_value(self, instance, value):
        ''''''
        setattr(instance, self.attname, self.to_python(value))