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

Update feature views with commit hash included #75

Merged

Conversation

ddl-catherinetu
Copy link
Contributor

Description

Upsert feature views has a commit hash that needs to be passed to the API

Related Issue

https://dominodatalab.atlassian.net/browse/DOM-42358

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • [x ] 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix

colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32"
h11==0.14.0 ; python_version >= "3.8" and python_version < "4.0"
httpcore==0.16.1 ; python_version >= "3.8" and python_version < "4.0"
httpcore==0.16.2 ; python_version >= "3.8" and python_version < "4.0"
httpx==0.23.1 ; python_version >= "3.8" and python_version < "4.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

poetry.lock and requirements.txt is changed after I ran make install, I think that should be okay? @ddl-gabrielhaim

@ddl-catherinetu ddl-catherinetu force-pushed the ddl-ctu.DOM-42358.update-commit-hash-featureviews branch from 112c497 to f5257b0 Compare December 8, 2022 02:00
@ddl-catherinetu ddl-catherinetu force-pushed the ddl-ctu.DOM-42358.update-commit-hash-featureviews branch from f5257b0 to 4c72771 Compare December 8, 2022 02:03
@github-actions
Copy link

github-actions bot commented Dec 8, 2022

✅ Result of Pytest Coverage

---------- coverage: platform linux, python 3.10.8-final-0 -----------

Name Stmts Miss Cover
domino_data/init.py 7 2 71%
domino_data/_feature_store/init.py 0 0 100%
domino_data/_feature_store/client.py 41 3 93%
domino_data/_feature_store/exceptions.py 9 0 100%
domino_data/_feature_store/git.py 43 1 98%
domino_data/_feature_store/run.py 16 16 0%
domino_data/_feature_store/sync.py 96 9 91%
domino_data/auth.py 84 12 86%
domino_data/configuration_gen.py 158 0 100%
domino_data/data_sources.py 261 14 95%
domino_data/logging.py 11 0 100%
domino_data/training_sets/init.py 0 0 100%
domino_data/training_sets/client.py 126 10 92%
domino_data/training_sets/model.py 42 0 100%
TOTAL 894 67 93%

~ 54 passed in 23.13s ~

Comment on lines 70 to +71
Repo.__new__ = MagicMock()
Repo.__new__.return_value = repo_mock
Copy link
Contributor

@ddl-joyce-zhao ddl-joyce-zhao Dec 8, 2022

Choose a reason for hiding this comment

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

Nit: this two lines can be combined together: Repo.__new__ = MagicMock(return_value=repo_mock)

@ddl-joyce-zhao
Copy link
Contributor

BTW, the safety check failed. Might need to bump up some libraries' version.

@ddl-joyce-zhao
Copy link
Contributor

It was closed by mistake. Reopen it.

@ddl-joyce-zhao ddl-joyce-zhao reopened this Dec 8, 2022
@ddl-catherinetu ddl-catherinetu merged commit cd89a3e into main Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants