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

chore: update dependencies #132

Merged
merged 2 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
using: 'composite'
steps:
- name: Install poetry
run: pipx install poetry==1.2.2
run: pipx install poetry==1.6.1
shell: bash
- uses: actions/setup-python@v4
with:
Expand Down
7 changes: 5 additions & 2 deletions deepsearch/core/client/settings_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def __init__(self) -> None:
)
)
self._main_path = self.config_root_path / MAIN_DOTENV_FILENAME
self._main_settings = MainSettings(_env_file=self._main_path)
self._main_settings = MainSettings(_env_file=self._main_path) # type: ignore
# suppressing due to known Pydantic bug https://github.com/pydantic/pydantic/issues/3072

self._profile_root_path = self.config_root_path / PROFILES_DIR_NAME
self._profile_root_path.mkdir(exist_ok=True)

Expand All @@ -51,7 +53,8 @@ def __init__(self) -> None:
profile_name = file_path.stem
self._profile_cache[profile_name] = ProfileSettingsEntry(
path=file_path,
settings=ProfileSettings(_env_file=file_path),
settings=ProfileSettings(_env_file=file_path), # type: ignore
# suppressing due to known Pydantic bug https://github.com/pydantic/pydantic/issues/3072
)

# reset any stale active profile config
Expand Down
Loading