FORCE NOT NULL and FORCE NULL support #45
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This resolves #44 and adds support for
force_not_null
andforce_null
options toCopyMapping
.I followed the same format as the other
extra_options
β but these two are a little bit more complicated because they need to support the passing of lists. Let me know if you think it should be a bit more robust!I was able to reuse one of the other test fixtures for
force_null
, but none of the mocks fit whatforce_not_null
is trying to accomplish, so I created a new mock and CSV for it.I also think I correctly updated the documentation too, but I have little experience with Sphinx so I was kind of winging it. π¬
I've been testing this against an internal app and it solved my original issue. π