Skip to content

Commit

Permalink
Format with black==23.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ethho committed Oct 3, 2024
1 parent 35466a6 commit a0bfc79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions pharus/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,11 @@ def _fetch_records(
r"timestamp", attribute_info.type
):
# Datetime or timestamp, use timestamp to covert to epoch time
row.append(non_blobs_row[attribute_name].replace(
tzinfo=datetime.timezone.utc
).timestamp())
row.append(
non_blobs_row[attribute_name]
.replace(tzinfo=datetime.timezone.utc)
.timestamp()
)
elif attribute_info.type[0:7] == "decimal":
# Covert decimal to string
row.append(str(non_blobs_row[attribute_name]))
Expand Down
1 change: 0 additions & 1 deletion tests/test_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def nei_nienborg_model_labeledvideo_file(


class TestDJConnector:

def test_can_init(self):
djc = DJC()
assert djc is not None
Expand Down

0 comments on commit a0bfc79

Please sign in to comment.