Files
Logic/Modules/Ai/location_data/apps.py
T
2026-05-11 03:27:21 +03:30

19 lines
461 B
Python

from functools import cached_property
from django.apps import AppConfig
class SoilDataConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "location_data"
verbose_name = "Location Data (Remote Sensing)"
@cached_property
def ndvi_health_service(self):
from .ndvi import NdviHealthService
return NdviHealthService()
def get_ndvi_health_service(self):
return self.ndvi_health_service