Skip to content

Allow interactor to return other objects than only masks or polygon #10075

@farid67

Description

@farid67

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Is your feature request related to a problem? Please describe.

It would be great to allow interactors returning objects (such as ellipse in my case)

Describe the solution you'd like

Allowing this type of handler would be great !

ellipse = context.user_data.interactor.points_to_ellipse_params(pos_points)
return context.Response(body=json.dumps(ellipse),
    headers={},
    status_code=200,
    content_type="application/json")

Describe alternatives you've considered

Current solution is a mask or a polygon as output but it is way more difficult to edit than an ellipse in my case.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions