in awsglue/blueprint/job.py [0:0]
def __init__(self, **kwargs):
''' Field name -> (expected type, required bool) '''
self.__dict__['_validator'] = {
'Name': (str, True),
'Description': (str, False),
'LogUri': (str, False),
'Role': (str, True),
'ExecutionProperty': (dict, False),
'Command': (dict, True),
'DefaultArguments': (dict, False),
'NonOverridableArguments': (dict, False),
'Connections': (dict, False),
'MaxRetries': (int, False),
'AllocatedCapacity': (int, False),
'Timeout': (int, False),
'MaxCapacity': (float, False),
'SecurityConfiguration': (str, False),
'Tags': (dict, False),
'NotificationProperty': (dict, False),
'GlueVersion': (str, False),
'NumberOfWorkers': (int, False),
'WorkerType': (str, False),
'DependsOn': (dict, False),
'WaitForDependencies': (str, False)
}
self.Name = kwargs.get('Name')
self.Description = kwargs.get('description')
self.LogUri = kwargs.get('LogUri')
self.Role = kwargs.get('Role')
self.ExecutionProperty = kwargs.get('ExecutionProperty')
self.Command = kwargs.get('Command')
self.DefaultArguments = kwargs.get('DefaultArguments')
self.NonOverridableArguments = kwargs.get('NonOverridableArguments')
self.Connections = kwargs.get('Connections')
self.MaxRetries = kwargs.get('MaxRetries')
self.AllocatedCapacity = kwargs.get('AllocatedCapacity')
self.Timeout = kwargs.get('Timeout')
self.MaxCapacity = kwargs.get('MaxCapacity')
self.WorkerType = kwargs.get('WorkerType')
self.NumberOfWorkers = kwargs.get('NumberOfWorkers')
self.SecurityConfiguration = kwargs.get('SecurityConfiguration')
self.NotificationProperty = kwargs.get('NotificationProperty')
self.GlueVersion = kwargs.get('GlueVersion')
self.Tags = kwargs.get('Tags')
self.DependsOn = kwargs.get('DependsOn')
self.WaitForDependencies = kwargs.get('WaitForDependencies')