Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/accept output format as config #39

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

patygold
Copy link

Description of change

  • Issue: Custom Fields on Prospects Object #16
  • Added api_output_type as a configured parameter
  • Added a get method, to get this new parameter, having the default as "bulk"
  • Adjusted all get_param() methods to use this new get method
  • Added a small description on README about the config file

WHY:
With the bulk API call, the call is optimized, on the other hand, it doesn't return additional data in the response (such as nested objects and custom fields). When the EL job needs additional data, by simply adjusting the output as another (eg. simple), and adding the new fields to the select statement, these fields would be retrieved.

Risks

When not using "bulk", we lose the optimized API call

Rollback steps

  • revert this branch

@cmerrick
Copy link
Contributor

Hi @patygold, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@cmerrick
Copy link
Contributor

You did it @patygold!

Thank you for signing the Singer Contribution License Agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants