Add default body for non-abstract empty methods
Some non-abstract methods only have docstring with no content, this just add a default content to those function. Change-Id: Idcf5b9f6ed766d3bc1541e158bdd8e58b06223e2
This commit is contained in:

committed by
Lin Hua Cheng

parent
96c038004f
commit
67a0c2e31a
@@ -78,6 +78,7 @@ class BaseAuthPlugin(object):
|
|||||||
:return: A token to use.
|
:return: A token to use.
|
||||||
:rtype: string
|
:rtype: string
|
||||||
"""
|
"""
|
||||||
|
return None
|
||||||
|
|
||||||
def get_headers(self, session, **kwargs):
|
def get_headers(self, session, **kwargs):
|
||||||
"""Fetch authentication headers for message.
|
"""Fetch authentication headers for message.
|
||||||
@@ -137,6 +138,7 @@ class BaseAuthPlugin(object):
|
|||||||
service or None if not available.
|
service or None if not available.
|
||||||
:rtype: string
|
:rtype: string
|
||||||
"""
|
"""
|
||||||
|
return None
|
||||||
|
|
||||||
def invalidate(self):
|
def invalidate(self):
|
||||||
"""Invalidate the current authentication data.
|
"""Invalidate the current authentication data.
|
||||||
|
Reference in New Issue
Block a user