Skip to content

Commit

Permalink
Fix more docs warnings (mlflow#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondav committed Jun 3, 2019
1 parent 63b8aed commit b0c66b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ To run this tutorial, you'll need to:
- Install MLflow (via ``mlflow::mlflow_install()``)
- Clone (download) the MLflow repository via ``git clone https://github.com/mlflow/mlflow``
- ``setwd()`` into the ``examples`` directory within your clone of MLflow - we'll use this
working directory for running the tutorial. We avoid running directly from our clone of
MLflow as doing so would cause the tutorial to use MLflow from source, rather than your
PyPI installation of MLflow.
working directory for running the tutorial. We avoid running directly from our clone of
MLflow as doing so would cause the tutorial to use MLflow from source, rather than your
PyPI installation of MLflow.

Training the Model
------------------
Expand Down
2 changes: 1 addition & 1 deletion mlflow/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@ def can_score_model(self):
def can_build_image(self):
"""
:return: True if this flavor has a `build_image` method defined for building a docker
container capable of serving the model, False otherwise.
container capable of serving the model, False otherwise.
"""
return callable(getattr(self.__class__, 'build_image', None))

0 comments on commit b0c66b5

Please sign in to comment.