Closed KeithYatco closed 2 months ago
I have fix the problem in the documentation it does not say that another object is also being passed in to the resources(ProductManagement) i just added a random variable:
def __init__(self, url, rate_limiter, authentication, product_controller):
I'm having trouble transitioning from flask_restful to flask_restx while using the add_resource() method. In flask_restful, everything was working fine, but I'm encountering issues with flask_restx. A clear and concise question
Here are the relevant links to the documentation I’m following:
I'm encountering an error: "got multiple values for argument 'rate_limiter'".
I have tried removing rate_limiter from resource_class_kwargs, but the error persists. it will then ask "got multiple values for argument 'authentication'".
Here’s the code snippet that is causing the issue: