Skip to content

ValueError: Object 'EXCLUDE' is not a valid value for the 'unknown' parameter #110

@Cyb3rFl3x

Description

@Cyb3rFl3x

I'm not quite sure why the example code from dynamorm documentation is not working...

  1. installed marshmallow & dynamorm
  2. i copied you example code
  3. i setup a dynamodb on aws
  4. I got the following error (ValueError: Object 'EXCLUDE' is not a valid value for the 'unknown' parameter)

Seems like the error is coming from the SchemaMeta class of Marshmallow (see: line 393 in marshmallow/schema.py)
It always jumps inside the validate_unknown_parameter_value function. Even if i use predefined unknown vars from Marshmallow documentation... Some one of you have maybe an idea?

self.unknown = (
   self.opts.unknown
   if unknown is None
   else validate_unknown_parameter_value(unknown)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions