Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aisbf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
aisbf
Commits
fe509751
Commit
fe509751
authored
May 12, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed missing helper
parent
b2aba87a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
settings.py
aisbf/routes/dashboard/settings.py
+10
-0
No files found.
aisbf/routes/dashboard/settings.py
View file @
fe509751
...
...
@@ -19,6 +19,16 @@ _templates = None
logger
=
logging
.
getLogger
(
__name__
)
def
_reorder_dict
(
d
:
dict
,
order
:
list
)
->
dict
:
"""Return a new dict with keys in the given order (unknown keys appended at end)."""
result
=
{
k
:
d
[
k
]
for
k
in
order
if
k
in
d
}
for
k
,
v
in
d
.
items
():
if
k
not
in
result
:
result
[
k
]
=
v
return
result
def
init
(
config
,
templates
):
global
_config
,
_templates
_config
=
config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment