Skip to content

Commit 68436c1

Browse files
committed
hidden_variables docstring
1 parent 9af2437 commit 68436c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

causal_testing/specification/scenario.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ def metas(self) -> set[Meta]:
143143
return self.variables_of_type(Meta)
144144

145145
def hidden_variables(self) -> set[Variable]:
146+
"""Get the set of hidden variables
147+
148+
:return The variables marked as hidden.
149+
:rtype: {Variable}
150+
"""
146151
return {v for v in self.variables.values() if v.hidden}
147152

148153
def add_variable(self, v: Variable) -> None:

0 commit comments

Comments
 (0)