You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unability to freeze the website if no runs have calendar #10
Well, I have a solution, IDK if it's ideal. You can override the _check_endpoints method of the Freezer class to do nothing and the problem goes away, it works even without the czechitas-ostrava-jaro run...
I also tried to use warnings.simplefilter to filter out the warning and it didn't help...
Activity
hroncok commentedon Sep 26, 2018
czechitas-ostrava-jaro is still in master and has calendar. once removed, this will hit me.
Remove (almost) all other runs to speed up Travis
hroncok commentedon Sep 26, 2018
@mikicz can this be solved in NaucseFreezer? Do you have some elegant idea?
mikicz commentedon Sep 26, 2018
Well, I have a solution, IDK if it's ideal. You can override the
_check_endpointsmethod of theFreezerclass to do nothing and the problem goes away, it works even without theczechitas-ostrava-jarorun...I also tried to use
warnings.simplefilterto filter out the warning and it didn't help...hroncok commentedon Sep 26, 2018
Can we copy paste it and remove specific endpoints from the check?
Maybe we can send PR to Frozen-Flask to do this in a more flexible fashion?
mikicz commentedon Sep 27, 2018
Yes, quite easily, you just need to add one line to the function...
A PR for flexible solution would of course be better.