We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35466a6 commit a0bfc79Copy full SHA for a0bfc79
2 files changed
pharus/interface.py
@@ -201,9 +201,11 @@ def _fetch_records(
201
r"timestamp", attribute_info.type
202
):
203
# Datetime or timestamp, use timestamp to covert to epoch time
204
- row.append(non_blobs_row[attribute_name].replace(
205
- tzinfo=datetime.timezone.utc
206
- ).timestamp())
+ row.append(
+ non_blobs_row[attribute_name]
+ .replace(tzinfo=datetime.timezone.utc)
207
+ .timestamp()
208
+ )
209
elif attribute_info.type[0:7] == "decimal":
210
# Covert decimal to string
211
row.append(str(non_blobs_row[attribute_name]))
tests/test_interface.py
@@ -17,7 +17,6 @@ def nei_nienborg_model_labeledvideo_file(
17
18
19
class TestDJConnector:
20
-
21
def test_can_init(self):
22
djc = DJC()
23
assert djc is not None
0 commit comments