I'm moving code into azure and am wondering what function would be used to accomplish the same thing in python, but without awsglue:
import sys
from awsglue.utils import getResolvedOptions
args = getResolvedOptions(sys.argv, ['JOB_NAME', 'day_partition_key'])
print(args['day_partition_key'])