Skip to content

Commit

Permalink
Merge pull request #39 from KarthikSKumar98/v1.3-release-fixes
Browse files Browse the repository at this point in the history
Typo fixes in comments
  • Loading branch information
KarthikSKumar98 authored Oct 23, 2023
2 parents 6a2c2b7 + ece0a89 commit 9e9fa7e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pycentral/msp.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MSP(object):
"""

def get_customers(self, conn, offset=0, limit=100, customer_name=None):
"""This functions returns the list of customers based on the provided \
"""This function returns the list of customers based on the provided \
parameters
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
Expand Down Expand Up @@ -66,7 +66,7 @@ def get_customers(self, conn, offset=0, limit=100, customer_name=None):
return resp

def get_all_customers(self, conn):
"""This functions returns a list of all the customers in the MSP \
"""This function returns a list of all the customers in the MSP \
account
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
Expand Down Expand Up @@ -103,7 +103,7 @@ def get_all_customers(self, conn):
return customer_list

def create_customer(self, conn, customer_details):
"""This functions creates a customer in the MSP account based on the \
"""This function creates a customer in the MSP account based on the \
provided customer details
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
Expand Down Expand Up @@ -156,7 +156,7 @@ def __validate_customer_attributes__(self, customer_details):
return missingKey

def __create_customer_body__(self, conn, customer_details):
"""This functions creates the create customer API's body\
"""This function creates the create customer API's body\
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
API call.
Expand Down Expand Up @@ -215,7 +215,7 @@ def update_customer(
customer_details,
customer_id=None,
customer_name=None):
"""This functions updates the details of an existing customer in the \
"""This function updates the details of an existing customer in the \
MSP account
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
Expand Down Expand Up @@ -267,7 +267,7 @@ def update_customer(
return resp

def delete_customer(self, conn, customer_id=None, customer_name=None):
"""This functions deletes the customer in the MSP account
"""This function deletes the customer in the MSP account
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
API call.
Expand Down Expand Up @@ -425,7 +425,7 @@ def get_country_codes_list(self, conn):
return resp

def get_msp_users(self, conn, offset=0, limit=10):
"""This functions returns the list of users under the MSP account\
"""This function returns the list of users under the MSP account\
based on the provided parameters
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
Expand Down Expand Up @@ -457,7 +457,7 @@ def get_customer_users(
limit=10,
customer_id=None,
customer_name=None):
"""This functions returns the list of users under a customer in the \
"""This function returns the list of users under a customer in the \
MSP account based on the provided parameters
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
Expand Down Expand Up @@ -504,7 +504,7 @@ def get_customer_users(
return resp

def get_msp_resources(self, conn):
"""This functions returns the branding resources under an MSP account
"""This function returns the branding resources under an MSP account
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
API call.
Expand All @@ -521,7 +521,7 @@ def get_msp_resources(self, conn):
return resp

def edit_msp_resources(self, conn, resources_dict):
"""This functions edits the branding resources under an MSP account
"""This function edits the branding resources under an MSP account
:param conn: Instance of class:`pycentral.ArubaCentralBase` to make an\
API call.
Expand Down

0 comments on commit 9e9fa7e

Please sign in to comment.