Open yurijmikhalevich opened 1 week ago
can you assign me this issue , i will try my best to solve this issue , if possible can you tell which file i need to make change to solve this or where i should more focus...
@mohitahlawat2001, thank you for reaching out. Of course, assigned! 😄
In the calendar
tool we have code that fetches the calendar, here:
We need to update it to refetch the calendar data every 15 minutes – it would be perfect to make the interval configurable via the env variable.
You can test that it works by adding a unit test here: https://github.com/move-fast-and-break-things/minerva/blob/main/tests/tools/calendar_test.py. I would start by adding a test. Check out how some other tests are done.
In this test, I would:
Let me know if I can help with anything.
after docker command it stick here then have to force stop can you tell me how i can run normal install giving this
or should i make pr , i already make changes calendar.py and calendar_test.py
@mohitahlawat2001, thank you for the update!
should i make pr , i already make changes calendar.py and calendar_test.py
Yes, please, do make the PR.
Regarding poetry and docker:
docker compose up
, it's fine for now.~3.12.0
instead of ~3.12.5
. It will resolve your issue. https://github.com/move-fast-and-break-things/minerva/blob/35346631b43169afc08ff8af682e5185b5471e8f/pyproject.toml#L10
Minerva should update the calendar info periodically to reflect the latest changes.