mirror of
https://github.com/jdejaegh/irm-kmi-api.git
synced 2025-06-27 04:05:56 +02:00
Reformat code
This commit is contained in:
parent
2782c57917
commit
c4433f20cc
1 changed files with 10 additions and 3 deletions
|
@ -1,9 +1,16 @@
|
||||||
from typing import Final
|
from typing import Final
|
||||||
|
|
||||||
from irm_kmi_api.data import IrmKmiConditionEvol, IrmKmiRadarStyle
|
from .data import IrmKmiConditionEvol, IrmKmiRadarStyle
|
||||||
|
|
||||||
|
POLLEN_LEVEL_TO_COLOR = {
|
||||||
|
'null': 'green',
|
||||||
|
'low': 'yellow',
|
||||||
|
'moderate': 'orange',
|
||||||
|
'high': 'red',
|
||||||
|
'very high': 'purple',
|
||||||
|
'active': 'active'
|
||||||
|
}
|
||||||
|
|
||||||
POLLEN_LEVEL_TO_COLOR = {'null': 'green', 'low': 'yellow', 'moderate': 'orange', 'high': 'red', 'very high': 'purple',
|
|
||||||
'active': 'active'}
|
|
||||||
WEEKDAYS = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
|
WEEKDAYS = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
|
||||||
|
|
||||||
STYLE_TO_PARAM_MAP: Final = {
|
STYLE_TO_PARAM_MAP: Final = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue