Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

TypedStruct - improve support for list types #173

Open
koreno opened this issue Jun 17, 2019 · 1 comment
Open

TypedStruct - improve support for list types #173

koreno opened this issue Jun 17, 2019 · 1 comment

Comments

@koreno
Copy link
Contributor

koreno commented Jun 17, 2019

Can we support the following types?

class F(TypedStruct):
    a = [[typ]]
    b = (typ1, typ2, typ3)
    c = [(typ1, typ2, typ3)]
@idanarye
Copy link

For a - I think we'll just need to make the container style recursive.
For b - we'll need to add a new special field that handles tuples.
c is just going to work once we implement a and b.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants