Skip to content

Implicit wrappers for non-typedpy types #62

Closed
@loyada

Description

@loyada

Suppose I defined a class Point, which is non-Typedpy class.

I want to be able to do the following:

class Example(Structure):
      point = Field[Point]
      point_by_name = Map[String, Point]
      any = AnyOf[Integer, Point]

and I want serialization to be on a best-effort basis in such cases.
and I want pickling to raise an appropriate error message whenever the class has implicit class wrappers.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions