mikeywaites / kim

Kim: A JSON Serialization and Marshaling framework
http://kim.readthedocs.org/en/latest/
Other
317 stars 17 forks source link

t.Collection requires Instantiated type #25

Closed krak3n closed 9 years ago

krak3n commented 10 years ago

The following raises an exception:

links = Field(t.Collection(t.String), read_only=True)
TypeError: Collection() requires a valid Type as its first argument

However this works:

links = Field(t.Collection(t.String()), read_only=True)

Thanks,

Chris