MCPcopy Index your code
hub / github.com/reflex-dev/reflex / set_foo

Method set_foo

tests/units/test_state.py:2247–2253  ·  view source on GitHub ↗

Set the attribute foo. Args: val: The value to set.

(self, val: str)

Source from the content-addressed store, hash-verified

2245 ls: list[dict] = dataclasses.field(default_factory=list)
2246
2247 def set_foo(self, val: str):
2248 """Set the attribute foo.
2249
2250 Args:
2251 val: The value to set.
2252 """
2253 self.foo = val
2254
2255 def double_foo(self) -> str:
2256 """Concatenate foo with foo.

Callers 3

set_c1r_fooMethod · 0.45
test_mutable_modelsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected