Skip to content

Commit

Permalink
Fix type hint
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Sorokin <dmd40in@gmail.com>
  • Loading branch information
DimedS committed Jul 29, 2024
1 parent 6fb1930 commit de3abe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kedro-telemetry/kedro_telemetry/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _is_known_ci_env(known_ci_env_var_keys: set[str]):
return any(os.getenv(key) for key in known_ci_env_var_keys)


def _get_project_properties(user_uuid: str, project_path: Path) -> dict:
def _get_project_properties(user_uuid: str, project_path: Path | None) -> dict:
if project_path:
pyproject_path = project_path / PYPROJECT_CONFIG_NAME
project_id = _get_or_create_project_id(pyproject_path)
Expand Down

0 comments on commit de3abe8

Please sign in to comment.