Skip to content

Commit

Permalink
Merge pull request #120 from george0st/transaction
Browse files Browse the repository at this point in the history
Add entities to the vector
  • Loading branch information
george0st authored Jan 18, 2024
2 parents 63add8a + 9b307d9 commit 93ad023
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
- see `QGATE_REDIS = redis://localhost:6379`
- Note
- Port is based on container see **6379**, you can use also different
protocol see **rediss**, more informations see [Redis targes store from MLRun](https://docs.mlrun.org/en/latest/data-prep/ingest-data-fs.html#redis-target-store)
protocol see **rediss**, more information see [Redis targes store from MLRun](https://docs.mlrun.org/en/latest/data-prep/ingest-data-fs.html#redis-target-store)

2 changes: 1 addition & 1 deletion qgate_sln_mlrun/ts/ts401.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _create_featurevector_content(self, project_name, featurevector_name, featur
features = json_spec['features']

# create feature vector
vector = fstore.FeatureVector(featurevector_name, features, description=featurevector_desc)
vector = fstore.FeatureVector(featurevector_name, features, description = featurevector_desc, with_indexes = True)
vector.save()


2 changes: 1 addition & 1 deletion qgate_sln_mlrun/ts/ts502.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _get_data_online(self, testcase_name, project_name, featurevector_name):
entities.append(itm)

resp=svc.get(entities, as_list=False)
if len(resp)!=1:
if len(resp) == 0:
raise ValueError("Feature vector did not return value.")
else:
for feature_name in test_features:
Expand Down
2 changes: 1 addition & 1 deletion qgate_sln_mlrun/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Store the version here so:

__version__ = '0.1.4'
__version__ = '0.1.5'

0 comments on commit 93ad023

Please sign in to comment.