Skip to content

Commit

Permalink
Merge new commits
Browse files Browse the repository at this point in the history
  • Loading branch information
David Almeida committed Jan 29, 2025
2 parents 38d62e8 + 4456054 commit 0130a4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nomenclature/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ def flattened_dict_serialized(self):
def depth(self) -> int:
return self.name.count("|")

@property
def from_external_repository(self) -> bool:
return self.repository is not None

def replace_tag(self, tag: str, target: "Code") -> "Code":
"""Return a new instance with tag applied
Expand Down

0 comments on commit 0130a4e

Please sign in to comment.