ProcessItem

class jwst.associations.ProcessItem(obj)[source]

Bases: object

Items to be processed.

Create hashable objects from a list of arbitrary objects.

Parameters:
objobject

The object to make a ProcessItem. Objects must be equatable.

Methods Summary

to_process_items(iterable)

Convert a list to ProcessItems.

Methods Documentation

classmethod to_process_items(iterable)[source]

Convert a list to ProcessItems.

Parameters:
iterableiterable

A source of objects to convert

Returns:
iterable

An iterable where the object has been converted to a ProcessItem.