Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Upgrade/600/ntp #391

Open
wants to merge 2 commits into
base: enhancement/resource_base_class
Choose a base branch
from
Open

Conversation

Sowmyahsg
Copy link
Contributor

Description

[ NTP support for API 500 and 600]

Check List

  • New functionality includes testing.
    • All tests pass for Python 2.7+ & 3.4+($ tox).
  • New functionality has been documented in the README if applicable.
    • New functionality has been thoroughly documented in the examples (please include helpful comments).
    • New endpoints supported are updated in the endpoints-support.md file.
  • Changes are documented in the CHANGELOG.

Merge branch 'enhancement/resource_base_class' into Upgrade/600/NTP
@@ -1168,7 +1168,7 @@ def create_with_zero_body(self, uri=None, timeout=-1, custom_headers=None):

return self.__do_post(uri, {}, timeout, custom_headers)

def create(self, resource, uri=None, timeout=-1, custom_headers=None, default_values={}):
def create(self, resource, force=False, uri=None, timeout=-1, custom_headers=None, default_values={}):
Copy link
Member

Choose a reason for hiding this comment

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

add force args in the comments section as well

Copy link
Member

Choose a reason for hiding this comment

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

Also, i would suggest force to be added in the end of args list as it would not break any existing code.

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# -*- ccding: utf-8 -*-
Copy link
Member

Choose a reason for hiding this comment

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

rename it back to coding

@soodpr
Copy link
Member

soodpr commented Aug 24, 2018

Changelog.md file is missing and also, select what's applicable for your PR in the checklist while raising a PR.

Copy link
Member

@madhav-bharadwaj madhav-bharadwaj left a comment

Choose a reason for hiding this comment

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

Looks good to me apart from priyanka's comments

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

Successfully merging this pull request may close these issues.

3 participants