ChildRecord#
- class langchain_community.callbacks.streamlit.mutable_expander.ChildRecord(
- type: ChildType,
- kwargs: Dict[str, Any],
- dg: DeltaGenerator,
Child record as a NamedTuple.
Create new instance of ChildRecord(type, kwargs, dg)
Attributes
dg
Alias for field number 2
kwargs
Alias for field number 1
type
Alias for field number 0
Methods
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
- Parameters:
type (ChildType)
kwargs (Dict[str, Any])
dg (DeltaGenerator)
- count(value, /)#
Return number of occurrences of value.
- index(
- value,
- start=0,
- stop=9223372036854775807,
- /,
Return first index of value.
Raises ValueError if the value is not present.