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

Fix default content type (salesforce) #1724

Merged
merged 1 commit into from
Jun 27, 2016
Merged

Conversation

dlstadther
Copy link
Collaborator

Description

By default, content_type is now passed through to create_batch() and create_operation_job(). Resolves error caused by attempted reference to self.content_type which does not exist within SalesforceAPI.

Motivation and Context

Fixes errors induced by PR #1686 . Lines 402 and 478 throw errors because self.content_type does not exist in SalesforceAPI, but rather QuerySalesforce.

Have you tested this? If so, how?

Tests ran successfully, locally, in addition to successful execution of my code.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @dacort to be a potential reviewer

@dacort
Copy link
Contributor

dacort commented Jun 21, 2016

This looks good to me, thanks @dlstadther - I had come across this after the merge, but hadn't had time to address it yet.

@codecov-io
Copy link

Current coverage is 76.19%

Merging #1724 into master will decrease coverage by 2.62%

@@             master      #1724   diff @@
==========================================
  Files            95         95          
  Lines         10346      10342     -4   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           8155       7880   -275   
- Misses         2191       2462   +271   
  Partials          0          0          

Powered by Codecov. Last updated by b8f2e86...5d77956

@dlstadther
Copy link
Collaborator Author

Unless I hear otherwise, I'll merge this Monday (2016-06-27).

@dlstadther dlstadther merged commit 09598c6 into spotify:master Jun 27, 2016
@dlstadther dlstadther deleted the sf_fix branch June 27, 2016 14:36
p7k pushed a commit to Celmatix/luigi that referenced this pull request Jul 11, 2016
* spotify/master: (25 commits)
  Version 2.2.0
  Add tests for hashing parameters (spotify#1719)
  Update call to iteritems in luigi/tools/deps: deprecated in Python 3 (spotify#1749)
  Reset terminal colors in external_program (spotify#1742)
  Caches get_autoconfig_client on a per-thread basis
  Fix bug with GCSFlagTarget
  Add additional event handlers to tasks (spotify#1698)
  Reduce number of get_params calls in common_params.
  Removes redundant function definitions from rpc and server (spotify#1734)
  Fix salesforce default content type (spotify#1724)
  Rename MockTarget class variable _fn to path
  Remove MockTarget path property
  Deprecated LocalTarget fn propery
  Add note about underscore in parameter names (spotify#1729)
  Remove tracking url callback hack (spotify#1722)
  Consistent Luigi spelling in docs (spotify#1723)
  Update example_top_artists.rst (spotify#1662)
  Add combiner to docstrings in mrrunner
  Add luigi-deps-tree visualising tool (spotify#1680)
  Adding release step for Debian packages. (spotify#1718)
  ...
This was referenced Jun 29, 2022
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.

4 participants