Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove type comments #1710

Merged
merged 5 commits into from
Jul 13, 2021
Merged

Conversation

achals
Copy link
Member

@achals achals commented Jul 12, 2021

Signed-off-by: Achal Shah [email protected]

What this PR does / why we need it:

Type comments are no longer needed given that we support 3.7+. Also, they break mypy as of python 3.9. This PR removes all the instances of type: Blah from the codebase.

Which issue(s) this PR fixes:

(Too small for issue)

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Achal Shah <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2021

Codecov Report

Merging #1710 (df99b56) into master (0d0492d) will decrease coverage by 13.01%.
The diff coverage is 66.66%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1710       +/-   ##
===========================================
- Coverage   82.75%   69.73%   -13.02%     
===========================================
  Files          76       74        -2     
  Lines        6754     6664       -90     
===========================================
- Hits         5589     4647      -942     
- Misses       1165     2017      +852     
Flag Coverage Δ
integrationtests ?
unittests 69.73% <66.66%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sdk/python/feast/client.py 69.13% <ø> (ø)
sdk/python/tests/feast_serving_server.py 38.63% <0.00%> (-2.67%) ⬇️
sdk/python/tests/test_client.py 96.63% <ø> (ø)
sdk/python/feast/feature_table.py 91.97% <50.00%> (+0.05%) ⬆️
sdk/python/feast/config.py 91.04% <100.00%> (ø)
sdk/python/feast/entity.py 96.39% <100.00%> (+0.03%) ⬆️
sdk/python/feast/infra/provider.py 84.68% <100.00%> (-4.51%) ⬇️
sdk/python/tests/test_online_retrieval.py 17.39% <0.00%> (-82.61%) ⬇️
sdk/python/tests/online_read_write_test.py 20.00% <0.00%> (-80.00%) ⬇️
sdk/python/tests/test_cli_gcp.py 31.70% <0.00%> (-68.30%) ⬇️
... and 29 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d0492d...df99b56. Read the comment docs.

achals added 3 commits July 12, 2021 17:06
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
@achals
Copy link
Member Author

achals commented Jul 13, 2021

/retest

Copy link
Collaborator

@tsotnet tsotnet left a comment

Choose a reason for hiding this comment

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

/lgtm

@feast-ci-bot feast-ci-bot removed the lgtm label Jul 13, 2021
Copy link
Collaborator

@felixwang9817 felixwang9817 left a comment

Choose a reason for hiding this comment

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

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achals, felixwang9817, tsotnet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@feast-ci-bot feast-ci-bot merged commit 5957da2 into feast-dev:master Jul 13, 2021
@achals achals deleted the achal/remove-type-comments branch July 13, 2021 22:49
HeardACat pushed a commit to HeardACat/feast that referenced this pull request Jul 16, 2021
* Remove type comments

Signed-off-by: Achal Shah <[email protected]>

* Remove more type comments

Signed-off-by: Achal Shah <[email protected]>

* fix lint

Signed-off-by: Achal Shah <[email protected]>

* fix lint again by removing imports

Signed-off-by: Achal Shah <[email protected]>

* Use time_ns() instead of time()

Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: CS <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants