1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-10-23 23:34:07 +03:00

Refactor GUI field handling to replace add_default_fields with default_fields for consistency

This commit is contained in:
Adolfo Gómez García
2025-07-26 02:07:58 +02:00
parent 19f7cda26c
commit ce9110b7ca
19 changed files with 173 additions and 118 deletions

View File

@@ -96,7 +96,7 @@ class ServicesPoolGroups(ModelHandler[ServicePoolGroupItem]):
# Gui related
def get_gui(self, type_: str) -> list[typing.Any]:
local_gui = self.add_default_fields([], ['name', 'comments', 'priority'])
local_gui = self.default_fields([], ['name', 'comments', 'priority'])
for field in [
{