Esempio n. 1
0
 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
Esempio n. 2
0
 def make_storage(
     self, profile_context: typing.Optional["MemoryProfileContext"]
 ) -> typing.Optional[FileStorageSystem.ProjectStorageSystem]:
     return FileStorageSystem.make_index_project_storage_system(
         self.project_path)