Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Remove unused import #347

Merged
merged 2 commits into from
Apr 18, 2022
Merged

Remove unused import #347

merged 2 commits into from
Apr 18, 2022

Conversation

sanders41
Copy link
Contributor

Purpose

Removes the unused Any import in health_endpoints.py

Changes

I also noticed there was not a test for the health endpoint so I added one to make sure things still worked after removing the import.

Checklist

  • Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram)
  • Good unit test/integration test coverage
  • This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
  • The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

tests/api/v1/endpoints/test_health_endpoints.py Outdated Show resolved Hide resolved
@@ -1,8 +1,7 @@
from typing import Any, Dict
Copy link
Contributor

Choose a reason for hiding this comment

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

🔍 good attention to detail! looks like we're ignoring missing imports in mypy for some reason

Copy link
Contributor

@pattisdr pattisdr left a comment

Choose a reason for hiding this comment

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

Thank you @sanders41!

@pattisdr pattisdr merged commit f214922 into ethyca:main Apr 18, 2022
@sanders41 sanders41 deleted the unused-import branch April 19, 2022 00:43
adamsachs pushed a commit to adamsachs/fidesops_forked_test that referenced this pull request May 17, 2022
* Remove unused import

* Add health url to urn_registry.py
sanders41 added a commit that referenced this pull request Sep 22, 2022
* Remove unused import

* Add health url to urn_registry.py
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants