Example #1
0
 def make_storage(
     self, profile_context: typing.Optional[MemoryProfileContext]
 ) -> typing.Optional[FileStorageSystem.ProjectStorageSystem]:
     if self.__make_storage_error:
         raise Exception("make_storage_error")
     return FileStorageSystem.make_memory_project_storage_system(
         profile_context, self.project_uuid, self.__d)
Example #2
0
 def make_storage(
     self, profile_context: typing.Optional["MemoryProfileContext"]
 ) -> typing.Optional[FileStorageSystem.ProjectStorageSystem]:
     return FileStorageSystem.make_memory_project_storage_system(
         profile_context, self.project_uuid, self.__d)