MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / get_workspace_layout

Function get_workspace_layout

web/pgadmin/settings/__init__.py:88–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87
88def get_workspace_layout():
89 result = (Setting.query.filter(
90 Setting.user_id == current_user.id,
91 Setting.setting.ilike('Workspace/Layout%')).all())
92
93 settings = {}
94 for row in result:
95 settings[row.setting] = row.value
96 return settings
97
98
99def get_layout():

Callers 1

get_layoutFunction · 0.85

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected