Skip to content

Commit

Permalink
added float schema type for custom types (#39)
Browse files Browse the repository at this point in the history
* added float schema type for custom types

* bumped minor version
  • Loading branch information
jacobrobertbaca authored Aug 19, 2021
1 parent 273f3b2 commit 8a9b410
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.2.0
* Added support for custom field of type "float" [#39](https://github.com/singer-io/tap-pendo/pull/39)

## 0.1.0
* Added support for custom field of type "int" and of type empty string [#37](https://github.com/singer-io/tap-pendo/pull/37)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="tap-pendo",
version="0.1.0",
version="0.2.0",
description="Singer.io tap for extracting data",
author="Stitch",
url="https://github.com/singer-io/tap-pendo",
Expand Down
2 changes: 2 additions & 0 deletions tap_pendo/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def get_schema_property_type(schema_type):
return {"type": ["null", "boolean"]}
elif schema_type == 'integer':
return {"type": ["null", "integer"]}
elif schema_type == 'float':
return {"type": ["null", "number"]}
elif schema_type == '':
return {}

Expand Down

0 comments on commit 8a9b410

Please sign in to comment.