Skip to content

Commit

Permalink
Removing print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
hrishiballal committed Feb 2, 2025
1 parent 77fef01 commit 0d7a4b2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ def generate_shadow_road_stats():
total_roads_kms=0.0, shadowed_kms=0.0, job_id="0000", total_shadow_area=0.0
)
shadow_stats = asdict(default_shadow)
print(shadow_stats)
return Response(json.dumps(shadow_stats), status=200, mimetype=MIMETYPE)


Expand Down Expand Up @@ -368,7 +367,6 @@ def generate_drawn_trees_shadow():
unprocessed_tree_geojson = geojson_payload["unprocessed_tree_geojson"]
session_id = request.args.get("session_id")
state_id = request.args.get("state_id")
print(session_id,state_id)
kickoff_drawn_trees_shadow_job(
unprocessed_drawn_trees=unprocessed_tree_geojson, session_id=session_id, state_id=state_id
)
Expand Down
2 changes: 1 addition & 1 deletion download_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ def compute_gdh_buildings_shadow(self):
on_failure=notify_roads_download_failure,
job_id=self.session_id + ":" + self.shadow_date_time + ":roads",
)
print('h343')

gdh_buildings_shadow_dependency = Dependency(
jobs=[roads_download_result], allow_failure=False, enqueue_at_front=True
)
Expand Down
2 changes: 1 addition & 1 deletion notifications_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def notify_roads_download_complete(job, connection, result, *args, **kwargs):
# with app.app_context():
# time.sleep(3)
# sse.publish({"roads_key": job_id}, type="roads_download_success")
print("Job with id %s downloaded roads data successfully.." % str(job_id))

logger.info("Job with id %s downloaded roads data successfully.." % str(job_id))


Expand Down

0 comments on commit 0d7a4b2

Please sign in to comment.