Prevent credentials from being overriden by SetJob. Locally the API key can be in the config which will be initialize Polygon, but then SetJob could be called without data overriding the API key with a null value. This prevents this from happening.
Related Issue
N/A
Motivation and Context
N/A
Requires Documentation Change
N/A
How Has This Been Tested?
Unit test
Manual integration with Lean
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Prevent credentials from being overriden by SetJob. Locally the API key can be in the config which will be initialize Polygon, but then SetJob could be called without data overriding the API key with a null value. This prevents this from happening.
Related Issue
N/A
Motivation and Context
N/A
Requires Documentation Change
N/A
How Has This Been Tested?
Types of changes
Checklist:
bug-<issue#>-<description>
orfeature-<issue#>-<description>