Skip to content

Commit

Permalink
Merge pull request #232 from jarq6c/add-bool-pq-store
Browse files Browse the repository at this point in the history
Add `__bool__` to `ParquetStore`
  • Loading branch information
jarq6c authored Aug 24, 2023
2 parents b7baa7b + 0daaace commit 64ba85d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def __del__(self):
def __str__(self) -> str:
# Return root directory string
return str(self.root)

def __bool__(self) -> bool:
return bool(str(self))

def __getitem__(self, subdirectory: str) -> dd.DataFrame:
# Set path
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "7.1.1"
__version__ = "7.2.1"

0 comments on commit 64ba85d

Please sign in to comment.