-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:logicalclocks/feature-store-api i…
…nto the-merge
- Loading branch information
Showing
31 changed files
with
857 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: optional-dependency | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
unit_tests_no_great_expectations: | ||
name: Unit Testing (No Great Expectations) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set Timezone | ||
run: sudo timedatectl set-timezone UTC | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Copy README | ||
run: cp README.md python/ | ||
|
||
- uses: actions/setup-python@v5 | ||
name: Setup Python | ||
with: | ||
python-version: "3.10" | ||
cache: "pip" | ||
cache-dependency-path: "python/setup.py" | ||
- run: pip install -e python[python,dev-no-opt] | ||
|
||
- name: Run Pytest suite | ||
env: | ||
ENABLE_HOPSWORKS_USAGE: "false" | ||
run: pytest python/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import importlib.util | ||
|
||
|
||
# Data Validation / Great Expectations | ||
HAS_GREAT_EXPECTATIONS: bool = ( | ||
importlib.util.find_spec("great_expectations") is not None | ||
) | ||
great_expectations_not_installed_message = ( | ||
"Great Expectations package not found. " | ||
"If you want to use data validation with Hopsworks you can install the corresponding extras " | ||
"""`pip install hopsworks[great_expectations]` or `pip install "hopsworks[great_expectations]"` if using zsh. """ | ||
"You can also install great-expectations directly in your environment e.g `pip install great-expectations`. " | ||
"You will need to restart your kernel if applicable." | ||
) | ||
initialise_expectation_suite_for_single_expectation_api_message = "Initialize Expectation Suite by attaching to a Feature Group to enable single expectation API" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.