From 541c621e7a9b7d1334c03d9ce2dcd278f4cadffe Mon Sep 17 00:00:00 2001 From: roll Date: Thu, 11 Apr 2019 15:23:35 +0300 Subject: [PATCH] v1.4.0 --- README.md | 8 ++++++-- tableschema/VERSION | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9ca4e4c..ae266d5 100644 --- a/README.md +++ b/README.md @@ -399,12 +399,12 @@ schema = Schema(descriptor) print(schema.get_field('my_field').descriptor['type']) # string # Update descriptor by field position -schema.descriptor['fields'][0]['type'] = 'number' +schema.descriptor['fields'][0]['type'] = 'number' # Update descriptor by field name schema.update_field('my_field', {'title': 'My Pretty Field'}) # True # Change are not committed -print(schema.get_field('my_field').descriptor['type']) # string +print(schema.get_field('my_field').descriptor['type']) # string print(schema.get_field('my_field').descriptor['title']) # My Field @@ -785,6 +785,10 @@ and `mock` packages. This packages are available only in tox envionments. Here described only breaking and the most important changes. The full changelog and documentation for all released versions could be found in nicely formatted [commit history](https://github.com/frictionlessdata/tableschema-py/commits/master). +### v1.4 + +- Added `schema.update_field` method + ### v1.3 - Support datetime with no time for date casting diff --git a/tableschema/VERSION b/tableschema/VERSION index 31e5c84..88c5fb8 100644 --- a/tableschema/VERSION +++ b/tableschema/VERSION @@ -1 +1 @@ -1.3.3 +1.4.0