Skip to content

Commit

Permalink
Bump to version 1.11.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dlitvakb committed Nov 22, 2018
1 parent 0f0a992 commit 73fe01d
Show file tree
Hide file tree
Showing 28 changed files with 57 additions and 51 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,8 @@
# CHANGELOG

## Unreleased

## v1.11.4
### Fixed
* Entries that had already been processed when coercing RichText fields are now properly omitted. [#41](https://github.com/contentful/contentful.py/issues/41)

Expand Down
2 changes: 1 addition & 1 deletion contentful/__init__.py
Expand Up @@ -11,6 +11,6 @@
from .content_type_field import ContentTypeField # noqa: F401


__version__ = "1.11.3"
__version__ = "1.11.4"
__author__ = "Contentful GmbH (David Litvak Bruno)"
__email__ = "david.litvak@contentful.com"
2 changes: 1 addition & 1 deletion docs/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 27b19d1f9c95d0a78a0f62bbca9eecff
config: 7c93426a9f450883ed5fb50eaf8e3d11
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/_modules/contentful/array.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.array &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.array &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/asset.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.asset &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.asset &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/client.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.client &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.client &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/content_type.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.content_type &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.content_type &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/content_type_cache.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.content_type_cache &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.content_type_cache &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/content_type_field.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.content_type_field &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.content_type_field &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
10 changes: 7 additions & 3 deletions docs/_modules/contentful/content_type_field_types.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.content_type_field_types &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.content_type_field_types &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down Expand Up @@ -49,7 +49,7 @@ <h1>Source code for contentful.content_type_field_types</h1><div class="highligh
<span class="kn">import</span> <span class="nn">dateutil.parser</span>
<span class="kn">from</span> <span class="nn">collections</span> <span class="k">import</span> <span class="n">namedtuple</span>
<span class="kn">from</span> <span class="nn">.utils</span> <span class="k">import</span> <span class="n">unicode_class</span><span class="p">,</span> <span class="n">resource_for_link</span><span class="p">,</span> <span class="n">unresolvable</span>
<span class="kn">from</span> <span class="nn">.resource</span> <span class="k">import</span> <span class="n">FieldsResource</span><span class="p">,</span> <span class="n">Link</span>
<span class="kn">from</span> <span class="nn">.resource</span> <span class="k">import</span> <span class="n">FieldsResource</span><span class="p">,</span> <span class="n">Link</span><span class="p">,</span> <span class="n">Resource</span>

<span class="sd">&quot;&quot;&quot;</span>
<span class="sd">contentful.content_type_field_types</span>
Expand Down Expand Up @@ -231,6 +231,10 @@ <h1>Source code for contentful.content_type_field_types</h1><div class="highligh
<span class="n">coerced_nodes</span> <span class="o">=</span> <span class="p">{}</span>
<span class="k">for</span> <span class="n">index</span><span class="p">,</span> <span class="n">node</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">value</span><span class="p">[</span><span class="s1">&#39;content&#39;</span><span class="p">]):</span>
<span class="k">if</span> <span class="n">node</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;data&#39;</span><span class="p">,</span> <span class="kc">None</span><span class="p">)</span> <span class="ow">and</span> <span class="n">node</span><span class="p">[</span><span class="s1">&#39;data&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;target&#39;</span><span class="p">,</span> <span class="kc">None</span><span class="p">):</span>
<span class="c1"># Resource has already been hydrated previously</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">node</span><span class="p">[</span><span class="s1">&#39;data&#39;</span><span class="p">][</span><span class="s1">&#39;target&#39;</span><span class="p">],</span> <span class="n">Resource</span><span class="p">):</span>
<span class="k">continue</span>

<span class="n">link</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_coerce_link</span><span class="p">(</span>
<span class="n">node</span><span class="p">,</span>
<span class="n">includes</span><span class="o">=</span><span class="n">includes</span><span class="p">,</span>
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/deleted_asset.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.deleted_asset &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.deleted_asset &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/deleted_entry.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.deleted_entry &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.deleted_entry &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/entry.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.entry &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.entry &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/errors.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.errors &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.errors &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/locale.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.locale &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.locale &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/resource.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.resource &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.resource &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/resource_builder.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.resource_builder &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.resource_builder &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/space.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.space &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.space &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/sync_page.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.sync_page &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.sync_page &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/contentful/utils.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.utils &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.utils &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/index.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Overview: module code &#8212; Contentful 1.11.3 documentation</title>
<title>Overview: module code &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/contentful.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful package &#8212; Contentful 1.11.3 documentation</title>
<title>contentful package &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/genindex.html
Expand Up @@ -6,13 +6,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Index &#8212; Contentful 1.11.3 documentation</title>
<title>Index &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful.py - Contentful Python Delivery SDK &#8212; Contentful 1.11.3 documentation</title>
<title>contentful.py - Contentful Python Delivery SDK &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
4 changes: 2 additions & 2 deletions docs/modules.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>contentful &#8212; Contentful 1.11.3 documentation</title>
<title>contentful &#8212; Contentful 1.11.4 documentation</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.11.3',
VERSION: '1.11.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand Down
Binary file modified docs/objects.inv
Binary file not shown.

0 comments on commit 73fe01d

Please sign in to comment.