问题:
execution_date_to_search_for = pytz.timezone('UTC').utc_timezone.localize(datetime.strptime((process["airflow_execution_date"]).replace("T", " "),'%Y-%m-%d %H:%M:%S.%f'))
[2019-02-20 11:56:42,673] {base_task_runner.py:101} INFO - Job 661: Subtask kill_halted_tasks AttributeError: 'UTC' object has no attribute 'utc_timezone'
这个链接包含我用来终止气流暂停任务的源代码。我试图更改时间格式,但它总是抛出一个错误。在
它应该是:
请向维护人员提出问题,以便解决该问题。在
相关问题 更多 >
编程相关推荐