BeforeAssignAutoEventArgs Class

class kwhelp.BeforeAssignAutoEventArgs(key: str, value: object, field: str, originator: object)[source]

Before Assign Auto Event Args

__init__(key: str, value: object, field: str, originator: object)[source]

Constructor

Parameters
  • key (str) – Key arg

  • value (object) – Value to be assigned

  • field (str) – Field that value is to be assigned to.

  • originator (object) – Object that value is to be assigned to.

  • all_rules (bool) – Determines if all rules or any rules are to be matched

property cancel: bool

Cancel arg. If True process will be canceled.

Getter

Gets cancel arg

Setter

Sets cancel arg

property field_name: str

The field that will be assigned representing key

Getter

Gets the field that will be assigned representing key

Setter

Setts the field that will be assigned representing key

property field_value: object

The value to be blindly assigned to property

Getter

Gets the value to be blindly assigned to property

Setter

Sets the value to be blindly assigned to property

property key: str

Gets the key of the key value pair

property originator: object

Gets object that attributes assigned/modified for