Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Gabriel Weisse
/
presupuestov1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
pr0nstar
2026-08-18 11:52:43 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
63f3f37e66ccb31783f3eaee43bac09b1fb28629
63f3f37e
1 parent
6f41d34b
fixes
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
metrics.py
models/ubigeo.py
routers/daily.py
metrics.py
View file @
63f3f37
...
...
@@ -79,7 +79,11 @@ async def get_redis():
global
redis_client
if
redis_client
is
not
None
:
return
redis_client
try
:
redis_client
.
ping
()
return
redis_client
except
:
pass
with
open
(
"./docs/redis"
)
as
f
:
redis_url
=
f
.
read
()
.
strip
()
...
...
models/ubigeo.py
View file @
63f3f37
...
...
@@ -13,7 +13,7 @@ from sqlalchemy import (
class
UbigeoResumenes
(
Base
):
__tablename__
=
"ubigeo_resumenes"
__table_args__
=
(
Index
(
"idx_
proyect
o_resumenes_gestion"
,
"gestion"
),
Index
(
"idx_
ubige
o_resumenes_gestion"
,
"gestion"
),
{
"schema"
:
"web"
},
)
...
...
routers/daily.py
View file @
63f3f37
...
...
@@ -9,7 +9,7 @@ from presupuestov1.routers._decorators import not_found
router
=
APIRouter
(
prefix
=
'/
_
diario'
,
prefix
=
'/diario'
,
tags
=
[
'diario'
],
)
...
...
Please
register
or
login
to post a comment