-
Notifications
You must be signed in to change notification settings - Fork 38
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
Added comments in the code. #76
base: master
Are you sure you want to change the base?
Conversation
test/unittests/test_http.py
Outdated
self.assertDictEqual({"key1": "val1", **PAGINATE_RESPONSE}, | ||
responses[0]) | ||
#Verifi response of 2nd call has expected SINGLE_RESPONSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be # Verify response of 2nd call has expected SINGLE_RESPONSE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
tap_zendesk/__init__.py
Outdated
for stream in catalog.streams: | ||
stream_name = stream.tap_stream_id | ||
mdata = metadata.to_map(stream.metadata) | ||
#If stream does not selected then skip it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#If stream does not selected then skip it. | |
# If the stream is not selected then skip it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
tap_zendesk/streams.py
Outdated
@@ -245,6 +259,7 @@ def sync(self, state): | |||
|
|||
# Assumes that the for loop got everything | |||
singer.write_state(state) | |||
#If search_window_size less or equall than half of original window size then make it double. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#If search_window_size less or equall than half of original window size then make it double. | |
# If search_window_size is less or equal to half of the original window size, then make it double. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
test/unittests/test_http.py
Outdated
@@ -38,11 +38,13 @@ def test_get_cursor_based_gets_one_page(self, mock_get): | |||
responses = [response for response in http.get_cursor_based(url='some_url', | |||
access_token='some_token')] | |||
actual_response = responses[0] | |||
#Verify actual response of cursor based gets is equall to SINGLE_RESPONSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#Verify actual response of cursor based gets is equall to SINGLE_RESPONSE | |
# Verify actual response of cursor-based gets is equal to SINGLE_RESPONSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Description of change
Added comments in the code.
Manual QA steps
Risks
Rollback steps