You can clone with
HTTPS or Subversion.
Constructing SchemaNodes as follows:
Leads to a "NotImplementedError: SchemaNode construction without a typ argument ...". Ideally, the SchemaNode constructor would have code somewhat like this:
self.typ = arg
elif 'typ' in kw:
self.typ = kw['typ']
self.typ = self.schema_type()
That would allow constructing SchemaNodes from dictionaries of arbitrary keyword arguments.
My only critique would be that instead of using 'typ' as the keyword, we should use 'type_'. As it is more clear.
Just noticed: In my example, instead of kw['typ'], it should probably be kw.pop('typ').
Good catch, will change that.
allow `typ` as a keyword arg to SchemaNode