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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user