Skip to content

Commit 155ef03

Browse files
committed
Bump to version 1.12.2
1 parent ae3cb94 commit 155ef03

28 files changed

+55
-50
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# CHANGELOG
22

33
## Unreleased
4+
5+
## v1.12.2
46
### Fixed
57
* Assets with empty or missing files no longer error when trying to get it serialized to string. [#48](https://github.com/contentful/contentful.py/issues/48)
68

contentful/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
from .content_type_field import ContentTypeField # noqa: F401
1212

1313

14-
__version__ = "1.12.1"
14+
__version__ = "1.12.2"
1515
__author__ = "Contentful GmbH (David Litvak Bruno)"
1616
__email__ = "david.litvak@contentful.com"

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 7afe939f5567c54f221557ac2a2f6b43
3+
config: d66a2ee17c87652c2b075a78f39366b5
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_modules/contentful/array.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<html xmlns="http://www.w3.org/1999/xhtml">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<title>contentful.array &#8212; Contentful 1.12.1 documentation</title>
8+
<title>contentful.array &#8212; Contentful 1.12.2 documentation</title>
99
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
1010
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
1111
<script type="text/javascript">
1212
var DOCUMENTATION_OPTIONS = {
1313
URL_ROOT: '../../',
14-
VERSION: '1.12.1',
14+
VERSION: '1.12.2',
1515
COLLAPSE_INDEX: false,
1616
FILE_SUFFIX: '.html',
1717
HAS_SOURCE: true,

docs/_modules/contentful/asset.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<html xmlns="http://www.w3.org/1999/xhtml">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<title>contentful.asset &#8212; Contentful 1.12.1 documentation</title>
8+
<title>contentful.asset &#8212; Contentful 1.12.2 documentation</title>
99
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
1010
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
1111
<script type="text/javascript">
1212
var DOCUMENTATION_OPTIONS = {
1313
URL_ROOT: '../../',
14-
VERSION: '1.12.1',
14+
VERSION: '1.12.2',
1515
COLLAPSE_INDEX: false,
1616
FILE_SUFFIX: '.html',
1717
HAS_SOURCE: true,
@@ -73,6 +73,9 @@ <h1>Source code for contentful.asset</h1><div class="highlight"><pre>
7373
<span class="sd"> &quot;//images.contentful.com/spaces/foobar/...?w=120&amp;h=160&quot;</span>
7474
<span class="sd"> &quot;&quot;&quot;</span>
7575

76+
<span class="k">if</span> <span class="ow">not</span> <span class="nb">hasattr</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="s1">&#39;file&#39;</span><span class="p">)</span> <span class="ow">or</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">file</span><span class="p">:</span>
77+
<span class="k">return</span> <span class="s2">&quot;&quot;</span>
78+
7679
<span class="n">url</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">file</span><span class="p">[</span><span class="s1">&#39;url&#39;</span><span class="p">]</span>
7780
<span class="n">args</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;</span><span class="si">{0}</span><span class="s1">=</span><span class="si">{1}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">k</span><span class="p">,</span> <span class="n">v</span><span class="p">)</span> <span class="k">for</span> <span class="n">k</span><span class="p">,</span> <span class="n">v</span> <span class="ow">in</span> <span class="n">kwargs</span><span class="o">.</span><span class="n">items</span><span class="p">()]</span>
7881

docs/_modules/contentful/client.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<html xmlns="http://www.w3.org/1999/xhtml">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<title>contentful.client &#8212; Contentful 1.12.1 documentation</title>
8+
<title>contentful.client &#8212; Contentful 1.12.2 documentation</title>
99
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
1010
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
1111
<script type="text/javascript">
1212
var DOCUMENTATION_OPTIONS = {
1313
URL_ROOT: '../../',
14-
VERSION: '1.12.1',
14+
VERSION: '1.12.2',
1515
COLLAPSE_INDEX: false,
1616
FILE_SUFFIX: '.html',
1717
HAS_SOURCE: true,

docs/_modules/contentful/content_type.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<html xmlns="http://www.w3.org/1999/xhtml">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<title>contentful.content_type &#8212; Contentful 1.12.1 documentation</title>
8+
<title>contentful.content_type &#8212; Contentful 1.12.2 documentation</title>
99
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
1010
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
1111
<script type="text/javascript">
1212
var DOCUMENTATION_OPTIONS = {
1313
URL_ROOT: '../../',
14-
VERSION: '1.12.1',
14+
VERSION: '1.12.2',
1515
COLLAPSE_INDEX: false,
1616
FILE_SUFFIX: '.html',
1717
HAS_SOURCE: true,

docs/_modules/contentful/content_type_cache.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<html xmlns="http://www.w3.org/1999/xhtml">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<title>contentful.content_type_cache &#8212; Contentful 1.12.1 documentation</title>
8+
<title>contentful.content_type_cache &#8212; Contentful 1.12.2 documentation</title>
99
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
1010
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
1111
<script type="text/javascript">
1212
var DOCUMENTATION_OPTIONS = {
1313
URL_ROOT: '../../',
14-
VERSION: '1.12.1',
14+
VERSION: '1.12.2',
1515
COLLAPSE_INDEX: false,
1616
FILE_SUFFIX: '.html',
1717
HAS_SOURCE: true,

docs/_modules/contentful/content_type_field.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<html xmlns="http://www.w3.org/1999/xhtml">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<title>contentful.content_type_field &#8212; Contentful 1.12.1 documentation</title>
8+
<title>contentful.content_type_field &#8212; Contentful 1.12.2 documentation</title>
99
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
1010
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
1111
<script type="text/javascript">
1212
var DOCUMENTATION_OPTIONS = {
1313
URL_ROOT: '../../',
14-
VERSION: '1.12.1',
14+
VERSION: '1.12.2',
1515
COLLAPSE_INDEX: false,
1616
FILE_SUFFIX: '.html',
1717
HAS_SOURCE: true,

docs/_modules/contentful/content_type_field_types.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<html xmlns="http://www.w3.org/1999/xhtml">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
<title>contentful.content_type_field_types &#8212; Contentful 1.12.1 documentation</title>
8+
<title>contentful.content_type_field_types &#8212; Contentful 1.12.2 documentation</title>
99
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
1010
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
1111
<script type="text/javascript">
1212
var DOCUMENTATION_OPTIONS = {
1313
URL_ROOT: '../../',
14-
VERSION: '1.12.1',
14+
VERSION: '1.12.2',
1515
COLLAPSE_INDEX: false,
1616
FILE_SUFFIX: '.html',
1717
HAS_SOURCE: true,

0 commit comments

Comments
 (0)