Skip to content

Commit

Permalink
pyproject remove optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-catherinetu committed Dec 7, 2022
1 parent 9343f34 commit 20aacf6
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions domino_data/_feature_store/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ def update_feature_views(commit_id: str, repo_path: str) -> None:
)
request_input.append(feature_v)

# TODO update the API to include the commit id so that feature views
# and commit id can be updated to domino in one call
client = FeatureStoreClient()
client.post_feature_views(request_input, commit_id)
logger.info("Feature Views successfully synced.")
Expand Down
1 change: 1 addition & 0 deletions domino_data/data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def load_oauth_credentials() -> Dict[str, str]:
jwt = get_jwt_token(token_url)
except httpx.HTTPStatusError:
logger.opt(exception=True).warning("Failed to get token from sidecar container API")
pass
else:
return {CredElem.TOKEN.value: jwt}

Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ sphinx-rtd-theme = "^0.5.2"
types-PyYAML = "^6.0.4"
types-python-dateutil = "^2.8.19.4"

[tool.poetry.group.featurestore]
optional = true

[tool.poetry.group.featurestore.dependencies]
feast = "^0.26.0"
GitPython = "^3.1.29"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bson==0.5.10 ; python_version >= "3.8" and python_version < "4.0"
certifi==2022.9.24 ; python_version >= "3.8" and python_version < "4.0"
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"
idna==3.4 ; python_version >= "3.8" and python_version < "4.0"
loguru==0.5.3 ; python_version >= "3.8" and python_version < "4.0"
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import pyarrow
import pytest
from _pytest.logging import caplog as _caplog
from loguru import logger

# TODO This method is deprecated and should be refactored using `env`
Expand Down

0 comments on commit 20aacf6

Please sign in to comment.