Feat: Architecture redesign for Assessments, Commands, Modalities, Training Techniques, Reinforcement Schedules, Distractions, and Assessment Responses.
This commit is contained in:
@@ -21,6 +21,7 @@ from business_objects.dog.command_category import Lighting_Level
|
||||
from business_objects.dog.lighting_level import Lighting_Level
|
||||
from business_objects.dog.lighting_level import Lighting_Level
|
||||
"""
|
||||
from business_objects.dog.assessment_type import Assessment_Type
|
||||
from business_objects.dog.lighting_level import Lighting_Level
|
||||
from business_objects.dog.location import Location
|
||||
from business_objects.dog.weather import Weather
|
||||
@@ -52,6 +53,11 @@ class Filters_Assessment(Form_Base):
|
||||
, choices = [Form_Base.get_select_option_all()]
|
||||
, default = Form_Base.get_select_valid_option_default_value()
|
||||
)
|
||||
id_assessment_type = SelectField(
|
||||
'Type'
|
||||
, choices = [Form_Base.get_select_option_all()]
|
||||
, default = Form_Base.get_select_valid_option_default_value()
|
||||
)
|
||||
id_weather = SelectField(
|
||||
'Weather'
|
||||
, choices = [Form_Base.get_select_option_all()]
|
||||
@@ -136,6 +142,7 @@ class Filters_Assessment(Form_Base):
|
||||
filters = cls()
|
||||
filters.search.data = json[Base.FLAG_SEARCH]
|
||||
filters.id_assessment.data = json[cls.ATTR_ID_ASSESSMENT]
|
||||
filters.id_assessment_type.data = json[Assessment_Type.ATTR_ID_ASSESSMENT_TYPE]
|
||||
filters.id_weather.data = json[Weather.ATTR_ID_WEATHER]
|
||||
filters.id_lighting_level.data = json[Lighting_Level.ATTR_ID_LIGHTING_LEVEL]
|
||||
filters.id_location.data = json[Location.ATTR_ID_LOCATION]
|
||||
|
||||
Reference in New Issue
Block a user