Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
  • Loading branch information
victorgarcia98 committed Mar 7, 2024
1 parent d2336ec commit 5fc551f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flexmeasures/data/models/generic_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def asset_type(self) -> GenericAssetType:

@property
def offspring(self) -> list[GenericAsset]:
"""Returns a flattened list of all offspring, which is looked up recursively."""
offspring = []

for child in self.child_assets:
Expand Down

0 comments on commit 5fc551f

Please sign in to comment.