haystack-ml-stack 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/PKG-INFO +1 -1
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/pyproject.toml +1 -1
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack/__init__.py +1 -1
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack/utils.py +3 -7
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/PKG-INFO +1 -1
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/README.md +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/setup.cfg +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack/app.py +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack/cache.py +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack/dynamo.py +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack/model_store.py +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack/settings.py +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/SOURCES.txt +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/dependency_links.txt +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/requires.txt +0 -0
- {haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/top_level.txt +0 -0
|
@@ -3,7 +3,7 @@ import numpy as np
|
|
|
3
3
|
import typing as _t
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
def
|
|
6
|
+
def stream_favorites_cleanup(
|
|
7
7
|
stream, user_favorite_tags: list[str], user_favorite_authors: list[str]
|
|
8
8
|
) -> dict:
|
|
9
9
|
stream_tags = stream.get("haystackTags", [])
|
|
@@ -146,12 +146,8 @@ def device_watched_count_cleanups(
|
|
|
146
146
|
watched = counts_obj.get(entry_context, {}).get("watched", 0)
|
|
147
147
|
context_key = entry_context if "launch" not in entry_context else "launch"
|
|
148
148
|
context_key = context_key.upper().replace(" ", "_")
|
|
149
|
-
feats[
|
|
150
|
-
|
|
151
|
-
)
|
|
152
|
-
feats["features"][f"STREAM_{context_key}_{device_type}_24H_TOTAL_ATTEMPTS"] = (
|
|
153
|
-
attempts
|
|
154
|
-
)
|
|
149
|
+
feats[f"STREAM_{context_key}_{device_type}_24H_TOTAL_WATCHED"] = watched
|
|
150
|
+
feats[f"STREAM_{context_key}_{device_type}_24H_TOTAL_ATTEMPTS"] = attempts
|
|
155
151
|
return feats
|
|
156
152
|
|
|
157
153
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/requires.txt
RENAMED
|
File without changes
|
{haystack_ml_stack-0.2.2 → haystack_ml_stack-0.2.3}/src/haystack_ml_stack.egg-info/top_level.txt
RENAMED
|
File without changes
|