Skip to content

Commit

Permalink
Update src/cegpy/trees/_staged.py
Browse files Browse the repository at this point in the history
Updated typing

Co-authored-by: Aditi Shenvi <39489147+ashenvi10@users.noreply.github.com>
  • Loading branch information
g-walley and ashenvi10 authored Sep 3, 2024
1 parent c0a83d8 commit e669002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cegpy/trees/_staged.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def _validate_hyperstage(initial_staging: List, hyperstage) -> bool:
return True

@staticmethod
def _validate_initial_staging_mutually_exclusive(initial_staging: List):
def _validate_initial_staging_mutually_exclusive(initial_staging: List) -> bool:
if len(set(chain(*initial_staging))) != len(list(chain(*initial_staging))):
return False
return True
Expand Down

0 comments on commit e669002

Please sign in to comment.