Add dynamic energy data collections per building

Energy data is now stored in separate collections for each
SLGs/Community/Building directory. Collections are created and indexed
dynamically. Metadata and API queries have been updated to support this
structure.
This commit is contained in:
rafaeldpsilva
2025-10-08 14:05:00 +01:00
parent 8ff20935fc
commit 38fb3e6e96
3 changed files with 199 additions and 39 deletions

View File

@@ -32,7 +32,7 @@ class MockDatabaseManager:
"""Mock get list of processed files"""
return list(self.processed_files)
async def store_file_data(self, filename: str, records: List) -> bool:
async def store_file_data(self, filename: str, records: List, directory_path: str = None) -> bool:
"""Mock store file data"""
self.processed_files.add(filename)
self.stored_files[filename] = records