As i can see on these lines
|
from_date: Optional[datetime] = Field(alias="From") |
|
to_date: Optional[datetime] = Field(alias="To") |
from_date and
to_date parameters on
ExportJob must be
datetime objects, but then
ExportApi.start() throws the error on the title (TypeError: Object of type datetime is not JSON serializable)
I could make this work by converting the datetime objects to str just before the _make_call method.