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

Method parse_args

archinstall/lib/models/mirrors.py:223–230  ·  view source on GitHub ↗
(cls, args: list[dict[str, str]])

Source from the content-addressed store, hash-verified

221
222 @classmethod
223 def parse_args(cls, args: list[dict[str, str]]) -> list[Self]:
224 configs = []
225 for arg in args:
226 configs.append(
227 cls(arg['url']),
228 )
229
230 return configs
231
232
233class _MirrorConfigurationSerialization(TypedDict):

Callers 1

parse_argsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected