Skip to content

Commit

Permalink
Drop commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Sep 13, 2024
1 parent e337fe3 commit 6d22750
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tpv/core/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,6 @@ def merge_env_list(original, replace):
def override_single_property(
entity, entity1, entity2, property_name, field_copier=default_field_copier
):
# if (
# property_name in entity1.model_fields_set
# or property_name in entity2.model_fields_set
# ):
setattr(entity, property_name, field_copier(entity1, entity2, property_name))

def override(self, entity: "Entity") -> "Entity":
Expand Down

0 comments on commit 6d22750

Please sign in to comment.