Added documentation for the auto-population feature and the analytics integration.

This commit is contained in:
ajaysi
2026-01-17 11:01:10 +05:30
parent 8193cdba67
commit 1db10ccd0f
61 changed files with 6773 additions and 579 deletions

View File

@@ -172,8 +172,12 @@ class EnhancedStrategyService:
"""Get onboarding integration - delegates to core service."""
return await self.core_service.strategy_analyzer.get_onboarding_integration(strategy_id, db)
async def _get_onboarding_data(self, user_id: int) -> Dict[str, Any]:
"""Get comprehensive onboarding data - delegates to core service."""
async def _get_onboarding_data(self, user_id: str) -> Dict[str, Any]:
"""Get comprehensive onboarding data - delegates to core service.
Args:
user_id: Clerk user ID (string format, e.g., 'user_xxx')
"""
return await self.core_service.data_processor_service.get_onboarding_data(user_id)
def _transform_onboarding_data_to_fields(self, processed_data: Dict[str, Any]) -> Dict[str, Any]: