Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-21 08:17:31 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-21 08:17:31 +0200
commit2b14aa68d04bf1fb5fbe5dbd7adb9d1c1663a19b (patch)
treea851efc17d93cfec81279d63074745d2adf084e0 /__init__.py
parent3c0f4cebce2a9526d621c647b2b91d07c4817a68 (diff)
Created a __dump__ function in BlockDevice. Can be used to safely dump the class into a JSON object. Building a json_encoder which checks if the object hasattr(obj, '__dump__') before calling would be ideal
Diffstat (limited to '__init__.py')
0 files changed, 0 insertions, 0 deletions