10000 classes should be converted to readable strings when printed · Issue #1964 · microsoft/botbuilder-python · GitHub
[go: up one dir, main page]

Skip to content
classes should be converted to readable strings when printed #1964
Open
@master0v

Description

@master0v

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA request for new functionality or an enhancement to an existing one.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0