MCPcopy Create free account
hub / github.com/archlinux/archinstall / table_data

Method table_data

archinstall/lib/models/users.py:166–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

164 return f'User({self.username=}, {self.sudo=}, {self.groups=})'
165
166 def table_data(self) -> dict[str, str | bool | list[str]]:
167 return {
168 'username': self.username,
169 'password': self.password.hidden(),
170 'sudo': self.sudo,
171 'groups': self.groups,
172 }
173
174 def json(self) -> UserSerialization:
175 return {

Callers 3

_get_column_keysMethod · 0.45
_put_data_to_tableMethod · 0.45
_get_valuesFunction · 0.45

Calls 1

hiddenMethod · 0.80

Tested by

no test coverage detected