Open anuveyatsu opened 5 years ago
You can use the set_type processor for setting constraints. Something like this:
set_type(fieldname, constraints=dict(required=True))
On Wed, May 8, 2019, 09:06 Anuar Ustayev notifications@github.com wrote:
E.g., I have a table with time series and I wish to have constraints.minimum and constraints.maximum in the schema so that I have aggregated information about the table.
Is there a standard approach using existing processors or should I go for a custom processor?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/datahq/dataflows/issues/86, or mute the thread https://github.com/notifications/unsubscribe-auth/AACAY5M7KOMMVVDFYFKIM3DPUJUXTANCNFSM4HLOVEQA .
E.g., I have a table with time series and I wish to have
constraints.minimum
andconstraints.maximum
in the schema so that I have aggregated information about the table.Is there a standard approach using existing processors or should I go for a custom processor?