Skip to content

Commit

Permalink
fix accidental delete of function, update to collections.abc (#210)
Browse files Browse the repository at this point in the history
Co-authored-by: Ken Yocum <ken_yocum@intuit.com>
  • Loading branch information
kyocum and Ken Yocum authored Jun 26, 2024
1 parent f2a933f commit 2439fc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion disdat/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def add_dependencies(self, bundles, arg_names=None):
"""
self._check_open()
curr_count = LineageRecord.dependency_count(self.pb.lineage)
if isinstance(bundles, collections.Iterable):
if isinstance(bundles, collections.abc.Iterable):
if arg_names is None:
arg_names = [
"_arg_{}".format(i)
Expand Down
5 changes: 2 additions & 3 deletions disdat/fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,11 @@ def _run_git_cmd(git_dir, git_cmd, get_output=False):

return output

"""

def determine_pipe_version(pipe_root):
Given a pipe file path, return the repo status. If they are set, use the environment variables,
""" Given a pipe file path, return the repo status. If they are set, use the environment variables,
otherwise run the git commands.
Args:
pipe_root: path to the root of the pipeline
Returns:
Expand Down
2 changes: 0 additions & 2 deletions tests/functional/test_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import hashlib
import os

import boto3
import moto
import pandas as pd
import pytest

Expand Down

0 comments on commit 2439fc3

Please sign in to comment.