irods / irods_capability_automated_ingest

Other
12 stars 15 forks source link

`--event_handler` must be a path to a local python file #199

Open alanking opened 1 year ago

alanking commented 1 year ago

Historically, the event handler has been imported as a python module. As such, the --event_handler option used with the CLI would be passed as a python module (dot-delimited).

The --event_handler option must now refer to a local python file. The option is now used in a call to open here: https://github.com/irods/irods_capability_automated_ingest/blob/7b06fdfe09478f8bc109da5b2158fbf215017a86/irods_capability_automated_ingest/irods_sync.py#L57

Not sure if this is what we want, but it does conflict with what has been in our training forever.