Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
george0st committed Jan 1, 2024
1 parent 903171f commit 1695584
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qgate_sln_mlrun/ts/ts102.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def desc(self) -> str:

@property
def long_desc(self):
return "Delete project include all contents and targets (such as Parquet files, etc.)"
return "Delete project include all contents and targets (such as Parquet/CSV files, etc.)"

def exec(self):
self.delete_projects()
Expand Down
3 changes: 2 additions & 1 deletion qgate_sln_mlrun/ts/ts201.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def desc(self) -> str:

@property
def long_desc(self):
return "Create feature set with name, description, entities, features and targets"
return ("Create feature set with name, description, entities, features and targets. "
"Supported targes are these off-line 'parquet', 'csv' and the on-line 'redis'.")

def exec(self):
self.create_featuresets()
Expand Down
2 changes: 1 addition & 1 deletion qgate_sln_mlrun/ts/ts301.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def desc(self) -> str:

@property
def long_desc(self):
return "Ingest data to feature set from data source to targets based on feature set definition"
return "Ingest data to feature set(s) from data source"

def exec(self):
self.ingest_data()
Expand Down
1 change: 1 addition & 0 deletions qgate_sln_mlrun/ts/ts502.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def _get_data_online(self, testcase_name, project_name, featurevector_name):
vector = fstore.get_feature_vector(f"{project_name}/{featurevector_name}")

with fstore.get_online_feature_service(vector) as svc:
# TODO add valid party-id from data
entities = [{"party-id": "d68fe603-7cb1-44e4-9013-7330a050a6be"}]
resp=svc.get(entities, as_list=True)

0 comments on commit 1695584

Please sign in to comment.