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

Method parse_arg

archinstall/lib/models/device.py:1382–1388  ·  view source on GitHub ↗
(cls, arg: _BtrfsOptionsSerialization)

Source from the content-addressed store, hash-verified

1380
1381 @classmethod
1382 def parse_arg(cls, arg: _BtrfsOptionsSerialization) -> Self | None:
1383 snapshot_args = arg.get('snapshot_config')
1384 if snapshot_args:
1385 snapshot_config = SnapshotConfig.parse_args(snapshot_args)
1386 return cls(snapshot_config)
1387
1388 return None
1389
1390
1391class _DeviceModificationSerialization(TypedDict):

Callers

nothing calls this directly

Calls 1

parse_argsMethod · 0.45

Tested by

no test coverage detected