We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, in my application, I use before_marshmallow to set the schema based on a user type, in overall it works well, but I faced a few difficulties:
before_marshmallow
schema = BaseSchema def before_marshmallow(self, args, kwargs): if (kwargs["user_type"] == "A"): self.schema = SchemaA elif (kwargs["user_type"] == "B"): self.schema = SchemaB
But, again, on overall it's OK.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, in my application, I use
before_marshmallow
to set the schema based on a user type, in overall it works well, but I faced a few difficulties:But, again, on overall it's OK.
The text was updated successfully, but these errors were encountered: