Skip to content

Commit

Permalink
🎨 Format Python code with psf/black
Browse files Browse the repository at this point in the history
  • Loading branch information
alexafshar authored Nov 7, 2022
1 parent 7f8ba07 commit 1627b5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/api/appd/AppDService.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,9 +988,8 @@ async def getSyntheticSessionData(self, applicationId: int, jobsJson: List[dict]
# get the last 24 hours in milliseconds
lastMonth = self.endTime - (1 * 60 * 60 * 24 * 30 * 1000)
monthStart = datetime.timestamp(datetime.today().replace(day=1, hour=0, minute=0, second=0, microsecond=0))
ws = (date.today() - timedelta(date.today().weekday()))
weekStart = datetime.timestamp(
datetime.today().replace(year=ws.year, month=ws.month, day=ws.day, hour=0, minute=0, second=0, microsecond=0))
ws = date.today() - timedelta(date.today().weekday())
weekStart = datetime.timestamp(datetime.today().replace(year=ws.year, month=ws.month, day=ws.day, hour=0, minute=0, second=0, microsecond=0))
body = {
"appId": applicationId,
"scheduleIds": jobsJson,
Expand Down

0 comments on commit 1627b5d

Please sign in to comment.