Skip to content

Commit

Permalink
Merge branch 'master' into 0.12.x
Browse files Browse the repository at this point in the history
  • Loading branch information
newgene committed Mar 24, 2023
2 parents fce0864 + bc3d07f commit d356b8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion biothings/hub/databuild/differ.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,9 +583,10 @@ async def diff_cols(self, old_db_col_names, new_db_col_names, *args, **kwargs):
assert "cold_collection" in new_doc.get("build_config", {}), "%s document doesn't have " % self.new.target_collection.name \
+ "a premerge collection declared. Is it really a hot merges collection ?"
self.cold = create_backend(new_doc["build_config"]["cold_collection"])
return super(ColdHotDiffer,
diff_stat = await super(ColdHotDiffer,
self).diff_cols(old_db_col_names, new_db_col_names, *args,
**kwargs)
return diff_stat

def get_metadata(self):
new_doc = get_src_build().find_one(
Expand Down

0 comments on commit d356b8f

Please sign in to comment.