diff options
Diffstat (limited to 'python/report_ops/wires.py')
| -rw-r--r-- | python/report_ops/wires.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/report_ops/wires.py b/python/report_ops/wires.py index c3eb1cf7..50f8284d 100644 --- a/python/report_ops/wires.py +++ b/python/report_ops/wires.py @@ -30,6 +30,7 @@ class Wire(Deal, table_name="custodian_wires", deal_type="custodian_wires"): + "ON CONFLICT (unique_ref) DO NOTHING RETURNING *" ) cls.fund = fund + cls._registry[fund] = cls cls.dtkey = dtkey def __post_init__(self): @@ -78,7 +79,7 @@ class BowdstWire(Wire, BNY, fund="BOWDST", dtkey="%Y%m%d%H%M%S"): cls.commit() -class NTWire(Wire, NT, fund="ISOSEL", dtkey="%Y%m%d%H%M"): +class SeleneWire(Wire, NT, fund="ISOSEL", dtkey="%Y%m%d%H%M"): @classmethod def from_report_line(cls, line: dict): return cls( |
