def make_storage( self, profile_context: typing.Optional[ProfileContext] ) -> typing.Optional[FileStorageSystem.ProjectStorageSystem]: project_path = self.project_path if project_path: return FileStorageSystem.make_index_project_storage_system( project_path) return None
def make_storage( self, profile_context: typing.Optional["MemoryProfileContext"] ) -> typing.Optional[FileStorageSystem.ProjectStorageSystem]: return FileStorageSystem.make_index_project_storage_system( self.project_path)