generator
generator copied to clipboard
Refactoring of props for ClientClass in python template
currently inside client.py.js of python websocket client we have a component ClientClass which passes all the props down to respective components. This list can grow in future and hard to manage, their is potential of refactoring this code and passing complete asyncapi object and extracting from it in their respective components.
Ref - https://github.com/asyncapi/generator/blob/master/packages/templates/clients/websocket/python/template/client.py.js
/gfi js
anyone can take up the issue.
ohk 👍🏼
@achaljhawar are you working on the issue? Please mention it explicitly.
Yes, I did not specifically mention it because I am still figuring out how to work on it.
@achaljhawar are you working on the issue? Please mention it explicitly.
@achaljhawar no it is just simple refactoring what I mean is in ClientClass directly pass asyncapi obj and call helpers in ClientClass for now. Start with simpler PR will look into it. just code refactoring no need to add new code.