GitHub user NishaDeepak edited a discussion: Value Error: Naive DateTime 
Disallowed

Airflow version used: 2.10.4

Am trying to build a code to handle the data intervals. I want the time to be 
the same as dag schedule time. For example,

Consider the dag run is on 2025-07-13 at 11:00:00 then the data intervals 
should be:

start: 2025-07-12 11:00:00
end: 2025-07-13 11:00:00

Attached are the pugin and dag python scripts as txt files.

Value Error: Naive DateTime Disallowed
The above error shows up due to line: next_start = 
(next_day,self._schedule_time) of Custom_Timetable.py

Could you please suggest how I can fix this error.

[Custom_Timetable.txt](https://github.com/user-attachments/files/21203143/Custom_Timetable.txt)
[Test_autmated_run_dag.txt](https://github.com/user-attachments/files/21203144/Test_autmated_run_dag.txt)


GitHub link: https://github.com/apache/airflow/discussions/53309

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to