great_expectations icon indicating copy to clipboard operation
great_expectations copied to clipboard

great_expectations\data_context\types\base.py -> 'Missing' Field Deprecated Warnings

Open PSUlion16 opened this issue 1 year ago • 2 comments

As a developer running tests - warnings are given for the 'Missing' Field within the marshmallow package used by GE. Marshmallow package also throws similar errors, but is outside of scope of GE.

Impacted file, lines and associated errors are shown below.

GE Version: 0.15.26 Marshmallow Version: 3.18.0

Impacted File: great_expectations\data_context\types\base.py

Lines 236, 241, 264, 360, 598, 922, 1096, 1011 Warning:

RemovedInMarshmallow4Warning: The 'missing' argument to fields is deprecated. Use 'load_default' instead. module_name = fields.String(

Line 365 Warning:

RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit metadata=... argument instead. Additional metadata: {'all_none': True} module_name = fields.String(

PSUlion16 avatar Oct 03 '22 21:10 PSUlion16

Howdy @PSUlion16 :wave: thanks for raising this with us and being a part off this stellar community :bow:

We'll raise it with the team; however, if you'd be keen on submitting a contribution that address this, we'll be excited to review it.

AFineDayFor avatar Oct 12 '22 14:10 AFineDayFor

@AFineDayFor - I can take a crack at it - I will probably not get to this until later this week or weekend. Will let you know if I have issues.

PSUlion16 avatar Oct 19 '22 16:10 PSUlion16