MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / to_tuple

Method to_tuple

diffusers/src/diffusers/utils/outputs.py:133–137  ·  view source on GitHub ↗

Convert self to a tuple containing all the attributes/keys that are not `None`.

(self)

Source from the content-addressed store, hash-verified

131 return callable, args, *remaining
132
133 def to_tuple(self) -> Tuple[Any, ...]:
134 """
135 Convert self to a tuple containing all the attributes/keys that are not `None`.
136 """
137 return tuple(self[k] for k in self.keys())

Callers 15

__getitem__Method · 0.95
loop_bodyMethod · 0.80
loop_bodyMethod · 0.80
loop_bodyMethod · 0.80
loop_bodyMethod · 0.80
loop_bodyMethod · 0.80

Calls

no outgoing calls