Skip to content

[AIRFLOW-1274][HttpSensor] Rename parameter params to data#2342

Closed
aliceabe wants to merge 1 commit intoapache:masterfrom
aliceabe:master
Closed

[AIRFLOW-1274][HttpSensor] Rename parameter params to data#2342
aliceabe wants to merge 1 commit intoapache:masterfrom
aliceabe:master

Conversation

@aliceabe
Copy link
Contributor

@aliceabe aliceabe commented Jun 2, 2017

Dear Airflow maintainers,

Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!

JIRA

  • My PR addresses the following Airflow JIRA issue and references it in the PR title.

Description

  • Here are some details about my PR, including screenshots of any UI changes:

No UI changes, I've just renamed the parameter params to request_params in HttpSensor as it was conflicting with BaseOperator params and causing failed DAGs parsing.

Tests

  • My PR adds the following unit tests OR does not need testing for this extremely good reason:

They already exist.

Commits

  • My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue.

@saguziel @aoen

@codecov-io
Copy link

codecov-io commented Jun 2, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@868bfe4). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2342   +/-   ##
=========================================
  Coverage          ?   69.45%           
=========================================
  Files             ?      144           
  Lines             ?    11041           
  Branches          ?        0           
=========================================
  Hits              ?     7668           
  Misses            ?     3373           
  Partials          ?        0
Impacted Files Coverage Δ
airflow/example_dags/example_http_operator.py 100% <ø> (ø)
airflow/operators/sensors.py 67.13% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 868bfe4...422ac61. Read the comment docs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Can we call these request_params or something instead? I think this is a more logical name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

@aoen
Copy link
Contributor

aoen commented Jun 2, 2017

Thank you for making this fix!

@aoen
Copy link
Contributor

aoen commented Jun 3, 2017

LGTM

@asfgit asfgit closed this in f1ff09d Jun 3, 2017
stverhae pushed a commit to stverhae/incubator-airflow that referenced this pull request Jun 6, 2017
Renamed the parameter `params` to `request_params` in `HttpSensor` as it
was conflicting with `BaseOperator` `params` and causing failed DAGs
parsing.

Closes apache#2342 from aliceabe/master
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.

3 participants