Skip to content
This repository was archived by the owner on Feb 13, 2021. It is now read-only.
This repository was archived by the owner on Feb 13, 2021. It is now read-only.

Implement PydanticSQSQueue #4

@anatoly-scherbakov

Description

@anatoly-scherbakov

Serialization and deserialization are troublemakers for me right now since I do not yet see a way to implement them in Rust-ish serde-like way. Something like this maybe:

m = SomePydanticModel(...)
serialized_string = m >> Base64Json
# or
Base64Json(serialized_string) >> SomePydanticModel

However, Base64Json is probably just a NewType, which means type erasure, but... whatever.

My point is that, for now, simple ad-hoc mixins like these would be very useful:

  • PydanticSQSInputQueue
  • DataclassSQSInputQueue
    etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions