Skip to content

Commit

Permalink
[#416] Add pid to Service model
Browse files Browse the repository at this point in the history
  • Loading branch information
wujuu authored and Michal-Kolomanski committed Jan 10, 2023
1 parent 84607a6 commit dcc8bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions recommender/models/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class Service(MarketplaceDocument):
one_hot_tensor = ListField(IntField(), blank=True)
dense_tensor = ListField(FloatField(), blank=True)
status = StringField()
pid = StringField()

meta = {
"indexes": [
Expand Down
1 change: 1 addition & 0 deletions tests/factories/marketplace/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ class Meta:
related_services = []
required_services = []
status = "published"
pid = "pid"

0 comments on commit dcc8bd6

Please sign in to comment.