Closed akariv closed 5 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
dataflows/processors/load.py | 34 | 39 | 87.18% | ||
<!-- | Total: | 35 | 40 | 87.5% | --> |
Totals | |
---|---|
Change from base Build 303: | -0.01% |
Covered Lines: | 1558 |
Relevant Lines: | 1856 |
Totals | |
---|---|
Change from base Build 303: | 0.3% |
Covered Lines: | 1564 |
Relevant Lines: | 1857 |
@akariv what issue does this relate to? What is it adding? Wasn't super clearr.
@rufuspollock updated description of the PR, thanks :) !
This PR generalizes the way that
load
infers and casts data types, deprecating thevalidate
andforce_strings
arguments into three 'strategy' arguments:infer_strategy
,cast_strategy
andon_error
(to decide what to do when validations errors occur).See here for usage: https://github.com/datahq/dataflows/pull/88/files#diff-0edecdf275b79739bdb4ca088cfb67e5R67