Skip to content

Commit 4c3de9e

Browse files
authored
Merge pull request #93 from Worvast/master
[3.3.4] - 2020-06-30
2 parents 4762b5f + 4626b4c commit 4c3de9e

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [3.3.4] - 2020-06-30
8+
### Fixed
9+
* Fixed problem with row types in Lookup creation
10+
711
## [3.3.3] - 2020-06-10
812
### Fixed
913
* Fixed (Again) problems with verify flag in Api creation

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[![master Build Status](https://travis-ci.com/DevoInc/python-sdk.svg?branch=master)](https://travis-ci.com/DevoInc/python-sdk) [![LICENSE](https://img.shields.io/dub/l/vibe-d.svg)](https://github.com/DevoInc/python-sdk/blob/master/LICENSE)
33

4-
[![wheel](https://img.shields.io/badge/wheel-yes-brightgreen.svg)](https://pypi.org/project/devo-sdk/) [![version](https://img.shields.io/badge/version-3.3.3-blue.svg)](https://pypi.org/project/devo-sdk/) [![python](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8-blue.svg)](https://pypi.org/project/devo-sdk/)
4+
[![wheel](https://img.shields.io/badge/wheel-yes-brightgreen.svg)](https://pypi.org/project/devo-sdk/) [![version](https://img.shields.io/badge/version-3.3.4-blue.svg)](https://pypi.org/project/devo-sdk/) [![python](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7%20%7C%203.8-blue.svg)](https://pypi.org/project/devo-sdk/)
55

66

77
# Devo Python SDK

devo/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__description__ = 'Devo Python Library.'
22
__url__ = 'http://www.devo.com'
3-
__version__ = "3.3.3"
3+
__version__ = "3.3.4"
44
__author__ = 'Devo'
55
__author_email__ = 'support@devo.com'
66
__license__ = 'MIT'

devo/sender/lookup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ def list_to_headers(headers=None, key=None,
315315
:param list headers: list of headers names
316316
:param str key: key name (Must be in headers)
317317
:param str type_of_key: type of the key field
318+
:param int key_index: index number instead of key name
319+
:param list types: types of each row
318320
:result str:
319321
"""
320322
# First the key
@@ -340,7 +342,7 @@ def list_to_headers(headers=None, key=None,
340342
# If file is the key don't add
341343
if item == key:
342344
continue
343-
field_type = "str" if not isinstance(types, dict) else types[aux]
345+
field_type = "str" if not isinstance(types, list) else types[aux]
344346
out += ',{"%s":{"type":"%s"}}' % (item, field_type)
345347
out += ']'
346348
return out

0 commit comments

Comments
 (0)