extract_templates#

rbc.remotejit.extract_templates(options)#

Extract templates mapping data from options dictionary.

If options does not contain “templates”, it will be constructed from all unknown options that have list values. Otherwise, the corresponding value is returned with no further processing of options content.

Parameters:

options (dict) –

Returns:

  • options (dict) – A copy of input without templates mapping data.

  • templates (dict) – Templates mapping which is a collections of pairs of template name and a list of concrete types. Template name cannot correspond to a concrete type.