chrthomsen / pygrametl

Official repository for pygrametl - ETL programming in Python
http://pygrametl.org
BSD 2-Clause "Simplified" License
289 stars 41 forks source link

Allow native python date(time) objects as source inputs #41

Closed iiLaurens closed 1 year ago

iiLaurens commented 2 years ago

I used this to solve issue #40

chrthomsen commented 2 years ago

Thanks! Would it be better/slightly more general just to use str on the argument as in (year, month, day) = str(ymdstr).strip("'\"").split('-')? I'm not sure, but if different database drivers sometimes return different "weird" date types, it could help avoiding more problems?

chrthomsen commented 1 year ago

Handled by PR #54