Skip to content

Commit 9145ecb

Browse files
skuttlemandsprayberrybryantgrayhumbamp123
authored
Default to string for schema generation (#182)
Co-authored-by: Dylan Sprayberry <[email protected]> Co-authored-by: Bryant Gray <[email protected]> Co-authored-by: Andres Pineda <[email protected]>
1 parent bb412f4 commit 9145ecb

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 6.2.3
4+
* Default type for non-standard data types is string [#182](https://github.com/singer-io/singer-python/pull/182)
5+
36
## 6.2.2
47
* Updates json schema generation to not emit dates
58
* Handle multiple schemas with anyOf and emit them in a specific order

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import subprocess
55

66
setup(name="singer-python",
7-
version='6.2.2',
7+
version='6.2.3',
88
description="Singer.io utility library",
99
author="Stitch",
1010
classifiers=['Programming Language :: Python :: 3 :: Only'],

singer/schema_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def add_observations(acc, path, data):
4444
elif data is None:
4545
add_observation(acc, path + ["null"])
4646
else:
47-
raise Exception("Unexpected value " + repr(data) + " at path " + repr(path))
47+
add_observation(acc, path + ["string"])
4848

4949
return acc
5050

0 commit comments

Comments
 (0)