Skip to content

Commit

Permalink
Merge pull request #833 from sirosen/missing-docparam-cleanup-client
Browse files Browse the repository at this point in the history
Suppress pylint docparams warnings in client.py
  • Loading branch information
sirosen authored Aug 25, 2023
2 parents 8c7bff3 + 2381925 commit e7e072e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/globus_sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def app_name(self, value: str) -> None:
self._app_name = self.transport.user_agent = value

@utils.classproperty
def resource_server(self_or_cls) -> str | None:
def resource_server( # pylint: disable=missing-any-param-doc
self_or_cls,
) -> str | None:
"""
The resource_server name for the API and scopes associated with this client.
Expand All @@ -125,7 +127,7 @@ def resource_server(self_or_cls) -> str | None:
return None
return self_or_cls.scopes.resource_server

def get(
def get( # pylint: disable=missing-param-doc
self,
path: str,
*,
Expand All @@ -143,7 +145,7 @@ def get(
log.debug(f"GET to {path} with query_params {query_params}")
return self.request("GET", path, query_params=query_params, headers=headers)

def post(
def post( # pylint: disable=missing-param-doc
self,
path: str,
*,
Expand All @@ -170,7 +172,7 @@ def post(
encoding=encoding,
)

def delete(
def delete( # pylint: disable=missing-param-doc
self,
path: str,
*,
Expand All @@ -188,7 +190,7 @@ def delete(
log.debug(f"DELETE to {path} with query_params {query_params}")
return self.request("DELETE", path, query_params=query_params, headers=headers)

def put(
def put( # pylint: disable=missing-param-doc
self,
path: str,
*,
Expand All @@ -215,7 +217,7 @@ def put(
encoding=encoding,
)

def patch(
def patch( # pylint: disable=missing-param-doc
self,
path: str,
*,
Expand Down

0 comments on commit e7e072e

Please sign in to comment.