40 lines
2.0 KiB
Python
40 lines
2.0 KiB
Python
from .common import RouteContract
|
|
from .crop_simulation_current_farm_chart import CONTRACT as CROP_SIMULATION_CURRENT_FARM_CHART_CONTRACT
|
|
from .crop_simulation_growth import CONTRACT as CROP_SIMULATION_GROWTH_CONTRACT
|
|
from .crop_simulation_growth_status import CONTRACT as CROP_SIMULATION_GROWTH_STATUS_CONTRACT
|
|
from .crop_simulation_harvest_prediction import CONTRACT as CROP_SIMULATION_HARVEST_PREDICTION_CONTRACT
|
|
from .crop_simulation_yield_prediction import CONTRACT as CROP_SIMULATION_YIELD_PREDICTION_CONTRACT
|
|
from .economy_overview import CONTRACT as ECONOMY_OVERVIEW_CONTRACT
|
|
from .farm_data_upsert import CONTRACT as FARM_DATA_UPSERT_CONTRACT
|
|
from .fertilization_recommend import CONTRACT as FERTILIZATION_RECOMMEND_CONTRACT
|
|
from .irrigation_list import CONTRACT as IRRIGATION_LIST_CONTRACT
|
|
from .irrigation_recommend import CONTRACT as IRRIGATION_RECOMMEND_CONTRACT
|
|
from .rag_chat import CONTRACT as RAG_CHAT_CONTRACT
|
|
from .soile_anomaly_detection import CONTRACT as SOILE_ANOMALY_DETECTION_CONTRACT
|
|
from .soile_health_summary import CONTRACT as SOILE_HEALTH_SUMMARY_CONTRACT
|
|
from .soile_moisture_heatmap import CONTRACT as SOILE_MOISTURE_HEATMAP_CONTRACT
|
|
from .weather_water_need_prediction import CONTRACT as WEATHER_WATER_NEED_PREDICTION_CONTRACT
|
|
|
|
ROUTE_CONTRACTS: dict[str, RouteContract] = {
|
|
contract.path: contract
|
|
for contract in [
|
|
RAG_CHAT_CONTRACT,
|
|
SOILE_MOISTURE_HEATMAP_CONTRACT,
|
|
SOILE_HEALTH_SUMMARY_CONTRACT,
|
|
SOILE_ANOMALY_DETECTION_CONTRACT,
|
|
FARM_DATA_UPSERT_CONTRACT,
|
|
WEATHER_WATER_NEED_PREDICTION_CONTRACT,
|
|
ECONOMY_OVERVIEW_CONTRACT,
|
|
IRRIGATION_LIST_CONTRACT,
|
|
IRRIGATION_RECOMMEND_CONTRACT,
|
|
FERTILIZATION_RECOMMEND_CONTRACT,
|
|
CROP_SIMULATION_GROWTH_CONTRACT,
|
|
CROP_SIMULATION_GROWTH_STATUS_CONTRACT,
|
|
CROP_SIMULATION_CURRENT_FARM_CHART_CONTRACT,
|
|
CROP_SIMULATION_HARVEST_PREDICTION_CONTRACT,
|
|
CROP_SIMULATION_YIELD_PREDICTION_CONTRACT,
|
|
]
|
|
}
|
|
|
|
__all__ = ['ROUTE_CONTRACTS', 'RouteContract']
|