alexhsamuel / apsis

General-purpose scheduler.
Other
3 stars 3 forks source link

trim arguments of trailing/leading whitespaces in the UI #379

Closed LudovicoRighi closed 2 weeks ago

LudovicoRighi commented 2 weeks ago

Example: manually schedule a run with date 2024-10-30

ValueError: can't parse as date: '    2024-10-30'
alexhsamuel commented 2 weeks ago

Run args are arbitrary strings, and I don't think it's generally a good idea to mess with them.

LudovicoRighi commented 2 weeks ago

Could you please make an example in which leading/trailing whitespaces are actually relevant and meaningful?

alexhsamuel commented 2 weeks ago

That is completely up to the designer of the jobs. Apsis doesn't impose any policy in this regard.

LudovicoRighi commented 2 weeks ago

Ok understood, thanks Alex; feel free to close this issue