Skip to content

Commit

Permalink
Removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-1000 committed Feb 15, 2024
1 parent f65826e commit 3b22c23
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions api/dependencies.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
import asyncio
import requests
import json
import isodate

import protobuf.datastore_pb2 as dstore

from datetime import datetime
Expand Down Expand Up @@ -35,9 +30,7 @@ def get_datetime_range(datetime_string: str | None) -> Tuple[Timestamp, Timestam
) # HACK: Add one second so we get some data, as the store returns [start, end)
else:
if datetimes[0] != "..":
start_datetime.FromDatetime(
aware_datetime_type_adapter.validate_python(datetimes[0])
)
start_datetime.FromDatetime(aware_datetime_type_adapter.validate_python(datetimes[0]))
else:
start_datetime.FromDatetime(datetime.min)
if datetimes[1] != "..":
Expand Down

1 comment on commit 3b22c23

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API Unit Test Coverage Report
FileStmtsMissCoverMissing
\_\_init\_\_.py00100% 
datastore_pb2.py584621%24–69
datastore_pb2_grpc.py43430%2–225
dependencies.py49482%3–86
grpc_getter.py13130%1–24
locustfile.py15150%1–31
main.py22220%3–51
metadata_endpoints.py20200%1–71
formatters
   \_\_init\_\_.py70100% 
   covjson.py462741%26–76, 82–91
routers
   \_\_init\_\_.py00100% 
   edr.py68663%5–155
   records.py00100% 
TOTAL34130012% 

API Unit Test Coverage Summary

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 2 🔥 1.080s ⏱️

Please sign in to comment.