Apply suggestions from code review
This commit is contained in:
@@ -211,7 +211,7 @@ class FileSystem(SimComponent):
|
|||||||
if file is not None:
|
if file is not None:
|
||||||
return file
|
return file
|
||||||
|
|
||||||
def get_folder_by_name(self, folder_name: str) -> Union[FileSystemFolder, None]:
|
def get_folder_by_name(self, folder_name: str) -> Optional[FileSystemFolder]:
|
||||||
"""
|
"""
|
||||||
Returns a the first folder with a matching name.
|
Returns a the first folder with a matching name.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user