Skip to content

Commit

Permalink
馃悰 Source Marketo: fix encoding error for Lead sync (#20973)
Browse files Browse the repository at this point in the history
* added utf-8 encoding

* chore: bump version

* auto-bump connector version

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: Nataly Merezhuk <65251165+natalyjazzviolin@users.noreply.github.com>
Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com>
  • Loading branch information
5 people committed Jan 31, 2023
1 parent 76eceb8 commit 1ebd913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp

default_prop = {"type": ["null", "string"]}
schema = self.get_json_schema()["properties"]
response.encoding = "utf-8"

reader = csv.DictReader(response.iter_lines(chunk_size=1024, decode_unicode=True))
for record in reader:
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/marketo.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ If the 50,000 limit is too stringent, contact Marketo support for a quota increa
| Version | Date | Pull Request | Subject |
|:---------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------|
| `1.0.0` | 2023-01-25 | [21790](https://github.com/airbytehq/airbyte/pull/21790) | Fix `activities_*` stream schemas |
| `0.1.12` | 2023-01-19 | [20973](https://github.com/airbytehq/airbyte/pull/20973) | Fix encoding error (note: this change is not in version 1.0.0, but is in later versions |
| `0.1.11` | 2022-09-30 | [17445](https://github.com/airbytehq/airbyte/pull/17445) | Do not use temporary files for memory optimization |
| `0.1.10` | 2022-09-30 | [17445](https://github.com/airbytehq/airbyte/pull/17445) | Optimize memory consumption |
| `0.1.9` | 2022-09-28 | [17304](https://github.com/airbytehq/airbyte/pull/17304) | Migrate to per-stream sate. |
Expand Down

0 comments on commit 1ebd913

Please sign in to comment.