Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow_none in additional parameters #2043

Open
RedekG opened this issue Sep 1, 2022 · 1 comment
Open

Allow_none in additional parameters #2043

RedekG opened this issue Sep 1, 2022 · 1 comment
Labels

Comments

@RedekG
Copy link

RedekG commented Sep 1, 2022

Hi!

Is it possible that additional attributes have null value? If so how to set it?
Here is an example of a code:

class Test(Schema):
    class Meta:
        include = {
            "tester:test": fields.Str(),
        }
        additional = ["test:one","test:two","test:three"]
        ordered = True
@lafrech
Copy link
Member

lafrech commented Nov 15, 2022

I don't think this is possible and I don't think it will change.

We want to deprecate/remove the additional feature (#1356).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants