File tree 5 files changed +10
-9
lines changed
5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 3
3
.env
4
4
.venv /
5
5
.web
6
- __pycache__ /
6
+ __pycache__ /
7
+ assets /external /
Original file line number Diff line number Diff line change 1
1
# Web de links de MoureDev
2
2
3
3
[ ![ Python] ( https://img.shields.io/badge/Python-3.11+-yellow?style=for-the-badge&logo=python&logoColor=white&labelColor=101010 )] ( https://python.org )
4
- [ ![ FastAPI ] ( https://img.shields.io/badge/Reflex-0.4.5 +-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010 )] ( https://fastapi.tiangolo.com )
4
+ [ ![ Reflex ] ( https://img.shields.io/badge/Reflex-0.5.9 +-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010 )] ( https://fastapi.tiangolo.com )
5
5
6
6
## Proyecto desarrollado con [ Python] ( https://www.python.org/ ) y [ Reflex] ( https://reflex.dev/ ) que representa un sitio web personal estilo "[ link in bio] ( https://moure.dev/ ) "
7
7
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ class PageState(rx.State):
17
17
async def check_live (self ):
18
18
self .live_status = await live (USER )
19
19
20
- def check_schedule (self ):
20
+ async def check_schedule (self ):
21
21
if self .timezone == "" :
22
22
return rx .call_script (
23
23
utils .LOCAL_TIMEZONE_SCRIPT ,
24
24
PageState .update_timezone
25
25
)
26
26
else :
27
- self .update_timezone (self .timezone )
27
+ await self .update_timezone (self .timezone )
28
28
29
29
async def update_timezone (self , timezone : str ):
30
30
self .timezone = timezone
Original file line number Diff line number Diff line change 1
- from datetime import datetime , timedelta , timezone
2
- import pytz
3
1
import reflex as rx
2
+ import pytz
3
+ from datetime import datetime , timedelta
4
4
5
5
# Común
6
6
Original file line number Diff line number Diff line change 1
- pip == 24.1. 2
2
- reflex == 0.4.5
1
+ pip == 24.2
2
+ reflex == 0.5.9
3
3
python-dotenv == 1.0.1
4
4
supabase == 2.3.5
5
- configcat-client == 9.0.2
5
+ configcat-client == 9.0.4
6
6
pytz == 2024.1
You can’t perform that action at this time.
0 commit comments