<#1724 use getattr to access task_def.disable_deck...
# flyte-github
a
#1724 use getattr to access task_def.disable_deck in entrypoint Pull request opened by cosmicBboy Fixes flyteorg/flyte#3841 TL;DR #1693 introduced a bug in task templates like
SQlite3Task
. This PR fixes an issue in the execution entrypoint that assumes the all task objects have the
disable_deck
attribute. Type ☑︎ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Use the
getattr
function to get
disable_deck
, and return
False
if not present. Tracking Issue https://github.com/flyteorg/flyte/issues/ flyteorg/flytekit ✅ All checks have passed 30/30 successful checks