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
fc204dc1
Commit
fc204dc1
authored
Apr 21, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Replace non-existent analytics methods with placeholder values
parent
b40c0d62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
main.py
main.py
+3
-5
No files found.
main.py
View file @
fc204dc1
...
...
@@ -2208,11 +2208,9 @@ async def dashboard_analytics(
# Get cost overview
cost_overview
=
analytics
.
get_cost_overview
(
from_datetime
,
to_datetime
,
user_filter
=
user_filter_int
)
# Get recommendations
recommendations
=
analytics
.
get_recommendations
(
from_datetime
,
to_datetime
,
user_filter
=
user_filter_int
)
# Get optimization savings
optimization_savings
=
analytics
.
get_optimization_savings
(
from_datetime
,
to_datetime
,
user_filter
=
user_filter_int
)
# Placeholder for recommendations and optimization savings (not yet implemented)
recommendations
=
[]
optimization_savings
=
0
# Handle Decimal values from MySQL for JSON serialization
def
decimal_default
(
obj
):
...
...
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