Skip to content

Conversation

@CongaJAMM
Copy link

Noticed SourceCode.requirements is an optional argument and causes an error when left to default None value in a TrainingStep as part of a Pipeline.

Catches case where no requirements argument is sent to create SourceCode object and get_code_hash fails to provide a List to the get_training_code_hash function.

Issue #, if available:

Description of changes:
From the get_code_hash function created a conditional statement to get the right DataType to pass to get_training_code_hash and supply a default value.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…ourceCode object and `get_code_hash` fails to provide a List to the `get_training_code_hash` function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant