Skip to content

Commit

Permalink
Fix doc typo (#3594)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglun committed Sep 17, 2021
1 parent ab1868b commit 8fa12dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/python/python_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ from seldon_core.user_model import SeldonResponse


class Model:
def predict(self, features, names=[], meta={}):
def predict(self, X, names=[], meta={}):
runtime_metrics = {"type": "COUNTER", "key": "instance_counter", "value": len(X)},
runtime_tags = {"runtime": "tag", "shared": "right one"}
return SeldonResponse(data=X, metrics=runtime_metrics, tags=runtime_tags)
Expand Down

0 comments on commit 8fa12dc

Please sign in to comment.