Skip to content

Commit

Permalink
apeassing other linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-water committed Jul 29, 2021
1 parent 23918b6 commit ad53e36
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions containers/cleanair/cleanair/databases/tables/jamcam_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ class JamCamStabilitySummaryData(Base):
# score int4 NULL,
# CONSTRAINT stability_summary_pk PRIMARY KEY (camera_id)
# );
# CREATE INDEX stability_summary_camera_id_idx ON jamcam.stability_summary USING btree (camera_id);
# CREATE INDEX stability_summary_camera_id_idx ON jamcam.stability_summary
# USING btree (camera_id);
"""

# pylint: disable=C0103
Expand Down Expand Up @@ -218,7 +219,8 @@ class JamCamStabilityRawData(Base):
# ssim_diff_avg0 float4 NULL,
# "date" date NULL
# );
# CREATE UNIQUE INDEX stability_raw_camera_id_idx ON jamcam.stability_raw USING btree (camera_id, date);
# CREATE UNIQUE INDEX stability_raw_camera_id_idx ON jamcam.stability_raw
# USING btree (camera_id, date);
"""

# pylint: disable=C0103
Expand Down Expand Up @@ -260,11 +262,14 @@ class JamCamConfidentDetections(Base):
# max(frame_stats_v3.detection_id) AS count
# FROM jamcam.frame_stats_v3
# WHERE frame_stats_v3.confidence > 0.8::double precision
# GROUP BY frame_stats_v3.camera_id, frame_stats_v3.video_upload_datetime, frame_stats_v3.detection_class
# GROUP BY frame_stats_v3.camera_id, frame_stats_v3.video_upload_datetime,
# frame_stats_v3.detection_class
# WITH DATA;
# -- View indexes:
# CREATE INDEX video_summary_80perc_camera_id_idx ON jamcam.video_summary_80perc USING btree (camera_id, video_upload_datetime);
# CREATE INDEX video_summary_80perc_camera_id_idx ON
# jamcam.video_summary_80perc USING
# btree (camera_id, video_upload_datetime);
"""

# pylint: disable=C0103
Expand Down

0 comments on commit ad53e36

Please sign in to comment.