You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I understand is that when I declare a class, after passing in the config variable, it will be overridded, so it can be called directly. But from the results, config.redis doesn't dynamically modify providers.Resource based on config changes, which I'm puzzled about.
Under normal circumstances, the following code can be run:
But I want to write the code in the following way:
In this case, an error occurred:
***(Pydantic.BaseModel) object has no attribute 'get'
Here's how I declare config:
The text was updated successfully, but these errors were encountered: