Class Set
Represents an operator that adds or updates a Python runtime variable in the specified top-level module.
public class Set : Sink
- Inheritance
-
Set
- Inherited Members
Properties
Module
Gets or sets the Python top-level module containing the variable.
public PyModule Module { get; set; }
Property Value
- PyModule
VariableName
Gets or sets the name of the variable to add or update the value of.
public string VariableName { get; set; }
Property Value
Methods
Process<TSource>(IObservable<TSource>)
Adds or updates a Python runtime variable in the specified top-level module with the values from an observable sequence.
public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence of values used to update the Python runtime variable.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of setting the specified Python runtime variable to the values of the sequence.
Type Parameters
TSource
The type of the values in the
source
sequence.