MCPcopy Index your code
hub / github.com/archlinux/archinstall / parse_args

Method parse_args

archinstall/lib/models/device.py:364–371  ·  view source on GitHub ↗
(cls, size_arg: _SizeSerialization)

Source from the content-addressed store, hash-verified

362
363 @classmethod
364 def parse_args(cls, size_arg: _SizeSerialization) -> Self:
365 sector_size = size_arg['sector_size']
366
367 return cls(
368 size_arg['value'],
369 Unit[size_arg['unit']],
370 SectorSize.parse_args(sector_size),
371 )
372
373 def convert(
374 self,

Callers 5

from_configMethod · 0.45
_parse_argsMethod · 0.45
parse_argMethod · 0.45
parse_argMethod · 0.45
parse_argMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected