frictionlessdata / tableschema-py

A Python library for working with Table Schema.
https://frictionlessdata.io
MIT License
260 stars 41 forks source link

Do not mutate input schema? #43

Closed roll closed 8 years ago

roll commented 8 years ago

jsontableschema-py (0.5.1)

from jsontableschema.model import SchemaModel

schema = {'fields': [{'name': 'test'}]}
model = SchemaModel(schema)
print(schema) # will print schema with type, format, constraints
pwalsh commented 8 years ago

+1. We should do this.

roll commented 8 years ago

FIXED