rand-engine 0.4.2__tar.gz → 0.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rand-engine
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: Rand Engine v2. Package with some methods to generate random data in different formats. Great to mock data while testing or developing.
5
5
  Author: marcoaureliomenezes
6
6
  Author-email: marcoaurelioreislima@gmail.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "rand-engine"
3
- version = "0.4.2"
3
+ version = "0.4.3"
4
4
  description = "Rand Engine v2. Package with some methods to generate random data in different formats. Great to mock data while testing or developing."
5
5
  authors = ["marcoaureliomenezes <marcoaurelioreislima@gmail.com>"]
6
6
  repository = "https://github.com/marcoaureliomenezes/rand_engine"
@@ -129,9 +129,9 @@ class DBFSUtils(FSUtils):
129
129
  raise Exception(f"Failed to create directory {path}: {str(e)}")
130
130
 
131
131
 
132
- def rm(self, path: str) -> None:
132
+ def rm(self, path: str, recursive: bool = False) -> None:
133
133
  try:
134
- result = self.dbutils.fs.rm(path, recurse=False)
134
+ result = self.dbutils.fs.rm(path, recurse=recursive)
135
135
  if not result:
136
136
  raise Exception(f"Failed to delete file {path}")
137
137
  except Exception as e:
File without changes