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

classes should be converted to readable strings when printed #1964

Open
master0v opened this issue Aug 17, 2022 · 0 comments
Open

classes should be converted to readable strings when printed #1964

master0v opened this issue Aug 17, 2022 · 0 comments
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@master0v
Copy link

master0v commented Aug 17, 2022

Is your feature request related to a problem? Please describe.
difficult to debug because botbuilder classes are not python-friendly

Describe the solution you'd like
it is common practice in python to display the class members when print(class) is called

botbuilder classes do not provide that, instead they display object location like so
<botbuilder.core.turn_context.TurnContext object at 0x7fd282af7160>

this is not very useful, and should be improved to list all the class members and their values (by defining a __str__ or __repr__ function to display the data for an instance in an intelligible way)

@master0v master0v added feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team. labels Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant