Assume that you have the following pipeline
pipe = resource >> mapping
Now, when you are calling pipe.get() you will get the SessionUpdate from mapping. However, you would normally be interested in the content (e.g. collection_id) placed in the session by resource. But that is not available from pipe.
Hence, update otelib such that the fetch() method returns the entire session rather than the updates by the last filter.
Assume that you have the following pipeline
Now, when you are calling
pipe.get()you will get the SessionUpdate frommapping. However, you would normally be interested in the content (e.g.collection_id) placed in the session byresource. But that is not available frompipe.Hence, update otelib such that the
fetch()method returns the entire session rather than the updates by the last filter.