dal.classes.filesystem package

Submodules

dal.classes.filesystem.filesystem module

Copyright (C) Mov.ai - All Rights Reserved Unauthorized copying of this file, via any medium is strictly prohibited Proprietary and confidential

Developers: - Moawiya Mograbi (moawiya@mov.ai) - 2022

class dal.classes.filesystem.filesystem.FileSystem

Bases: object

FileSystem class that will handle all functions related to creating/deleting/modifying files on the system locally.

static read_json(path: Path) dict

Read a json file.

Parameters:

path (Path) – The file path to read from.

Returns:

Dict representation of the json file.

Return type:

dict

Module contents

Copyright (C) Mov.ai - All Rights Reserved Unauthorized copying of this file, via any medium is strictly prohibited Proprietary and confidential

Developers: - Moawiya Mograbi (moawiya@mov.ai) - 2022

class dal.classes.filesystem.FileSystem

Bases: object

FileSystem class that will handle all functions related to creating/deleting/modifying files on the system locally.

static read_json(path: Path) dict

Read a json file.

Parameters:

path (Path) – The file path to read from.

Returns:

Dict representation of the json file.

Return type:

dict