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

Added comments in the code. #76

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

Added comments in the code. #76

wants to merge 5 commits into from

Conversation

prijendev
Copy link
Contributor

Description of change

Added comments in the code.

Manual QA steps

Risks

Rollback steps

  • revert this branch

self.assertDictEqual({"key1": "val1", **PAGINATE_RESPONSE},
responses[0])
#Verifi response of 2nd call has expected SINGLE_RESPONSE

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

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.

Choose a reason for hiding this comment

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

Suggested change
#If stream does not selected then skip it.
# If the stream is not selected then skip it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@@ -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.

Choose a reason for hiding this comment

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

Suggested change
#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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@@ -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

Choose a reason for hiding this comment

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

Suggested change
#Verify actual response of cursor based gets is equall to SINGLE_RESPONSE
# Verify actual response of cursor-based gets is equal to SINGLE_RESPONSE

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

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