Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zendesk-klross committed Jul 21, 2023
1 parent 8ee3245 commit ced41f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions metaflow/metaflow_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@
# default to True.
BATCH_EMIT_TAGS = from_conf("BATCH_EMIT_TAGS", False)

# Set to False to disable default package installation in docker images during job launch.
# This allows better dependency control for your flow, but please ensure that your
# environment has all the required packages for your datastore type (any necessary
# Set to False to disable default package installation in docker images during job launch.
# This allows better dependency control for your flow, but please ensure that your
# environment has all the required packages for your datastore type (any necessary
# dependencies should be explicitly installed in your custom container).
AUTO_INSTALL_DEPENDENCIES = from_conf("AUTO_INSTALL_DEPENDENCIES", True)

Expand Down
4 changes: 3 additions & 1 deletion metaflow/metaflow_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ def _get_download_code_package_cmd(self, code_package_url, datastore_type):
% datastore_type
)

def _get_install_dependencies_cmd(self, datastore_type, install_dependencies=AUTO_INSTALL_DEPENDENCIES):
def _get_install_dependencies_cmd(
self, datastore_type, install_dependencies=AUTO_INSTALL_DEPENDENCIES
):
cmds = []
if install_dependencies:
cmds.append("%s -m pip install requests -qqq" % self._python())
Expand Down

0 comments on commit ced41f1

Please sign in to comment.