metadata#

LibUserd.metadata() List[Tuple[bytes, str | bytes]]#

Compute the gRPC stream metadata

Compute the list to be passed to the gRPC calls for things like security and the session name.

Returns:
List[Tuple[bytes, Union[str, bytes]]]

A list object of the metadata elements needed in a gRPC call to satisfy the EnSight server gRPC requirements.