Skip to content

Commit

Permalink
Prepare release 0.7.7 (#105)
Browse files Browse the repository at this point in the history
* Prepare release 0.7.7

* update for mypy
  • Loading branch information
strickvl authored Oct 19, 2023
1 parent f809730 commit 2d9a660
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mlstacks"
version = "0.7.6"
version = "0.7.7"
packages = [{ include = "mlstacks", from = "src" }]
description = "MLStacks MLStacks."
authors = ["ZenML GmbH <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion src/mlstacks/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.6
0.7.7
4 changes: 2 additions & 2 deletions src/mlstacks/analytics/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
from logging import getLogger
from types import TracebackType
from typing import Any, Dict, Optional, Type
from typing import Any, Dict, Optional, Type, cast
from uuid import uuid4

import click
Expand Down Expand Up @@ -133,7 +133,7 @@ def get_analytics_user_id() -> Optional[str]:
config_file = os.path.join(config_dir, CONFIG_FILENAME)
if os.path.exists(config_file):
yaml_dict = load_yaml_as_dict(config_file)
return yaml_dict.get("analytics_user_id", None)
return cast(str, yaml_dict.get("analytics_user_id", None))
return None

@staticmethod
Expand Down

0 comments on commit 2d9a660

Please sign in to comment.