Skip to content

Commit

Permalink
adds additional augmented assignment statements (#4315) (#4331)
Browse files Browse the repository at this point in the history
* adds additional augmented assignment statements (#4315)

* Per PR comments, revised CHANGELOG.md to note change and contributor info

automatic commit by git-black, original commits:
  d80646c
  • Loading branch information
sarah-weatherbee authored and iknox-fa committed Feb 8, 2022
1 parent 94bca37 commit bcf440a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/dbt/graph/selector_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def dict_from_single_spec(cls, raw: str):
method_name, method_arguments = cls.parse_method(dct)
meth_name = str(method_name)
if method_arguments:
meth_name += '.' + '.'.join(method_arguments)
meth_name += "." + ".".join(method_arguments)
dct["method"] = meth_name
dct = {k: v for k, v in dct.items() if (v is not None and v != "")}
if "childrens_parents" in dct:
Expand Down
4 changes: 2 additions & 2 deletions core/dbt/parser/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,15 +700,15 @@ def build_manifest_state_check(self):
key_list.sort()
env_var_str = ""
for key in key_list:
env_var_str += f'{key}:{config.project_env_vars[key]}|'
env_var_str += f"{key}:{config.project_env_vars[key]}|"
project_env_vars_hash = FileHash.from_contents(env_var_str)

# Create a FileHash of the env_vars in the project
key_list = list(config.profile_env_vars.keys())
key_list.sort()
env_var_str = ""
for key in key_list:
env_var_str += f'{key}:{config.profile_env_vars[key]}|'
env_var_str += f"{key}:{config.profile_env_vars[key]}|"
profile_env_vars_hash = FileHash.from_contents(env_var_str)

# Create a FileHash of the profile file
Expand Down

0 comments on commit bcf440a

Please sign in to comment.