Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions archinstall/lib/models/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def json(self) -> BluetoothConfigSerialization:
return {'enabled': self.enabled}

@staticmethod
def parse_arg(arg: dict[str, Any]) -> 'BluetoothConfiguration':
def parse_arg(arg: BluetoothConfigSerialization) -> 'BluetoothConfiguration':
return BluetoothConfiguration(arg['enabled'])


Expand All @@ -83,7 +83,7 @@ def json(self) -> PowerManagementConfigSerialization:
}

@staticmethod
def parse_arg(arg: dict[str, Any]) -> 'PowerManagementConfiguration':
def parse_arg(arg: PowerManagementConfigSerialization) -> 'PowerManagementConfiguration':
return PowerManagementConfiguration(
PowerManagement(arg['power_management']),
)
Expand All @@ -97,7 +97,7 @@ def json(self) -> PrintServiceConfigSerialization:
return {'enabled': self.enabled}

@staticmethod
def parse_arg(arg: dict[str, Any]) -> 'PrintServiceConfiguration':
def parse_arg(arg: PrintServiceConfigSerialization) -> 'PrintServiceConfiguration':
return PrintServiceConfiguration(arg['enabled'])


Expand Down