Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Yield NameLoad orelse Expr Yield NameLoad orelse For NameStore AttributeLoad NameLoad attr body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Yield NameLoad orelse Expr Yield NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num If CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Str AugAssignAdd NameStore Num orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad
N/A N/A Command line tool help you debug your distiller event definitions.

Feed it a list of test notifications in json format, and it will show
you what events will be generated.
 N/A argparse N/A json N/A sys stackdistiller condenser stackdistiller distiller TestCondenser N/A N/A condenser CondenserBase N/A __init__ N/A N/A self N/A N/A N/A N/A N/A self clear N/A add_trait N/A N/A self name trait_type value N/A N/A N/A N/A N/A N/A self traits append N/A N/A distiller Trait name trait_type value N/A add_envelope_info N/A N/A self event_type message_id when N/A N/A N/A N/A self event_type event_type N/A N/A self message_id message_id N/A N/A self when when N/A get_event N/A N/A self N/A N/A N/A self N/A clear N/A N/A self N/A N/A N/A N/A self event_type None N/A N/A self message_id None N/A N/A self when None N/A N/A self traits N/A N/A __str__ N/A N/A self N/A N/A N/A text N/A N/A Event: %s (id: %s) at %s N/A N/A self event_type N/A self message_id N/A self when N/A trait N/A sorted N/A self traits N/A N/A N/A N/A text append N/A     Trait: name: %s, type: %s, value: %s trait N/A N/A N/A text append N/A N/A N/A join text N/A N/A test_data N/A N/A args N/A N/A N/A N/A N/A args test_data N/A N/A n N/A N/A json load N/A sys stdin N/A N/A args list N/A N/A notif n N/A N/A N/A notif N/A N/A N/A n N/A N/A f N/A args test_data N/A N/A N/A open f r data N/A N/A n N/A N/A json load data N/A N/A args list N/A N/A notif n N/A N/A N/A notif N/A N/A N/A n N/A N/A parser N/A N/A argparse ArgumentParser description Test Distiller configuration N/A N/A N/A parser add_argument -c --config default event_definitions.yaml help Name of event definitions file to test (Default: %(default)s) N/A N/A N/A parser add_argument -l --list action store_true help Test data files contain JSON list of notifications. (By default data files should contain a single notification.) N/A N/A N/A parser add_argument -d --add_default_definition action store_true help Add default event definition. Normally, notifications are dropped if there is no event definition for their event_type. Setting this adds a "catchall" that converts unknown notifications to Events with a few basic traits. N/A N/A N/A parser add_argument -o --output type N/A N/A argparse FileType w default N/A sys stdout help Output file. Default stdout N/A N/A N/A parser add_argument test_data nargs * metavar JSON_FILE help Test notifications in JSON format. Defaults to stdin N/A args N/A N/A parser parse_args N/A config N/A N/A distiller load_config N/A args config N/A out N/A args output N/A N/A N/A out write N/A Definitions file: %s
 N/A args config N/A notifications N/A test_data args N/A dist N/A N/A distiller Distiller config catchall N/A args add_default_definition N/A nct 0 N/A drops 0 N/A cond N/A TestCondenser N/A notification notifications N/A N/A N/A N/A cond clear N/A nct 1 N/A N/A N/A N/A dist to_event notification cond None N/A N/A N/A N/A out write N/A Dropped notification: %s
 N/A notification N/A message_id N/A drops 1 N/A N/A event N/A N/A cond get_event N/A N/A N/A out write N/A str event N/A N/A N/A out write --
 N/A N/A N/A out write N/A Notifications tested: %s (%s dropped)
 N/A nct drops