stackConsult commited on
Commit
1724cb8
·
verified ·
1 Parent(s): b6c2e0e

Fix indentation error - move get_enrichment_manager to root level

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -34,10 +34,9 @@ def save_user_data(username: str, data_type: str, data: Any):
34
  with open(data_file, 'w') as f:
35
  json.dump(data, f, indent=2)
36
 
37
- def get_enrichment_manager(username: str) -> DataEnrichmentManager:
38
- """Get or create DataEnrichmentManager for a user"""
39
- return DataEnrichmentManager(username)
40
-
41
  # --- Consent/Event Audit Panel ---
42
  def consent_audit_panel(consent_events: List[Dict[str, Any]], profile: Optional[gr.OAuthProfile]) -> str:
43
  """
 
34
  with open(data_file, 'w') as f:
35
  json.dump(data, f, indent=2)
36
 
37
+ def get_enrichment_manager(username: str) -> DataEnrichmentManager:
38
+ """Get or create DataEnrichmentManager for a user"""
39
+ return DataEnrichmentManager(username)
 
40
  # --- Consent/Event Audit Panel ---
41
  def consent_audit_panel(consent_events: List[Dict[str, Any]], profile: Optional[gr.OAuthProfile]) -> str:
42
  """